rails_admin 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. data/Gemfile +18 -20
  2. data/README.md +8 -1
  3. data/app/assets/javascripts/rails_admin/ra.widgets.coffee +5 -4
  4. data/app/assets/stylesheets/rails_admin/base/theming.css.scss +4 -4
  5. data/app/controllers/rails_admin/main_controller.rb +11 -2
  6. data/app/helpers/rails_admin/application_helper.rb +1 -1
  7. data/app/helpers/rails_admin/form_builder.rb +3 -3
  8. data/app/views/rails_admin/main/_form_filtering_multiselect.html.haml +4 -4
  9. data/app/views/rails_admin/main/_form_filtering_select.html.haml +2 -2
  10. data/app/views/rails_admin/main/_form_nested_one.html.haml +1 -1
  11. data/app/views/rails_admin/main/_form_text.html.haml +2 -1
  12. data/app/views/rails_admin/main/export.html.haml +2 -2
  13. data/app/views/rails_admin/main/index.html.haml +5 -5
  14. data/app/views/rails_admin/main/show.html.haml +1 -1
  15. data/lib/generators/rails_admin/templates/initializer.erb +5 -5
  16. data/lib/rails_admin/abstract_model.rb +1 -0
  17. data/lib/rails_admin/config.rb +1 -1
  18. data/lib/rails_admin/config/actions/base.rb +1 -1
  19. data/lib/rails_admin/config/actions/edit.rb +5 -4
  20. data/lib/rails_admin/config/actions/new.rb +5 -4
  21. data/lib/rails_admin/config/fields/association.rb +10 -10
  22. data/lib/rails_admin/config/fields/base.rb +10 -4
  23. data/lib/rails_admin/config/fields/types/belongs_to_association.rb +2 -2
  24. data/lib/rails_admin/config/fields/types/boolean.rb +4 -4
  25. data/lib/rails_admin/config/fields/types/bson_object_id.rb +4 -4
  26. data/lib/rails_admin/config/fields/types/carrierwave.rb +3 -3
  27. data/lib/rails_admin/config/fields/types/datetime.rb +5 -5
  28. data/lib/rails_admin/config/fields/types/enum.rb +5 -5
  29. data/lib/rails_admin/config/fields/types/file_upload.rb +10 -6
  30. data/lib/rails_admin/config/fields/types/has_many_association.rb +1 -1
  31. data/lib/rails_admin/config/fields/types/has_one_association.rb +3 -3
  32. data/lib/rails_admin/config/fields/types/integer.rb +1 -1
  33. data/lib/rails_admin/config/fields/types/paperclip.rb +2 -2
  34. data/lib/rails_admin/config/fields/types/polymorphic_association.rb +8 -4
  35. data/lib/rails_admin/config/fields/types/serialized.rb +2 -2
  36. data/lib/rails_admin/config/fields/types/string.rb +3 -3
  37. data/lib/rails_admin/config/fields/types/text.rb +22 -15
  38. data/lib/rails_admin/config/fields/types/time.rb +1 -1
  39. data/lib/rails_admin/config/hideable.rb +1 -1
  40. data/lib/rails_admin/config/model.rb +4 -0
  41. data/lib/rails_admin/config/sections/modal.rb +1 -1
  42. data/lib/rails_admin/engine.rb +1 -1
  43. data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +2 -1
  44. data/lib/rails_admin/support/csv_converter.rb +1 -1
  45. data/lib/rails_admin/version.rb +2 -2
  46. data/lib/rails_admin/version.rbc +582 -0
  47. data/lib/tasks/rails_admin.rake +2 -2
  48. data/spec/controllers/main_controller_spec.rb +113 -45
  49. data/spec/dummy_app/Gemfile +11 -25
  50. data/spec/dummy_app/Gemfile.lock +214 -0
  51. data/spec/dummy_app/app/active_record/comment.rb +1 -1
  52. data/spec/dummy_app/app/active_record/field_test.rb +0 -1
  53. data/spec/dummy_app/config/initializers/strong_parameters.rb +2 -0
  54. data/spec/dummy_app/db/test.sqlite3 +0 -0
  55. data/spec/dummy_app/log/test.log +97612 -0
  56. data/spec/helpers/application_helper_spec.rb +24 -24
  57. data/spec/helpers/form_builder_spec.rb +4 -4
  58. data/spec/integration/authorization/cancan_spec.rb +3 -3
  59. data/spec/integration/basic/bulk_action/rails_admin_basic_bulk_action_spec.rb +2 -2
  60. data/spec/integration/basic/bulk_destroy/rails_admin_basic_bulk_destroy_spec.rb +2 -2
  61. data/spec/integration/basic/create/rails_admin_basic_create_spec.rb +9 -9
  62. data/spec/integration/basic/create/rails_admin_namespaced_model_create_spec.rb +1 -1
  63. data/spec/integration/basic/delete/rails_admin_basic_delete_spec.rb +4 -4
  64. data/spec/integration/basic/destroy/rails_admin_basic_destroy_spec.rb +9 -9
  65. data/spec/integration/basic/edit/rails_admin_basic_edit_spec.rb +10 -10
  66. data/spec/integration/basic/export/rails_admin_basic_export_spec.rb +5 -5
  67. data/spec/integration/basic/list/rails_admin_basic_list_spec.rb +32 -25
  68. data/spec/integration/basic/new/rails_admin_basic_new_spec.rb +8 -8
  69. data/spec/integration/basic/new/rails_admin_namespaced_model_new_spec.rb +3 -3
  70. data/spec/integration/basic/show/rails_admin_basic_show_spec.rb +6 -6
  71. data/spec/integration/basic/update/rails_admin_basic_update_spec.rb +13 -13
  72. data/spec/integration/config/edit/rails_admin_config_edit_spec.rb +97 -76
  73. data/spec/integration/config/list/rails_admin_config_list_spec.rb +32 -32
  74. data/spec/integration/config/show/rails_admin_config_show_spec.rb +23 -23
  75. data/spec/integration/history/rails_admin_history_spec.rb +6 -6
  76. data/spec/integration/rails_admin_spec.rb +17 -17
  77. data/spec/integration/relation_spec.rb +7 -7
  78. data/spec/unit/abstract_model_spec.rb +11 -5
  79. data/spec/unit/active_record_extension_spec.rb +2 -2
  80. data/spec/unit/adapters/active_record/abstract_object_spec.rb +8 -8
  81. data/spec/unit/adapters/active_record_spec.rb +6 -6
  82. data/spec/unit/adapters/mongoid/abstract_object_spec.rb +1 -1
  83. data/spec/unit/adapters/mongoid_spec.rb +12 -12
  84. data/spec/unit/config/actions/base_spec.rb +2 -2
  85. data/spec/unit/config/actions_spec.rb +16 -16
  86. data/spec/unit/config/fields/base_spec.rb +61 -49
  87. data/spec/unit/config/fields/date_spec.rb +4 -4
  88. data/spec/unit/config/fields/datetime_spec.rb +4 -4
  89. data/spec/unit/config/fields/file_upload_spec.rb +21 -0
  90. data/spec/unit/config/fields/time_spec.rb +3 -3
  91. data/spec/unit/config/fields/timestamp_spec.rb +1 -1
  92. data/spec/unit/config/model_spec.rb +10 -10
  93. data/spec/unit/config/sections_spec.rb +4 -4
  94. data/spec/unit/config_spec.rb +9 -9
  95. metadata +17 -218
