brightcontent-attachments 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/.gitignore +9 -0
  2. data/Gemfile +5 -0
  3. data/Gemfile.lock +183 -0
  4. data/Rakefile +14 -0
  5. data/app/assets/javascripts/brightcontent/.gitkeep +0 -0
  6. data/app/assets/javascripts/brightcontent/attachments.js +14 -0
  7. data/app/controllers/brightcontent/attachments_controller.rb +21 -0
  8. data/app/helpers/brightcontent/attachments_helper.rb +4 -0
  9. data/app/models/brightcontent/attachment.rb +11 -0
  10. data/app/views/brightcontent/attachments/_form_field.html.erb +15 -0
  11. data/app/views/brightcontent/attachments/show.html.erb +3 -0
  12. data/brightcontent-attachments.gemspec +27 -0
  13. data/config/routes.rb +5 -0
  14. data/db/migrate/20121222172513_create_attachments.rb +19 -0
  15. data/lib/brightcontent-attachments.rb +1 -0
  16. data/lib/brightcontent/attachments.rb +10 -0
  17. data/lib/brightcontent/attachments/engine.rb +6 -0
  18. data/lib/generators/brightcontent/attachments/install_generator.rb +15 -0
  19. data/script/rails +8 -0
  20. data/spec/dummy/README.rdoc +261 -0
  21. data/spec/dummy/Rakefile +7 -0
  22. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  23. data/spec/dummy/app/assets/javascripts/brightcontent/custom.js +1 -0
  24. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  25. data/spec/dummy/app/assets/stylesheets/brightcontent/custom.css +1 -0
  26. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  27. data/spec/dummy/app/controllers/brightcontent/blogs_controller.rb +11 -0
  28. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  29. data/spec/dummy/app/mailers/.gitkeep +0 -0
  30. data/spec/dummy/app/models/.gitkeep +0 -0
  31. data/spec/dummy/app/models/blog.rb +4 -0
  32. data/spec/dummy/app/views/brightcontent/blogs/_form_field_assets.html.erb +1 -0
  33. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/spec/dummy/config.ru +4 -0
  35. data/spec/dummy/config/application.rb +59 -0
  36. data/spec/dummy/config/boot.rb +10 -0
  37. data/spec/dummy/config/database.yml +25 -0
  38. data/spec/dummy/config/environment.rb +5 -0
  39. data/spec/dummy/config/environments/development.rb +37 -0
  40. data/spec/dummy/config/environments/production.rb +67 -0
  41. data/spec/dummy/config/environments/test.rb +37 -0
  42. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  43. data/spec/dummy/config/initializers/brightcontent.rb +3 -0
  44. data/spec/dummy/config/initializers/inflections.rb +15 -0
  45. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  46. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  47. data/spec/dummy/config/initializers/session_store.rb +8 -0
  48. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  49. data/spec/dummy/config/locales/en.yml +5 -0
  50. data/spec/dummy/config/routes.rb +5 -0
  51. data/spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb +12 -0
  52. data/spec/dummy/db/migrate/20121206225720_create_blogs.rb +10 -0
  53. data/spec/dummy/db/schema.rb +44 -0
  54. data/spec/dummy/lib/assets/.gitkeep +0 -0
  55. data/spec/dummy/public/404.html +26 -0
  56. data/spec/dummy/public/422.html +26 -0
  57. data/spec/dummy/public/500.html +25 -0
  58. data/spec/dummy/public/favicon.ico +0 -0
  59. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/001/original/icon-socialmedia.png +0 -0
  60. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/002/original/bg_direction_nav.png +0 -0
  61. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/003/original/icon-android.png +0 -0
  62. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/004/original/icon-calendar.png +0 -0
  63. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/005/original/icon-iphone.png +0 -0
  64. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/006/original/icon-socialmedia.png +0 -0
  65. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/007/original/iphone.png +0 -0
  66. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/008/original/logo.png +0 -0
  67. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/009/original/menu-button.png +0 -0
  68. data/spec/dummy/public/system/brightcontent/assets/assets/000/000/010/original/bestuur.jpg +0 -0
  69. data/spec/dummy/public/system/brightcontent/attachments/assets/000/000/001/original/bestuur.jpg +0 -0
  70. data/spec/dummy/public/system/brightcontent/attachments/assets/000/000/002/original/carousel.jpg +0 -0
  71. data/spec/dummy/public/system/brightcontent/attachments/assets/000/000/003/original/icon-socialmedia.png +0 -0
  72. data/spec/dummy/public/system/brightcontent/attachments/assets/000/000/004/original/icon-calendar.png +0 -0
  73. data/spec/dummy/public/system/brightcontent/attachments/assets/000/000/005/original/bg_direction_nav.png +0 -0
  74. data/spec/dummy/script/rails +6 -0
  75. data/spec/factories.rb +15 -0
  76. data/spec/features/attachments_spec.rb +17 -0
  77. data/spec/models/brightcontent/attachment_spec.rb +6 -0
  78. data/spec/spec_helper.rb +18 -0
  79. data/spec/support/acceptance_helper.rb +8 -0
  80. metadata +317 -0
