conjoin 0.0.41 → 0.0.42

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
2
  SHA1:
3
- metadata.gz: ab3826f66dedd3cb8fa351ef77c8b7a424ac941e
4
- data.tar.gz: cf17673ce9c6cc7aa8c6041bb59e8436267d7f17
3
+ metadata.gz: 5b8fe1fb0df0922cd0b7fde98814e6737187976f
4
+ data.tar.gz: b23cfcfb5ce9bbe689ab4f8a5554033676124d22
5
5
  SHA512:
6
- metadata.gz: 07a2745cf75a7c8e73e8b2fedd404599c26a9b97f945b87fa18d58553d35f9ddaa56c4270d00790984386ab4b5fbead1408f2d7c1b0e449ff26f03c360deed4a
7
- data.tar.gz: c4b90b1cd3a0e90023e1f09bd0996db770b7220afd5e1d76b83106decb4001627eeca551276cebbcdf758d80e978c1ba809e455685bf8759f1c81c93e3ba35c9
6
+ metadata.gz: 8c87691cd7df1d4e09f2f3fd0fe2ab2931c0402cbc4d14f250c724278fceae19b97ea385d6f4b798c6d23270925f0aa41a48fec7e8224e7b990bb6e22072870b
7
+ data.tar.gz: 0f54963f166ebbfb0523ab0dd54e408d81d3e11751551eb257cff1c2b7d619eaa1adfd458249168069470f1a0940695558ec0ab1722df889057a63d98704e6f2
data/conjoin.gemspec CHANGED
@@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_dependency "shield", '~> 2.1.0', '>= 2.1.0'
39
39
  spec.add_dependency "better_errors", '~> 1.1.0', '>= 1.1.0'
40
40
  spec.add_dependency "rake", '~> 10.3.1', '>= 10.3.1'
41
+ spec.add_dependency "encryptor", '~> 1.3.0', '>= 1.3.0'
41
42
 
42
43
  spec.add_development_dependency "bundler", "~> 1.3", '>= 1.3'
43
44
  end
data/lib/conjoin.rb CHANGED
@@ -21,6 +21,7 @@ module Conjoin
21
21
  autoload :Ui , "conjoin/ui"
22
22
  autoload :JQuery , "conjoin/jquery"
23
23
  autoload :Nav , "conjoin/nav"
24
+ autoload :AuthToken , "conjoin/auth_token"
24
25
  # ActionMailer
25
26
  # https://gist.github.com/acwright/1944639
26
27
  # DelayedJob
@@ -0,0 +1,92 @@
1
+ require "encryptor"
2
+
3
+ module Conjoin
4
+ module AuthToken
5
+ def self.settings= s
6
+ @settings = s
7
+ end
8
+
9
+ def self.settings
10
+ @settings
11
+ end
12
+
13
+ def self.encrypt auth_token
14
+ auth_token = auth_token.to_json
15
+
16
+ Base64.encode64(Encryptor.encrypt auth_token, key: AuthToken.settings.key, salt: begin
17
+ "%AuthToken%#{AuthToken.settings.salt}%#{auth_token}%Salt%"
18
+ end).strip
19
+ end
20
+
21
+ def self.decrypt auth_token
22
+ JSON.parse Encryptor.decrypt(Base64.decode64(auth_token), key: AuthToken.settings.key, salt: begin
23
+ "%AuthToken%#{AuthToken.settings.salt}%#{auth_token}%Salt%"
24
+ end)
25
+ end
26
+
27
+ class Middleware
28
+ def initialize(app, settings = {})
29
+ @app = app
30
+ AuthToken.settings = OpenStruct.new settings
31
+ end
32
+
33
+ def call(env)
34
+ responder = Responder.new(@app, env)
35
+ responder.respond
36
+ end
37
+
38
+ class Responder
39
+ def initialize(app, env)
40
+ @app = app
41
+ @env = env
42
+ end
43
+
44
+ def respond
45
+ if auth_token = req.params['auth_token']
46
+ obj = AuthToken.decrypt auth_token
47
+
48
+ if Time.now < Time.parse(obj['expires_at'])
49
+ user = AuthToken.settings.klass.constantize.find obj['id']
50
+ case AuthToken.settings.type.to_sym
51
+ when :warden
52
+ req.env['warden'].set_user(user, scope: :user)
53
+ when :shield
54
+ req.session.clear
55
+ req.session[AuthToken.settings.klass] = obj['id']
56
+ end
57
+ end
58
+ end
59
+
60
+ res.finish
61
+ end
62
+
63
+ private
64
+
65
+ def return_signature
66
+ s3 = S3Signature.new policy_data
67
+ res.status = 200
68
+ res.headers["Content-Type"] = 'application/json; charset=UTF-8'
69
+ res.write({
70
+ policy: s3.policy,
71
+ signature: s3.signature
72
+ }.to_json)
73
+ end
74
+
75
+ def path
76
+ @env['PATH_INFO']
77
+ end
78
+
79
+ def req
80
+ @req ||= Rack::Request.new(@env)
81
+ end
82
+
83
+ def res
84
+ @res ||= begin
85
+ status, headers, body = @app.call(req.env)
86
+ Rack::Response.new(body, status, headers)
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
92
+ end
@@ -1,3 +1,3 @@
1
1
  module Conjoin
