tb_media 1.2.1 → 1.3.2
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.
- checksums.yaml +5 -5
- data/Rakefile +2 -2
- data/Readme.markdown +3 -19
- data/app/assets/javascripts/admin/media/application.js +2 -2
- data/app/assets/javascripts/admin/media/picker.js +8 -5
- data/app/assets/javascripts/admin/media/plugin.js.erb +86 -81
- data/app/assets/stylesheets/admin/media/application.css.scss +1 -12
- data/app/controllers/admin/media_controller.rb +54 -61
- data/app/controllers/admin/media_picker_controller.rb +8 -16
- data/app/models/spud_media.rb +63 -110
- data/app/views/admin/media/index.html.erb +4 -12
- data/app/views/admin/media/new.html.erb +0 -1
- data/app/views/admin/media_picker/_media.html.erb +2 -7
- data/app/views/admin/media_picker/index.html.erb +1 -2
- data/config/locales/en.yml +0 -1
- data/config/routes.rb +5 -8
- data/db/migrate/20120101194256_create_spud_media.rb +2 -2
- data/db/migrate/20120501203325_add_protected_to_spud_media.rb +1 -2
- data/db/migrate/20120508132153_add_cropping_to_spud_media.rb +1 -1
- data/lib/spud_media/configuration.rb +3 -4
- data/lib/spud_media/content_types.rb +2 -2
- data/lib/spud_media/engine.rb +21 -13
- data/lib/spud_media/version.rb +3 -3
- data/lib/tasks/spud_media_tasks.rake +4 -6
- data/spec/controllers/admin/media_controller_spec.rb +23 -24
- data/spec/dummy/config.ru +1 -1
- data/spec/dummy/config/application.rb +2 -3
- data/spec/dummy/config/boot.rb +1 -1
- data/spec/dummy/config/environments/development.rb +0 -7
- data/spec/dummy/config/environments/test.rb +3 -5
- data/spec/dummy/config/routes.rb +2 -2
- data/spec/dummy/db/migrate/20130904141442_create_spud_users.tb_core.rb +12 -12
- data/spec/dummy/db/migrate/20130904141443_add_time_zone_to_spud_user.tb_core.rb +0 -1
- data/spec/dummy/db/migrate/20130904141444_add_scope_to_spud_admin_permissions.tb_core.rb +0 -1
- data/spec/dummy/db/migrate/20130904141446_create_spud_media.tb_media.rb +1 -1
- data/spec/dummy/db/migrate/20130904141447_add_protected_to_spud_media.tb_media.rb +1 -1
- data/spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb +3 -3
- data/spec/dummy/db/migrate/20151012194531_create_spud_permissions.tb_core.rb +3 -3
- data/spec/dummy/db/migrate/20151012194532_create_spud_role_permissions.tb_core.rb +2 -2
- data/spec/dummy/db/migrate/20151012194534_add_requires_password_change_to_spud_users.tb_core.rb +1 -1
- data/spec/dummy/db/schema.rb +63 -67
- data/spec/dummy/public/system/spud_media/1/cropped/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/cropped/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/cropped/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/cropped/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/cropped/test_img1.png +0 -0
- data/spec/dummy/public/system/spud_media/5/small/test_img1.png +0 -0
- data/spec/dummy/script/rails +2 -2
- data/spec/javascripts/support/jasmine_helper.rb +6 -7
- data/spec/models/spud_media_spec.rb +2 -2
- data/spec/rails_helper.rb +14 -7
- data/spec/spec_helper.rb +42 -44
- metadata +103 -104
- data/app/controllers/protected_media_controller.rb +0 -24
- data/app/helpers/protected_media_helper.rb +0 -3
- data/spec/dummy/public/system/spud_media/1/cropped/test_img1.jpg +0 -0
- data/spec/dummy/public/system/spud_media/2/cropped/test_img1.jpg +0 -0
- data/spec/dummy/public/system/spud_media/3/cropped/test_img1.jpg +0 -0
- data/spec/dummy/public/system/spud_media/4/cropped/test_img1.jpg +0 -0
- data/spec/dummy/public/system/spud_media/5/cropped/test_img1.jpg +0 -0
- data/spec/support/authlogic_helper.rb +0 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/script/rails
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
3
|
|
4
|
-
APP_PATH = File.expand_path('../../config/application',
|
5
|
-
require File.expand_path('../../config/boot',
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
6
|
require 'rails/commands'
|
@@ -1,11 +1,10 @@
|
|
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.
|
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
4
|
#
|
5
|
-
#Example: using a different boot file.
|
6
|
-
#Jasmine.configure do |config|
|
5
|
+
# Example: using a different boot file.
|
6
|
+
# Jasmine.configure do |config|
|
7
7
|
# config.boot_dir = '/absolute/path/to/boot_dir'
|
8
8
|
# config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] }
|
9
|
-
#end
|
9
|
+
# end
|
10
10
|
#
|
11
|
-
|
@@ -1,10 +1,10 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
|
-
describe SpudMedia, :
|
3
|
+
describe SpudMedia, type: :model do
|
4
4
|
|
5
5
|
describe 'attachment' do
|
6
6
|
it 'should require an attachment' do
|
7
|
-
media =
|
7
|
+
media = FactoryBot.build(:spud_media, attachment: nil)
|
8
8
|
expect(media.valid?).to eq(false)
|
9
9
|
expect(media.errors[:attachment].length).to eq(1)
|
10
10
|
end
|
data/spec/rails_helper.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
-
ENV[
|
2
|
+
ENV['RAILS_ENV'] ||= 'test'
|
3
3
|
|
4
|
-
require File.expand_path(
|
4
|
+
require File.expand_path('dummy/config/environment.rb', __dir__)
|
5
5
|
require 'spec_helper'
|
6
|
-
require 'support/authlogic_helper'
|
7
6
|
require 'rspec/rails'
|
7
|
+
require 'rails-controller-testing'
|
8
8
|
require 'database_cleaner'
|
9
9
|
require 'simplecov'
|
10
|
-
require '
|
10
|
+
require 'factory_bot_rails'
|
11
|
+
require 'tb_core/test_helper'
|
11
12
|
|
12
13
|
SimpleCov.start 'rails'
|
13
14
|
|
@@ -30,12 +31,18 @@ SimpleCov.start 'rails'
|
|
30
31
|
|
31
32
|
# Checks for pending migrations before tests are run.
|
32
33
|
# If you are not using ActiveRecord, you can remove this line.
|
33
|
-
#ActiveRecord::Migration.maintain_test_schema!
|
34
|
+
# ActiveRecord::Migration.maintain_test_schema!
|
34
35
|
|
35
36
|
RSpec.configure do |config|
|
37
|
+
[:controller, :view, :request].each do |type|
|
38
|
+
config.include ::Rails::Controller::Testing::TestProcess, type: type
|
39
|
+
config.include ::Rails::Controller::Testing::TemplateAssertions, type: type
|
40
|
+
config.include ::Rails::Controller::Testing::Integration, type: type
|
41
|
+
end
|
42
|
+
|
36
43
|
config.raise_errors_for_deprecations!
|
37
44
|
config.infer_base_class_for_anonymous_controllers = false
|
38
|
-
|
45
|
+
|
39
46
|
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
40
47
|
# examples within a transaction, remove the following line or assign false
|
41
48
|
# instead of true.
|
@@ -67,5 +74,5 @@ RSpec.configure do |config|
|
|
67
74
|
example.run
|
68
75
|
end
|
69
76
|
end
|
70
|
-
|
77
|
+
|
71
78
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -38,48 +38,46 @@ RSpec.configure do |config|
|
|
38
38
|
mocks.verify_partial_doubles = true
|
39
39
|
end
|
40
40
|
|
41
|
-
# The settings below are suggested to provide a good initial experience
|
42
|
-
# with RSpec, but feel free to customize to your heart's content.
|
43
|
-
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
config.
|
49
|
-
|
50
|
-
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# - http://
|
54
|
-
# - http://
|
55
|
-
#
|
56
|
-
|
57
|
-
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
|
72
|
-
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
|
78
|
-
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
Kernel.srand config.seed
|
84
|
-
=end
|
41
|
+
# The settings below are suggested to provide a good initial experience
|
42
|
+
# with RSpec, but feel free to customize to your heart's content.
|
43
|
+
# # These two settings work together to allow you to limit a spec run
|
44
|
+
# # to individual examples or groups you care about by tagging them with
|
45
|
+
# # `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
46
|
+
# # get run.
|
47
|
+
# config.filter_run :focus
|
48
|
+
# config.run_all_when_everything_filtered = true
|
49
|
+
#
|
50
|
+
# # Limits the available syntax to the non-monkey patched syntax that is recommended.
|
51
|
+
# # For more details, see:
|
52
|
+
# # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
53
|
+
# # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
54
|
+
# # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
55
|
+
# config.disable_monkey_patching!
|
56
|
+
#
|
57
|
+
# # Many RSpec users commonly either run the entire suite or an individual
|
58
|
+
# # file, and it's useful to allow more verbose output when running an
|
59
|
+
# # individual spec file.
|
60
|
+
# if config.files_to_run.one?
|
61
|
+
# # Use the documentation formatter for detailed output,
|
62
|
+
# # unless a formatter has already been configured
|
63
|
+
# # (e.g. via a command-line flag).
|
64
|
+
# config.default_formatter = 'doc'
|
65
|
+
# end
|
66
|
+
#
|
67
|
+
# # Print the 10 slowest examples and example groups at the
|
68
|
+
# # end of the spec run, to help surface which specs are running
|
69
|
+
# # particularly slow.
|
70
|
+
# config.profile_examples = 10
|
71
|
+
#
|
72
|
+
# # Run specs in random order to surface order dependencies. If you find an
|
73
|
+
# # order dependency and want to debug it, you can fix the order by providing
|
74
|
+
# # the seed, which is printed after each run.
|
75
|
+
# # --seed 1234
|
76
|
+
# config.order = :random
|
77
|
+
#
|
78
|
+
# # Seed global randomization in this process using the `--seed` CLI option.
|
79
|
+
# # Setting this allows you to use `--seed` to deterministically reproduce
|
80
|
+
# # test failures related to randomization by passing the same `--seed` value
|
81
|
+
# # as the one that triggered the failure.
|
82
|
+
# Kernel.srand config.seed
|
85
83
|
end
|
metadata
CHANGED
@@ -1,45 +1,59 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_media
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- Moser Consulting
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: paperclip
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '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: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 5.0.0.1
|
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:
|
40
|
+
version: 5.0.0.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: tb_core
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.4.4
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.4.4
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: database_cleaner
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ">="
|
@@ -53,77 +67,77 @@ dependencies:
|
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
70
|
+
name: factory_bot_rails
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - "
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - "
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: mysql2
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
89
|
+
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
98
|
+
name: rails-controller-testing
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- - "
|
101
|
+
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
103
|
+
version: '0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- - "
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
112
|
+
name: rspec-rails
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- - "
|
115
|
+
- - ">="
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0
|
117
|
+
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- - "
|
122
|
+
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: rubocop
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: '0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- -
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
140
|
+
name: simplecov
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - ">="
|
@@ -139,7 +153,7 @@ dependencies:
|
|
139
153
|
description: Twice Baked Media allows you to upload files to your site and manage
|
140
154
|
them in the spud administrative panel. It also uses paperclip and supports s3 storage
|
141
155
|
email:
|
142
|
-
- greg@
|
156
|
+
- greg.woods@moserit.com
|
143
157
|
executables: []
|
144
158
|
extensions: []
|
145
159
|
extra_rdoc_files: []
|
@@ -181,8 +195,6 @@ files:
|
|
181
195
|
- app/assets/stylesheets/admin/media/plugin.css
|
182
196
|
- app/controllers/admin/media_controller.rb
|
183
197
|
- app/controllers/admin/media_picker_controller.rb
|
184
|
-
- app/controllers/protected_media_controller.rb
|
185
|
-
- app/helpers/protected_media_helper.rb
|
186
198
|
- app/models/spud_media.rb
|
187
199
|
- app/views/admin/media/edit.html.erb
|
188
200
|
- app/views/admin/media/index.html.erb
|
@@ -244,23 +256,18 @@ files:
|
|
244
256
|
- spec/dummy/public/422.html
|
245
257
|
- spec/dummy/public/500.html
|
246
258
|
- spec/dummy/public/favicon.ico
|
247
|
-
- spec/dummy/public/system/spud_media/1/cropped/test_img1.jpg
|
248
259
|
- spec/dummy/public/system/spud_media/1/cropped/test_img1.png
|
249
260
|
- spec/dummy/public/system/spud_media/1/original/test_img1.png
|
250
261
|
- spec/dummy/public/system/spud_media/1/small/test_img1.png
|
251
|
-
- spec/dummy/public/system/spud_media/2/cropped/test_img1.jpg
|
252
262
|
- spec/dummy/public/system/spud_media/2/cropped/test_img1.png
|
253
263
|
- spec/dummy/public/system/spud_media/2/original/test_img1.png
|
254
264
|
- spec/dummy/public/system/spud_media/2/small/test_img1.png
|
255
|
-
- spec/dummy/public/system/spud_media/3/cropped/test_img1.jpg
|
256
265
|
- spec/dummy/public/system/spud_media/3/cropped/test_img1.png
|
257
266
|
- spec/dummy/public/system/spud_media/3/original/test_img1.png
|
258
267
|
- spec/dummy/public/system/spud_media/3/small/test_img1.png
|
259
|
-
- spec/dummy/public/system/spud_media/4/cropped/test_img1.jpg
|
260
268
|
- spec/dummy/public/system/spud_media/4/cropped/test_img1.png
|
261
269
|
- spec/dummy/public/system/spud_media/4/original/test_img1.png
|
262
270
|
- spec/dummy/public/system/spud_media/4/small/test_img1.png
|
263
|
-
- spec/dummy/public/system/spud_media/5/cropped/test_img1.jpg
|
264
271
|
- spec/dummy/public/system/spud_media/5/cropped/test_img1.png
|
265
272
|
- spec/dummy/public/system/spud_media/5/original/test_img1.png
|
266
273
|
- spec/dummy/public/system/spud_media/5/small/test_img1.png
|
@@ -273,11 +280,10 @@ files:
|
|
273
280
|
- spec/models/spud_media_spec.rb
|
274
281
|
- spec/rails_helper.rb
|
275
282
|
- spec/spec_helper.rb
|
276
|
-
|
277
|
-
homepage: http://bitbucket.org/westlakedesign/tb_media
|
283
|
+
homepage: http://bitbucket.org/moser-inc/tb_media
|
278
284
|
licenses: []
|
279
285
|
metadata: {}
|
280
|
-
post_install_message:
|
286
|
+
post_install_message:
|
281
287
|
rdoc_options: []
|
282
288
|
require_paths:
|
283
289
|
- lib
|
@@ -292,81 +298,74 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
298
|
- !ruby/object:Gem::Version
|
293
299
|
version: '0'
|
294
300
|
requirements: []
|
295
|
-
|
296
|
-
|
297
|
-
signing_key:
|
301
|
+
rubygems_version: 3.1.4
|
302
|
+
signing_key:
|
298
303
|
specification_version: 4
|
299
304
|
summary: TB File upload/management module
|
300
305
|
test_files:
|
301
|
-
- spec/
|
306
|
+
- spec/spec_helper.rb
|
307
|
+
- spec/dummy/app/controllers/application_controller.rb
|
308
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
302
309
|
- spec/dummy/app/assets/javascripts/application.js
|
303
310
|
- spec/dummy/app/assets/stylesheets/application.css
|
304
|
-
- spec/dummy/app/controllers/application_controller.rb
|
305
311
|
- spec/dummy/app/helpers/application_helper.rb
|
306
|
-
- spec/dummy/
|
307
|
-
- spec/dummy/config/
|
308
|
-
- spec/dummy/config/boot.rb
|
309
|
-
- spec/dummy/config/database.yml
|
310
|
-
- spec/dummy/config/environment.rb
|
311
|
-
- spec/dummy/config/environments/development.rb
|
312
|
+
- spec/dummy/config/routes.rb
|
313
|
+
- spec/dummy/config/locales/en.yml
|
312
314
|
- spec/dummy/config/environments/production.rb
|
315
|
+
- spec/dummy/config/environments/development.rb
|
313
316
|
- spec/dummy/config/environments/test.rb
|
317
|
+
- spec/dummy/config/environment.rb
|
318
|
+
- spec/dummy/config/application.rb
|
319
|
+
- spec/dummy/config/database.yml
|
320
|
+
- spec/dummy/config/boot.rb
|
314
321
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
315
|
-
- spec/dummy/config/initializers/inflections.rb
|
316
322
|
- spec/dummy/config/initializers/mime_types.rb
|
317
|
-
- spec/dummy/config/initializers/secret_token.rb
|
318
323
|
- spec/dummy/config/initializers/session_store.rb
|
319
324
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
320
|
-
- spec/dummy/config/
|
321
|
-
- spec/dummy/config/
|
325
|
+
- spec/dummy/config/initializers/secret_token.rb
|
326
|
+
- spec/dummy/config/initializers/inflections.rb
|
322
327
|
- spec/dummy/config.ru
|
323
|
-
- spec/dummy/
|
324
|
-
- spec/dummy/
|
325
|
-
- spec/dummy/
|
326
|
-
- spec/dummy/db/migrate/20130904141444_add_scope_to_spud_admin_permissions.tb_core.rb
|
327
|
-
- spec/dummy/db/migrate/20130904141445_create_spud_user_settings.tb_core.rb
|
328
|
-
- spec/dummy/db/migrate/20130904141446_create_spud_media.tb_media.rb
|
329
|
-
- spec/dummy/db/migrate/20130904141447_add_protected_to_spud_media.tb_media.rb
|
330
|
-
- spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
|
331
|
-
- spec/dummy/db/migrate/20151012194530_create_spud_roles.tb_core.rb
|
332
|
-
- spec/dummy/db/migrate/20151012194531_create_spud_permissions.tb_core.rb
|
333
|
-
- spec/dummy/db/migrate/20151012194532_create_spud_role_permissions.tb_core.rb
|
334
|
-
- spec/dummy/db/migrate/20151012194533_drop_spud_admin_permissions.tb_core.rb
|
335
|
-
- spec/dummy/db/migrate/20151012194534_add_requires_password_change_to_spud_users.tb_core.rb
|
336
|
-
- spec/dummy/db/schema.rb
|
337
|
-
- spec/dummy/public/404.html
|
328
|
+
- spec/dummy/script/rails
|
329
|
+
- spec/dummy/Rakefile
|
330
|
+
- spec/dummy/public/favicon.ico
|
338
331
|
- spec/dummy/public/422.html
|
339
332
|
- spec/dummy/public/500.html
|
340
|
-
- spec/dummy/public/
|
341
|
-
- spec/dummy/public/system/spud_media/1/cropped/test_img1.jpg
|
342
|
-
- spec/dummy/public/system/spud_media/1/cropped/test_img1.png
|
333
|
+
- spec/dummy/public/404.html
|
343
334
|
- spec/dummy/public/system/spud_media/1/original/test_img1.png
|
344
335
|
- spec/dummy/public/system/spud_media/1/small/test_img1.png
|
345
|
-
- spec/dummy/public/system/spud_media/
|
346
|
-
- spec/dummy/public/system/spud_media/2/cropped/test_img1.png
|
347
|
-
- spec/dummy/public/system/spud_media/2/original/test_img1.png
|
348
|
-
- spec/dummy/public/system/spud_media/2/small/test_img1.png
|
349
|
-
- spec/dummy/public/system/spud_media/3/cropped/test_img1.jpg
|
350
|
-
- spec/dummy/public/system/spud_media/3/cropped/test_img1.png
|
351
|
-
- spec/dummy/public/system/spud_media/3/original/test_img1.png
|
352
|
-
- spec/dummy/public/system/spud_media/3/small/test_img1.png
|
353
|
-
- spec/dummy/public/system/spud_media/4/cropped/test_img1.jpg
|
354
|
-
- spec/dummy/public/system/spud_media/4/cropped/test_img1.png
|
336
|
+
- spec/dummy/public/system/spud_media/1/cropped/test_img1.png
|
355
337
|
- spec/dummy/public/system/spud_media/4/original/test_img1.png
|
356
338
|
- spec/dummy/public/system/spud_media/4/small/test_img1.png
|
357
|
-
- spec/dummy/public/system/spud_media/
|
358
|
-
- spec/dummy/public/system/spud_media/
|
339
|
+
- spec/dummy/public/system/spud_media/4/cropped/test_img1.png
|
340
|
+
- spec/dummy/public/system/spud_media/3/original/test_img1.png
|
341
|
+
- spec/dummy/public/system/spud_media/3/small/test_img1.png
|
342
|
+
- spec/dummy/public/system/spud_media/3/cropped/test_img1.png
|
343
|
+
- spec/dummy/public/system/spud_media/2/original/test_img1.png
|
344
|
+
- spec/dummy/public/system/spud_media/2/small/test_img1.png
|
345
|
+
- spec/dummy/public/system/spud_media/2/cropped/test_img1.png
|
359
346
|
- spec/dummy/public/system/spud_media/5/original/test_img1.png
|
360
347
|
- spec/dummy/public/system/spud_media/5/small/test_img1.png
|
361
|
-
- spec/dummy/
|
348
|
+
- spec/dummy/public/system/spud_media/5/cropped/test_img1.png
|
349
|
+
- spec/dummy/db/schema.rb
|
350
|
+
- spec/dummy/db/migrate/20130904141441_create_spud_admin_permissions.tb_core.rb
|
351
|
+
- spec/dummy/db/migrate/20130904141443_add_time_zone_to_spud_user.tb_core.rb
|
352
|
+
- spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
|
353
|
+
- spec/dummy/db/migrate/20130904141446_create_spud_media.tb_media.rb
|
354
|
+
- spec/dummy/db/migrate/20151012194532_create_spud_role_permissions.tb_core.rb
|
355
|
+
- spec/dummy/db/migrate/20130904141444_add_scope_to_spud_admin_permissions.tb_core.rb
|
356
|
+
- spec/dummy/db/migrate/20151012194533_drop_spud_admin_permissions.tb_core.rb
|
357
|
+
- spec/dummy/db/migrate/20151012194534_add_requires_password_change_to_spud_users.tb_core.rb
|
358
|
+
- spec/dummy/db/migrate/20151012194531_create_spud_permissions.tb_core.rb
|
359
|
+
- spec/dummy/db/migrate/20130904141442_create_spud_users.tb_core.rb
|
360
|
+
- spec/dummy/db/migrate/20151012194530_create_spud_roles.tb_core.rb
|
361
|
+
- spec/dummy/db/migrate/20130904141445_create_spud_user_settings.tb_core.rb
|
362
|
+
- spec/dummy/db/migrate/20130904141447_add_protected_to_spud_media.tb_media.rb
|
362
363
|
- spec/dummy/README.rdoc
|
363
|
-
- spec/dummy/script/rails
|
364
|
-
- spec/fixtures/images/test_img1.png
|
365
|
-
- spec/javascripts/helpers/setup_env.js
|
366
|
-
- spec/javascripts/spud/admin/media/application_spec.js
|
367
|
-
- spec/javascripts/support/jasmine.yml
|
368
|
-
- spec/javascripts/support/jasmine_helper.rb
|
369
364
|
- spec/models/spud_media_spec.rb
|
365
|
+
- spec/javascripts/support/jasmine_helper.rb
|
366
|
+
- spec/javascripts/support/jasmine.yml
|
367
|
+
- spec/javascripts/spud/admin/media/application_spec.js
|
368
|
+
- spec/javascripts/helpers/setup_env.js
|
369
|
+
- spec/fixtures/images/test_img1.png
|
370
|
+
- spec/controllers/admin/media_controller_spec.rb
|
370
371
|
- spec/rails_helper.rb
|
371
|
-
- spec/spec_helper.rb
|
372
|
-
- spec/support/authlogic_helper.rb
|