trusty-snippets-extension 2.0.1.pre.beta → 2.0.2.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +5 -13
  2. data/Gemfile +48 -1
  3. data/Gemfile.lock +287 -0
  4. data/Rakefile +26 -109
  5. data/lib/trusty-snippets-extension.rb +1 -1
  6. data/spec/ci/database.mysql.yml +27 -0
  7. data/spec/controllers/admin/snippets_controller_spec.rb +110 -110
  8. data/spec/dummy/README.rdoc +28 -0
  9. data/spec/dummy/Rakefile +5 -0
  10. data/spec/dummy/bin/bundle +3 -0
  11. data/spec/dummy/bin/rails +4 -0
  12. data/spec/dummy/bin/rake +4 -0
  13. data/spec/dummy/bin/setup +29 -0
  14. data/spec/dummy/config/application.rb +152 -0
  15. data/spec/dummy/config/boot.rb +6 -0
  16. data/spec/dummy/config/database.yml +28 -0
  17. data/spec/dummy/config/environment.rb +5 -0
  18. data/spec/dummy/config/environments/development.rb +49 -0
  19. data/spec/dummy/config/environments/production.rb +79 -0
  20. data/spec/dummy/config/environments/test.rb +42 -0
  21. data/spec/dummy/config/initializers/assets.rb +11 -0
  22. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  23. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  24. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  25. data/spec/dummy/config/initializers/inflections.rb +16 -0
  26. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  27. data/spec/dummy/config/initializers/session_store.rb +3 -0
  28. data/spec/dummy/config/initializers/trusty_cms_config.rb +20 -0
  29. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  30. data/spec/dummy/config/locales/en.yml +23 -0
  31. data/spec/dummy/config/routes.rb +0 -0
  32. data/spec/dummy/config/secrets.yml +22 -0
  33. data/spec/dummy/config.ru +4 -0
  34. data/spec/dummy/db/schema.rb +144 -0
  35. data/spec/dummy/public/404.html +67 -0
  36. data/spec/dummy/public/422.html +67 -0
  37. data/spec/dummy/public/500.html +66 -0
  38. data/spec/dummy/public/favicon.ico +0 -0
  39. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
  40. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/_base.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/main.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_boxes.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_gradients.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_links.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_actions.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_avatars.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_content.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dateinput.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_deprecated.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dropdown.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_footer.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_forms.scssc +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_header.scssc +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_index.scssc +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-structure.scssc +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-theme.scssc +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui.scssc +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_layout.scssc +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_messages.scssc +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_popup.scssc +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_tabcontrol.scssc +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_toolbar.scssc +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_treetable.scssc +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_typography.scssc +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_validations.scssc +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sprockets/0253c2b6b6b5d225c38e795a508043e3 +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sprockets/05634c84f3e97c2e300a0988e9c571b4 +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sprockets/07c2bf9b54e44d186c3dc4fe775bf217 +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sprockets/0a5bab0f5c49aafe2bef1ad4f0fdaa95 +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sprockets/0b12b1d454f82ce157eba2a99c57b1c5 +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sprockets/0d0f578e1d526a5592454fd915f28722 +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sprockets/118a0efcdfc1be878d85967fb9eab9ab +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sprockets/126b3a20fbb3ee31f8d29ce1c0a3bae1 +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sprockets/128df4bcf253b7dbb8bb8b6bd40b92d5 +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sprockets/133ae3a6ec8ce5c435266446d406c497 +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sprockets/13da4e71b104d636208b7ea380c9028b +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sprockets/1a0cf8baad9957cea0290cac02ee4324 +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sprockets/22a8f218bcf0b68fecca4d5aa7b728b9 +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sprockets/276aad4896e9ee6929626bcea973ec2f +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sprockets/27977269178c1332d1b0085b9830c8c7 +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sprockets/2960553254e8b34684bd62fcd9ebcc88 +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/298838d1f354a7ce98875c7225e6a6a7 +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/29d248927769199391aa7c6b060730f2 +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/2b29e5c4175ed37eae13bb9445cd0398 +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sprockets/2c6aad6774b77dd0212ff0921a552fda +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sprockets/2e05b1c8f1f2eaa2c143c1097921fbaf +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sprockets/30f472e5b1cb95fcada64f956701fcfe +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sprockets/3722e239d8e0fc45691762190af60480 +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sprockets/3cc3bb17b7fbe5eeeb9e2fd59f353ac2 +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sprockets/4036e4e74ec8caaf31ebfa8200b11fc6 +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sprockets/4bde469b10d79020fae3d263ac3d7c41 +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sprockets/4dba5139e0cb793331971197e100dab7 +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sprockets/50340e99333efe25311ff69d804d0044 +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sprockets/566ea75053eeef9a45333422ebe11758 +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sprockets/57ba3771151e2d17eb1f1df421fe8a96 +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sprockets/5a8e4705d0930604da5dad00d49e7f49 +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sprockets/5eed3bf8cfe6dcb764bea5c574d2d9c9 +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sprockets/5f879c30ff953be36c9bd3bc12c58b15 +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sprockets/649393b36e60cee5747d66aa96862184 +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sprockets/649cb21e9d0e916026c8ff574f21cb7d +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sprockets/65aef06e5485abe748ec0f8ab5e83fa5 +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sprockets/6745248fbc6beb42d1ab2b04b63c5c1a +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sprockets/6781fb6027c64b314bd774aa672574f6 +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sprockets/6b3ab0bc5c8316baa291af39f5c44038 +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/6da37e398c8c9f006f6b544cd714d834 +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/72ce50f2edca010cee5ad75904a615c9 +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/74021cd8376ee1203af17bed0d2bf27f +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/76d535649eb9bd798d9e1e9f64860451 +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/7b3ae6ac77163f1d1c0bac4b66d0d910 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/7e97394489bc5dd3989b7dcdbd33d080 +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/7eaf5a863f069a5571b3b0e12f2167fb +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/8117019177512a419d0852f3d871604e +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/8211e5da25cd8db999f3e83acc70b884 +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/82426bfd2b08cc8ec14a62d560643a8c +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/83eee805228b7b26a9e9027d05b95402 +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/858821775db3375fa2cdcfb2e1efe3cd +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/8cdfbf142f9e5dcb6785a6e61ca4861e +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/9316fc95ea7bd5108f6838f6c7e7be4e +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/95e0849d56a2a9e1e55d874be2c04ae2 +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/965a1812be0bfc82e220e7f22ae384dc +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/a1832984208c42e9a47980b4d6ac2dc9 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/a1e86c22b2e6cfbcdf9d68792bcedb7f +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/ad62c91ea509a5e8e4caf11c4922f392 +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/b06ccd7385c6bd56ee7c6562a97e6b85 +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/b2f5b7fb5cbed27d897a0368d4a6d5d2 +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/b7505543b40b8ab466e9efe586d95346 +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/bab4140b592b87efaf49c7bf60598425 +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/baf8b56ddb9ca0245e093e29ade35c0a +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/be3cf8499757ed7678ee0a25d4aa3112 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/be5b781b3de58aa915133b4d41b76a0b +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/c0fc05e9c36943a5437ef516f58ebcd8 +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sprockets/cb78e79ec2dd8bccf18927386de178ae +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sprockets/d2b5bbda0041b5ef56873dc8941d5ad9 +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sprockets/dcc163a0f3096123d374f5632ad48d4b +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sprockets/df7b2d1131b58c69eef783a1ab4be24e +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sprockets/e1f5e19236dcdd3e73c8b8dedb8e3daf +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sprockets/e57bae9b7a4c75c1d0c2a3e1c1aae160 +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sprockets/e63e2d8b377101ea8de761b46eb0f50f +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sprockets/ea25d11b296786fb90debfd6972d97d8 +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sprockets/ec5a73c71a7a240d83eab2b121328bcd +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sprockets/efd49fd3ad186d8dce200e0ca411e35d +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sprockets/f35adec61f96a28e6d188caddee1fd4b +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sprockets/f5855ddab883d0ee58146d0369cc8227 +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sprockets/f58cd07201e2fffd12f2e1829869c350 +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sprockets/f657dcaacbf72b65af3abd6b22bf68b3 +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sprockets/f91592d9720c5a81657c3198d7d525ac +0 -0
  148. data/spec/lib/radiant/admin_ui_spec.rb +33 -33
  149. data/spec/models/page_spec.rb +81 -81
  150. data/spec/models/snippet_finder_spec.rb +8 -7
  151. data/spec/models/snippet_spec.rb +59 -59
  152. data/spec/models/user_action_observer_spec.rb +25 -25
  153. data/spec/rails_helper.rb +73 -0
  154. data/spec/spec_helper.rb +14 -0
  155. metadata +293 -13
  156. data/spec/ci/before_script +0 -22
  157. data/spec/ci/script +0 -2
  158. data/spec/snippets_spec_helper.rb +0 -36