@@ -6,7 +6,7 @@ namespace :rails_admin do
6
6
  puts "[RailsAdmin] RailsAdmin initialization disabled by default. Pass SKIP_RAILS_ADMIN_INITIALIZER=false if you need it."
7
7
  end
8
8
  end
9
-
9
+
10
10
  desc "Install rails_admin"
11
11
  task :install do
12
12
  system 'rails g rails_admin:install'
@@ -16,7 +16,7 @@ namespace :rails_admin do
16
16
  task :uninstall do
17
17
  system 'rails g rails_admin:uninstall'
18
18
  end
19
-
19
+
20
20
  desc "CI env for Travis"
21
21
  task :prepare_ci_env do
22
22
  ENV['SKIP_RAILS_ADMIN_INITIALIZER'] = 'true'
@@ -9,12 +9,12 @@ describe RailsAdmin::MainController do
9
9
  controller.stub(:render).and_return(true) # no rendering
10
10
  end
11
11
 
12
- it "should show statistics by default" do
12
+ it "shows statistics by default" do
13
13
  RailsAdmin.config(Player).abstract_model.should_receive(:count).and_return(0)
14
14
  controller.dashboard
15
15
  end
16
16
 
17
- it "should not show statistics if turned off" do
17
+ it "does not show statistics if turned off" do
18
18
  RailsAdmin.config do |c|
