token_action 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +1 -1
- data/README.md +11 -18
- data/Rakefile +13 -4
- data/app/controllers/token_action/tokens_controller.rb +19 -11
- data/config/routes.rb +1 -1
- data/lib/generators/active_record/templates/migration.rb +1 -1
- data/lib/generators/templates/README +1 -1
- data/lib/token_action.rb +2 -2
- data/lib/token_action/{mixins → concerns}/model.rb +0 -0
- data/lib/token_action/{mixins → concerns}/token_generator.rb +0 -0
- data/lib/token_action/orm/mongoid.rb +6 -6
- data/lib/token_action/version.rb +1 -1
- data/spec/controllers/token_action/tokens_controller_spec.rb +159 -157
- data/spec/dummy/Rakefile +1 -2
- data/spec/dummy/app/assets/javascripts/application.js +4 -4
- data/spec/dummy/app/assets/stylesheets/application.css +6 -4
- data/spec/dummy/app/controllers/application_controller.rb +3 -1
- data/spec/dummy/app/controllers/hello_controller.rb +6 -6
- data/spec/dummy/app/mongoid/cat.rb +1 -1
- data/spec/dummy/app/views/layouts/application.html.erb +2 -2
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config.ru +2 -2
- data/spec/dummy/config/application.rb +11 -42
- data/spec/dummy/config/boot.rb +4 -9
- data/spec/dummy/config/database.yml +14 -7
- data/spec/dummy/config/environment.rb +3 -3
- data/spec/dummy/config/environments/development.rb +22 -18
- data/spec/dummy/config/environments/production.rb +46 -34
- data/spec/dummy/config/environments/test.rb +18 -17
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +1 -6
- data/spec/dummy/config/initializers/wrap_parameters.rb +6 -6
- data/spec/dummy/config/locales/en.yml +20 -2
- data/spec/dummy/config/mongoid.yml +4 -60
- data/spec/dummy/config/routes.rb +6 -6
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/migrate/20130104151630_create_token_action_tokens.rb +1 -1
- data/spec/dummy/db/schema.rb +32 -0
- data/spec/dummy/{db/development.sqlite3 → log/.keep} +0 -0
- data/spec/dummy/public/404.html +54 -13
- data/spec/dummy/public/422.html +54 -13
- data/spec/dummy/public/500.html +53 -12
- data/spec/factories.rb +1 -1
- data/spec/rails_helper.rb +102 -0
- data/spec/routing/token_action/tokens_routing_spec.rb +23 -23
- data/spec/spec_helper.rb +85 -87
- data/spec/token_action/concerns/model_spec.rb +14 -0
- data/spec/token_action/concerns/token_generator_spec.rb +13 -0
- data/spec/token_action/orm/active_record_spec.rb +4 -2
- data/spec/token_action/orm/mongoid_spec.rb +4 -2
- data/spec/token_action_spec.rb +9 -9
- metadata +109 -158
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/log/development.log +0 -16
- data/spec/dummy/log/test.log +0 -4739
- data/spec/dummy/script/rails +0 -6
- data/spec/token_action/mixins/model_spec.rb +0 -13
- data/spec/token_action/mixins/token_generator_spec.rb +0 -11
data/spec/token_action_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
require '
|
1
|
+
require 'rails_helper'
|
2
2
|
|
3
|
-
describe TokenAction do
|
3
|
+
RSpec.describe TokenAction do
|
4
4
|
describe '#setup' do
|
5
5
|
before :all do
|
6
6
|
TokenAction.setup do |config|
|
@@ -10,8 +10,8 @@ describe TokenAction do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
it 'should set the default URLs' do
|
13
|
-
TokenAction.success_url.
|
14
|
-
TokenAction.failure_url.
|
13
|
+
expect(TokenAction.success_url).to eq('/hello/success')
|
14
|
+
expect(TokenAction.failure_url).to eq('/hello/failure')
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -22,7 +22,7 @@ describe TokenAction do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
it 'should set the default success URL' do
|
25
|
-
TokenAction.success_url.
|
25
|
+
expect(TokenAction.success_url).to eq('/hello/success')
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
@@ -32,7 +32,7 @@ describe TokenAction do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should set the default success URL' do
|
35
|
-
TokenAction.success_url.
|
35
|
+
expect(TokenAction.success_url).to eq('/hello/success')
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -44,7 +44,7 @@ describe TokenAction do
|
|
44
44
|
end
|
45
45
|
|
46
46
|
it 'should set the default failure URL' do
|
47
|
-
TokenAction.failure_url.
|
47
|
+
expect(TokenAction.failure_url).to eq('/hello/failure')
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
@@ -54,14 +54,14 @@ describe TokenAction do
|
|
54
54
|
end
|
55
55
|
|
56
56
|
it 'should set the default failure URL' do
|
57
|
-
TokenAction.failure_url.
|
57
|
+
expect(TokenAction.failure_url).to eq('/hello/failure')
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
62
|
describe '#friendly_token' do
|
63
63
|
it 'should return a random alphanumeric string' do
|
64
|
-
TokenAction.friendly_token.
|
64
|
+
expect(TokenAction.friendly_token).to match(/\A[A-Za-z0-9]{20}\z/)
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
metadata
CHANGED
@@ -1,263 +1,206 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: token_action
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
-
|
7
|
+
- James McKinney
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-10-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 4.2.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 4.2.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: orm_adapter
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0.1'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0.1'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0.9'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0.9'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: guard-brakeman
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0.5'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0.5'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: guard-bundler
|
42
|
+
name: coveralls
|
80
43
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
44
|
requirements:
|
83
|
-
- -
|
45
|
+
- - ">="
|
84
46
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
47
|
+
version: '0'
|
86
48
|
type: :development
|
87
49
|
prerelease: false
|
88
50
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
51
|
requirements:
|
91
|
-
- -
|
52
|
+
- - ">="
|
92
53
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
54
|
+
version: '0'
|
94
55
|
- !ruby/object:Gem::Dependency
|
95
|
-
name:
|
56
|
+
name: database_cleaner
|
96
57
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
58
|
requirements:
|
99
|
-
- - ~>
|
59
|
+
- - "~>"
|
100
60
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
61
|
+
version: 1.5.0
|
102
62
|
type: :development
|
103
63
|
prerelease: false
|
104
64
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
65
|
requirements:
|
107
|
-
- - ~>
|
66
|
+
- - "~>"
|
108
67
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
68
|
+
version: 1.5.0
|
110
69
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
70
|
+
name: factory_girl_rails
|
112
71
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
72
|
requirements:
|
115
|
-
- - ~>
|
73
|
+
- - "~>"
|
116
74
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1
|
75
|
+
version: '4.1'
|
118
76
|
type: :development
|
119
77
|
prerelease: false
|
120
78
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
79
|
requirements:
|
123
|
-
- - ~>
|
80
|
+
- - "~>"
|
124
81
|
- !ruby/object:Gem::Version
|
125
|
-
version: '1
|
82
|
+
version: '4.1'
|
126
83
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
84
|
+
name: guard-bundler
|
128
85
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
86
|
requirements:
|
131
|
-
- - ~>
|
87
|
+
- - "~>"
|
132
88
|
- !ruby/object:Gem::Version
|
133
|
-
version: '0
|
89
|
+
version: '2.0'
|
134
90
|
type: :development
|
135
91
|
prerelease: false
|
136
92
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
93
|
requirements:
|
139
|
-
- - ~>
|
94
|
+
- - "~>"
|
140
95
|
- !ruby/object:Gem::Version
|
141
|
-
version: '0
|
96
|
+
version: '2.0'
|
142
97
|
- !ruby/object:Gem::Dependency
|
143
|
-
name: rspec
|
98
|
+
name: guard-rspec
|
144
99
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
100
|
requirements:
|
147
|
-
- - ~>
|
101
|
+
- - "~>"
|
148
102
|
- !ruby/object:Gem::Version
|
149
|
-
version: '
|
103
|
+
version: '4.6'
|
150
104
|
type: :development
|
151
105
|
prerelease: false
|
152
106
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
107
|
requirements:
|
155
|
-
- - ~>
|
108
|
+
- - "~>"
|
156
109
|
- !ruby/object:Gem::Version
|
157
|
-
version: '
|
110
|
+
version: '4.6'
|
158
111
|
- !ruby/object:Gem::Dependency
|
159
|
-
name:
|
112
|
+
name: mongoid
|
160
113
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
114
|
requirements:
|
163
|
-
- - ~>
|
115
|
+
- - "~>"
|
164
116
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
117
|
+
version: 5.0.0
|
166
118
|
type: :development
|
167
119
|
prerelease: false
|
168
120
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
121
|
requirements:
|
171
|
-
- - ~>
|
122
|
+
- - "~>"
|
172
123
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
124
|
+
version: 5.0.0
|
174
125
|
- !ruby/object:Gem::Dependency
|
175
|
-
name:
|
126
|
+
name: mongoid-rspec
|
176
127
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
128
|
requirements:
|
179
|
-
- - ~>
|
129
|
+
- - "~>"
|
180
130
|
- !ruby/object:Gem::Version
|
181
|
-
version:
|
131
|
+
version: 3.0.0
|
182
132
|
type: :development
|
183
133
|
prerelease: false
|
184
134
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
135
|
requirements:
|
187
|
-
- - ~>
|
136
|
+
- - "~>"
|
188
137
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
138
|
+
version: 3.0.0
|
190
139
|
- !ruby/object:Gem::Dependency
|
191
|
-
name:
|
140
|
+
name: pry-rails
|
192
141
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
142
|
requirements:
|
195
|
-
- -
|
143
|
+
- - ">="
|
196
144
|
- !ruby/object:Gem::Version
|
197
|
-
version: '
|
145
|
+
version: '0'
|
198
146
|
type: :development
|
199
147
|
prerelease: false
|
200
148
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
149
|
requirements:
|
203
|
-
- -
|
150
|
+
- - ">="
|
204
151
|
- !ruby/object:Gem::Version
|
205
|
-
version: '
|
152
|
+
version: '0'
|
206
153
|
- !ruby/object:Gem::Dependency
|
207
|
-
name:
|
154
|
+
name: rspec-rails
|
208
155
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
156
|
requirements:
|
211
|
-
- - ~>
|
157
|
+
- - "~>"
|
212
158
|
- !ruby/object:Gem::Version
|
213
|
-
version: '
|
159
|
+
version: '3.3'
|
214
160
|
type: :development
|
215
161
|
prerelease: false
|
216
162
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
163
|
requirements:
|
219
|
-
- - ~>
|
164
|
+
- - "~>"
|
220
165
|
- !ruby/object:Gem::Version
|
221
|
-
version: '
|
166
|
+
version: '3.3'
|
222
167
|
- !ruby/object:Gem::Dependency
|
223
|
-
name:
|
168
|
+
name: shoulda-matchers
|
224
169
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
170
|
requirements:
|
227
|
-
- - ~>
|
171
|
+
- - "~>"
|
228
172
|
- !ruby/object:Gem::Version
|
229
|
-
version: 3.0
|
173
|
+
version: '3.0'
|
230
174
|
type: :development
|
231
175
|
prerelease: false
|
232
176
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
177
|
requirements:
|
235
|
-
- - ~>
|
178
|
+
- - "~>"
|
236
179
|
- !ruby/object:Gem::Version
|
237
|
-
version: 3.0
|
180
|
+
version: '3.0'
|
238
181
|
- !ruby/object:Gem::Dependency
|
239
|
-
name:
|
182
|
+
name: sqlite3
|
240
183
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
184
|
requirements:
|
243
|
-
- - ~>
|
185
|
+
- - "~>"
|
244
186
|
- !ruby/object:Gem::Version
|
245
|
-
version: '1.
|
187
|
+
version: '1.3'
|
246
188
|
type: :development
|
247
189
|
prerelease: false
|
248
190
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
191
|
requirements:
|
251
|
-
- - ~>
|
192
|
+
- - "~>"
|
252
193
|
- !ruby/object:Gem::Version
|
253
|
-
version: '1.
|
194
|
+
version: '1.3'
|
254
195
|
description:
|
255
|
-
email:
|
256
|
-
- info@opennorth.ca
|
196
|
+
email:
|
257
197
|
executables: []
|
258
198
|
extensions: []
|
259
199
|
extra_rdoc_files: []
|
260
200
|
files:
|
201
|
+
- LICENSE
|
202
|
+
- README.md
|
203
|
+
- Rakefile
|
261
204
|
- app/controllers/token_action/application_controller.rb
|
262
205
|
- app/controllers/token_action/tokens_controller.rb
|
263
206
|
- config/locales/en.yml
|
@@ -268,17 +211,15 @@ files:
|
|
268
211
|
- lib/generators/templates/README
|
269
212
|
- lib/generators/templates/token_action.rb
|
270
213
|
- lib/generators/token_action_generator.rb
|
214
|
+
- lib/token_action.rb
|
215
|
+
- lib/token_action/concerns/model.rb
|
216
|
+
- lib/token_action/concerns/token_generator.rb
|
271
217
|
- lib/token_action/engine.rb
|
272
|
-
- lib/token_action/mixins/model.rb
|
273
|
-
- lib/token_action/mixins/token_generator.rb
|
274
218
|
- lib/token_action/orm/active_record.rb
|
275
219
|
- lib/token_action/orm/mongoid.rb
|
276
220
|
- lib/token_action/version.rb
|
277
|
-
- lib/token_action.rb
|
278
|
-
- LICENSE
|
279
|
-
- Rakefile
|
280
|
-
- README.md
|
281
221
|
- spec/controllers/token_action/tokens_controller_spec.rb
|
222
|
+
- spec/dummy/Rakefile
|
282
223
|
- spec/dummy/app/active_record/cat.rb
|
283
224
|
- spec/dummy/app/assets/javascripts/application.js
|
284
225
|
- spec/dummy/app/assets/stylesheets/application.css
|
@@ -287,6 +228,11 @@ files:
|
|
287
228
|
- spec/dummy/app/helpers/application_helper.rb
|
288
229
|
- spec/dummy/app/mongoid/cat.rb
|
289
230
|
- spec/dummy/app/views/layouts/application.html.erb
|
231
|
+
- spec/dummy/bin/bundle
|
232
|
+
- spec/dummy/bin/rails
|
233
|
+
- spec/dummy/bin/rake
|
234
|
+
- spec/dummy/bin/setup
|
235
|
+
- spec/dummy/config.ru
|
290
236
|
- spec/dummy/config/application.rb
|
291
237
|
- spec/dummy/config/boot.rb
|
292
238
|
- spec/dummy/config/database.yml
|
@@ -294,7 +240,9 @@ files:
|
|
294
240
|
- spec/dummy/config/environments/development.rb
|
295
241
|
- spec/dummy/config/environments/production.rb
|
296
242
|
- spec/dummy/config/environments/test.rb
|
297
|
-
- spec/dummy/config/initializers/
|
243
|
+
- spec/dummy/config/initializers/assets.rb
|
244
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
245
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
298
246
|
- spec/dummy/config/initializers/session_store.rb
|
299
247
|
- spec/dummy/config/initializers/token_action.rb
|
300
248
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
@@ -302,52 +250,51 @@ files:
|
|
302
250
|
- spec/dummy/config/locales/token_action.en.yml
|
303
251
|
- spec/dummy/config/mongoid.yml
|
304
252
|
- spec/dummy/config/routes.rb
|
305
|
-
- spec/dummy/config.
|
306
|
-
- spec/dummy/db/development.sqlite3
|
253
|
+
- spec/dummy/config/secrets.yml
|
307
254
|
- spec/dummy/db/migrate/20130104151630_create_token_action_tokens.rb
|
308
255
|
- spec/dummy/db/migrate/20130104201018_create_cats.rb
|
309
|
-
- spec/dummy/
|
310
|
-
- spec/dummy/log
|
256
|
+
- spec/dummy/db/schema.rb
|
257
|
+
- spec/dummy/log/.keep
|
311
258
|
- spec/dummy/public/404.html
|
312
259
|
- spec/dummy/public/422.html
|
313
260
|
- spec/dummy/public/500.html
|
314
261
|
- spec/dummy/public/favicon.ico
|
315
|
-
- spec/dummy/Rakefile
|
316
|
-
- spec/dummy/script/rails
|
317
262
|
- spec/factories.rb
|
263
|
+
- spec/rails_helper.rb
|
318
264
|
- spec/routing/token_action/tokens_routing_spec.rb
|
319
265
|
- spec/spec_helper.rb
|
320
|
-
- spec/token_action/
|
321
|
-
- spec/token_action/
|
266
|
+
- spec/token_action/concerns/model_spec.rb
|
267
|
+
- spec/token_action/concerns/token_generator_spec.rb
|
322
268
|
- spec/token_action/orm/active_record_spec.rb
|
323
269
|
- spec/token_action/orm/mongoid_spec.rb
|
324
270
|
- spec/token_action_spec.rb
|
325
|
-
homepage:
|
326
|
-
licenses:
|
271
|
+
homepage: https://github.com/jpmckinney/token_action
|
272
|
+
licenses:
|
273
|
+
- MIT
|
274
|
+
metadata: {}
|
327
275
|
post_install_message:
|
328
276
|
rdoc_options: []
|
329
277
|
require_paths:
|
330
278
|
- lib
|
331
279
|
required_ruby_version: !ruby/object:Gem::Requirement
|
332
|
-
none: false
|
333
280
|
requirements:
|
334
|
-
- -
|
281
|
+
- - ">="
|
335
282
|
- !ruby/object:Gem::Version
|
336
283
|
version: '0'
|
337
284
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
338
|
-
none: false
|
339
285
|
requirements:
|
340
|
-
- -
|
286
|
+
- - ">="
|
341
287
|
- !ruby/object:Gem::Version
|
342
288
|
version: '0'
|
343
289
|
requirements: []
|
344
290
|
rubyforge_project:
|
345
|
-
rubygems_version:
|
291
|
+
rubygems_version: 2.4.5
|
346
292
|
signing_key:
|
347
|
-
specification_version:
|
293
|
+
specification_version: 4
|
348
294
|
summary: Redeem tokens to perform actions.
|
349
295
|
test_files:
|
350
296
|
- spec/controllers/token_action/tokens_controller_spec.rb
|
297
|
+
- spec/dummy/Rakefile
|
351
298
|
- spec/dummy/app/active_record/cat.rb
|
352
299
|
- spec/dummy/app/assets/javascripts/application.js
|
353
300
|
- spec/dummy/app/assets/stylesheets/application.css
|
@@ -356,6 +303,11 @@ test_files:
|
|
356
303
|
- spec/dummy/app/helpers/application_helper.rb
|
357
304
|
- spec/dummy/app/mongoid/cat.rb
|
358
305
|
- spec/dummy/app/views/layouts/application.html.erb
|
306
|
+
- spec/dummy/bin/bundle
|
307
|
+
- spec/dummy/bin/rails
|
308
|
+
- spec/dummy/bin/rake
|
309
|
+
- spec/dummy/bin/setup
|
310
|
+
- spec/dummy/config.ru
|
359
311
|
- spec/dummy/config/application.rb
|
360
312
|
- spec/dummy/config/boot.rb
|
361
313
|
- spec/dummy/config/database.yml
|
@@ -363,7 +315,9 @@ test_files:
|
|
363
315
|
- spec/dummy/config/environments/development.rb
|
364
316
|
- spec/dummy/config/environments/production.rb
|
365
317
|
- spec/dummy/config/environments/test.rb
|
366
|
-
- spec/dummy/config/initializers/
|
318
|
+
- spec/dummy/config/initializers/assets.rb
|
319
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
320
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
367
321
|
- spec/dummy/config/initializers/session_store.rb
|
368
322
|
- spec/dummy/config/initializers/token_action.rb
|
369
323
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
@@ -371,24 +325,21 @@ test_files:
|
|
371
325
|
- spec/dummy/config/locales/token_action.en.yml
|
372
326
|
- spec/dummy/config/mongoid.yml
|
373
327
|
- spec/dummy/config/routes.rb
|
374
|
-
- spec/dummy/config.
|
375
|
-
- spec/dummy/db/development.sqlite3
|
328
|
+
- spec/dummy/config/secrets.yml
|
376
329
|
- spec/dummy/db/migrate/20130104151630_create_token_action_tokens.rb
|
377
330
|
- spec/dummy/db/migrate/20130104201018_create_cats.rb
|
378
|
-
- spec/dummy/
|
379
|
-
- spec/dummy/log
|
331
|
+
- spec/dummy/db/schema.rb
|
332
|
+
- spec/dummy/log/.keep
|
380
333
|
- spec/dummy/public/404.html
|
381
334
|
- spec/dummy/public/422.html
|
382
335
|
- spec/dummy/public/500.html
|
383
336
|
- spec/dummy/public/favicon.ico
|
384
|
-
- spec/dummy/Rakefile
|
385
|
-
- spec/dummy/script/rails
|
386
337
|
- spec/factories.rb
|
338
|
+
- spec/rails_helper.rb
|
387
339
|
- spec/routing/token_action/tokens_routing_spec.rb
|
388
340
|
- spec/spec_helper.rb
|
389
|
-
- spec/token_action/
|
390
|
-
- spec/token_action/
|
341
|
+
- spec/token_action/concerns/model_spec.rb
|
342
|
+
- spec/token_action/concerns/token_generator_spec.rb
|
391
343
|
- spec/token_action/orm/active_record_spec.rb
|
392
344
|
- spec/token_action/orm/mongoid_spec.rb
|
393
345
|
- spec/token_action_spec.rb
|
394
|
-
has_rdoc:
|