pundit_namespaces 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ce82368e9547cb53e9f4bc2f2d7b3f60af4ae6ac
4
- data.tar.gz: 4fbe604cacc26c929b2401398e34ed51b240428f
2
+ SHA256:
3
+ metadata.gz: d5c84edca79e68506aa801561ba8769a3e23cd841e477f1112442d5dbd17668d
4
+ data.tar.gz: 1d4e88e7aa152f56d561372a2ce7e6cfec61ea2a841632f0099ddeda4f6b3430
5
5
  SHA512:
6
- metadata.gz: 626905bdaa1f1b2be252efcf23babfdb0d5f85929124961e4b160b81006abf01ab695f7ca899a2be2d4090ac33bc015383a5b9b584d706b7918cbe5d36cd340c
7
- data.tar.gz: 70916e8dfc81eb8177162591ffce3df4746c1301feef1c22f9076c514965d8b07fad2978504e9843b7542167bdfea67f5f68bb561bf71aecb0080b475bf7b415
6
+ metadata.gz: 1ea470545b71f132a2a0e9c9d0421a56b01e3696e6354fc4b1137f9a37329496b06938d8f3196a52f00092a2836c9caa9cfe22f5a1be1f63d874ee99ff3d426d
7
+ data.tar.gz: 5d7a84f68446aa3163be7e1e92a41931af4f58c80105c700a6fe01c862aed62ae4f183ae1058d792469754de531dec3620a9feddce0fce97e46e3f0226461c41
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2
1
+ 2.7.2
data/.travis.yml CHANGED
@@ -1,10 +1,15 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9
4
- - 2.0
5
- - 2.1
6
- - 2.2
7
- before_install: gem install bundler -v 1.10.6
8
- addons:
9
- code_climate:
10
- repo_token: b981faeecbf981dabe7d229fe278683766592bc553f1f4025e629f8c4270a32e
3
+ - 2.7.2
4
+ before_install: gem install bundler -v 2.2.11
5
+ env:
6
+ global:
7
+ - CC_TEST_REPORTER_ID=b981faeecbf981dabe7d229fe278683766592bc553f1f4025e629f8c4270a32e
8
+ before_script:
9
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
10
+ - chmod +x ./cc-test-reporter
11
+ - ./cc-test-reporter before-build
12
+ script:
13
+ - bundle exec rspec
14
+ after_script:
15
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
@@ -61,7 +61,7 @@ module PunditNamespaces
61
61
  name_from_class(object.class)
62
62
  end
63
63
 
64
- def find
64
+ def find(_object)
65
65
  [namespace, base_policy].compact.flatten.join('::')
66
66
  end
67
67
  end
@@ -1,3 +1,3 @@
1
1
  module PunditNamespaces
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -18,11 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "pundit", "~> 1.0"
22
- spec.add_development_dependency "bundler", "~> 1.10"
23
- spec.add_development_dependency "rake", "~> 10.0"
21
+ spec.add_dependency "pundit", "~> 2.1.0"
22
+ spec.add_development_dependency "bundler"
23
+ spec.add_development_dependency "rake"
24
24
  spec.add_development_dependency "rspec"
25
25
  spec.add_development_dependency "guard"
26
26
  spec.add_development_dependency "guard-rspec"
27
- spec.add_development_dependency "codeclimate-test-reporter"
28
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pundit_namespaces
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Spieker
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-19 00:00:00.000000000 Z
11
+ date: 2021-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pundit
@@ -16,44 +16,30 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: 2.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: 2.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.10'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.10'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ">="
@@ -67,7 +53,7 @@ dependencies:
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: guard
56
+ name: rspec
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - ">="
@@ -81,7 +67,7 @@ dependencies:
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
- name: guard-rspec
70
+ name: guard
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - ">="
@@ -95,7 +81,7 @@ dependencies:
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: codeclimate-test-reporter
84
+ name: guard-rspec
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - ">="
@@ -108,7 +94,7 @@ dependencies:
108
94
  - - ">="
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0'
111
- description:
97
+ description:
112
98
  email:
113
99
  - p.spieker@duenos.de
114
100
  executables: []
@@ -136,7 +122,7 @@ homepage: https://github.com/spieker/pundit_namespaces
136
122
  licenses:
137
123
  - MIT
138
124
  metadata: {}
139
- post_install_message:
125
+ post_install_message:
140
126
  rdoc_options: []
141
127
  require_paths:
142
128
  - lib
@@ -151,9 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
137
  - !ruby/object:Gem::Version
152
138
  version: '0'
153
139
  requirements: []
154
- rubyforge_project:
155
- rubygems_version: 2.4.8
156
- signing_key:
140
+ rubygems_version: 3.1.4
141
+ signing_key:
157
142
  specification_version: 4
158
143
  summary: Add namespacing support to Pundit
159
144
  test_files: []