citygate 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +21 -0
- data/app/assets/javascripts/citygate.js +1 -2
- data/app/assets/javascripts/citygate/admin_users.coffee +1 -1
- data/app/assets/javascripts/citygate/home.js.coffee.erb +13 -0
- data/app/controllers/citygate/admin/application_controller.rb +2 -4
- data/app/controllers/citygate/admin/users_controller.rb +17 -0
- data/app/controllers/citygate/application_controller.rb +11 -4
- data/app/controllers/citygate/home_controller.rb +9 -0
- data/app/helpers/citygate/application_helper.rb +12 -0
- data/app/models/citygate/permission.rb +18 -1
- data/app/models/citygate/user.rb +6 -1
- data/app/views/citygate/admin/users/edit.html.erb +22 -0
- data/app/views/citygate/home/_role_changer.html.erb +3 -0
- data/app/views/citygate/home/index.html.erb +2 -4
- data/app/views/citygate/shared/_navigation.html.erb +9 -10
- data/app/views/citygate/users/show.html.erb +2 -0
- data/app/views/layouts/{admin/application.html.erb → admin.html.erb} +3 -3
- data/config/initializers/01_load_config.rb +2 -1
- data/config/initializers/devise.rb +1 -1
- data/config/locales/controllers/admin/users/en.yml +6 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20120916221334_add_conditions_to_permissions.rb +5 -0
- data/db/seeds.rb +1 -1
- data/lib/ability.rb +42 -22
- data/lib/citygate/version.rb +1 -1
- data/spec/dummy/config/accounts.yml +3 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20120916223209_add_conditions_to_permissions.citygate.rb +6 -0
- data/spec/dummy/db/schema.rb +2 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/features/step_definitions/user_steps.rb +17 -1
- data/spec/dummy/features/support/paths.rb +3 -0
- data/spec/dummy/features/users/users_admin.feature +13 -0
- data/spec/dummy/log/development.log +9037 -0
- data/spec/dummy/log/test.log +11901 -0
- data/spec/dummy/spec/lib/ability_spec.rb +10 -0
- data/spec/dummy/spec/models/permission_spec.rb +13 -0
- data/spec/dummy/spec/models/user_spec.rb +11 -0
- data/spec/dummy/tmp/cache/assets/C49/CE0/sprockets%2F2648b1b520975b78028cd5d352510c64 +0 -0
- data/spec/dummy/tmp/cache/assets/C63/E40/sprockets%2F36a675f52eb281488964b58be8971051 +0 -0
- data/spec/dummy/tmp/cache/assets/C72/B10/sprockets%2F21a4b8118f1f4254bf815e306027b951 +0 -0
- data/spec/dummy/tmp/cache/assets/C79/FC0/sprockets%2F76c2f8ffd1175afd6274640057134300 +0 -0
- data/spec/dummy/tmp/cache/assets/C7A/CE0/sprockets%2F9124c83a02e7332a90b2883b69f81d04 +0 -0
- data/spec/dummy/tmp/cache/assets/C89/540/sprockets%2F606a455261f8f047c994c4b9a582f126 +0 -0
- data/spec/dummy/tmp/cache/assets/CC5/020/sprockets%2Ffa39f3f719158fea829829617391b42c +0 -0
- data/spec/dummy/tmp/cache/assets/CD6/2B0/sprockets%2F08e01b4122e606428c6de7234d87bee1 +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/CE2/7D0/sprockets%2Fe69b8c4ca0800c940d1d9785f1a92327 +0 -0
- data/spec/dummy/tmp/cache/assets/CE3/150/sprockets%2F7d7a09e1df5c7510266a8d752683c4b3 +0 -0
- data/spec/dummy/tmp/cache/assets/CE8/510/sprockets%2F0d85ab6e3972f70636a990e91fec8301 +0 -0
- data/spec/dummy/tmp/cache/assets/D0B/180/sprockets%2F33a5fea6d23f2a4a6872793d659420aa +0 -0
- data/spec/dummy/tmp/cache/assets/D0D/DE0/sprockets%2Fa35442f02b0b2479f22d83d639d8c4fd +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D73/010/sprockets%2F834fa37dfa7f28148e125baf3f9d91b0 +0 -0
- data/spec/dummy/tmp/cache/assets/D78/BD0/sprockets%2Fd0c9ac69560ea197444b7f759ecd06da +0 -0
- data/spec/dummy/tmp/cache/assets/D7B/E90/sprockets%2F4b4bc96ff55fbc9a5844594eaba42790 +0 -0
- data/spec/dummy/tmp/cache/assets/D99/BF0/sprockets%2F2fd8d582e234f8d0a741c1b4cafb716e +0 -0
- data/spec/dummy/tmp/cache/assets/D9E/F10/sprockets%2F9ab223df888d724dcad09eb1163cc5f4 +0 -0
- data/spec/dummy/tmp/cache/assets/D9E/F70/sprockets%2Fc5d4a6e7d907804c52cbf910339dafdb +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E2B/670/sprockets%2Feac21904ecb266ce92aecadb8681b7fe +0 -0
- metadata +52 -38
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Citygate::Permission do
|
4
|
+
context "load all permissions" do
|
5
|
+
it "should load the guest permissions" do
|
6
|
+
Citygate::Permission.load_all.should have_key :guest
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should load permissions for all the roles" do
|
10
|
+
Citygate::Permission.load_all.size.should eq 3
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -11,6 +11,17 @@ describe Citygate::User do
|
|
11
11
|
}
|
12
12
|
end
|
13
13
|
|
14
|
+
it "should return the full name if it has one" do
|
15
|
+
@user = Citygate::User.new(@attr)
|
16
|
+
@user.to_s.should == "User"
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should return the full name if it has one" do
|
20
|
+
@attr.delete :first_name
|
21
|
+
@user = Citygate::User.new(@attr)
|
22
|
+
@user.to_s.should == "user@example.com"
|
23
|
+
end
|
24
|
+
|
14
25
|
it "should render the correct json hash" do
|
15
26
|
fb_user = Factory.create(:facebook_user)
|
16
27
|
fb_user.as_json.should == {
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: citygate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Group Buddies
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-09-17 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -144,20 +144,9 @@ dependencies:
|
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
146
|
version_requirements: *id012
|
147
|
-
- !ruby/object:Gem::Dependency
|
148
|
-
name: haml-rails
|
149
|
-
requirement: &id013 !ruby/object:Gem::Requirement
|
150
|
-
none: false
|
151
|
-
requirements:
|
152
|
-
- - ">="
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: 0.3.4
|
155
|
-
type: :development
|
156
|
-
prerelease: false
|
157
|
-
version_requirements: *id013
|
158
147
|
- !ruby/object:Gem::Dependency
|
159
148
|
name: rspec-rails
|
160
|
-
requirement: &
|
149
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
161
150
|
none: false
|
162
151
|
requirements:
|
163
152
|
- - ">="
|
@@ -165,10 +154,10 @@ dependencies:
|
|
165
154
|
version: 2.8.1
|
166
155
|
type: :development
|
167
156
|
prerelease: false
|
168
|
-
version_requirements: *
|
157
|
+
version_requirements: *id013
|
169
158
|
- !ruby/object:Gem::Dependency
|
170
159
|
name: email_spec
|
171
|
-
requirement: &
|
160
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
172
161
|
none: false
|
173
162
|
requirements:
|
174
163
|
- - ">="
|
@@ -176,10 +165,10 @@ dependencies:
|
|
176
165
|
version: 1.2.1
|
177
166
|
type: :development
|
178
167
|
prerelease: false
|
179
|
-
version_requirements: *
|
168
|
+
version_requirements: *id014
|
180
169
|
- !ruby/object:Gem::Dependency
|
181
170
|
name: factory_girl
|
182
|
-
requirement: &
|
171
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
183
172
|
none: false
|
184
173
|
requirements:
|
185
174
|
- - "="
|
@@ -187,10 +176,10 @@ dependencies:
|
|
187
176
|
version: 2.6.4
|
188
177
|
type: :development
|
189
178
|
prerelease: false
|
190
|
-
version_requirements: *
|
179
|
+
version_requirements: *id015
|
191
180
|
- !ruby/object:Gem::Dependency
|
192
181
|
name: cucumber-rails
|
193
|
-
requirement: &
|
182
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
194
183
|
none: false
|
195
184
|
requirements:
|
196
185
|
- - ">="
|
@@ -198,10 +187,10 @@ dependencies:
|
|
198
187
|
version: 1.3.0
|
199
188
|
type: :development
|
200
189
|
prerelease: false
|
201
|
-
version_requirements: *
|
190
|
+
version_requirements: *id016
|
202
191
|
- !ruby/object:Gem::Dependency
|
203
192
|
name: capybara
|
204
|
-
requirement: &
|
193
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
205
194
|
none: false
|
206
195
|
requirements:
|
207
196
|
- - ">="
|
@@ -209,10 +198,10 @@ dependencies:
|
|
209
198
|
version: 1.1.2
|
210
199
|
type: :development
|
211
200
|
prerelease: false
|
212
|
-
version_requirements: *
|
201
|
+
version_requirements: *id017
|
213
202
|
- !ruby/object:Gem::Dependency
|
214
203
|
name: database_cleaner
|
215
|
-
requirement: &
|
204
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
216
205
|
none: false
|
217
206
|
requirements:
|
218
207
|
- - ">="
|
@@ -220,10 +209,10 @@ dependencies:
|
|
220
209
|
version: 0.7.1
|
221
210
|
type: :development
|
222
211
|
prerelease: false
|
223
|
-
version_requirements: *
|
212
|
+
version_requirements: *id018
|
224
213
|
- !ruby/object:Gem::Dependency
|
225
214
|
name: launchy
|
226
|
-
requirement: &
|
215
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
227
216
|
none: false
|
228
217
|
requirements:
|
229
218
|
- - ">="
|
@@ -231,10 +220,10 @@ dependencies:
|
|
231
220
|
version: 2.0.5
|
232
221
|
type: :development
|
233
222
|
prerelease: false
|
234
|
-
version_requirements: *
|
223
|
+
version_requirements: *id019
|
235
224
|
- !ruby/object:Gem::Dependency
|
236
225
|
name: jasmine-rails
|
237
|
-
requirement: &
|
226
|
+
requirement: &id020 !ruby/object:Gem::Requirement
|
238
227
|
none: false
|
239
228
|
requirements:
|
240
229
|
- - ">="
|
@@ -242,10 +231,10 @@ dependencies:
|
|
242
231
|
version: 0.0.3
|
243
232
|
type: :development
|
244
233
|
prerelease: false
|
245
|
-
version_requirements: *
|
234
|
+
version_requirements: *id020
|
246
235
|
- !ruby/object:Gem::Dependency
|
247
236
|
name: jasmine-jquery-rails
|
248
|
-
requirement: &
|
237
|
+
requirement: &id021 !ruby/object:Gem::Requirement
|
249
238
|
none: false
|
250
239
|
requirements:
|
251
240
|
- - ">="
|
@@ -253,10 +242,10 @@ dependencies:
|
|
253
242
|
version: "0"
|
254
243
|
type: :development
|
255
244
|
prerelease: false
|
256
|
-
version_requirements: *
|
245
|
+
version_requirements: *id021
|
257
246
|
- !ruby/object:Gem::Dependency
|
258
247
|
name: capybara-webkit
|
259
|
-
requirement: &
|
248
|
+
requirement: &id022 !ruby/object:Gem::Requirement
|
260
249
|
none: false
|
261
250
|
requirements:
|
262
251
|
- - ">="
|
@@ -264,10 +253,10 @@ dependencies:
|
|
264
253
|
version: "0"
|
265
254
|
type: :development
|
266
255
|
prerelease: false
|
267
|
-
version_requirements: *
|
256
|
+
version_requirements: *id022
|
268
257
|
- !ruby/object:Gem::Dependency
|
269
258
|
name: headless
|
270
|
-
requirement: &
|
259
|
+
requirement: &id023 !ruby/object:Gem::Requirement
|
271
260
|
none: false
|
272
261
|
requirements:
|
273
262
|
- - ">="
|
@@ -275,7 +264,7 @@ dependencies:
|
|
275
264
|
version: "0"
|
276
265
|
type: :development
|
277
266
|
prerelease: false
|
278
|
-
version_requirements: *
|
267
|
+
version_requirements: *id023
|
279
268
|
description: Citygate is an Engine that provides user model with sign up and log in, admin backend for managing users.
|
280
269
|
email:
|
281
270
|
- zamith@groupbuddies.com
|
@@ -287,6 +276,7 @@ extra_rdoc_files: []
|
|
287
276
|
|
288
277
|
files:
|
289
278
|
- app/assets/javascripts/citygate/admin_users.coffee
|
279
|
+
- app/assets/javascripts/citygate/home.js.coffee.erb
|
290
280
|
- app/assets/javascripts/citygate/jquery.pjax.js
|
291
281
|
- app/assets/javascripts/citygate.js
|
292
282
|
- app/assets/stylesheets/citygate/application.css
|
@@ -302,8 +292,10 @@ files:
|
|
302
292
|
- app/models/citygate/permission.rb
|
303
293
|
- app/models/citygate/role.rb
|
304
294
|
- app/models/citygate/user.rb
|
295
|
+
- app/views/citygate/admin/users/edit.html.erb
|
305
296
|
- app/views/citygate/admin/users/index.html.erb
|
306
297
|
- app/views/citygate/admin/users/show.html.erb
|
298
|
+
- app/views/citygate/home/_role_changer.html.erb
|
307
299
|
- app/views/citygate/home/index.html.erb
|
308
300
|
- app/views/citygate/shared/_navigation.html.erb
|
309
301
|
- app/views/citygate/users/show.html.erb
|
@@ -318,12 +310,13 @@ files:
|
|
318
310
|
- app/views/devise/sessions/new.html.erb
|
319
311
|
- app/views/devise/shared/_links.erb
|
320
312
|
- app/views/devise/unlocks/new.html.erb
|
321
|
-
- app/views/layouts/admin
|
313
|
+
- app/views/layouts/admin.html.erb
|
322
314
|
- app/views/layouts/application.html.erb
|
323
315
|
- config/accounts.yml
|
324
316
|
- config/cucumber.yml
|
325
317
|
- config/initializers/01_load_config.rb
|
326
318
|
- config/initializers/devise.rb
|
319
|
+
- config/locales/controllers/admin/users/en.yml
|
327
320
|
- config/locales/defaults/en.yml
|
328
321
|
- config/locales/models/user/en.yml
|
329
322
|
- config/locales/navigation/en.yml
|
@@ -339,6 +332,7 @@ files:
|
|
339
332
|
- db/migrate/20120507112430_add_omniauth_to_devise.rb
|
340
333
|
- db/migrate/20120523163700_create_roles.rb
|
341
334
|
- db/migrate/20120727143920_create_permissions_table.rb
|
335
|
+
- db/migrate/20120916221334_add_conditions_to_permissions.rb
|
342
336
|
- db/seeds.rb
|
343
337
|
- lib/ability.rb
|
344
338
|
- lib/app_controller_helpers.rb
|
@@ -355,6 +349,7 @@ files:
|
|
355
349
|
- spec/dummy/app/controllers/application_controller.rb
|
356
350
|
- spec/dummy/app/helpers/application_helper.rb
|
357
351
|
- spec/dummy/app/views/layouts/application.html.erb
|
352
|
+
- spec/dummy/config/accounts.yml
|
358
353
|
- spec/dummy/config/application.rb
|
359
354
|
- spec/dummy/config/boot.rb
|
360
355
|
- spec/dummy/config/database.yml
|
@@ -379,6 +374,7 @@ files:
|
|
379
374
|
- spec/dummy/db/migrate/20120706095550_add_omniauth_to_devise.citygate.rb
|
380
375
|
- spec/dummy/db/migrate/20120706095551_create_roles.citygate.rb
|
381
376
|
- spec/dummy/db/migrate/20120727145840_create_permissions_table.citygate.rb
|
377
|
+
- spec/dummy/db/migrate/20120916223209_add_conditions_to_permissions.citygate.rb
|
382
378
|
- spec/dummy/db/production.sqlite3
|
383
379
|
- spec/dummy/db/schema.rb
|
384
380
|
- spec/dummy/db/seeds.rb
|
@@ -415,11 +411,15 @@ files:
|
|
415
411
|
- spec/dummy/spec/javascripts/helpers/SpecHelper.js
|
416
412
|
- spec/dummy/spec/javascripts/support/jasmine.yml
|
417
413
|
- spec/dummy/spec/javascripts/UserSpec.js
|
414
|
+
- spec/dummy/spec/lib/ability_spec.rb
|
415
|
+
- spec/dummy/spec/models/permission_spec.rb
|
418
416
|
- spec/dummy/spec/models/user_spec.rb
|
419
417
|
- spec/dummy/spec/routing/routing_spec.rb
|
420
418
|
- spec/dummy/spec/spec_helper.rb
|
421
419
|
- spec/dummy/spec/support/devise.rb
|
420
|
+
- spec/dummy/tmp/cache/assets/C49/CE0/sprockets%2F2648b1b520975b78028cd5d352510c64
|
422
421
|
- spec/dummy/tmp/cache/assets/C63/E40/sprockets%2F36a675f52eb281488964b58be8971051
|
422
|
+
- spec/dummy/tmp/cache/assets/C72/B10/sprockets%2F21a4b8118f1f4254bf815e306027b951
|
423
423
|
- spec/dummy/tmp/cache/assets/C79/FC0/sprockets%2F76c2f8ffd1175afd6274640057134300
|
424
424
|
- spec/dummy/tmp/cache/assets/C7A/CE0/sprockets%2F9124c83a02e7332a90b2883b69f81d04
|
425
425
|
- spec/dummy/tmp/cache/assets/C89/540/sprockets%2F606a455261f8f047c994c4b9a582f126
|
@@ -428,8 +428,10 @@ files:
|
|
428
428
|
- spec/dummy/tmp/cache/assets/CD8/070/sprockets%2F3afc9406d6d06c238a33603363af8a66
|
429
429
|
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
430
430
|
- spec/dummy/tmp/cache/assets/CE2/7D0/sprockets%2Fe69b8c4ca0800c940d1d9785f1a92327
|
431
|
+
- spec/dummy/tmp/cache/assets/CE3/150/sprockets%2F7d7a09e1df5c7510266a8d752683c4b3
|
431
432
|
- spec/dummy/tmp/cache/assets/CE8/510/sprockets%2F0d85ab6e3972f70636a990e91fec8301
|
432
433
|
- spec/dummy/tmp/cache/assets/CF6/500/sprockets%2Fe48376f3339fc2f84ac25d713936ea99
|
434
|
+
- spec/dummy/tmp/cache/assets/D0B/180/sprockets%2F33a5fea6d23f2a4a6872793d659420aa
|
433
435
|
- spec/dummy/tmp/cache/assets/D0D/DE0/sprockets%2Fa35442f02b0b2479f22d83d639d8c4fd
|
434
436
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
435
437
|
- spec/dummy/tmp/cache/assets/D3E/710/sprockets%2F93251497334cafddb54ecc36a332f5b9
|
@@ -441,6 +443,8 @@ files:
|
|
441
443
|
- spec/dummy/tmp/cache/assets/D73/010/sprockets%2F834fa37dfa7f28148e125baf3f9d91b0
|
442
444
|
- spec/dummy/tmp/cache/assets/D75/530/sprockets%2F6a480d7952fbe8ce5c2eaad0369f7271
|
443
445
|
- spec/dummy/tmp/cache/assets/D78/BD0/sprockets%2Fd0c9ac69560ea197444b7f759ecd06da
|
446
|
+
- spec/dummy/tmp/cache/assets/D7B/E90/sprockets%2F4b4bc96ff55fbc9a5844594eaba42790
|
447
|
+
- spec/dummy/tmp/cache/assets/D99/BF0/sprockets%2F2fd8d582e234f8d0a741c1b4cafb716e
|
444
448
|
- spec/dummy/tmp/cache/assets/D9B/0B0/sprockets%2F609a6d0b06eb3752679f6e1f0adcb4fc
|
445
449
|
- spec/dummy/tmp/cache/assets/D9E/F10/sprockets%2F9ab223df888d724dcad09eb1163cc5f4
|
446
450
|
- spec/dummy/tmp/cache/assets/D9E/F70/sprockets%2Fc5d4a6e7d907804c52cbf910339dafdb
|
@@ -464,7 +468,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
464
468
|
requirements:
|
465
469
|
- - ">="
|
466
470
|
- !ruby/object:Gem::Version
|
467
|
-
hash:
|
471
|
+
hash: -4134967999806487145
|
468
472
|
segments:
|
469
473
|
- 0
|
470
474
|
version: "0"
|
@@ -473,7 +477,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
473
477
|
requirements:
|
474
478
|
- - ">="
|
475
479
|
- !ruby/object:Gem::Version
|
476
|
-
hash:
|
480
|
+
hash: -4134967999806487145
|
477
481
|
segments:
|
478
482
|
- 0
|
479
483
|
version: "0"
|
@@ -490,6 +494,7 @@ test_files:
|
|
490
494
|
- spec/dummy/app/controllers/application_controller.rb
|
491
495
|
- spec/dummy/app/helpers/application_helper.rb
|
492
496
|
- spec/dummy/app/views/layouts/application.html.erb
|
497
|
+
- spec/dummy/config/accounts.yml
|
493
498
|
- spec/dummy/config/application.rb
|
494
499
|
- spec/dummy/config/boot.rb
|
495
500
|
- spec/dummy/config/database.yml
|
@@ -514,6 +519,7 @@ test_files:
|
|
514
519
|
- spec/dummy/db/migrate/20120706095550_add_omniauth_to_devise.citygate.rb
|
515
520
|
- spec/dummy/db/migrate/20120706095551_create_roles.citygate.rb
|
516
521
|
- spec/dummy/db/migrate/20120727145840_create_permissions_table.citygate.rb
|
522
|
+
- spec/dummy/db/migrate/20120916223209_add_conditions_to_permissions.citygate.rb
|
517
523
|
- spec/dummy/db/production.sqlite3
|
518
524
|
- spec/dummy/db/schema.rb
|
519
525
|
- spec/dummy/db/seeds.rb
|
@@ -550,11 +556,15 @@ test_files:
|
|
550
556
|
- spec/dummy/spec/javascripts/helpers/SpecHelper.js
|
551
557
|
- spec/dummy/spec/javascripts/support/jasmine.yml
|
552
558
|
- spec/dummy/spec/javascripts/UserSpec.js
|
559
|
+
- spec/dummy/spec/lib/ability_spec.rb
|
560
|
+
- spec/dummy/spec/models/permission_spec.rb
|
553
561
|
- spec/dummy/spec/models/user_spec.rb
|
554
562
|
- spec/dummy/spec/routing/routing_spec.rb
|
555
563
|
- spec/dummy/spec/spec_helper.rb
|
556
564
|
- spec/dummy/spec/support/devise.rb
|
565
|
+
- spec/dummy/tmp/cache/assets/C49/CE0/sprockets%2F2648b1b520975b78028cd5d352510c64
|
557
566
|
- spec/dummy/tmp/cache/assets/C63/E40/sprockets%2F36a675f52eb281488964b58be8971051
|
567
|
+
- spec/dummy/tmp/cache/assets/C72/B10/sprockets%2F21a4b8118f1f4254bf815e306027b951
|
558
568
|
- spec/dummy/tmp/cache/assets/C79/FC0/sprockets%2F76c2f8ffd1175afd6274640057134300
|
559
569
|
- spec/dummy/tmp/cache/assets/C7A/CE0/sprockets%2F9124c83a02e7332a90b2883b69f81d04
|
560
570
|
- spec/dummy/tmp/cache/assets/C89/540/sprockets%2F606a455261f8f047c994c4b9a582f126
|
@@ -563,8 +573,10 @@ test_files:
|
|
563
573
|
- spec/dummy/tmp/cache/assets/CD8/070/sprockets%2F3afc9406d6d06c238a33603363af8a66
|
564
574
|
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
565
575
|
- spec/dummy/tmp/cache/assets/CE2/7D0/sprockets%2Fe69b8c4ca0800c940d1d9785f1a92327
|
576
|
+
- spec/dummy/tmp/cache/assets/CE3/150/sprockets%2F7d7a09e1df5c7510266a8d752683c4b3
|
566
577
|
- spec/dummy/tmp/cache/assets/CE8/510/sprockets%2F0d85ab6e3972f70636a990e91fec8301
|
567
578
|
- spec/dummy/tmp/cache/assets/CF6/500/sprockets%2Fe48376f3339fc2f84ac25d713936ea99
|
579
|
+
- spec/dummy/tmp/cache/assets/D0B/180/sprockets%2F33a5fea6d23f2a4a6872793d659420aa
|
568
580
|
- spec/dummy/tmp/cache/assets/D0D/DE0/sprockets%2Fa35442f02b0b2479f22d83d639d8c4fd
|
569
581
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
570
582
|
- spec/dummy/tmp/cache/assets/D3E/710/sprockets%2F93251497334cafddb54ecc36a332f5b9
|
@@ -576,6 +588,8 @@ test_files:
|
|
576
588
|
- spec/dummy/tmp/cache/assets/D73/010/sprockets%2F834fa37dfa7f28148e125baf3f9d91b0
|
577
589
|
- spec/dummy/tmp/cache/assets/D75/530/sprockets%2F6a480d7952fbe8ce5c2eaad0369f7271
|
578
590
|
- spec/dummy/tmp/cache/assets/D78/BD0/sprockets%2Fd0c9ac69560ea197444b7f759ecd06da
|
591
|
+
- spec/dummy/tmp/cache/assets/D7B/E90/sprockets%2F4b4bc96ff55fbc9a5844594eaba42790
|
592
|
+
- spec/dummy/tmp/cache/assets/D99/BF0/sprockets%2F2fd8d582e234f8d0a741c1b4cafb716e
|
579
593
|
- spec/dummy/tmp/cache/assets/D9B/0B0/sprockets%2F609a6d0b06eb3752679f6e1f0adcb4fc
|
580
594
|
- spec/dummy/tmp/cache/assets/D9E/F10/sprockets%2F9ab223df888d724dcad09eb1163cc5f4
|
581
595
|
- spec/dummy/tmp/cache/assets/D9E/F70/sprockets%2Fc5d4a6e7d907804c52cbf910339dafdb
|