2
- VERSION = "0.0.41"
2
+ VERSION = "0.0.42"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.41
4
+ version: 0.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
@@ -14,420 +14,440 @@ dependencies:
14
14
  name: cuba
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.1.1
20
- - - ">="
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 3.1.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: 3.1.1
30
- - - ">="
30
+ - - '>='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 3.1.1
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cuba-sugar
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ~>
38
38
  - !ruby/object:Gem::Version
39
39
  version: 0.3.0
40
- - - ">="
40
+ - - '>='
41
41
  - !ruby/object:Gem::Version
42
42
  version: 0.3.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
47
+ - - ~>
48
48
  - !ruby/object:Gem::Version
49
49
  version: 0.3.0
50
- - - ">="
50
+ - - '>='
51
51
  - !ruby/object:Gem::Version
52
52
  version: 0.3.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rack_csrf
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
57
+ - - ~>
58
58
  - !ruby/object:Gem::Version
59
59
  version: 2.4.0
60
- - - ">="
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: 2.4.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: 2.4.0
70
- - - ">="
70
+ - - '>='
71
71
  - !ruby/object:Gem::Version
72
72
  version: 2.4.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rack-protection
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - "~>"
77
+ - - ~>
78
78
  - !ruby/object:Gem::Version
79
79
  version: 1.5.2
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.5.2
83
83
  type: :runtime
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: 1.5.2
90
- - - ">="
90
+ - - '>='
91
91
  - !ruby/object:Gem::Version
92
92
  version: 1.5.2
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: r18n-core
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - "~>"
97
+ - - ~>
98
98
  - !ruby/object:Gem::Version
99
99
  version: 1.1.10
100
- - - ">="
100
+ - - '>='
101
101
  - !ruby/object:Gem::Version
102
102
  version: 1.1.10
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - "~>"
107
+ - - ~>
108
108
  - !ruby/object:Gem::Version
109
109
  version: 1.1.10
110
- - - ">="
110
+ - - '>='
111
111
  - !ruby/object:Gem::Version
112
112
  version: 1.1.10
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: highline
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - "~>"
117
+ - - ~>
118
118
  - !ruby/object:Gem::Version
119
119
  version: 1.6.11
120
- - - ">="
120
+ - - '>='
121
121
  - !ruby/object:Gem::Version
122
122
  version: 1.6.11
123
123
  type: :runtime
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - "~>"
127
+ - - ~>
128
128
  - !ruby/object:Gem::Version
129
129
  version: 1.6.11
130
- - - ">="
130
+ - - '>='
131
131
  - !ruby/object:Gem::Version
132
132
  version: 1.6.11
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: mab
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - "~>"
137
+ - - ~>
138
138
  - !ruby/object:Gem::Version
139
139
  version: 0.0.3
140
- - - ">="
140
+ - - '>='
141
141
  - !ruby/object:Gem::Version
142
142
  version: 0.0.3
143
143
  type: :runtime
144
144
  prerelease: false
145
145
  version_requirements: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - "~>"
147
+ - - ~>
148
148
  - !ruby/object:Gem::Version
149
149
  version: 0.0.3
150
- - - ">="
150
+ - - '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.0.3
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: tilt
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ~>
158
158
  - !ruby/object:Gem::Version
159
159
  version: 2.0.1
160
- - - ">="
160
+ - - '>='
161
161
  - !ruby/object:Gem::Version
162
162
  version: 2.0.1
163
163
  type: :runtime
164
164
  prerelease: false
