trusty-clipped-extension 2.0.2.pre.beta → 2.0.3.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/Gemfile +45 -1
- data/Gemfile.lock +88 -11
- data/Rakefile +26 -110
- data/app/assets/javascripts/admin/assets.js +4 -4
- data/app/assets/stylesheets/admin/assets.sass +2 -4
- data/app/controllers/admin/assets_controller.rb +3 -1
- data/app/views/admin/assets/_asset_table.html.haml +1 -0
- data/app/views/admin/assets/_form.html.haml +3 -3
- data/app/views/admin/assets/_page_assets.html.haml +1 -1
- data/app/views/admin/assets/edit.html.haml +3 -3
- data/app/views/admin/assets/index.html.haml +2 -3
- data/app/views/admin/assets/new.html.haml +18 -18
- data/app/views/admin/assets/remove.html.haml +1 -1
- data/app/views/admin/pages/_assets.html.haml +7 -5
- data/config/application.rb +136 -0
- data/config/boot.rb +8 -0
- data/config/environment.rb +5 -0
- data/config/locales/en.yml +1 -1
- data/lib/trusty-clipped-extension.rb +1 -1
- data/rebuild +5 -0
- data/spec/ci/database.mysql.yml +27 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +5 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config/application.rb +152 -0
- data/spec/dummy/config/boot.rb +6 -0
- data/spec/dummy/config/database.yml +28 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +49 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/trusty_cms_config.rb +20 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +0 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/schema.rb +144 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/_base.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/main.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_boxes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_links.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_actions.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_avatars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_content.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dateinput.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_deprecated.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dropdown.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_footer.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_header.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_index.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-structure.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-theme.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_layout.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_messages.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_popup.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_tabcontrol.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_toolbar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_treetable.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_typography.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_validations.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0253c2b6b6b5d225c38e795a508043e3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/05634c84f3e97c2e300a0988e9c571b4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/07c2bf9b54e44d186c3dc4fe775bf217 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0a5bab0f5c49aafe2bef1ad4f0fdaa95 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0b12b1d454f82ce157eba2a99c57b1c5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0d0f578e1d526a5592454fd915f28722 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/118a0efcdfc1be878d85967fb9eab9ab +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/126b3a20fbb3ee31f8d29ce1c0a3bae1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/128df4bcf253b7dbb8bb8b6bd40b92d5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/133ae3a6ec8ce5c435266446d406c497 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13da4e71b104d636208b7ea380c9028b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1a0cf8baad9957cea0290cac02ee4324 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/22a8f218bcf0b68fecca4d5aa7b728b9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/276aad4896e9ee6929626bcea973ec2f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/27977269178c1332d1b0085b9830c8c7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2960553254e8b34684bd62fcd9ebcc88 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/298838d1f354a7ce98875c7225e6a6a7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/29d248927769199391aa7c6b060730f2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2b29e5c4175ed37eae13bb9445cd0398 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2c6aad6774b77dd0212ff0921a552fda +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2e05b1c8f1f2eaa2c143c1097921fbaf +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/30f472e5b1cb95fcada64f956701fcfe +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3722e239d8e0fc45691762190af60480 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3cc3bb17b7fbe5eeeb9e2fd59f353ac2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4036e4e74ec8caaf31ebfa8200b11fc6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4bde469b10d79020fae3d263ac3d7c41 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4dba5139e0cb793331971197e100dab7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/50340e99333efe25311ff69d804d0044 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/566ea75053eeef9a45333422ebe11758 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/57ba3771151e2d17eb1f1df421fe8a96 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5a8e4705d0930604da5dad00d49e7f49 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5eed3bf8cfe6dcb764bea5c574d2d9c9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5f879c30ff953be36c9bd3bc12c58b15 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/649393b36e60cee5747d66aa96862184 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/649cb21e9d0e916026c8ff574f21cb7d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/65aef06e5485abe748ec0f8ab5e83fa5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6745248fbc6beb42d1ab2b04b63c5c1a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6781fb6027c64b314bd774aa672574f6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6b3ab0bc5c8316baa291af39f5c44038 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6da37e398c8c9f006f6b544cd714d834 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/72ce50f2edca010cee5ad75904a615c9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/74021cd8376ee1203af17bed0d2bf27f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/76d535649eb9bd798d9e1e9f64860451 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7b3ae6ac77163f1d1c0bac4b66d0d910 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7e97394489bc5dd3989b7dcdbd33d080 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7eaf5a863f069a5571b3b0e12f2167fb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8117019177512a419d0852f3d871604e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8211e5da25cd8db999f3e83acc70b884 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/82426bfd2b08cc8ec14a62d560643a8c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/83eee805228b7b26a9e9027d05b95402 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/858821775db3375fa2cdcfb2e1efe3cd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8cdfbf142f9e5dcb6785a6e61ca4861e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9316fc95ea7bd5108f6838f6c7e7be4e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/95e0849d56a2a9e1e55d874be2c04ae2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/965a1812be0bfc82e220e7f22ae384dc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a1832984208c42e9a47980b4d6ac2dc9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a1e86c22b2e6cfbcdf9d68792bcedb7f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ad62c91ea509a5e8e4caf11c4922f392 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b06ccd7385c6bd56ee7c6562a97e6b85 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b2f5b7fb5cbed27d897a0368d4a6d5d2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b7505543b40b8ab466e9efe586d95346 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bab4140b592b87efaf49c7bf60598425 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/baf8b56ddb9ca0245e093e29ade35c0a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/be3cf8499757ed7678ee0a25d4aa3112 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/be5b781b3de58aa915133b4d41b76a0b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c0fc05e9c36943a5437ef516f58ebcd8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cb78e79ec2dd8bccf18927386de178ae +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d2b5bbda0041b5ef56873dc8941d5ad9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dcc163a0f3096123d374f5632ad48d4b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/df7b2d1131b58c69eef783a1ab4be24e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e1f5e19236dcdd3e73c8b8dedb8e3daf +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e57bae9b7a4c75c1d0c2a3e1c1aae160 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e63e2d8b377101ea8de761b46eb0f50f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ea25d11b296786fb90debfd6972d97d8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ec5a73c71a7a240d83eab2b121328bcd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/efd49fd3ad186d8dce200e0ca411e35d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f35adec61f96a28e6d188caddee1fd4b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f5855ddab883d0ee58146d0369cc8227 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f58cd07201e2fffd12f2e1829869c350 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f657dcaacbf72b65af3abd6b22bf68b3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f91592d9720c5a81657c3198d7d525ac +0 -0
- data/spec/features/admin_login_spec.rb +92 -0
- data/spec/fixtures/users.yml +16 -0
- data/spec/lib/asset_tags_spec.rb +107 -107
- data/spec/lib/frame_grab_spec.rb +17 -17
- data/spec/lib/geometry_transformation_spec.rb +63 -63
- data/spec/rails_helper.rb +73 -0
- data/spec/spec_helper.rb +13 -35
- data/spec/support/custom_actions.rb +9 -0
- data/trusty-clipped-extension.gemspec +1 -1
- metadata +309 -31
- data/spec/ci/before_script +0 -23
- data/spec/ci/script +0 -2
- data/spec/controllers/admin/assets_controller_spec.rb +0 -50
- data/spec/controllers/admin/page_attachments_controller_spec.rb +0 -50
- data/spec/datasets/assets_dataset.rb +0 -36
- data/spec/models/asset_spec.rb +0 -72
- data/spec/models/asset_type_spec.rb +0 -70
- data/spec/models/post_processing_spec.rb +0 -62
@@ -0,0 +1,73 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'capybara/rails'
|
6
|
+
require 'capybara/poltergeist'
|
7
|
+
Capybara.javascript_driver = :poltergeist
|
8
|
+
|
9
|
+
Capybara.register_driver :poltergeist do |app|
|
10
|
+
Capybara::Poltergeist::Driver.new(app, timeout: 60)
|
11
|
+
end
|
12
|
+
|
13
|
+
require 'database_cleaner'
|
14
|
+
DatabaseCleaner.strategy = :truncation, {except: %w[config]}
|
15
|
+
|
16
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
17
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
18
|
+
# run as spec files by default. This means that files in spec/support that end
|
19
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
20
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
21
|
+
# end with _spec.rb. You can configure this pattern with with the --pattern
|
22
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
23
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
24
|
+
|
25
|
+
RSpec.configure do |config|
|
26
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
27
|
+
config.fixture_path = "#{::TRUSTY_CMS_ROOT}/spec/fixtures"
|
28
|
+
|
29
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
30
|
+
# examples within a transaction, remove the following line or assign false
|
31
|
+
# instead of true.
|
32
|
+
config.use_transactional_fixtures = false
|
33
|
+
|
34
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
35
|
+
# based on their file location, for example enabling you to call `get` and
|
36
|
+
# `post` in specs under `spec/controllers`.
|
37
|
+
#
|
38
|
+
# You can disable this behaviour by removing the line below, and instead
|
39
|
+
# explicitly tag your specs with their type, e.g.:
|
40
|
+
#
|
41
|
+
# RSpec.describe UsersController, :type => :controller do
|
42
|
+
# # ...
|
43
|
+
# end
|
44
|
+
#
|
45
|
+
# The different available types are documented in the features, such as in
|
46
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
47
|
+
config.infer_spec_type_from_file_location!
|
48
|
+
|
49
|
+
config.before(:suite) do
|
50
|
+
TrustyCms::Config.initialize_cache
|
51
|
+
|
52
|
+
configs = [
|
53
|
+
['admin.title', 'TrustyCMS'],
|
54
|
+
['admin.subtitle', 'Publishing for Small Teams'],
|
55
|
+
['defaults.page.parts', 'body, extended'],
|
56
|
+
['defaults.page.status', 'Draft'],
|
57
|
+
['defaults.page.filter', nil],
|
58
|
+
['defaults.page.fields', 'Keywords, Description'],
|
59
|
+
['defaults.snippet.filter', nil],
|
60
|
+
['session_timeout', '1209600'], # 2.weeks.to_s ????
|
61
|
+
['default_locale', 'en'],
|
62
|
+
]
|
63
|
+
configs.each do |key, value|
|
64
|
+
c = TrustyCms::Config.find_or_initialize_by(key: key)
|
65
|
+
c.value = value
|
66
|
+
c.save
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
config.after(:each) do
|
71
|
+
DatabaseCleaner.clean
|
72
|
+
end
|
73
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,36 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
Dataset::Resolver.default << (File.dirname(__FILE__) + "/datasets")
|
15
|
-
|
16
|
-
if File.directory?(File.dirname(__FILE__) + "/matchers")
|
17
|
-
Dir[File.dirname(__FILE__) + "/matchers/*.rb"].each {|file| require file }
|
18
|
-
end
|
19
|
-
|
20
|
-
Spec::Runner.configure do |config|
|
21
|
-
# config.use_transactional_fixtures = true
|
22
|
-
# config.use_instantiated_fixtures = false
|
23
|
-
# config.fixture_path = Rails.root + '/spec/fixtures'
|
24
|
-
|
25
|
-
# You can declare fixtures for each behaviour like this:
|
26
|
-
# describe "...." do
|
27
|
-
# fixtures :table_a, :table_b
|
28
|
-
#
|
29
|
-
# Alternatively, if you prefer to declare them only once, you can
|
30
|
-
# do so here, like so ...
|
31
|
-
#
|
32
|
-
# config.global_fixtures = :table_a, :table_b
|
33
|
-
#
|
34
|
-
# If you declare global fixtures, be aware that they will be declared
|
35
|
-
# for all of your examples, even those that don't use them.
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
3
|
+
require 'rspec/rails'
|
4
|
+
require 'rspec/autorun'
|
5
|
+
require 'factory_girl_rails'
|
6
|
+
Rails.backtrace_cleaner.remove_silencers!
|
7
|
+
# Load support files
|
8
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
9
|
+
RSpec.configure do |config|
|
10
|
+
config.mock_with :rspec
|
11
|
+
config.use_transactional_fixtures = true
|
12
|
+
config.infer_base_class_for_anonymous_controllers = false
|
13
|
+
config.order = "random"
|
36
14
|
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Commonly occurring user actions in tests.
|
2
|
+
|
3
|
+
# This takes a username and by default assumes the password is 'password'.
|
4
|
+
def log_in_as(login, plaintext_password = 'password')
|
5
|
+
visit '/'
|
6
|
+
fill_in 'username_or_email', with: login
|
7
|
+
fill_in 'password', with: plaintext_password
|
8
|
+
click_on 'Login'
|
9
|
+
end
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.summary = TrustyCmsClippedExtension::SUMMARY
|
13
13
|
s.description = TrustyCmsClippedExtension::DESCRIPTION
|
14
14
|
|
15
|
-
s.add_dependency "acts_as_list", "0.4.0"
|
15
|
+
s.add_dependency "acts_as_list", "~> 0.4.0"
|
16
16
|
s.add_dependency "paperclip", "~> 4.2"
|
17
17
|
s.add_dependency "uuidtools", "~> 2.1"
|
18
18
|
s.add_dependency "cocaine", "~> 0.5"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-clipped-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3.pre.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keith Bingman
|
@@ -13,76 +13,76 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2015-08-
|
16
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: acts_as_list
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
21
21
|
requirements:
|
22
|
-
- -
|
22
|
+
- - "~>"
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: 0.4.0
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
28
|
requirements:
|
29
|
-
- -
|
29
|
+
- - "~>"
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: 0.4.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: paperclip
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- - ~>
|
36
|
+
- - "~>"
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '4.2'
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- - ~>
|
43
|
+
- - "~>"
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '4.2'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: uuidtools
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- - ~>
|
50
|
+
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '2.1'
|
53
53
|
type: :runtime
|
54
54
|
prerelease: false
|
55
55
|
version_requirements: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - ~>
|
57
|
+
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '2.1'
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: cocaine
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- - ~>
|
64
|
+
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0.5'
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - ~>
|
71
|
+
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0.5'
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: trusty-cms
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - ~>
|
78
|
+
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: 2.0.0.pre.beta
|
81
81
|
type: :runtime
|
82
82
|
prerelease: false
|
83
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- - ~>
|
85
|
+
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: 2.0.0.pre.beta
|
88
88
|
description: Asset-management derived from Keith Bingman's Paperclipped extension.
|
@@ -177,6 +177,9 @@ files:
|
|
177
177
|
- app/views/admin/removed/bucket/_iframe.html.haml
|
178
178
|
- artwork/icons.png
|
179
179
|
- clipped_extension.rb
|
180
|
+
- config/application.rb
|
181
|
+
- config/boot.rb
|
182
|
+
- config/environment.rb
|
180
183
|
- config/initializers/interpolation.rb
|
181
184
|
- config/initializers/processors.rb
|
182
185
|
- config/initializers/radiant_config.rb
|
@@ -208,21 +211,159 @@ files:
|
|
208
211
|
- lib/tasks/paperclip_tasks.rake
|
209
212
|
- lib/trusty-clipped-extension.rb
|
210
213
|
- lib/trusty_cms_clipped_extension/cloud.rb
|
211
|
-
-
|
212
|
-
- spec/ci/
|
213
|
-
- spec/
|
214
|
-
- spec/
|
215
|
-
- spec/
|
214
|
+
- rebuild
|
215
|
+
- spec/ci/database.mysql.yml
|
216
|
+
- spec/dummy/README.rdoc
|
217
|
+
- spec/dummy/Rakefile
|
218
|
+
- spec/dummy/bin/bundle
|
219
|
+
- spec/dummy/bin/rails
|
220
|
+
- spec/dummy/bin/rake
|
221
|
+
- spec/dummy/bin/setup
|
222
|
+
- spec/dummy/config.ru
|
223
|
+
- spec/dummy/config/application.rb
|
224
|
+
- spec/dummy/config/boot.rb
|
225
|
+
- spec/dummy/config/database.yml
|
226
|
+
- spec/dummy/config/environment.rb
|
227
|
+
- spec/dummy/config/environments/development.rb
|
228
|
+
- spec/dummy/config/environments/production.rb
|
229
|
+
- spec/dummy/config/environments/test.rb
|
230
|
+
- spec/dummy/config/initializers/assets.rb
|
231
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
232
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
233
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
234
|
+
- spec/dummy/config/initializers/inflections.rb
|
235
|
+
- spec/dummy/config/initializers/mime_types.rb
|
236
|
+
- spec/dummy/config/initializers/session_store.rb
|
237
|
+
- spec/dummy/config/initializers/trusty_cms_config.rb
|
238
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
239
|
+
- spec/dummy/config/locales/en.yml
|
240
|
+
- spec/dummy/config/routes.rb
|
241
|
+
- spec/dummy/config/secrets.yml
|
242
|
+
- spec/dummy/db/schema.rb
|
243
|
+
- spec/dummy/public/404.html
|
244
|
+
- spec/dummy/public/422.html
|
245
|
+
- spec/dummy/public/500.html
|
246
|
+
- spec/dummy/public/favicon.ico
|
247
|
+
- spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
|
248
|
+
- spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
|
249
|
+
- spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/_base.scssc
|
250
|
+
- spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/main.scssc
|
251
|
+
- spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_boxes.scssc
|
252
|
+
- spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_gradients.scssc
|
253
|
+
- spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_links.scssc
|
254
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_actions.scssc
|
255
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_avatars.scssc
|
256
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_content.scssc
|
257
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dateinput.scssc
|
258
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_deprecated.scssc
|
259
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dropdown.scssc
|
260
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_footer.scssc
|
261
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_forms.scssc
|
262
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_header.scssc
|
263
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_index.scssc
|
264
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-structure.scssc
|
265
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-theme.scssc
|
266
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui.scssc
|
267
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_layout.scssc
|
268
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_messages.scssc
|
269
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_popup.scssc
|
270
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_tabcontrol.scssc
|
271
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_toolbar.scssc
|
272
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_treetable.scssc
|
273
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_typography.scssc
|
274
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_validations.scssc
|
275
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0253c2b6b6b5d225c38e795a508043e3
|
276
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/05634c84f3e97c2e300a0988e9c571b4
|
277
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/07c2bf9b54e44d186c3dc4fe775bf217
|
278
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0a5bab0f5c49aafe2bef1ad4f0fdaa95
|
279
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0b12b1d454f82ce157eba2a99c57b1c5
|
280
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0d0f578e1d526a5592454fd915f28722
|
281
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/118a0efcdfc1be878d85967fb9eab9ab
|
282
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/126b3a20fbb3ee31f8d29ce1c0a3bae1
|
283
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/128df4bcf253b7dbb8bb8b6bd40b92d5
|
284
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/133ae3a6ec8ce5c435266446d406c497
|
285
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/13da4e71b104d636208b7ea380c9028b
|
286
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/1a0cf8baad9957cea0290cac02ee4324
|
287
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/22a8f218bcf0b68fecca4d5aa7b728b9
|
288
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/276aad4896e9ee6929626bcea973ec2f
|
289
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/27977269178c1332d1b0085b9830c8c7
|
290
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2960553254e8b34684bd62fcd9ebcc88
|
291
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/298838d1f354a7ce98875c7225e6a6a7
|
292
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/29d248927769199391aa7c6b060730f2
|
293
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2b29e5c4175ed37eae13bb9445cd0398
|
294
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2c6aad6774b77dd0212ff0921a552fda
|
295
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2e05b1c8f1f2eaa2c143c1097921fbaf
|
296
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/30f472e5b1cb95fcada64f956701fcfe
|
297
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/3722e239d8e0fc45691762190af60480
|
298
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/3cc3bb17b7fbe5eeeb9e2fd59f353ac2
|
299
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/4036e4e74ec8caaf31ebfa8200b11fc6
|
300
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/4bde469b10d79020fae3d263ac3d7c41
|
301
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/4dba5139e0cb793331971197e100dab7
|
302
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/50340e99333efe25311ff69d804d0044
|
303
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/566ea75053eeef9a45333422ebe11758
|
304
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/57ba3771151e2d17eb1f1df421fe8a96
|
305
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/5a8e4705d0930604da5dad00d49e7f49
|
306
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/5eed3bf8cfe6dcb764bea5c574d2d9c9
|
307
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/5f879c30ff953be36c9bd3bc12c58b15
|
308
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/649393b36e60cee5747d66aa96862184
|
309
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/649cb21e9d0e916026c8ff574f21cb7d
|
310
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/65aef06e5485abe748ec0f8ab5e83fa5
|
311
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6745248fbc6beb42d1ab2b04b63c5c1a
|
312
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6781fb6027c64b314bd774aa672574f6
|
313
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6b3ab0bc5c8316baa291af39f5c44038
|
314
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6da37e398c8c9f006f6b544cd714d834
|
315
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/72ce50f2edca010cee5ad75904a615c9
|
316
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/74021cd8376ee1203af17bed0d2bf27f
|
317
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/76d535649eb9bd798d9e1e9f64860451
|
318
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/7b3ae6ac77163f1d1c0bac4b66d0d910
|
319
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/7e97394489bc5dd3989b7dcdbd33d080
|
320
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/7eaf5a863f069a5571b3b0e12f2167fb
|
321
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/8117019177512a419d0852f3d871604e
|
322
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/8211e5da25cd8db999f3e83acc70b884
|
323
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/82426bfd2b08cc8ec14a62d560643a8c
|
324
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/83eee805228b7b26a9e9027d05b95402
|
325
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/858821775db3375fa2cdcfb2e1efe3cd
|
326
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/8cdfbf142f9e5dcb6785a6e61ca4861e
|
327
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/9316fc95ea7bd5108f6838f6c7e7be4e
|
328
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/95e0849d56a2a9e1e55d874be2c04ae2
|
329
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/965a1812be0bfc82e220e7f22ae384dc
|
330
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a1832984208c42e9a47980b4d6ac2dc9
|
331
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a1e86c22b2e6cfbcdf9d68792bcedb7f
|
332
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/ad62c91ea509a5e8e4caf11c4922f392
|
333
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/b06ccd7385c6bd56ee7c6562a97e6b85
|
334
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/b2f5b7fb5cbed27d897a0368d4a6d5d2
|
335
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/b7505543b40b8ab466e9efe586d95346
|
336
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/bab4140b592b87efaf49c7bf60598425
|
337
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/baf8b56ddb9ca0245e093e29ade35c0a
|
338
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/be3cf8499757ed7678ee0a25d4aa3112
|
339
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/be5b781b3de58aa915133b4d41b76a0b
|
340
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/c0fc05e9c36943a5437ef516f58ebcd8
|
341
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/cb78e79ec2dd8bccf18927386de178ae
|
342
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/d2b5bbda0041b5ef56873dc8941d5ad9
|
343
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/dcc163a0f3096123d374f5632ad48d4b
|
344
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/df7b2d1131b58c69eef783a1ab4be24e
|
345
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e1f5e19236dcdd3e73c8b8dedb8e3daf
|
346
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e57bae9b7a4c75c1d0c2a3e1c1aae160
|
347
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e63e2d8b377101ea8de761b46eb0f50f
|
348
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/ea25d11b296786fb90debfd6972d97d8
|
349
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/ec5a73c71a7a240d83eab2b121328bcd
|
350
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/efd49fd3ad186d8dce200e0ca411e35d
|
351
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f35adec61f96a28e6d188caddee1fd4b
|
352
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f5855ddab883d0ee58146d0369cc8227
|
353
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f58cd07201e2fffd12f2e1829869c350
|
354
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f657dcaacbf72b65af3abd6b22bf68b3
|
355
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f91592d9720c5a81657c3198d7d525ac
|
356
|
+
- spec/features/admin_login_spec.rb
|
216
357
|
- spec/fixtures/5k.png
|
217
358
|
- spec/fixtures/test.flv
|
359
|
+
- spec/fixtures/users.yml
|
218
360
|
- spec/lib/asset_tags_spec.rb
|
219
361
|
- spec/lib/frame_grab_spec.rb
|
220
362
|
- spec/lib/geometry_transformation_spec.rb
|
221
|
-
- spec/
|
222
|
-
- spec/models/asset_type_spec.rb
|
223
|
-
- spec/models/post_processing_spec.rb
|
363
|
+
- spec/rails_helper.rb
|
224
364
|
- spec/spec.opts
|
225
365
|
- spec/spec_helper.rb
|
366
|
+
- spec/support/custom_actions.rb
|
226
367
|
- trusty-clipped-extension.gemspec
|
227
368
|
- wireframes/edit-page-assets-2.bmml
|
228
369
|
- wireframes/edit-page-assets-2.png
|
@@ -241,35 +382,172 @@ require_paths:
|
|
241
382
|
- lib
|
242
383
|
required_ruby_version: !ruby/object:Gem::Requirement
|
243
384
|
requirements:
|
244
|
-
- -
|
385
|
+
- - ">="
|
245
386
|
- !ruby/object:Gem::Version
|
246
387
|
version: '0'
|
247
388
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
389
|
requirements:
|
249
|
-
- -
|
390
|
+
- - ">"
|
250
391
|
- !ruby/object:Gem::Version
|
251
392
|
version: 1.3.1
|
252
393
|
requirements: []
|
253
394
|
rubyforge_project:
|
254
|
-
rubygems_version: 2.4.
|
395
|
+
rubygems_version: 2.4.3
|
255
396
|
signing_key:
|
256
397
|
specification_version: 4
|
257
398
|
summary: Assets for TrustyCms CMS
|
258
399
|
test_files:
|
259
|
-
- spec/ci/
|
260
|
-
- spec/
|
261
|
-
- spec/
|
262
|
-
- spec/
|
263
|
-
- spec/
|
400
|
+
- spec/ci/database.mysql.yml
|
401
|
+
- spec/dummy/bin/bundle
|
402
|
+
- spec/dummy/bin/rails
|
403
|
+
- spec/dummy/bin/rake
|
404
|
+
- spec/dummy/bin/setup
|
405
|
+
- spec/dummy/config/application.rb
|
406
|
+
- spec/dummy/config/boot.rb
|
407
|
+
- spec/dummy/config/database.yml
|
408
|
+
- spec/dummy/config/environment.rb
|
409
|
+
- spec/dummy/config/environments/development.rb
|
410
|
+
- spec/dummy/config/environments/production.rb
|
411
|
+
- spec/dummy/config/environments/test.rb
|
412
|
+
- spec/dummy/config/initializers/assets.rb
|
413
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
414
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
415
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
416
|
+
- spec/dummy/config/initializers/inflections.rb
|
417
|
+
- spec/dummy/config/initializers/mime_types.rb
|
418
|
+
- spec/dummy/config/initializers/session_store.rb
|
419
|
+
- spec/dummy/config/initializers/trusty_cms_config.rb
|
420
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
421
|
+
- spec/dummy/config/locales/en.yml
|
422
|
+
- spec/dummy/config/routes.rb
|
423
|
+
- spec/dummy/config/secrets.yml
|
424
|
+
- spec/dummy/config.ru
|
425
|
+
- spec/dummy/db/schema.rb
|
426
|
+
- spec/dummy/public/404.html
|
427
|
+
- spec/dummy/public/422.html
|
428
|
+
- spec/dummy/public/500.html
|
429
|
+
- spec/dummy/public/favicon.ico
|
430
|
+
- spec/dummy/Rakefile
|
431
|
+
- spec/dummy/README.rdoc
|
432
|
+
- spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
|
433
|
+
- spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
|
434
|
+
- spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/_base.scssc
|
435
|
+
- spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/main.scssc
|
436
|
+
- spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_boxes.scssc
|
437
|
+
- spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_gradients.scssc
|
438
|
+
- spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_links.scssc
|
439
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_actions.scssc
|
440
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_avatars.scssc
|
441
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_content.scssc
|
442
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dateinput.scssc
|
443
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_deprecated.scssc
|
444
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dropdown.scssc
|
445
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_footer.scssc
|
446
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_forms.scssc
|
447
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_header.scssc
|
448
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_index.scssc
|
449
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-structure.scssc
|
450
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-theme.scssc
|
451
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui.scssc
|
452
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_layout.scssc
|
453
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_messages.scssc
|
454
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_popup.scssc
|
455
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_tabcontrol.scssc
|
456
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_toolbar.scssc
|
457
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_treetable.scssc
|
458
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_typography.scssc
|
459
|
+
- spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_validations.scssc
|
460
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0253c2b6b6b5d225c38e795a508043e3
|
461
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/05634c84f3e97c2e300a0988e9c571b4
|
462
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/07c2bf9b54e44d186c3dc4fe775bf217
|
463
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0a5bab0f5c49aafe2bef1ad4f0fdaa95
|
464
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0b12b1d454f82ce157eba2a99c57b1c5
|
465
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0d0f578e1d526a5592454fd915f28722
|
466
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/118a0efcdfc1be878d85967fb9eab9ab
|
467
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/126b3a20fbb3ee31f8d29ce1c0a3bae1
|
468
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/128df4bcf253b7dbb8bb8b6bd40b92d5
|
469
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/133ae3a6ec8ce5c435266446d406c497
|
470
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/13da4e71b104d636208b7ea380c9028b
|
471
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/1a0cf8baad9957cea0290cac02ee4324
|
472
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/22a8f218bcf0b68fecca4d5aa7b728b9
|
473
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/276aad4896e9ee6929626bcea973ec2f
|
474
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/27977269178c1332d1b0085b9830c8c7
|
475
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2960553254e8b34684bd62fcd9ebcc88
|
476
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/298838d1f354a7ce98875c7225e6a6a7
|
477
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/29d248927769199391aa7c6b060730f2
|
478
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2b29e5c4175ed37eae13bb9445cd0398
|
479
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2c6aad6774b77dd0212ff0921a552fda
|
480
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2e05b1c8f1f2eaa2c143c1097921fbaf
|
481
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/30f472e5b1cb95fcada64f956701fcfe
|
482
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/3722e239d8e0fc45691762190af60480
|
483
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/3cc3bb17b7fbe5eeeb9e2fd59f353ac2
|
484
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/4036e4e74ec8caaf31ebfa8200b11fc6
|
485
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/4bde469b10d79020fae3d263ac3d7c41
|
486
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/4dba5139e0cb793331971197e100dab7
|
487
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/50340e99333efe25311ff69d804d0044
|
488
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/566ea75053eeef9a45333422ebe11758
|
489
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/57ba3771151e2d17eb1f1df421fe8a96
|
490
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/5a8e4705d0930604da5dad00d49e7f49
|
491
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/5eed3bf8cfe6dcb764bea5c574d2d9c9
|
492
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/5f879c30ff953be36c9bd3bc12c58b15
|
493
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/649393b36e60cee5747d66aa96862184
|
494
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/649cb21e9d0e916026c8ff574f21cb7d
|
495
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/65aef06e5485abe748ec0f8ab5e83fa5
|
496
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6745248fbc6beb42d1ab2b04b63c5c1a
|
497
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6781fb6027c64b314bd774aa672574f6
|
498
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6b3ab0bc5c8316baa291af39f5c44038
|
499
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/6da37e398c8c9f006f6b544cd714d834
|
500
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/72ce50f2edca010cee5ad75904a615c9
|
501
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/74021cd8376ee1203af17bed0d2bf27f
|
502
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/76d535649eb9bd798d9e1e9f64860451
|
503
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/7b3ae6ac77163f1d1c0bac4b66d0d910
|
504
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/7e97394489bc5dd3989b7dcdbd33d080
|
505
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/7eaf5a863f069a5571b3b0e12f2167fb
|
506
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/8117019177512a419d0852f3d871604e
|
507
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/8211e5da25cd8db999f3e83acc70b884
|
508
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/82426bfd2b08cc8ec14a62d560643a8c
|
509
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/83eee805228b7b26a9e9027d05b95402
|
510
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/858821775db3375fa2cdcfb2e1efe3cd
|
511
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/8cdfbf142f9e5dcb6785a6e61ca4861e
|
512
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/9316fc95ea7bd5108f6838f6c7e7be4e
|
513
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/95e0849d56a2a9e1e55d874be2c04ae2
|
514
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/965a1812be0bfc82e220e7f22ae384dc
|
515
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a1832984208c42e9a47980b4d6ac2dc9
|
516
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a1e86c22b2e6cfbcdf9d68792bcedb7f
|
517
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/ad62c91ea509a5e8e4caf11c4922f392
|
518
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/b06ccd7385c6bd56ee7c6562a97e6b85
|
519
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/b2f5b7fb5cbed27d897a0368d4a6d5d2
|
520
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/b7505543b40b8ab466e9efe586d95346
|
521
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/bab4140b592b87efaf49c7bf60598425
|
522
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/baf8b56ddb9ca0245e093e29ade35c0a
|
523
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/be3cf8499757ed7678ee0a25d4aa3112
|
524
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/be5b781b3de58aa915133b4d41b76a0b
|
525
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/c0fc05e9c36943a5437ef516f58ebcd8
|
526
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/cb78e79ec2dd8bccf18927386de178ae
|
527
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/d2b5bbda0041b5ef56873dc8941d5ad9
|
528
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/dcc163a0f3096123d374f5632ad48d4b
|
529
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/df7b2d1131b58c69eef783a1ab4be24e
|
530
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e1f5e19236dcdd3e73c8b8dedb8e3daf
|
531
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e57bae9b7a4c75c1d0c2a3e1c1aae160
|
532
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e63e2d8b377101ea8de761b46eb0f50f
|
533
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/ea25d11b296786fb90debfd6972d97d8
|
534
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/ec5a73c71a7a240d83eab2b121328bcd
|
535
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/efd49fd3ad186d8dce200e0ca411e35d
|
536
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f35adec61f96a28e6d188caddee1fd4b
|
537
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f5855ddab883d0ee58146d0369cc8227
|
538
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f58cd07201e2fffd12f2e1829869c350
|
539
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f657dcaacbf72b65af3abd6b22bf68b3
|
540
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f91592d9720c5a81657c3198d7d525ac
|
541
|
+
- spec/features/admin_login_spec.rb
|
264
542
|
- spec/fixtures/5k.png
|
265
543
|
- spec/fixtures/test.flv
|
544
|
+
- spec/fixtures/users.yml
|
266
545
|
- spec/lib/asset_tags_spec.rb
|
267
546
|
- spec/lib/frame_grab_spec.rb
|
268
547
|
- spec/lib/geometry_transformation_spec.rb
|
269
|
-
- spec/
|
270
|
-
- spec/models/asset_type_spec.rb
|
271
|
-
- spec/models/post_processing_spec.rb
|
548
|
+
- spec/rails_helper.rb
|
272
549
|
- spec/spec.opts
|
273
550
|
- spec/spec_helper.rb
|
551
|
+
- spec/support/custom_actions.rb
|
274
552
|
- features/support/env.rb
|
275
553
|
- features/support/paths.rb
|
data/spec/ci/before_script
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
cd ~
|
2
|
-
git clone git://github.com/radiant/radiant.git
|
3
|
-
cd ~/radiant
|
4
|
-
if [[ $RADIANT_VERSION != "master" ]]
|
5
|
-
then
|
6
|
-
git checkout -b $RADIANT_VERSION $RADIANT_VERSION
|
7
|
-
fi
|
8
|
-
cp -r ~/builds/*/radiant-clipped-extension vendor/extensions/clipped
|
9
|
-
gem install bundler --pre
|
10
|
-
echo 'gem "radiant-clipped-extension", :path => "vendor/extensions/clipped"' >> Gemfile
|
11
|
-
bundle install
|
12
|
-
|
13
|
-
case $DB in
|
14
|
-
"mysql" )
|
15
|
-
mysql -e 'create database radiant_test;'
|
16
|
-
cp spec/ci/database.mysql.yml config/database.yml;;
|
17
|
-
"postgres" )
|
18
|
-
psql -c 'create database radiant_test;' -U postgres
|
19
|
-
cp spec/ci/database.postgresql.yml config/database.yml;;
|
20
|
-
esac
|
21
|
-
|
22
|
-
bundle exec rake db:migrate
|
23
|
-
bundle exec rake db:migrate:extensions
|
data/spec/ci/script
DELETED