19
19
  c.actions do
20
20
  dashboard do
@@ -30,7 +30,7 @@ describe RailsAdmin::MainController do
30
30
 
31
31
  describe "#check_for_cancel" do
32
32
 
33
- it "should redirect to back if params[:bulk_ids] is nil when params[:bulk_action] is present" do
33
+ it "redirects to back if params[:bulk_ids] is nil when params[:bulk_action] is present" do
34
34
  controller.stub(:back_or_index) { raise StandardError.new('redirected back') }
35
35
  expect { get :bulk_delete, { :model_name => "player", :bulk_action =>"bulk_delete" } }.to raise_error('redirected back')
36
36
  expect { get :bulk_delete, { :model_name => "player", :bulk_action =>"bulk_delete", :bulk_ids => [] } }.to_not raise_error('redirected back')
@@ -38,12 +38,12 @@ describe RailsAdmin::MainController do
38
38
  end
39
39
 
40
40
  describe "#get_sort_hash" do
41
- it 'should work with belongs_to associations with label method virtual' do
41
+ it "works with belongs_to associations with label method virtual" do
42
42
  controller.params = { :sort => "parent_category", :model_name =>"categories" }
43
43
  expect(controller.send(:get_sort_hash, RailsAdmin.config(Category))).to eq({:sort=>"categories.parent_category_id", :sort_reverse=>true})
44
44
  end
45
45
 
46
- it 'should work with belongs_to associations with label method real column' do
46
+ it "works with belongs_to associations with label method real column" do
47
47
  controller.params = { :sort => "team", :model_name =>"players" }
48
48
  expect(controller.send(:get_sort_hash, RailsAdmin.config(Player))).to eq({:sort=>"teams.name", :sort_reverse=>true})
49
49
  end
@@ -55,7 +55,7 @@ describe RailsAdmin::MainController do
55
55
  controller.params = { :model_name => "teams" }
56
56
  end
57
57
 
58
- it "should paginate" do
58
+ it "paginates" do
59
59
  expect(controller.list_entries(RailsAdmin.config(Team), :index, nil, false).to_a.length).to eq(21)
60
60
  expect(controller.list_entries(RailsAdmin.config(Team), :index, nil, true).to_a.length).to eq(20)
61
61
  end
@@ -67,7 +67,7 @@ describe RailsAdmin::MainController do
67
67
  controller.params = { :model_name => "teams", :bulk_action => "bulk_delete", :bulk_ids => @teams.map(&:id) }
68
68
  end
69
69
 
70
- it "should not paginate" do
70
+ it "does not paginate" do
71
71
  expect(controller.list_entries(RailsAdmin.config(Team), :bulk_delete).to_a.length).to eq(21)
72
72
  end
73
73
  end
@@ -174,56 +174,124 @@ describe RailsAdmin::MainController do
174
174
  end
175
175
 
176
176
  describe "sanitize_params_for!" do
177
- it 'sanitize params recursively in nested forms' do
178
- RailsAdmin.config Comment do
179
- configure :created_at do
180
- show
181
- end
177
+ context "in France" do
178
+ before do
179
+ I18n.locale = :fr
180
+ end
181
+ after do
182
+ I18n.locale = :en
182
183
  end
183
184
 
184
- RailsAdmin.config NestedFieldTest do
185
- configure :created_at do
186
- show
185
+ it "sanitize params recursively in nested forms" do
186
+ RailsAdmin.config Comment do
187
+ configure :created_at do
188
+ show
189
+ end
187
190
  end
188
- end
189
191
 
