File: has_scope.gemspec

package info (click to toggle)
ruby-has-scope 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 180 kB
  • sloc: ruby: 556; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'has_scope/version'

Gem::Specification.new do |s|
  s.name        = 'has_scope'
  s.version     = HasScope::VERSION.dup
  s.platform    = Gem::Platform::RUBY
  s.summary     = 'Maps controller filters to your resource scopes.'
  s.email       = 'opensource@plataformatec.com.br'
  s.homepage    = 'http://github.com/plataformatec/has_scope'
  s.description = 'Maps controller filters to your resource scopes'
  s.authors     = ['José Valim']
  s.license     = 'MIT'
  s.metadata    = {
    "homepage_uri"    => "https://github.com/heartcombo/has_scope",
    "changelog_uri"   => "https://github.com/heartcombo/has_scope/blob/main/CHANGELOG.md",
    "source_code_uri" => "https://github.com/heartcombo/has_scope",
    "bug_tracker_uri" => "https://github.com/heartcombo/has_scope/issues",
  }

  s.files         = Dir['MIT-LICENSE', 'README.md', 'lib/**/*']
  s.require_paths = ['lib']

  s.rdoc_options = ['--charset=UTF-8']
  s.extra_rdoc_files = [
    'README.md'
  ]

  s.required_ruby_version = '>= 2.5.0'

  s.add_runtime_dependency 'actionpack', '>= 5.2'
  s.add_runtime_dependency 'activesupport', '>= 5.2'

  s.add_development_dependency 'rake'
  s.add_development_dependency 'mocha'
end