@@ -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
@@ -0,0 +1,14 @@
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"
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-snippets-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1.pre.beta
4
+ version: 2.0.2.pre.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Gay
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-31 00:00:00.000000000 Z
12
+ date: 2015-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trusty-cms
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: 2.0.0.pre.beta
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: 2.0.0.pre.beta
28
28
  description: Makes Trusty better by adding snippets!
@@ -62,18 +62,158 @@ files:
62
62
  - lib/tasks/snippets_extension_tasks.rake
63
63
  - lib/trusty-snippets-extension.rb
64
64
  - snippets_extension.rb
65
- - spec/ci/before_script
66
- - spec/ci/script
65
+ - spec/ci/database.mysql.yml
67
66
  - spec/controllers/admin/snippets_controller_spec.rb
68
67
  - spec/datasets/snippets_dataset.rb
68
+ - spec/dummy/README.rdoc
69
+ - spec/dummy/Rakefile
70
+ - spec/dummy/bin/bundle
71
+ - spec/dummy/bin/rails
72
+ - spec/dummy/bin/rake
73
+ - spec/dummy/bin/setup
74
+ - spec/dummy/config.ru
75
+ - spec/dummy/config/application.rb
76
+ - spec/dummy/config/boot.rb
77
+ - spec/dummy/config/database.yml
78
+ - spec/dummy/config/environment.rb
79
+ - spec/dummy/config/environments/development.rb
80
+ - spec/dummy/config/environments/production.rb
81
+ - spec/dummy/config/environments/test.rb
82
+ - spec/dummy/config/initializers/assets.rb
83
+ - spec/dummy/config/initializers/backtrace_silencers.rb
84
+ - spec/dummy/config/initializers/cookies_serializer.rb
85
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
86
+ - spec/dummy/config/initializers/inflections.rb
87
+ - spec/dummy/config/initializers/mime_types.rb
88
+ - spec/dummy/config/initializers/session_store.rb
89
+ - spec/dummy/config/initializers/trusty_cms_config.rb
90
+ - spec/dummy/config/initializers/wrap_parameters.rb
91
+ - spec/dummy/config/locales/en.yml
92
+ - spec/dummy/config/routes.rb
93
+ - spec/dummy/config/secrets.yml
94
+ - spec/dummy/db/schema.rb
95
+ - spec/dummy/public/404.html
96
+ - spec/dummy/public/422.html
97
+ - spec/dummy/public/500.html
98
+ - spec/dummy/public/favicon.ico
99
+ - spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
100
+ - spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
101
+ - spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/_base.scssc
102
+ - spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/main.scssc
103
+ - spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_boxes.scssc
104
+ - spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_gradients.scssc
105
+ - spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_links.scssc
106
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_actions.scssc
107
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_avatars.scssc
108
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_content.scssc
109
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dateinput.scssc
110
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_deprecated.scssc
111
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dropdown.scssc
112
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_footer.scssc
113
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_forms.scssc
114
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_header.scssc
115
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_index.scssc
116
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-structure.scssc
117
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-theme.scssc
118
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui.scssc
119
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_layout.scssc
120
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_messages.scssc
121
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_popup.scssc
122
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_tabcontrol.scssc
123
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_toolbar.scssc
124
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_treetable.scssc
125
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_typography.scssc
126
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_validations.scssc
127
+ - spec/dummy/tmp/cache/assets/test/sprockets/0253c2b6b6b5d225c38e795a508043e3
128
+ - spec/dummy/tmp/cache/assets/test/sprockets/05634c84f3e97c2e300a0988e9c571b4
129
+ - spec/dummy/tmp/cache/assets/test/sprockets/07c2bf9b54e44d186c3dc4fe775bf217
130
+ - spec/dummy/tmp/cache/assets/test/sprockets/0a5bab0f5c49aafe2bef1ad4f0fdaa95
131
+ - spec/dummy/tmp/cache/assets/test/sprockets/0b12b1d454f82ce157eba2a99c57b1c5
132
+ - spec/dummy/tmp/cache/assets/test/sprockets/0d0f578e1d526a5592454fd915f28722
133
+ - spec/dummy/tmp/cache/assets/test/sprockets/118a0efcdfc1be878d85967fb9eab9ab
134
+ - spec/dummy/tmp/cache/assets/test/sprockets/126b3a20fbb3ee31f8d29ce1c0a3bae1
135
+ - spec/dummy/tmp/cache/assets/test/sprockets/128df4bcf253b7dbb8bb8b6bd40b92d5
136
+ - spec/dummy/tmp/cache/assets/test/sprockets/133ae3a6ec8ce5c435266446d406c497
137
+ - spec/dummy/tmp/cache/assets/test/sprockets/13da4e71b104d636208b7ea380c9028b
138
+ - spec/dummy/tmp/cache/assets/test/sprockets/1a0cf8baad9957cea0290cac02ee4324
139
+ - spec/dummy/tmp/cache/assets/test/sprockets/22a8f218bcf0b68fecca4d5aa7b728b9
140
+ - spec/dummy/tmp/cache/assets/test/sprockets/276aad4896e9ee6929626bcea973ec2f
141
+ - spec/dummy/tmp/cache/assets/test/sprockets/27977269178c1332d1b0085b9830c8c7
142
+ - spec/dummy/tmp/cache/assets/test/sprockets/2960553254e8b34684bd62fcd9ebcc88
143
+ - spec/dummy/tmp/cache/assets/test/sprockets/298838d1f354a7ce98875c7225e6a6a7
144
+ - spec/dummy/tmp/cache/assets/test/sprockets/29d248927769199391aa7c6b060730f2
145
+ - spec/dummy/tmp/cache/assets/test/sprockets/2b29e5c4175ed37eae13bb9445cd0398
146
+ - spec/dummy/tmp/cache/assets/test/sprockets/2c6aad6774b77dd0212ff0921a552fda
147
+ - spec/dummy/tmp/cache/assets/test/sprockets/2e05b1c8f1f2eaa2c143c1097921fbaf
148
+ - spec/dummy/tmp/cache/assets/test/sprockets/30f472e5b1cb95fcada64f956701fcfe
149
+ - spec/dummy/tmp/cache/assets/test/sprockets/3722e239d8e0fc45691762190af60480
150
+ - spec/dummy/tmp/cache/assets/test/sprockets/3cc3bb17b7fbe5eeeb9e2fd59f353ac2
151
+ - spec/dummy/tmp/cache/assets/test/sprockets/4036e4e74ec8caaf31ebfa8200b11fc6
152
+ - spec/dummy/tmp/cache/assets/test/sprockets/4bde469b10d79020fae3d263ac3d7c41
153
+ - spec/dummy/tmp/cache/assets/test/sprockets/4dba5139e0cb793331971197e100dab7
154
+ - spec/dummy/tmp/cache/assets/test/sprockets/50340e99333efe25311ff69d804d0044
155
+ - spec/dummy/tmp/cache/assets/test/sprockets/566ea75053eeef9a45333422ebe11758
156
+ - spec/dummy/tmp/cache/assets/test/sprockets/57ba3771151e2d17eb1f1df421fe8a96
157
+ - spec/dummy/tmp/cache/assets/test/sprockets/5a8e4705d0930604da5dad00d49e7f49
158
+ - spec/dummy/tmp/cache/assets/test/sprockets/5eed3bf8cfe6dcb764bea5c574d2d9c9
159
+ - spec/dummy/tmp/cache/assets/test/sprockets/5f879c30ff953be36c9bd3bc12c58b15
160
+ - spec/dummy/tmp/cache/assets/test/sprockets/649393b36e60cee5747d66aa96862184
161
+ - spec/dummy/tmp/cache/assets/test/sprockets/649cb21e9d0e916026c8ff574f21cb7d
162
+ - spec/dummy/tmp/cache/assets/test/sprockets/65aef06e5485abe748ec0f8ab5e83fa5
163
+ - spec/dummy/tmp/cache/assets/test/sprockets/6745248fbc6beb42d1ab2b04b63c5c1a
164
+ - spec/dummy/tmp/cache/assets/test/sprockets/6781fb6027c64b314bd774aa672574f6
165
+ - spec/dummy/tmp/cache/assets/test/sprockets/6b3ab0bc5c8316baa291af39f5c44038
166
+ - spec/dummy/tmp/cache/assets/test/sprockets/6da37e398c8c9f006f6b544cd714d834
167
+ - spec/dummy/tmp/cache/assets/test/sprockets/72ce50f2edca010cee5ad75904a615c9
168
+ - spec/dummy/tmp/cache/assets/test/sprockets/74021cd8376ee1203af17bed0d2bf27f
169
+ - spec/dummy/tmp/cache/assets/test/sprockets/76d535649eb9bd798d9e1e9f64860451
170
+ - spec/dummy/tmp/cache/assets/test/sprockets/7b3ae6ac77163f1d1c0bac4b66d0d910
171
+ - spec/dummy/tmp/cache/assets/test/sprockets/7e97394489bc5dd3989b7dcdbd33d080
172
+ - spec/dummy/tmp/cache/assets/test/sprockets/7eaf5a863f069a5571b3b0e12f2167fb
173
+ - spec/dummy/tmp/cache/assets/test/sprockets/8117019177512a419d0852f3d871604e
174
+ - spec/dummy/tmp/cache/assets/test/sprockets/8211e5da25cd8db999f3e83acc70b884
175
+ - spec/dummy/tmp/cache/assets/test/sprockets/82426bfd2b08cc8ec14a62d560643a8c
176
+ - spec/dummy/tmp/cache/assets/test/sprockets/83eee805228b7b26a9e9027d05b95402
177
+ - spec/dummy/tmp/cache/assets/test/sprockets/858821775db3375fa2cdcfb2e1efe3cd
178
+ - spec/dummy/tmp/cache/assets/test/sprockets/8cdfbf142f9e5dcb6785a6e61ca4861e
179
+ - spec/dummy/tmp/cache/assets/test/sprockets/9316fc95ea7bd5108f6838f6c7e7be4e
180
+ - spec/dummy/tmp/cache/assets/test/sprockets/95e0849d56a2a9e1e55d874be2c04ae2
181
+ - spec/dummy/tmp/cache/assets/test/sprockets/965a1812be0bfc82e220e7f22ae384dc
182
+ - spec/dummy/tmp/cache/assets/test/sprockets/a1832984208c42e9a47980b4d6ac2dc9
183
+ - spec/dummy/tmp/cache/assets/test/sprockets/a1e86c22b2e6cfbcdf9d68792bcedb7f
184
+ - spec/dummy/tmp/cache/assets/test/sprockets/ad62c91ea509a5e8e4caf11c4922f392
185
+ - spec/dummy/tmp/cache/assets/test/sprockets/b06ccd7385c6bd56ee7c6562a97e6b85
186
+ - spec/dummy/tmp/cache/assets/test/sprockets/b2f5b7fb5cbed27d897a0368d4a6d5d2
187
+ - spec/dummy/tmp/cache/assets/test/sprockets/b7505543b40b8ab466e9efe586d95346
188
+ - spec/dummy/tmp/cache/assets/test/sprockets/bab4140b592b87efaf49c7bf60598425
189
+ - spec/dummy/tmp/cache/assets/test/sprockets/baf8b56ddb9ca0245e093e29ade35c0a
190
+ - spec/dummy/tmp/cache/assets/test/sprockets/be3cf8499757ed7678ee0a25d4aa3112
191
+ - spec/dummy/tmp/cache/assets/test/sprockets/be5b781b3de58aa915133b4d41b76a0b
192
+ - spec/dummy/tmp/cache/assets/test/sprockets/c0fc05e9c36943a5437ef516f58ebcd8
193
+ - spec/dummy/tmp/cache/assets/test/sprockets/cb78e79ec2dd8bccf18927386de178ae
194
+ - spec/dummy/tmp/cache/assets/test/sprockets/d2b5bbda0041b5ef56873dc8941d5ad9
195
+ - spec/dummy/tmp/cache/assets/test/sprockets/dcc163a0f3096123d374f5632ad48d4b
196
+ - spec/dummy/tmp/cache/assets/test/sprockets/df7b2d1131b58c69eef783a1ab4be24e
197
+ - spec/dummy/tmp/cache/assets/test/sprockets/e1f5e19236dcdd3e73c8b8dedb8e3daf
198
+ - spec/dummy/tmp/cache/assets/test/sprockets/e57bae9b7a4c75c1d0c2a3e1c1aae160
199
+ - spec/dummy/tmp/cache/assets/test/sprockets/e63e2d8b377101ea8de761b46eb0f50f
200
+ - spec/dummy/tmp/cache/assets/test/sprockets/ea25d11b296786fb90debfd6972d97d8
201
+ - spec/dummy/tmp/cache/assets/test/sprockets/ec5a73c71a7a240d83eab2b121328bcd
202
+ - spec/dummy/tmp/cache/assets/test/sprockets/efd49fd3ad186d8dce200e0ca411e35d
203
+ - spec/dummy/tmp/cache/assets/test/sprockets/f35adec61f96a28e6d188caddee1fd4b
204
+ - spec/dummy/tmp/cache/assets/test/sprockets/f5855ddab883d0ee58146d0369cc8227
205
+ - spec/dummy/tmp/cache/assets/test/sprockets/f58cd07201e2fffd12f2e1829869c350
206
+ - spec/dummy/tmp/cache/assets/test/sprockets/f657dcaacbf72b65af3abd6b22bf68b3
207
+ - spec/dummy/tmp/cache/assets/test/sprockets/f91592d9720c5a81657c3198d7d525ac
69
208
  - spec/fixtures/snippet_template.radius