165
165
  version_requirements: !ruby/object:Gem::Requirement
166
166
  requirements:
167
- - - "~>"
167
+ - - ~>
168
168
  - !ruby/object:Gem::Version
169
169
  version: 2.0.1
170
- - - ">="
170
+ - - '>='
171
171
  - !ruby/object:Gem::Version
172
172
  version: 2.0.1
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: sass
175
175
  requirement: !ruby/object:Gem::Requirement
176
176
  requirements:
177
- - - "~>"
177
+ - - ~>
178
178
  - !ruby/object:Gem::Version
179
179
  version: 3.3.6
180
- - - ">="
180
+ - - '>='
181
181
  - !ruby/object:Gem::Version
182
182
  version: 3.3.6
183
183
  type: :runtime
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
186
186
  requirements:
187
- - - "~>"
187
+ - - ~>
188
188
  - !ruby/object:Gem::Version
189
189
  version: 3.3.6
190
- - - ">="
190
+ - - '>='
191
191
  - !ruby/object:Gem::Version
192
192
  version: 3.3.6
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: stylus
195
195
  requirement: !ruby/object:Gem::Requirement
196
196
  requirements:
197
- - - "~>"
197
+ - - ~>
198
198
  - !ruby/object:Gem::Version
199
199
  version: 1.0.1
200
- - - ">="
200
+ - - '>='
201
201
  - !ruby/object:Gem::Version
202
202
  version: 1.0.1
203
203
  type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - "~>"
207
+ - - ~>
208
208
  - !ruby/object:Gem::Version
209
209
  version: 1.0.1
210
- - - ">="
210
+ - - '>='
211
211
  - !ruby/object:Gem::Version
212
212
  version: 1.0.1
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: coffee-script
215
215
  requirement: !ruby/object:Gem::Requirement
216
216
  requirements:
217
- - - "~>"
217
+ - - ~>
218
218
  - !ruby/object:Gem::Version
219
219
  version: 2.2.0
220
- - - ">="
220
+ - - '>='
221
221
  - !ruby/object:Gem::Version
222
222
  version: 2.2.0
223
223
  type: :runtime
224
224
  prerelease: false
225
225
  version_requirements: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - "~>"
227
+ - - ~>
228
228
  - !ruby/object:Gem::Version
229
229
  version: 2.2.0
230
- - - ">="
230
+ - - '>='
231
231
  - !ruby/object:Gem::Version
232
232
  version: 2.2.0
233
233
  - !ruby/object:Gem::Dependency
234
234
  name: slim
235
235
  requirement: !ruby/object:Gem::Requirement
236
236
  requirements:
237
- - - "~>"
237
+ - - ~>
238
238
  - !ruby/object:Gem::Version
239
239
  version: 2.0.2
240
- - - ">="
240
+ - - '>='
241
241
  - !ruby/object:Gem::Version
242
242
  version: 2.0.2
243
243
  type: :runtime
244
244
  prerelease: false
245
245
  version_requirements: !ruby/object:Gem::Requirement
246
246
  requirements:
247
- - - "~>"
247
+ - - ~>
248
248
  - !ruby/object:Gem::Version
249
249
  version: 2.0.2
250
- - - ">="
250
+ - - '>='
251
251
  - !ruby/object:Gem::Version
252
252
  version: 2.0.2
253
253
  - !ruby/object:Gem::Dependency
254
254
  name: mimemagic
255
255
  requirement: !ruby/object:Gem::Requirement
256
256
  requirements:
257
- - - "~>"
257
+ - - ~>
258
258
  - !ruby/object:Gem::Version
259
259
  version: 0.2.1
260
- - - ">="
260
+ - - '>='
261
261
  - !ruby/object:Gem::Version
262
262
  version: 0.2.1
263
263
  type: :runtime
264
264
  prerelease: false
265
265
  version_requirements: !ruby/object:Gem::Requirement
266
266
  requirements:
267
- - - "~>"
267
+ - - ~>
268
268
  - !ruby/object:Gem::Version
269
269
  version: 0.2.1
270
- - - ">="
270
+ - - '>='
271
271
  - !ruby/object:Gem::Version
272
272
  version: 0.2.1
273
273
  - !ruby/object:Gem::Dependency
274
274
  name: hashie
275
275
  requirement: !ruby/object:Gem::Requirement
276
276
  requirements:
277
- - - "~>"
277
+ - - ~>
278
278
  - !ruby/object:Gem::Version