190
- I18n.locale = :fr
191
- controller.params = {
192
- "field_test"=>{
193
- :"datetime_field"=>"1 août 2010",
194
- "nested_field_tests_attributes"=>{
195
- "new_1330520162002"=>{
196
- "comment_attributes"=>{
197
- :"created_at"=>"2 août 2010"
198
- },
199
- :"created_at"=>"3 août 2010"
192
+ RailsAdmin.config NestedFieldTest do
193
+ configure :created_at do
194
+ show
195
+ end
196
+ end
197
+
198
+ controller.params = HashWithIndifferentAccess.new({
199
+ "field_test"=>{
200
+ "unallowed_field" => "I shouldn't be here",
201
+ "datetime_field"=>"1 août 2010",
202
+ "nested_field_tests_attributes"=>{
203
+ "new_1330520162002"=>{
204
+ "comment_attributes"=>{
205
+ "unallowed_field" => "I shouldn't be here",
206
+ "created_at"=>"2 août 2010"
207
+ },
208
+ "created_at"=>"3 août 2010"
209
+ }
210
+ },
211
+ "comment_attributes"=>{
212
+ "unallowed_field" => "I shouldn't be here",
213
+ "created_at"=>"4 août 2010"
200
214
  }
201
- },
202
- "comment_attributes"=>{
203
- :"created_at"=>"4 août 2010"
204
215
  }
216
+ })
217
+
218
+ controller.send(:sanitize_params_for!, :create, RailsAdmin.config(FieldTest), controller.params['field_test'])
219
+
220
+ expect(controller.params).to eq({
221
+ "field_test"=>{
222
+ "datetime_field"=>'Sun, 01 Aug 2010 00:00:00 UTC +00:00',
223
+ "nested_field_tests_attributes"=>{
224
+ "new_1330520162002"=>{
225
+ "comment_attributes"=>{
226
+ "created_at"=>'Mon, 02 Aug 2010 00:00:00 UTC +00:00'
227
+ },
228
+ "created_at"=>'Tue, 03 Aug 2010 00:00:00 UTC +00:00'
229
+ }
230
+ },
231
+ "comment_attributes"=>{
232
+ "created_at"=>'Wed, 04 Aug 2010 00:00:00 UTC +00:00'
233
+ }
234
+ }
235
+ })
236
+ end
237
+ end
238
+
239
+ it "allows for delete method with Carrierwave" do
240
+
241
+ RailsAdmin.config FieldTest do
242
+ field :carrierwave_asset
243
+ field :dragonfly_asset
244
+ field :paperclip_asset do
245
+ delete_method :delete_paperclip_asset
246
+ end
247
+ end
248
+ controller.params = HashWithIndifferentAccess.new({
249
+ "field_test"=>{
250
+ "carrierwave_asset" => "test",
251
+ "carrierwave_asset_cache" => "test",
252
+ "remove_carrierwave_asset" => "test",
253
+ "dragonfly_asset" => "test",
254
+ "remove_dragonfly_asset" => "test",
255
+ "retained_dragonfly_asset" => "test",
256
+ "paperclip_asset" => "test",
257
+ "delete_paperclip_asset" => "test",
258
+ "should_not_be_here" => "test"
205
259
  }
206
- }
260
+ })
207
261
 
208
262
  controller.send(:sanitize_params_for!, :create, RailsAdmin.config(FieldTest), controller.params['field_test'])
209
-
210
- expect(controller.params).to eq({
263
+ expect(controller.params).to eq(
211
264
  "field_test"=>{
212
- :datetime_field=>'Sun, 01 Aug 2010 00:00:00 UTC +00:00',
213
- "nested_field_tests_attributes"=>{
214
- "new_1330520162002"=>{
215
- "comment_attributes"=>{
216
- :created_at=>'Mon, 02 Aug 2010 00:00:00 UTC +00:00'
217
- },
218
- :created_at=>'Tue, 03 Aug 2010 00:00:00 UTC +00:00'
219
- }
220
- },
221
- "comment_attributes"=>{
222
- :created_at=>'Wed, 04 Aug 2010 00:00:00 UTC +00:00'
223
- }
265
+ "carrierwave_asset"=>"test",
266
+ "remove_carrierwave_asset"=>"test",
267
+ "carrierwave_asset_cache"=>"test",
268
+ "dragonfly_asset"=>"test",
269
+ "remove_dragonfly_asset"=>"test",
270
+ "retained_dragonfly_asset"=>"test",
271
+ "paperclip_asset"=>"test",
272
+ "delete_paperclip_asset"=>"test"
273
+ })
274
+ end
275
+
276
+ it "allows for polymorphic associations parameters" do
277
+ RailsAdmin.config Comment do
278
+ field :commentable
279
+ end
280
+
281
+ controller.params = HashWithIndifferentAccess.new({
282
+ "comment"=>{
283
+ "commentable_id" => "test",
284
+ "commentable_type" => "test"
224
285
  }
225
286
  })
226
- I18n.locale = :en
287
+ controller.send(:sanitize_params_for!, :create, RailsAdmin.config(Comment), controller.params['comment'])
288
+ expect(controller.params).to eq(
289
+ "comment"=>{
290
+ "commentable_id" => "test",
291
+ "commentable_type" => "test"
292
+ })
227
293
  end
228
294
  end
295
+
296
+
229
297
  end
@@ -1,21 +1,12 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'rails', '~> 3.2'
4
+ gem 'strong_parameters', github: 'rails/strong_parameters' # 0.1.5 min, not released yet
4
5
 
5
6
  group :active_record do
6
7
  platforms :jruby do
7
- gem 'jruby-openssl', '~> 0.7'
8
- case ENV['CI_DB_ADAPTER']
9
- when 'mysql'
10
- gem 'activerecord-jdbcmysql-adapter', '~> 1.2'
11
- gem 'jdbc-mysql', '~> 5.1'
12
- when 'postgresql'
13
- gem 'activerecord-jdbcpostgresql-adapter', '~> 1.2'
14
- gem 'jdbc-postgres', '~> 9.0'
15
- else
16
- gem 'activerecord-jdbcsqlite3-adapter', '~> 1.2'
17
- gem 'jdbc-sqlite3', '~> 3.6'
18
- end
8
+ gem 'activerecord-jdbcsqlite3-adapter', '~> 1.2'
9
+ gem 'jdbc-sqlite3', '~> 3.6'
19
10
  end
20
11
 
21
12
  platforms :ruby, :mswin, :mingw do
@@ -23,7 +14,7 @@ group :active_record do
23
14
  when 'mysql'
24
15
  gem 'mysql', '~> 2.8'
25
16
  when 'postgresql'
26
- gem 'pg', '~> 0.10'
17
+ gem 'pg', '~> 0.13'
27
18
  else
28
19
  gem 'sqlite3', '~> 1.3'
29
20
  end
@@ -32,18 +23,17 @@ end
32
23
 
33
24
  group :mongoid do
34
25
  gem 'mongoid', '~> 3.0'
35
- gem 'mongoid-paperclip', :require => 'mongoid_paperclip', :git => 'git://github.com/meskyanichi/mongoid-paperclip.git', :branch => 'develop'
26
+ gem 'mongoid-paperclip', '~> 0.0.8', :require => 'mongoid_paperclip'
36
27
  gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid', :git => 'git://github.com/jnicklas/carrierwave-mongoid.git', :branch => 'mongoid-3.0'
37
28
  end
38
29
 
39
- gem 'paperclip'
40
- gem 'carrierwave'
41
- gem 'dragonfly'
42
-
43
- gem 'devise', '~> 2.0'
44
- gem 'rails_admin', :path => '../../'
30
+ gem 'carrierwave', '~> 0.6'
31
+ gem 'devise', '~> 2.1'
32
+ gem 'dragonfly', '~> 0.9'
33
+ gem 'mini_magick', '~> 3.4'
45
34
  gem 'mlb', '~> 0.5'
46
- gem 'mini_magick'
35
+ gem 'paperclip', '~> 3.3'
36
+ gem 'rails_admin', :path => '../../'
47
37
 
48
38
  # Gems used only for assets and not required
49
39
  # in production environments by default.
@@ -56,7 +46,3 @@ group :assets do
56
46
 
57
47
  gem 'uglifier', '>= 1.0.3'
58
48
  end
59
-
60
- platforms :jruby, :mingw_18, :ruby_18 do
61
- gem 'fastercsv', '~> 1.5'
62
- end
@@ -0,0 +1,214 @@
1
+ GIT
2
+ remote: git://github.com/jnicklas/carrierwave-mongoid.git
3
+ revision: 28a9b718d42b8aba47d2eb951f73bd9d872b6eb0
4
+ branch: mongoid-3.0
5
+ specs:
6
+ carrierwave-mongoid (0.3.0.alpha)
7
+ carrierwave (~> 0.6.1)
8
+ mongoid (~> 3.0.0)
9
+ mongoid-grid_fs (~> 1.3.1)
10
+
11
+ PATH
12
+ remote: ../../
13
+ specs:
14
+ rails_admin (0.1.2)
15
+ bootstrap-sass (~> 2.0)
16
+ builder (~> 3.0)
17
+ coffee-rails (~> 3.1)
18
+ font-awesome-sass-rails (~> 2.0)
19
+ haml (~> 3.1)
20
+ jquery-rails (~> 2.0)
21
+ jquery-ui-rails (~> 2.0)
22
+ kaminari (~> 0.12)
23
+ nested_form (~> 0.2.3)
24
+ rack-pjax (~> 0.5)
25
+ rails (~> 3.1)
26
+ remotipart (~> 1.0)
27
+ sass-rails (~> 3.1)
28
+
29
+ GEM
30
+ remote: https://rubygems.org/
31
+ specs:
32
+ actionmailer (3.2.8)
33
+ actionpack (= 3.2.8)
34
+ mail (~> 2.4.4)
35
+ actionpack (3.2.8)
36
+ activemodel (= 3.2.8)
37
+ activesupport (= 3.2.8)
38
+ builder (~> 3.0.0)
39
+ erubis (~> 2.7.0)
40
+ journey (~> 1.0.4)
41
+ rack (~> 1.4.0)
42
+ rack-cache (~> 1.2)
43
+ rack-test (~> 0.6.1)
44
+ sprockets (~> 2.1.3)
45
+ activemodel (3.2.8)
46
+ activesupport (= 3.2.8)
47
+ builder (~> 3.0.0)
48
+ activerecord (3.2.8)
49
+ activemodel (= 3.2.8)
50
+ activesupport (= 3.2.8)
51
+ arel (~> 3.0.2)
52
+ tzinfo (~> 0.3.29)
53
+ activeresource (3.2.8)
54
+ activemodel (= 3.2.8)
55
+ activesupport (= 3.2.8)
56
+ activesupport (3.2.8)
57
+ i18n (~> 0.6)
58
+ multi_json (~> 1.0)
59
+ arel (3.0.2)
60
+ bcrypt-ruby (3.0.1)
61
+ bootstrap-sass (2.1.0.0)
62
+ builder (3.0.3)
63
+ carrierwave (0.6.2)
64
+ activemodel (>= 3.2.0)
65
+ activesupport (>= 3.2.0)
66
+ cocaine (0.4.0)
67
+ coffee-rails (3.2.2)
68
+ coffee-script (>= 2.2.0)
69
+ railties (~> 3.2.0)
70
+ coffee-script (2.2.0)
71
+ coffee-script-source
72
+ execjs
73
+ coffee-script-source (1.3.3)
74
+ devise (2.1.2)
75
+ bcrypt-ruby (~> 3.0)
76
+ orm_adapter (~> 0.1)
77
+ railties (~> 3.1)
78
+ warden (~> 1.2.1)
79
+ dragonfly (0.9.12)
80
+ rack
81
+ erubis (2.7.0)
82
+ execjs (1.4.0)
83
+ multi_json (~> 1.0)
84
+ faraday (0.8.4)
85
+ multipart-post (~> 1.1)
86
+ faraday_middleware (0.8.8)
87
+ faraday (>= 0.7.4, < 0.9)
88
+ font-awesome-sass-rails (2.0.0.0)
89
+ railties (>= 3.1.1)
90
+ sass-rails (>= 3.1.1)
91
+ haml (3.1.7)
92
+ hike (1.2.1)
93
+ i18n (0.6.1)
94
+ journey (1.0.4)
95
+ jquery-rails (2.1.3)
96
+ railties (>= 3.1.0, < 5.0)
97
+ thor (~> 0.14)
98
+ jquery-ui-rails (2.0.2)
99
+ jquery-rails
100
+ railties (>= 3.1.0)
101
+ json (1.7.5)
102
+ kaminari (0.14.1)
103
+ actionpack (>= 3.0.0)
104
+ activesupport (>= 3.0.0)
105
+ mail (2.4.4)
106
+ i18n (>= 0.4.0)
107
+ mime-types (~> 1.16)
108
+ treetop (~> 1.4.8)
109
+ mime-types (1.19)
110
+ mini_magick (3.4)
111
+ subexec (~> 0.2.1)
112
+ mlb (0.6.1)
113
+ faraday (~> 0.8)
114
+ faraday_middleware (~> 0.8)
115
+ json (~> 1.7)
116
+ multi_json (~> 1.3)
117
+ mongoid (3.0.6)
118
+ activemodel (~> 3.1)
119
+ moped (~> 1.1)
120
+ origin (~> 1.0)
121
+ tzinfo (~> 0.3.22)
122
+ mongoid-grid_fs (1.3.2)
123
+ mime-types (~> 1.19)
124
+ mongoid (~> 3.0)
125
+ mongoid-paperclip (0.0.8)
126
+ paperclip (>= 2.3.6)
127
+ moped (1.2.7)
128
+ multi_json (1.3.6)
129
+ multipart-post (1.1.5)
130
+ nested_form (0.2.3)
131
+ nokogiri (1.5.5)
132
+ origin (1.0.9)
133
+ orm_adapter (0.4.0)
134
+ paperclip (3.3.0)
135
+ activemodel (>= 3.0.0)
136
+ activerecord (>= 3.0.0)
137
+ activesupport (>= 3.0.0)
138
+ cocaine (~> 0.4.0)
139
+ mime-types
140
+ polyglot (0.3.3)
141
+ rack (1.4.1)
142
+ rack-cache (1.2)
143
+ rack (>= 0.4)
144
+ rack-pjax (0.6.0)
145
+ nokogiri (~> 1.5)
146
+ rack (~> 1.3)
147
+ rack-ssl (1.3.2)
148
+ rack
149
+ rack-test (0.6.2)
150
+ rack (>= 1.0)
151
+ rails (3.2.8)
152
+ actionmailer (= 3.2.8)
153
+ actionpack (= 3.2.8)
154
+ activerecord (= 3.2.8)
155
+ activeresource (= 3.2.8)
156
+ activesupport (= 3.2.8)
157
+ bundler (~> 1.0)
158
+ railties (= 3.2.8)
159
+ railties (3.2.8)
160
+ actionpack (= 3.2.8)
161
+ activesupport (= 3.2.8)
162
+ rack-ssl (~> 1.3.2)
163
+ rake (>= 0.8.7)
164
+ rdoc (~> 3.4)
165
+ thor (>= 0.14.6, < 2.0)
166
+ rake (0.9.2.2)
167
+ rdoc (3.12)
168
+ json (~> 1.4)
169
+ remotipart (1.0.2)
170
+ sass (3.2.1)
171
+ sass-rails (3.2.5)
172
+ railties (~> 3.2.0)
173
+ sass (>= 3.1.10)
174
+ tilt (~> 1.3)
175
+ sprockets (2.1.3)
176
+ hike (~> 1.2)
177
+ rack (~> 1.0)
178
+ tilt (~> 1.1, != 1.3.0)
179
+ sqlite3 (1.3.6)
180
+ subexec (0.2.2)
181
+ thor (0.16.0)
182
+ tilt (1.3.3)
183
+ treetop (1.4.11)
184
+ polyglot
185
+ polyglot (>= 0.3.1)
186
+ tzinfo (0.3.33)
187
+ uglifier (1.3.0)
188
+ execjs (>= 0.3.0)
189
+ multi_json (~> 1.0, >= 1.0.2)
190
+ warden (1.2.1)
191
+ rack (>= 1.0)
192
+
193
+ PLATFORMS
194
+ ruby
195
+
196
+ DEPENDENCIES
197
+ activerecord-jdbcsqlite3-adapter (~> 1.2)
198
+ carrierwave (~> 0.6)
199
+ carrierwave-mongoid!
200
+ coffee-rails (~> 3.2)
201
+ devise (~> 2.1)
202
+ dragonfly (~> 0.9)
203
+ jdbc-sqlite3 (~> 3.6)
204
+ jruby-openssl (~> 0.7)
205
+ mini_magick (~> 3.4)
206
+ mlb (~> 0.5)
207
+ mongoid (~> 3.0)
208
+ mongoid-paperclip (~> 0.0.8)
209
+ paperclip (~> 3.3)
210
+ rails (~> 3.2)
211
+ rails_admin!
212
+ sass-rails (~> 3.2)
213
+ sqlite3 (~> 1.3)
214
+ uglifier (>= 1.0.3)