70
209
  - spec/lib/radiant/admin_ui_spec.rb
71
210
  - spec/models/page_spec.rb
72
211
  - spec/models/snippet_finder_spec.rb
73
212
  - spec/models/snippet_spec.rb
74
213
  - spec/models/user_action_observer_spec.rb
75
- - spec/snippets_spec_helper.rb
214
+ - spec/rails_helper.rb
76
215
  - spec/spec.opts
216
+ - spec/spec_helper.rb
77
217
  - trusty-snippets-extension.gemspec
78
218
  homepage: http://github.com/pgharts/trusty-snippets-extension
79
219
  licenses: []
@@ -84,33 +224,173 @@ require_paths:
84
224
  - lib
85
225
  required_ruby_version: !ruby/object:Gem::Requirement
86
226
  requirements:
87
- - - ! '>='
227
+ - - ">="
88
228
  - !ruby/object:Gem::Version
89
229
  version: '0'
90
230
  required_rubygems_version: !ruby/object:Gem::Requirement
91
231
  requirements:
92
- - - ! '>'
232
+ - - ">"
93
233
  - !ruby/object:Gem::Version
94
234
  version: 1.3.1
95
235
  requirements: []
96
236
  rubyforge_project:
97
- rubygems_version: 2.4.5
237
+ rubygems_version: 2.4.3
98
238
  signing_key:
99
239
  specification_version: 4
100
240
  summary: Snippets for Trusty CMS
101
241
  test_files:
102
- - spec/ci/before_script
103
- - spec/ci/script
242
+ - spec/ci/database.mysql.yml
104
243
  - spec/controllers/admin/snippets_controller_spec.rb
105
244
  - spec/datasets/snippets_dataset.rb
245
+ - spec/dummy/bin/bundle
246
+ - spec/dummy/bin/rails
247
+ - spec/dummy/bin/rake
248
+ - spec/dummy/bin/setup
249
+ - spec/dummy/config/application.rb
250
+ - spec/dummy/config/boot.rb
251
+ - spec/dummy/config/database.yml
252
+ - spec/dummy/config/environment.rb
253
+ - spec/dummy/config/environments/development.rb
254
+ - spec/dummy/config/environments/production.rb
255
+ - spec/dummy/config/environments/test.rb
256
+ - spec/dummy/config/initializers/assets.rb
257
+ - spec/dummy/config/initializers/backtrace_silencers.rb
258
+ - spec/dummy/config/initializers/cookies_serializer.rb
259
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
260
+ - spec/dummy/config/initializers/inflections.rb
261
+ - spec/dummy/config/initializers/mime_types.rb
262
+ - spec/dummy/config/initializers/session_store.rb
263
+ - spec/dummy/config/initializers/trusty_cms_config.rb
264
+ - spec/dummy/config/initializers/wrap_parameters.rb
265
+ - spec/dummy/config/locales/en.yml
266
+ - spec/dummy/config/routes.rb
267
+ - spec/dummy/config/secrets.yml
268
+ - spec/dummy/config.ru
269
+ - spec/dummy/db/schema.rb
270
+ - spec/dummy/public/404.html
271
+ - spec/dummy/public/422.html
272
+ - spec/dummy/public/500.html
273
+ - spec/dummy/public/favicon.ico
274
+ - spec/dummy/Rakefile
275
+ - spec/dummy/README.rdoc
276
+ - spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
277
+ - spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
278
+ - spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/_base.scssc
279
+ - spec/dummy/tmp/cache/assets/test/sass/4efd780dc9118042804451835b878259e2afc5d1/main.scssc
280
+ - spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_boxes.scssc
281
+ - spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_gradients.scssc
282
+ - spec/dummy/tmp/cache/assets/test/sass/66b1a0010012929c45ead4236f8cf67ab5e3ad10/_links.scssc
283
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_actions.scssc
284
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_avatars.scssc
285
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_content.scssc
286
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dateinput.scssc
287
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_deprecated.scssc
288
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_dropdown.scssc
289
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_footer.scssc
290
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_forms.scssc
291
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_header.scssc
292
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_index.scssc
293
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-structure.scssc
294
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui-theme.scssc
295
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_jquery-ui.scssc
296
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_layout.scssc
297
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_messages.scssc
298
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_popup.scssc
299
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_tabcontrol.scssc
300
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_toolbar.scssc
301
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_treetable.scssc
302
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_typography.scssc
303
+ - spec/dummy/tmp/cache/assets/test/sass/8d307e13c2e74a3d7d4d0eecd3e5daf9e7b1293d/_validations.scssc
304
+ - spec/dummy/tmp/cache/assets/test/sprockets/0253c2b6b6b5d225c38e795a508043e3
305
+ - spec/dummy/tmp/cache/assets/test/sprockets/05634c84f3e97c2e300a0988e9c571b4
306
+ - spec/dummy/tmp/cache/assets/test/sprockets/07c2bf9b54e44d186c3dc4fe775bf217
307
+ - spec/dummy/tmp/cache/assets/test/sprockets/0a5bab0f5c49aafe2bef1ad4f0fdaa95
308
+ - spec/dummy/tmp/cache/assets/test/sprockets/0b12b1d454f82ce157eba2a99c57b1c5
309
+ - spec/dummy/tmp/cache/assets/test/sprockets/0d0f578e1d526a5592454fd915f28722
310
+ - spec/dummy/tmp/cache/assets/test/sprockets/118a0efcdfc1be878d85967fb9eab9ab
311
+ - spec/dummy/tmp/cache/assets/test/sprockets/126b3a20fbb3ee31f8d29ce1c0a3bae1
312
+ - spec/dummy/tmp/cache/assets/test/sprockets/128df4bcf253b7dbb8bb8b6bd40b92d5
313
+ - spec/dummy/tmp/cache/assets/test/sprockets/133ae3a6ec8ce5c435266446d406c497
314
+ - spec/dummy/tmp/cache/assets/test/sprockets/13da4e71b104d636208b7ea380c9028b
315
+ - spec/dummy/tmp/cache/assets/test/sprockets/1a0cf8baad9957cea0290cac02ee4324
316
+ - spec/dummy/tmp/cache/assets/test/sprockets/22a8f218bcf0b68fecca4d5aa7b728b9
317
+ - spec/dummy/tmp/cache/assets/test/sprockets/276aad4896e9ee6929626bcea973ec2f
318
+ - spec/dummy/tmp/cache/assets/test/sprockets/27977269178c1332d1b0085b9830c8c7
319
+ - spec/dummy/tmp/cache/assets/test/sprockets/2960553254e8b34684bd62fcd9ebcc88
320
+ - spec/dummy/tmp/cache/assets/test/sprockets/298838d1f354a7ce98875c7225e6a6a7
321
+ - spec/dummy/tmp/cache/assets/test/sprockets/29d248927769199391aa7c6b060730f2
322
+ - spec/dummy/tmp/cache/assets/test/sprockets/2b29e5c4175ed37eae13bb9445cd0398
323
+ - spec/dummy/tmp/cache/assets/test/sprockets/2c6aad6774b77dd0212ff0921a552fda
324
+ - spec/dummy/tmp/cache/assets/test/sprockets/2e05b1c8f1f2eaa2c143c1097921fbaf
325
+ - spec/dummy/tmp/cache/assets/test/sprockets/30f472e5b1cb95fcada64f956701fcfe
326
+ - spec/dummy/tmp/cache/assets/test/sprockets/3722e239d8e0fc45691762190af60480
327
+ - spec/dummy/tmp/cache/assets/test/sprockets/3cc3bb17b7fbe5eeeb9e2fd59f353ac2
328
+ - spec/dummy/tmp/cache/assets/test/sprockets/4036e4e74ec8caaf31ebfa8200b11fc6
329
+ - spec/dummy/tmp/cache/assets/test/sprockets/4bde469b10d79020fae3d263ac3d7c41
330
+ - spec/dummy/tmp/cache/assets/test/sprockets/4dba5139e0cb793331971197e100dab7
331
+ - spec/dummy/tmp/cache/assets/test/sprockets/50340e99333efe25311ff69d804d0044
332
+ - spec/dummy/tmp/cache/assets/test/sprockets/566ea75053eeef9a45333422ebe11758
333
+ - spec/dummy/tmp/cache/assets/test/sprockets/57ba3771151e2d17eb1f1df421fe8a96
334
+ - spec/dummy/tmp/cache/assets/test/sprockets/5a8e4705d0930604da5dad00d49e7f49
335
+ - spec/dummy/tmp/cache/assets/test/sprockets/5eed3bf8cfe6dcb764bea5c574d2d9c9
336
+ - spec/dummy/tmp/cache/assets/test/sprockets/5f879c30ff953be36c9bd3bc12c58b15
337
+ - spec/dummy/tmp/cache/assets/test/sprockets/649393b36e60cee5747d66aa96862184
338
+ - spec/dummy/tmp/cache/assets/test/sprockets/649cb21e9d0e916026c8ff574f21cb7d
339
+ - spec/dummy/tmp/cache/assets/test/sprockets/65aef06e5485abe748ec0f8ab5e83fa5
340
+ - spec/dummy/tmp/cache/assets/test/sprockets/6745248fbc6beb42d1ab2b04b63c5c1a
341
+ - spec/dummy/tmp/cache/assets/test/sprockets/6781fb6027c64b314bd774aa672574f6
342
+ - spec/dummy/tmp/cache/assets/test/sprockets/6b3ab0bc5c8316baa291af39f5c44038
343
+ - spec/dummy/tmp/cache/assets/test/sprockets/6da37e398c8c9f006f6b544cd714d834
344
+ - spec/dummy/tmp/cache/assets/test/sprockets/72ce50f2edca010cee5ad75904a615c9
345
+ - spec/dummy/tmp/cache/assets/test/sprockets/74021cd8376ee1203af17bed0d2bf27f
346
+ - spec/dummy/tmp/cache/assets/test/sprockets/76d535649eb9bd798d9e1e9f64860451
347
+ - spec/dummy/tmp/cache/assets/test/sprockets/7b3ae6ac77163f1d1c0bac4b66d0d910
348
+ - spec/dummy/tmp/cache/assets/test/sprockets/7e97394489bc5dd3989b7dcdbd33d080
349
+ - spec/dummy/tmp/cache/assets/test/sprockets/7eaf5a863f069a5571b3b0e12f2167fb
350
+ - spec/dummy/tmp/cache/assets/test/sprockets/8117019177512a419d0852f3d871604e
351
+ - spec/dummy/tmp/cache/assets/test/sprockets/8211e5da25cd8db999f3e83acc70b884
352
+ - spec/dummy/tmp/cache/assets/test/sprockets/82426bfd2b08cc8ec14a62d560643a8c
353
+ - spec/dummy/tmp/cache/assets/test/sprockets/83eee805228b7b26a9e9027d05b95402
354
+ - spec/dummy/tmp/cache/assets/test/sprockets/858821775db3375fa2cdcfb2e1efe3cd
355
+ - spec/dummy/tmp/cache/assets/test/sprockets/8cdfbf142f9e5dcb6785a6e61ca4861e
356
+ - spec/dummy/tmp/cache/assets/test/sprockets/9316fc95ea7bd5108f6838f6c7e7be4e
357
+ - spec/dummy/tmp/cache/assets/test/sprockets/95e0849d56a2a9e1e55d874be2c04ae2
358
+ - spec/dummy/tmp/cache/assets/test/sprockets/965a1812be0bfc82e220e7f22ae384dc
359
+ - spec/dummy/tmp/cache/assets/test/sprockets/a1832984208c42e9a47980b4d6ac2dc9
360
+ - spec/dummy/tmp/cache/assets/test/sprockets/a1e86c22b2e6cfbcdf9d68792bcedb7f
361
+ - spec/dummy/tmp/cache/assets/test/sprockets/ad62c91ea509a5e8e4caf11c4922f392
362
+ - spec/dummy/tmp/cache/assets/test/sprockets/b06ccd7385c6bd56ee7c6562a97e6b85
363
+ - spec/dummy/tmp/cache/assets/test/sprockets/b2f5b7fb5cbed27d897a0368d4a6d5d2
364
+ - spec/dummy/tmp/cache/assets/test/sprockets/b7505543b40b8ab466e9efe586d95346
365
+ - spec/dummy/tmp/cache/assets/test/sprockets/bab4140b592b87efaf49c7bf60598425
366
+ - spec/dummy/tmp/cache/assets/test/sprockets/baf8b56ddb9ca0245e093e29ade35c0a
367
+ - spec/dummy/tmp/cache/assets/test/sprockets/be3cf8499757ed7678ee0a25d4aa3112
368
+ - spec/dummy/tmp/cache/assets/test/sprockets/be5b781b3de58aa915133b4d41b76a0b
369
+ - spec/dummy/tmp/cache/assets/test/sprockets/c0fc05e9c36943a5437ef516f58ebcd8
370
+ - spec/dummy/tmp/cache/assets/test/sprockets/cb78e79ec2dd8bccf18927386de178ae
371
+ - spec/dummy/tmp/cache/assets/test/sprockets/d2b5bbda0041b5ef56873dc8941d5ad9
372
+ - spec/dummy/tmp/cache/assets/test/sprockets/dcc163a0f3096123d374f5632ad48d4b
373
+ - spec/dummy/tmp/cache/assets/test/sprockets/df7b2d1131b58c69eef783a1ab4be24e
374
+ - spec/dummy/tmp/cache/assets/test/sprockets/e1f5e19236dcdd3e73c8b8dedb8e3daf
375
+ - spec/dummy/tmp/cache/assets/test/sprockets/e57bae9b7a4c75c1d0c2a3e1c1aae160
376
+ - spec/dummy/tmp/cache/assets/test/sprockets/e63e2d8b377101ea8de761b46eb0f50f
377
+ - spec/dummy/tmp/cache/assets/test/sprockets/ea25d11b296786fb90debfd6972d97d8
378
+ - spec/dummy/tmp/cache/assets/test/sprockets/ec5a73c71a7a240d83eab2b121328bcd
379
+ - spec/dummy/tmp/cache/assets/test/sprockets/efd49fd3ad186d8dce200e0ca411e35d
380
+ - spec/dummy/tmp/cache/assets/test/sprockets/f35adec61f96a28e6d188caddee1fd4b
381
+ - spec/dummy/tmp/cache/assets/test/sprockets/f5855ddab883d0ee58146d0369cc8227
382
+ - spec/dummy/tmp/cache/assets/test/sprockets/f58cd07201e2fffd12f2e1829869c350
383
+ - spec/dummy/tmp/cache/assets/test/sprockets/f657dcaacbf72b65af3abd6b22bf68b3
384
+ - spec/dummy/tmp/cache/assets/test/sprockets/f91592d9720c5a81657c3198d7d525ac
106
385
  - spec/fixtures/snippet_template.radius
