arpa 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/arpa.gemspec +2 -2
- data/lib/arpa/version.rb +1 -1
- data/spec/lib/arpa/additions/resource_spec.rb +0 -16
- metadata +2 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ac3eac89491ad54cb93ebb7f92d8d005004fbd3
|
4
|
+
data.tar.gz: f3c339ef6098a96b596dd6fa73e8650cf149d248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31bcdb54473222eb89294ae09344db43a8af1800b18e8809b82317424aea01b1270e7643a99d0a0616d894a6a8a4d02c0b750683c84c0acfa592719ac201a942
|
7
|
+
data.tar.gz: f4e7adcd592e476240939e78a2ac9f0a23a7af6ca2d8343f495c7b708d5991393b61749d7b5d522df0887b7fba669d4ddd2786312dabd288cc487a4554e2c903
|
data/arpa.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_development_dependency 'database_cleaner', '~> 0'
|
27
27
|
spec.add_development_dependency 'pry', '~> 0'
|
28
28
|
|
29
|
-
spec.add_dependency 'activerecord', '
|
30
|
-
spec.add_dependency 'railties', '>= 4.2.0'
|
29
|
+
spec.add_dependency 'activerecord', '>= 4.2.0'
|
30
|
+
spec.add_dependency 'railties', '>= 4.2.0'
|
31
31
|
|
32
32
|
end
|
data/lib/arpa/version.rb
CHANGED
@@ -36,20 +36,4 @@ describe Arpa::Additions::Resource, type: :addition, fast: true do
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
-
describe '#reset_permissions' do
|
40
|
-
|
41
|
-
let(:setup) do
|
42
|
-
allow(verifier).to receive(:reset_permissions)
|
43
|
-
resource_implementation.reset_permissions
|
44
|
-
end
|
45
|
-
|
46
|
-
it 'should call :new from Arpa::Services::Verifier' do
|
47
|
-
expect(Arpa::Services::Verifier).to have_received(:new).once
|
48
|
-
end
|
49
|
-
|
50
|
-
it 'verifier should call :reset_permissions once' do
|
51
|
-
expect(verifier).to have_received(:reset_permissions).once
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arpa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rachid Calazans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -124,9 +124,6 @@ dependencies:
|
|
124
124
|
name: activerecord
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '4.2'
|
130
127
|
- - ">="
|
131
128
|
- !ruby/object:Gem::Version
|
132
129
|
version: 4.2.0
|
@@ -134,9 +131,6 @@ dependencies:
|
|
134
131
|
prerelease: false
|
135
132
|
version_requirements: !ruby/object:Gem::Requirement
|
136
133
|
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '4.2'
|
140
134
|
- - ">="
|
141
135
|
- !ruby/object:Gem::Version
|
142
136
|
version: 4.2.0
|
@@ -147,9 +141,6 @@ dependencies:
|
|
147
141
|
- - ">="
|
148
142
|
- !ruby/object:Gem::Version
|
149
143
|
version: 4.2.0
|
150
|
-
- - "<"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '5'
|
153
144
|
type: :runtime
|
154
145
|
prerelease: false
|
155
146
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -157,9 +148,6 @@ dependencies:
|
|
157
148
|
- - ">="
|
158
149
|
- !ruby/object:Gem::Version
|
159
150
|
version: 4.2.0
|
160
|
-
- - "<"
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: '5'
|
163
151
|
description: Authorization Gem for Ruby and Ruby on Rails projects
|
164
152
|
email:
|
165
153
|
- rachidcalazans@gmail.com
|