@@ -0,0 +1,12 @@
1
+ class CreateBrightcontentAdminUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :brightcontent_admin_users do |t|
4
+ t.string :email
5
+ t.string :password_digest
6
+
7
+ t.timestamps
8
+ end
9
+
10
+ Brightcontent::AdminUser.create!(:email => 'admin@example.com', :password => 'password')
11
+ end
12
+ end
@@ -0,0 +1,10 @@
1
+ class CreateBlogs < ActiveRecord::Migration
2
+ def change
3
+ create_table :blogs do |t|
4
+ t.string :name
5
+ t.text :body
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,44 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20121222172513) do
15
+
16
+ create_table "blogs", :force => true do |t|
17
+ t.string "name"
18
+ t.text "body"
19
+ t.datetime "created_at", :null => false
20
+ t.datetime "updated_at", :null => false
21
+ end
22
+
23
+ create_table "brightcontent_admin_users", :force => true do |t|
24
+ t.string "email"
25
+ t.string "password_digest"
26
+ t.datetime "created_at", :null => false
27
+ t.datetime "updated_at", :null => false
28
+ end
29
+
30
+ create_table "brightcontent_attachments", :force => true do |t|
31
+ t.integer "attachable_id"
32
+ t.string "attachable_type"
33
+ t.string "asset_file_name"
34
+ t.string "asset_content_type"
35
+ t.integer "asset_file_size"
36
+ t.datetime "asset_updated_at"
37
+ t.datetime "created_at", :null => false
38
+ t.datetime "updated_at", :null => false
39
+ end
40
+
41
+ add_index "brightcontent_attachments", ["attachable_id"], :name => "index_brightcontent_attachments_on_attachable_id"
42
+ add_index "brightcontent_attachments", ["attachable_type"], :name => "index_brightcontent_attachments_on_attachable_type"
43
+
44
+ end
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
data/spec/factories.rb ADDED
@@ -0,0 +1,15 @@
1
+ FactoryGirl.define do
2
+ sequence :email do |n|
3
+ "person#{n}@example.com"
4
+ end
5
+
6
+ factory :admin_user, class: Brightcontent::AdminUser do
7
+ email
8
+ password "password"
9
+ password_confirmation "password"
10
+ end
11
+
12
+ factory :blog do
13
+ name "Blogname"
14
+ end
15
+ end
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ feature "Attachments" do
4
+ it "show message if item is not saved" do
5
+ sign_in
6
+ click_link "Blogs"
7
+ click_link "Create new Blog"
8
+ page.should have_content "First save to enable uploads"
9
+ end
10
+
11
+ it "show upload form" do
12
+ create(:blog)
13
+ sign_in
14
+ click_link "Blogs"
15
+ click_link "Edit"
16
+ end
17
+ end
@@ -0,0 +1,6 @@
1
+ require 'spec_helper'
2
+
3
+ module Brightcontent
4
+ describe Attachment do
5
+ end
6
+ end
@@ -0,0 +1,18 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require 'rspec/rails'
6
+ require 'capybara/rspec'
7
+ require 'factory_girl_rails'
8
+ require 'brightcontent-attachments'
9
+
10
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
11
+
12
+ Rails.backtrace_cleaner.remove_silencers!
13
+
14
+ RSpec.configure do |config|
15
+ config.mock_with :rspec
16
+ config.use_transactional_fixtures = true
17
+ config.include FactoryGirl::Syntax::Methods
18
+ end
@@ -0,0 +1,8 @@
1
+ def sign_in
2
+ user = create(:admin_user)
3
+ visit "/admin"
4
+ fill_in "Email", with: user.email
5
+ fill_in "Password", with: "password"
6
+ click_button "Login"
7
+ user
8
+ end
metadata ADDED
@@ -0,0 +1,317 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: brightcontent-attachments
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.6
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Developers at Brightin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: brightcontent-core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.6
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.0.6
30
+ - !ruby/object:Gem::Dependency
31
+ name: paperclip
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: jquery-fileupload-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: sqlite3
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
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'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec-rails
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: capybara
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: launchy
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: factory_girl_rails
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ description: Separate attachment resource for brightcontent
143
+ email: developers@brightin.nl
144
+ executables: []
145
+ extensions: []
146
+ extra_rdoc_files: []
147
+ files:
148
+ - .gitignore
149
+ - Gemfile
150
+ - Gemfile.lock
151
+ - Rakefile
152
+ - app/assets/javascripts/brightcontent/.gitkeep
153
+ - app/assets/javascripts/brightcontent/attachments.js
154
+ - app/controllers/brightcontent/attachments_controller.rb
155
+ - app/helpers/brightcontent/attachments_helper.rb
156
+ - app/models/brightcontent/attachment.rb
157
+ - app/views/brightcontent/attachments/_form_field.html.erb
158
+ - app/views/brightcontent/attachments/show.html.erb
159
+ - brightcontent-attachments.gemspec
160
+ - config/routes.rb
161
+ - db/migrate/20121222172513_create_attachments.rb
162
+ - lib/brightcontent-attachments.rb
163
+ - lib/brightcontent/attachments.rb
164
+ - lib/brightcontent/attachments/engine.rb
165
+ - lib/generators/brightcontent/attachments/install_generator.rb
166
+ - script/rails
167
+ - spec/dummy/README.rdoc
168
+ - spec/dummy/Rakefile
169
+ - spec/dummy/app/assets/javascripts/application.js
170
+ - spec/dummy/app/assets/javascripts/brightcontent/custom.js
171
+ - spec/dummy/app/assets/stylesheets/application.css
172
+ - spec/dummy/app/assets/stylesheets/brightcontent/custom.css
173
+ - spec/dummy/app/controllers/application_controller.rb
174
+ - spec/dummy/app/controllers/brightcontent/blogs_controller.rb
175
+ - spec/dummy/app/helpers/application_helper.rb
176
+ - spec/dummy/app/mailers/.gitkeep
177
+ - spec/dummy/app/models/.gitkeep
178
+ - spec/dummy/app/models/blog.rb
179
+ - spec/dummy/app/views/brightcontent/blogs/_form_field_assets.html.erb
180
+ - spec/dummy/app/views/layouts/application.html.erb
181
+ - spec/dummy/config.ru
182
+ - spec/dummy/config/application.rb
183
+ - spec/dummy/config/boot.rb
184
+ - spec/dummy/config/database.yml
185
+ - spec/dummy/config/environment.rb
186
+ - spec/dummy/config/environments/development.rb
187
+ - spec/dummy/config/environments/production.rb
188
+ - spec/dummy/config/environments/test.rb
189
+ - spec/dummy/config/initializers/backtrace_silencers.rb
190
+ - spec/dummy/config/initializers/brightcontent.rb
191
+ - spec/dummy/config/initializers/inflections.rb
192
+ - spec/dummy/config/initializers/mime_types.rb
193
+ - spec/dummy/config/initializers/secret_token.rb
194
+ - spec/dummy/config/initializers/session_store.rb
195
+ - spec/dummy/config/initializers/wrap_parameters.rb
196
+ - spec/dummy/config/locales/en.yml
197
+ - spec/dummy/config/routes.rb
198
+ - spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
199
+ - spec/dummy/db/migrate/20121206225720_create_blogs.rb
200
+ - spec/dummy/db/schema.rb
201
+ - spec/dummy/lib/assets/.gitkeep
202
+ - spec/dummy/public/404.html
203
+ - spec/dummy/public/422.html
204
+ - spec/dummy/public/500.html
205
+ - spec/dummy/public/favicon.ico
206
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/001/original/icon-socialmedia.png
207
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/002/original/bg_direction_nav.png
208
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/003/original/icon-android.png
209
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/004/original/icon-calendar.png
210
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/005/original/icon-iphone.png
211
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/006/original/icon-socialmedia.png
212
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/007/original/iphone.png
213
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/008/original/logo.png
214
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/009/original/menu-button.png
215
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/010/original/bestuur.jpg
216
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/001/original/bestuur.jpg
217
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/002/original/carousel.jpg
218
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/003/original/icon-socialmedia.png
219
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/004/original/icon-calendar.png
220
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/005/original/bg_direction_nav.png
221
+ - spec/dummy/script/rails
222
+ - spec/factories.rb
223
+ - spec/features/attachments_spec.rb
224
+ - spec/models/brightcontent/attachment_spec.rb
225
+ - spec/spec_helper.rb
226
+ - spec/support/acceptance_helper.rb
227
+ homepage: http://brightin.nl
228
+ licenses: []
229
+ post_install_message:
230
+ rdoc_options: []
231
+ require_paths:
232
+ - lib
233
+ required_ruby_version: !ruby/object:Gem::Requirement
234
+ none: false
235
+ requirements:
236
+ - - ! '>='
237
+ - !ruby/object:Gem::Version
238
+ version: '0'
239
+ segments:
240
+ - 0
241
+ hash: -2418983405850187822
242
+ required_rubygems_version: !ruby/object:Gem::Requirement
243
+ none: false
244
+ requirements:
245
+ - - ! '>='
246
+ - !ruby/object:Gem::Version
247
+ version: '0'
248
+ segments:
249
+ - 0
250
+ hash: -2418983405850187822
251
+ requirements: []
252
+ rubyforge_project:
253
+ rubygems_version: 1.8.24
254
+ signing_key:
255
+ specification_version: 3
256
+ summary: Assets resource for brightcontent
257
+ test_files:
258
+ - spec/dummy/README.rdoc
259
+ - spec/dummy/Rakefile
260
+ - spec/dummy/app/assets/javascripts/application.js
261
+ - spec/dummy/app/assets/javascripts/brightcontent/custom.js
262
+ - spec/dummy/app/assets/stylesheets/application.css
263
+ - spec/dummy/app/assets/stylesheets/brightcontent/custom.css
264
+ - spec/dummy/app/controllers/application_controller.rb
265
+ - spec/dummy/app/controllers/brightcontent/blogs_controller.rb
266
+ - spec/dummy/app/helpers/application_helper.rb
267
+ - spec/dummy/app/mailers/.gitkeep
268
+ - spec/dummy/app/models/.gitkeep
269
+ - spec/dummy/app/models/blog.rb
270
+ - spec/dummy/app/views/brightcontent/blogs/_form_field_assets.html.erb
271
+ - spec/dummy/app/views/layouts/application.html.erb
272
+ - spec/dummy/config.ru
273
+ - spec/dummy/config/application.rb
274
+ - spec/dummy/config/boot.rb
275
+ - spec/dummy/config/database.yml
276
+ - spec/dummy/config/environment.rb
277
+ - spec/dummy/config/environments/development.rb
278
+ - spec/dummy/config/environments/production.rb
279
+ - spec/dummy/config/environments/test.rb
280
+ - spec/dummy/config/initializers/backtrace_silencers.rb
281
+ - spec/dummy/config/initializers/brightcontent.rb
282
+ - spec/dummy/config/initializers/inflections.rb
283
+ - spec/dummy/config/initializers/mime_types.rb
284
+ - spec/dummy/config/initializers/secret_token.rb
285
+ - spec/dummy/config/initializers/session_store.rb
286
+ - spec/dummy/config/initializers/wrap_parameters.rb
287
+ - spec/dummy/config/locales/en.yml
288
+ - spec/dummy/config/routes.rb
289
+ - spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
290
+ - spec/dummy/db/migrate/20121206225720_create_blogs.rb
291
+ - spec/dummy/db/schema.rb
292
+ - spec/dummy/lib/assets/.gitkeep
293
+ - spec/dummy/public/404.html
294
+ - spec/dummy/public/422.html
295
+ - spec/dummy/public/500.html
296
+ - spec/dummy/public/favicon.ico
297
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/001/original/icon-socialmedia.png
298
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/002/original/bg_direction_nav.png
299
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/003/original/icon-android.png
300
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/004/original/icon-calendar.png
301
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/005/original/icon-iphone.png
302
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/006/original/icon-socialmedia.png
303
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/007/original/iphone.png
304
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/008/original/logo.png
305
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/009/original/menu-button.png
306
+ - spec/dummy/public/system/brightcontent/assets/assets/000/000/010/original/bestuur.jpg
307
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/001/original/bestuur.jpg
308
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/002/original/carousel.jpg
309
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/003/original/icon-socialmedia.png
310
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/004/original/icon-calendar.png
311
+ - spec/dummy/public/system/brightcontent/attachments/assets/000/000/005/original/bg_direction_nav.png
312
+ - spec/dummy/script/rails
313
+ - spec/factories.rb
314
+ - spec/features/attachments_spec.rb
315
+ - spec/models/brightcontent/attachment_spec.rb
316
+ - spec/spec_helper.rb
317
+ - spec/support/acceptance_helper.rb