107
386
  - spec/lib/radiant/admin_ui_spec.rb
108
387
  - spec/models/page_spec.rb
109
388
  - spec/models/snippet_finder_spec.rb
110
389
  - spec/models/snippet_spec.rb
111
390
  - spec/models/user_action_observer_spec.rb
112
- - spec/snippets_spec_helper.rb
391
+ - spec/rails_helper.rb
113
392
  - spec/spec.opts
393
+ - spec/spec_helper.rb
114
394
  - features/admin/configuration.feature
115
395
  - features/admin/pagination.feature
116
396
  - features/admin/snippets_management.feature
@@ -1,22 +0,0 @@
1
- git clone git://github.com/radiant/radiant.git test_app
2
- cd test_app
3
-
4
- if [[ $RADIANT_VERSION != "master" ]]
5
- then
6
- git checkout -t origin/$RADIANT_VERSION
7
- fi
8
- gem install bundler --pre
9
- echo 'gemspec' >> Gemfile
10
- echo 'gem "radiant-snippets-extension", :path => ".."' >> 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
data/spec/ci/script DELETED
@@ -1,2 +0,0 @@
1
- cd test_app
2
- bundle exec rake spec:extensions EXT=snippets
@@ -1,36 +0,0 @@
1
- unless defined? RADIANT_ROOT
2
- ENV["RAILS_ENV"] = "test"
3
- case
4
- when ENV["RADIANT_ENV_FILE"]
5
- require ENV["RADIANT_ENV_FILE"]
6
- when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
7
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../../")}/config/environment"
8
- else
9
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment"
10
- end
11
- end
12
- require "#{RADIANT_ROOT}/spec/spec_helper"
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.
36
- end