279
279
  version: 2.1.1
280
- - - ">="
280
+ - - '>='
281
281
  - !ruby/object:Gem::Version
282
282
  version: 2.1.1
283
283
  type: :runtime
284
284
  prerelease: false
285
285
  version_requirements: !ruby/object:Gem::Requirement
286
286
  requirements:
287
- - - "~>"
287
+ - - ~>
288
288
  - !ruby/object:Gem::Version
289
289
  version: 2.1.1
290
- - - ">="
290
+ - - '>='
291
291
  - !ruby/object:Gem::Version
292
292
  version: 2.1.1
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: chronic
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
- - - "~>"
297
+ - - ~>
298
298
  - !ruby/object:Gem::Version
299
299
  version: 0.10.2
300
- - - ">="
300
+ - - '>='
301
301
  - !ruby/object:Gem::Version
302
302
  version: 0.10.2
303
303
  type: :runtime
304
304
  prerelease: false
305
305
  version_requirements: !ruby/object:Gem::Requirement
306
306
  requirements:
307
- - - "~>"
307
+ - - ~>
308
308
  - !ruby/object:Gem::Version
309
309
  version: 0.10.2
310
- - - ">="
310
+ - - '>='
311
311
  - !ruby/object:Gem::Version
312
312
  version: 0.10.2
313
313
  - !ruby/object:Gem::Dependency
314
314
  name: unicorn
315
315
  requirement: !ruby/object:Gem::Requirement
316
316
  requirements:
317
- - - "~>"
317
+ - - ~>
318
318
  - !ruby/object:Gem::Version
319
319
  version: 4.8.2
320
- - - ">="
320
+ - - '>='
321
321
  - !ruby/object:Gem::Version
322
322
  version: 4.8.2
323
323
  type: :runtime
324
324
  prerelease: false
325
325
  version_requirements: !ruby/object:Gem::Requirement
326
326
  requirements:
327
- - - "~>"
327
+ - - ~>
328
328
  - !ruby/object:Gem::Version
329
329
  version: 4.8.2
330
- - - ">="
330
+ - - '>='
331
331
  - !ruby/object:Gem::Version
332
332
  version: 4.8.2
333
333
  - !ruby/object:Gem::Dependency
334
334
  name: clap
335
335
  requirement: !ruby/object:Gem::Requirement
336
336
  requirements:
337
- - - "~>"
337
+ - - ~>
338
338
  - !ruby/object:Gem::Version
339
339
  version: 1.0.0
340
- - - ">="
340
+ - - '>='
341
341
  - !ruby/object:Gem::Version
342
342
  version: 1.0.0
343
343
  type: :runtime
344
344
  prerelease: false
345
345
  version_requirements: !ruby/object:Gem::Requirement
346
346
  requirements:
347
- - - "~>"
347
+ - - ~>
348
348
  - !ruby/object:Gem::Version
349
349
  version: 1.0.0
350
- - - ">="
350
+ - - '>='
351
351
  - !ruby/object:Gem::Version
352
352
  version: 1.0.0
353
353
  - !ruby/object:Gem::Dependency
354
354
  name: shield
355
355
  requirement: !ruby/object:Gem::Requirement
356
356
  requirements:
357
- - - "~>"
357
+ - - ~>
358
358
  - !ruby/object:Gem::Version
359
359
  version: 2.1.0
360
- - - ">="
360
+ - - '>='
361
361
  - !ruby/object:Gem::Version
362
362
  version: 2.1.0
363
363
  type: :runtime
364
364
  prerelease: false
365
365
  version_requirements: !ruby/object:Gem::Requirement
366
366
  requirements:
367
- - - "~>"
367
+ - - ~>
368
368
  - !ruby/object:Gem::Version
369
369
  version: 2.1.0
370
- - - ">="
370
+ - - '>='
371
371
  - !ruby/object:Gem::Version
372
372
  version: 2.1.0
373
373
  - !ruby/object:Gem::Dependency
374
374
  name: better_errors
375
375
  requirement: !ruby/object:Gem::Requirement
376
376
  requirements:
377
- - - "~>"
377
+ - - ~>
378
378
  - !ruby/object:Gem::Version
379
379
  version: 1.1.0
380
- - - ">="
380
+ - - '>='
381
381
  - !ruby/object:Gem::Version
382
382
  version: 1.1.0
383
383
  type: :runtime
