tb_media 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/app/assets/javascripts/admin/media/application.js +1 -19
- data/app/assets/javascripts/admin/media/picker.js +10 -0
- data/app/assets/javascripts/admin/media/{plugin.js → plugin.js.erb} +6 -6
- data/app/assets/javascripts/admin/media/utils.js +18 -0
- data/app/controllers/admin/media_controller.rb +7 -2
- data/app/controllers/admin/media_picker_controller.rb +8 -2
- data/app/models/spud_media.rb +0 -2
- data/app/views/admin/media/index.html.erb +1 -1
- data/app/views/admin/media_picker/index.html.erb +3 -3
- data/config/routes.rb +2 -3
- data/lib/spud_media/engine.rb +1 -0
- data/lib/spud_media/version.rb +1 -1
- data/spec/controllers/media_controller_spec.rb +49 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +57 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +18 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +8 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +5 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20130904141441_create_spud_admin_permissions.tb_core.rb +12 -0
- data/spec/dummy/db/migrate/20130904141442_create_spud_users.tb_core.rb +30 -0
- data/spec/dummy/db/migrate/20130904141443_add_time_zone_to_spud_user.tb_core.rb +7 -0
- data/spec/dummy/db/migrate/20130904141444_add_scope_to_spud_admin_permissions.tb_core.rb +7 -0
- data/spec/dummy/db/migrate/20130904141445_create_spud_user_settings.tb_core.rb +12 -0
- data/spec/dummy/db/migrate/20130904141446_create_spud_media.tb_media.rb +12 -0
- data/spec/dummy/db/migrate/20130904141447_add_protected_to_spud_media.tb_media.rb +7 -0
- data/spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb +10 -0
- data/spec/dummy/db/schema.rb +74 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/system/spud_media/1/original/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/1/small/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/2/original/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/2/small/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/3/original/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/3/small/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/4/original/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/4/small/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/5/original/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/5/small/test_img1.png +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/fixtures/images/test_img1.png +0 -0
- data/spec/javascripts/helpers/setup_env.js +32 -0
- data/spec/javascripts/spud/admin/media/application_spec.js +23 -0
- data/spec/javascripts/support/jasmine.yml +89 -0
- data/spec/javascripts/support/jasmine_helper.rb +11 -0
- data/spec/models/spud_media_spec.rb +5 -0
- data/spec/spec_helper.rb +42 -0
- data/spec/support/authlogic_helper.rb +2 -0
- metadata +147 -34
@@ -0,0 +1,89 @@
|
|
1
|
+
# src_files
|
2
|
+
#
|
3
|
+
# Return an array of filepaths relative to src_dir to include before jasmine specs.
|
4
|
+
# Default: []
|
5
|
+
#
|
6
|
+
# EXAMPLE:
|
7
|
+
#
|
8
|
+
# src_files:
|
9
|
+
# - lib/source1.js
|
10
|
+
# - lib/source2.js
|
11
|
+
# - dist/**/*.js
|
12
|
+
#
|
13
|
+
src_files:
|
14
|
+
- spec/javascripts/helpers/setup_env.js
|
15
|
+
- app/assets/javascripts/**/*.js
|
16
|
+
|
17
|
+
# stylesheets
|
18
|
+
#
|
19
|
+
# Return an array of stylesheet filepaths relative to src_dir to include before jasmine specs.
|
20
|
+
# Default: []
|
21
|
+
#
|
22
|
+
# EXAMPLE:
|
23
|
+
#
|
24
|
+
# stylesheets:
|
25
|
+
# - css/style.css
|
26
|
+
# - stylesheets/*.css
|
27
|
+
#
|
28
|
+
stylesheets:
|
29
|
+
|
30
|
+
# helpers
|
31
|
+
#
|
32
|
+
# Return an array of filepaths relative to spec_dir to include before jasmine specs.
|
33
|
+
# Default: ["helpers/**/*.js"]
|
34
|
+
#
|
35
|
+
# EXAMPLE:
|
36
|
+
#
|
37
|
+
# helpers:
|
38
|
+
# - helpers/**/*.js
|
39
|
+
#
|
40
|
+
helpers:
|
41
|
+
- 'helpers/**/*.js'
|
42
|
+
# spec_files
|
43
|
+
#
|
44
|
+
# Return an array of filepaths relative to spec_dir to include.
|
45
|
+
# Default: ["**/*[sS]pec.js"]
|
46
|
+
#
|
47
|
+
# EXAMPLE:
|
48
|
+
#
|
49
|
+
# spec_files:
|
50
|
+
# - **/*[sS]pec.js
|
51
|
+
#
|
52
|
+
spec_files:
|
53
|
+
- '**/*[sS]pec.js'
|
54
|
+
|
55
|
+
# src_dir
|
56
|
+
#
|
57
|
+
# Source directory path. Your src_files must be returned relative to this path. Will use root if left blank.
|
58
|
+
# Default: project root
|
59
|
+
#
|
60
|
+
# EXAMPLE:
|
61
|
+
#
|
62
|
+
# src_dir: public
|
63
|
+
#
|
64
|
+
src_dir:
|
65
|
+
|
66
|
+
# spec_dir
|
67
|
+
#
|
68
|
+
# Spec directory path. Your spec_files must be returned relative to this path.
|
69
|
+
# Default: spec/javascripts
|
70
|
+
#
|
71
|
+
# EXAMPLE:
|
72
|
+
#
|
73
|
+
# spec_dir: spec/javascripts
|
74
|
+
#
|
75
|
+
spec_dir:
|
76
|
+
|
77
|
+
# spec_helper
|
78
|
+
#
|
79
|
+
# Ruby file that Jasmine server will require before starting.
|
80
|
+
# Returned relative to your root path
|
81
|
+
# Default spec/support/jasmine_helper.rb
|
82
|
+
#
|
83
|
+
# EXAMPLE:
|
84
|
+
#
|
85
|
+
# spec_helper: spec/support/jasmine_helper.rb
|
86
|
+
#
|
87
|
+
spec_helper: spec/support/jasmine_helper.rb
|
88
|
+
|
89
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
#Use this file to set/override Jasmine configuration options
|
2
|
+
#You can remove it if you don't need it.
|
3
|
+
#This file is loaded *after* jasmine.yml is interpreted.
|
4
|
+
#
|
5
|
+
#Example: using a different boot file.
|
6
|
+
#Jasmine.configure do |config|
|
7
|
+
# config.boot_dir = '/absolute/path/to/boot_dir'
|
8
|
+
# config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] }
|
9
|
+
#end
|
10
|
+
#
|
11
|
+
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Track code coverage
|
2
|
+
require 'simplecov'
|
3
|
+
SimpleCov.start 'rails' do
|
4
|
+
# root "dummy/"
|
5
|
+
add_filter "/factories/"
|
6
|
+
end
|
7
|
+
|
8
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
9
|
+
ENV["RAILS_ENV"] = 'test'
|
10
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
11
|
+
require 'rspec/rails'
|
12
|
+
require 'rspec/autorun'
|
13
|
+
require 'database_cleaner'
|
14
|
+
require 'shoulda'
|
15
|
+
require 'factory_girl'
|
16
|
+
require 'mocha'
|
17
|
+
require 'capybara/rspec'
|
18
|
+
require 'capybara/rails'
|
19
|
+
|
20
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
21
|
+
# in spec/support/ and its subdirectories.
|
22
|
+
ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
|
23
|
+
Dir[File.join(ENGINE_RAILS_ROOT,"spec/support/**/*.rb"), File.join(ENGINE_RAILS_ROOT,"factories/*")].each {|f| require f}
|
24
|
+
|
25
|
+
RSpec.configure do |config|
|
26
|
+
config.mock_with :mocha
|
27
|
+
config.use_transactional_fixtures = true
|
28
|
+
config.infer_base_class_for_anonymous_controllers = false
|
29
|
+
|
30
|
+
config.before(:suite) do
|
31
|
+
DatabaseCleaner.strategy = :transaction
|
32
|
+
DatabaseCleaner.clean_with(:truncation)
|
33
|
+
end
|
34
|
+
|
35
|
+
config.before(:each) do
|
36
|
+
DatabaseCleaner.start
|
37
|
+
end
|
38
|
+
|
39
|
+
config.after(:each) do
|
40
|
+
DatabaseCleaner.clean
|
41
|
+
end
|
42
|
+
end
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_media
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Westlake Design
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: tb_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: paperclip
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: mysql2
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +98,14 @@ dependencies:
|
|
98
98
|
name: shoulda
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 3.0.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 3.0.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
@@ -142,26 +142,26 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 1.0.0.RC1
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 1.0.0.RC1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: simplecov
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 0.6.4
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 0.6.4
|
167
167
|
- !ruby/object:Gem::Dependency
|
@@ -182,14 +182,14 @@ dependencies:
|
|
182
182
|
name: jasmine
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- -
|
185
|
+
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- -
|
192
|
+
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
description: Spud Media allows you to upload files to your site and manage them in
|
@@ -200,6 +200,9 @@ executables: []
|
|
200
200
|
extensions: []
|
201
201
|
extra_rdoc_files: []
|
202
202
|
files:
|
203
|
+
- MIT-LICENSE
|
204
|
+
- Rakefile
|
205
|
+
- Readme.markdown
|
203
206
|
- app/assets/images/admin/files_thumbs/dat_thumb.png
|
204
207
|
- app/assets/images/admin/files_thumbs/doc_thumb.png
|
205
208
|
- app/assets/images/admin/files_thumbs/jpg_thumb.png
|
@@ -216,13 +219,14 @@ files:
|
|
216
219
|
- app/assets/images/admin/media_tiny.png
|
217
220
|
- app/assets/javascripts/admin/media/application.js
|
218
221
|
- app/assets/javascripts/admin/media/picker.js
|
219
|
-
- app/assets/javascripts/admin/media/plugin.js
|
222
|
+
- app/assets/javascripts/admin/media/plugin.js.erb
|
223
|
+
- app/assets/javascripts/admin/media/utils.js
|
220
224
|
- app/assets/libs/jcrop/css/Jcrop.gif
|
221
225
|
- app/assets/libs/jcrop/css/jquery.Jcrop.css
|
222
226
|
- app/assets/libs/jcrop/css/jquery.Jcrop.min.css
|
223
|
-
- app/assets/libs/jcrop/js/jquery.color.js
|
224
227
|
- app/assets/libs/jcrop/js/jquery.Jcrop.js
|
225
228
|
- app/assets/libs/jcrop/js/jquery.Jcrop.min.js
|
229
|
+
- app/assets/libs/jcrop/js/jquery.color.js
|
226
230
|
- app/assets/libs/jcrop/js/jquery.min.js
|
227
231
|
- app/assets/libs/tiny_mce/plugins/spud_media/blank.htm
|
228
232
|
- app/assets/libs/tiny_mce/plugins/spud_media/css/template.css
|
@@ -254,9 +258,62 @@ files:
|
|
254
258
|
- lib/spud_media/version.rb
|
255
259
|
- lib/tasks/spud_media_tasks.rake
|
256
260
|
- lib/tb_media.rb
|
257
|
-
-
|
258
|
-
-
|
259
|
-
-
|
261
|
+
- spec/controllers/media_controller_spec.rb
|
262
|
+
- spec/dummy/README.rdoc
|
263
|
+
- spec/dummy/Rakefile
|
264
|
+
- spec/dummy/app/assets/javascripts/application.js
|
265
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
266
|
+
- spec/dummy/app/controllers/application_controller.rb
|
267
|
+
- spec/dummy/app/helpers/application_helper.rb
|
268
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
269
|
+
- spec/dummy/config.ru
|
270
|
+
- spec/dummy/config/application.rb
|
271
|
+
- spec/dummy/config/boot.rb
|
272
|
+
- spec/dummy/config/database.yml
|
273
|
+
- spec/dummy/config/environment.rb
|
274
|
+
- spec/dummy/config/environments/development.rb
|
275
|
+
- spec/dummy/config/environments/production.rb
|
276
|
+
- spec/dummy/config/environments/test.rb
|
277
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
278
|
+
- spec/dummy/config/initializers/inflections.rb
|
279
|
+
- spec/dummy/config/initializers/mime_types.rb
|
280
|
+
- spec/dummy/config/initializers/secret_token.rb
|
281
|
+
- spec/dummy/config/initializers/session_store.rb
|
282
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
283
|
+
- spec/dummy/config/locales/en.yml
|
284
|
+
- spec/dummy/config/routes.rb
|
285
|
+
- spec/dummy/db/migrate/20130904141441_create_spud_admin_permissions.tb_core.rb
|
286
|
+
- spec/dummy/db/migrate/20130904141442_create_spud_users.tb_core.rb
|
287
|
+
- spec/dummy/db/migrate/20130904141443_add_time_zone_to_spud_user.tb_core.rb
|
288
|
+
- spec/dummy/db/migrate/20130904141444_add_scope_to_spud_admin_permissions.tb_core.rb
|
289
|
+
- spec/dummy/db/migrate/20130904141445_create_spud_user_settings.tb_core.rb
|
290
|
+
- spec/dummy/db/migrate/20130904141446_create_spud_media.tb_media.rb
|
291
|
+
- spec/dummy/db/migrate/20130904141447_add_protected_to_spud_media.tb_media.rb
|
292
|
+
- spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
|
293
|
+
- spec/dummy/db/schema.rb
|
294
|
+
- spec/dummy/public/404.html
|
295
|
+
- spec/dummy/public/422.html
|
296
|
+
- spec/dummy/public/500.html
|
297
|
+
- spec/dummy/public/favicon.ico
|
298
|
+
- spec/dummy/public/system/spud_media/1/original/test_img1.png
|
299
|
+
- spec/dummy/public/system/spud_media/1/small/test_img1.png
|
300
|
+
- spec/dummy/public/system/spud_media/2/original/test_img1.png
|
301
|
+
- spec/dummy/public/system/spud_media/2/small/test_img1.png
|
302
|
+
- spec/dummy/public/system/spud_media/3/original/test_img1.png
|
303
|
+
- spec/dummy/public/system/spud_media/3/small/test_img1.png
|
304
|
+
- spec/dummy/public/system/spud_media/4/original/test_img1.png
|
305
|
+
- spec/dummy/public/system/spud_media/4/small/test_img1.png
|
306
|
+
- spec/dummy/public/system/spud_media/5/original/test_img1.png
|
307
|
+
- spec/dummy/public/system/spud_media/5/small/test_img1.png
|
308
|
+
- spec/dummy/script/rails
|
309
|
+
- spec/fixtures/images/test_img1.png
|
310
|
+
- spec/javascripts/helpers/setup_env.js
|
311
|
+
- spec/javascripts/spud/admin/media/application_spec.js
|
312
|
+
- spec/javascripts/support/jasmine.yml
|
313
|
+
- spec/javascripts/support/jasmine_helper.rb
|
314
|
+
- spec/models/spud_media_spec.rb
|
315
|
+
- spec/spec_helper.rb
|
316
|
+
- spec/support/authlogic_helper.rb
|
260
317
|
homepage: http://bitbucket.org/westlakedesign/tb_media
|
261
318
|
licenses: []
|
262
319
|
metadata: {}
|
@@ -266,18 +323,74 @@ require_paths:
|
|
266
323
|
- lib
|
267
324
|
required_ruby_version: !ruby/object:Gem::Requirement
|
268
325
|
requirements:
|
269
|
-
- -
|
326
|
+
- - ">="
|
270
327
|
- !ruby/object:Gem::Version
|
271
328
|
version: '0'
|
272
329
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
330
|
requirements:
|
274
|
-
- -
|
331
|
+
- - ">="
|
275
332
|
- !ruby/object:Gem::Version
|
276
333
|
version: '0'
|
277
334
|
requirements: []
|
278
335
|
rubyforge_project:
|
279
|
-
rubygems_version: 2.
|
336
|
+
rubygems_version: 2.2.1
|
280
337
|
signing_key:
|
281
338
|
specification_version: 4
|
282
339
|
summary: Spud File upload/management module
|
283
|
-
test_files:
|
340
|
+
test_files:
|
341
|
+
- spec/controllers/media_controller_spec.rb
|
342
|
+
- spec/dummy/app/assets/javascripts/application.js
|
343
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
344
|
+
- spec/dummy/app/controllers/application_controller.rb
|
345
|
+
- spec/dummy/app/helpers/application_helper.rb
|
346
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
347
|
+
- spec/dummy/config/application.rb
|
348
|
+
- spec/dummy/config/boot.rb
|
349
|
+
- spec/dummy/config/database.yml
|
350
|
+
- spec/dummy/config/environment.rb
|
351
|
+
- spec/dummy/config/environments/development.rb
|
352
|
+
- spec/dummy/config/environments/production.rb
|
353
|
+
- spec/dummy/config/environments/test.rb
|
354
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
355
|
+
- spec/dummy/config/initializers/inflections.rb
|
356
|
+
- spec/dummy/config/initializers/mime_types.rb
|
357
|
+
- spec/dummy/config/initializers/secret_token.rb
|
358
|
+
- spec/dummy/config/initializers/session_store.rb
|
359
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
360
|
+
- spec/dummy/config/locales/en.yml
|
361
|
+
- spec/dummy/config/routes.rb
|
362
|
+
- spec/dummy/config.ru
|
363
|
+
- spec/dummy/db/migrate/20130904141441_create_spud_admin_permissions.tb_core.rb
|
364
|
+
- spec/dummy/db/migrate/20130904141442_create_spud_users.tb_core.rb
|
365
|
+
- spec/dummy/db/migrate/20130904141443_add_time_zone_to_spud_user.tb_core.rb
|
366
|
+
- spec/dummy/db/migrate/20130904141444_add_scope_to_spud_admin_permissions.tb_core.rb
|
367
|
+
- spec/dummy/db/migrate/20130904141445_create_spud_user_settings.tb_core.rb
|
368
|
+
- spec/dummy/db/migrate/20130904141446_create_spud_media.tb_media.rb
|
369
|
+
- spec/dummy/db/migrate/20130904141447_add_protected_to_spud_media.tb_media.rb
|
370
|
+
- spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
|
371
|
+
- spec/dummy/db/schema.rb
|
372
|
+
- spec/dummy/public/404.html
|
373
|
+
- spec/dummy/public/422.html
|
374
|
+
- spec/dummy/public/500.html
|
375
|
+
- spec/dummy/public/favicon.ico
|
376
|
+
- spec/dummy/public/system/spud_media/1/original/test_img1.png
|
377
|
+
- spec/dummy/public/system/spud_media/1/small/test_img1.png
|
378
|
+
- spec/dummy/public/system/spud_media/2/original/test_img1.png
|
379
|
+
- spec/dummy/public/system/spud_media/2/small/test_img1.png
|
380
|
+
- spec/dummy/public/system/spud_media/3/original/test_img1.png
|
381
|
+
- spec/dummy/public/system/spud_media/3/small/test_img1.png
|
382
|
+
- spec/dummy/public/system/spud_media/4/original/test_img1.png
|
383
|
+
- spec/dummy/public/system/spud_media/4/small/test_img1.png
|
384
|
+
- spec/dummy/public/system/spud_media/5/original/test_img1.png
|
385
|
+
- spec/dummy/public/system/spud_media/5/small/test_img1.png
|
386
|
+
- spec/dummy/Rakefile
|
387
|
+
- spec/dummy/README.rdoc
|
388
|
+
- spec/dummy/script/rails
|
389
|
+
- spec/fixtures/images/test_img1.png
|
390
|
+
- spec/javascripts/helpers/setup_env.js
|
391
|
+
- spec/javascripts/spud/admin/media/application_spec.js
|
392
|
+
- spec/javascripts/support/jasmine.yml
|
393
|
+
- spec/javascripts/support/jasmine_helper.rb
|
394
|
+
- spec/models/spud_media_spec.rb
|
395
|
+
- spec/spec_helper.rb
|
396
|
+
- spec/support/authlogic_helper.rb
|