384
384
  prerelease: false
385
385
  version_requirements: !ruby/object:Gem::Requirement
386
386
  requirements:
387
- - - "~>"
387
+ - - ~>
388
388
  - !ruby/object:Gem::Version
389
389
  version: 1.1.0
390
- - - ">="
390
+ - - '>='
391
391
  - !ruby/object:Gem::Version
392
392
  version: 1.1.0
393
393
  - !ruby/object:Gem::Dependency
394
394
  name: rake
395
395
  requirement: !ruby/object:Gem::Requirement
396
396
  requirements:
397
- - - "~>"
397
+ - - ~>
398
398
  - !ruby/object:Gem::Version
399
399
  version: 10.3.1
400
- - - ">="
400
+ - - '>='
401
401
  - !ruby/object:Gem::Version
402
402
  version: 10.3.1
403
403
  type: :runtime
404
404
  prerelease: false
405
405
  version_requirements: !ruby/object:Gem::Requirement
406
406
  requirements:
407
- - - "~>"
407
+ - - ~>
408
408
  - !ruby/object:Gem::Version
409
409
  version: 10.3.1
410
- - - ">="
410
+ - - '>='
411
411
  - !ruby/object:Gem::Version
412
412
  version: 10.3.1
413
+ - !ruby/object:Gem::Dependency
414
+ name: encryptor
415
+ requirement: !ruby/object:Gem::Requirement
416
+ requirements:
417
+ - - ~>
418
+ - !ruby/object:Gem::Version
419
+ version: 1.3.0
420
+ - - '>='
421
+ - !ruby/object:Gem::Version
422
+ version: 1.3.0
423
+ type: :runtime
424
+ prerelease: false
425
+ version_requirements: !ruby/object:Gem::Requirement
426
+ requirements:
427
+ - - ~>
428
+ - !ruby/object:Gem::Version
429
+ version: 1.3.0
430
+ - - '>='
431
+ - !ruby/object:Gem::Version
432
+ version: 1.3.0
413
433
  - !ruby/object:Gem::Dependency
414
434
  name: bundler
415
435
  requirement: !ruby/object:Gem::Requirement
416
436
  requirements:
417
- - - "~>"
437
+ - - ~>
418
438
  - !ruby/object:Gem::Version
419
439
  version: '1.3'
420
- - - ">="
440
+ - - '>='
421
441
  - !ruby/object:Gem::Version
422
442
  version: '1.3'
423
443
  type: :development
424
444
  prerelease: false
425
445
  version_requirements: !ruby/object:Gem::Requirement
426
446
  requirements:
427
- - - "~>"
447
+ - - ~>
428
448
  - !ruby/object:Gem::Version
429
449
  version: '1.3'
430
- - - ">="
450
+ - - '>='
431
451
  - !ruby/object:Gem::Version
432
452
  version: '1.3'
433
453
  description: Still in development
@@ -438,7 +458,7 @@ executables:
438
458
  extensions: []
439
459
  extra_rdoc_files: []
440
460
  files:
441
- - ".gitignore"
461
+ - .gitignore
442
462
  - Gemfile
443
463
  - LICENSE.txt
444
464
  - README.md
@@ -450,6 +470,7 @@ files:
450
470
  - lib/conjoin/as.rb
451
471
  - lib/conjoin/assets.rb
452
472
  - lib/conjoin/auth.rb
473
+ - lib/conjoin/auth_token.rb
453
474
  - lib/conjoin/class_methods.rb
454
475
  - lib/conjoin/csrf.rb
455
476
  - lib/conjoin/cuba.rb
@@ -495,17 +516,17 @@ require_paths:
495
516
  - lib
496
517
  required_ruby_version: !ruby/object:Gem::Requirement
497
518
  requirements:
498
- - - ">="
519
+ - - '>='
499
520
  - !ruby/object:Gem::Version
500
521
  version: '0'
501
522
  required_rubygems_version: !ruby/object:Gem::Requirement
502
523
  requirements:
503
- - - ">="
524
+ - - '>='
504
525
  - !ruby/object:Gem::Version
505
526
  version: '0'
506
527
  requirements: []
507
528
  rubyforge_project:
508
- rubygems_version: 2.2.2
529
+ rubygems_version: 2.1.11
509
530
  signing_key:
510
531
  specification_version: 4
511
532
  summary: Adds certain things to Cuba to make it more familiar to rails devs