solidus_static_content 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +35 -0
- data/.gem_release.yml +5 -0
- data/.gitignore +17 -6
- data/.rspec +2 -3
- data/.rubocop.yml +2 -0
- data/CHANGELOG.md +80 -0
- data/Gemfile +26 -6
- data/{LICENSE.md → LICENSE} +0 -0
- data/README.md +81 -68
- data/Rakefile +4 -13
- data/app/assets/stylesheets/spree/frontend/solidus_static_content.css +7 -0
- data/app/assets/stylesheets/spree/frontend/spree_static_content.css +2 -7
- data/app/models/solidus_static_content/permission_sets/page_display.rb +11 -0
- data/app/models/solidus_static_content/permission_sets/page_management.rb +11 -0
- data/app/models/spree/page.rb +16 -21
- data/bin/console +17 -0
- data/bin/r +8 -0
- data/bin/rails +6 -6
- data/bin/rails-engine +13 -0
- data/bin/rails-sandbox +16 -0
- data/bin/rake +7 -0
- data/bin/sandbox +84 -0
- data/bin/sandbox_rails +8 -0
- data/bin/setup +8 -0
- data/config/locales/de.yml +7 -5
- data/config/locales/en.yml +9 -7
- data/config/locales/es-MX.yml +38 -0
- data/config/locales/es.yml +6 -5
- data/config/locales/et.yml +6 -5
- data/config/locales/fr.yml +7 -5
- data/config/locales/it.yml +6 -5
- data/config/locales/nl.yml +7 -5
- data/config/locales/pl.yml +6 -5
- data/config/locales/pt-BR.yml +6 -5
- data/config/locales/pt.yml +7 -5
- data/config/locales/ro.yml +11 -9
- data/config/locales/ru.yml +7 -5
- data/config/locales/sv.yml +7 -5
- data/config/routes.rb +9 -2
- data/db/migrate/20081216193152_create_pages.rb +1 -1
- data/db/migrate/20090625125735_extend_pages.rb +1 -1
- data/db/migrate/20090814113100_add_visible_to_pages.rb +1 -1
- data/db/migrate/20090814142845_add_default_true_to_visible_for_page.rb +1 -1
- data/db/migrate/20090829000527_add_index_for_page.rb +1 -1
- data/db/migrate/20091219021134_add_meta_fields_to_pages.rb +1 -1
- data/db/migrate/20100204105222_add_layout_to_pages.rb +1 -1
- data/db/migrate/20100323085528_add_show_in_sidebar_option_to_pages.rb +1 -1
- data/db/migrate/20110717103112_add_meta_title_to_page.rb +1 -1
- data/db/migrate/20120723144115_add_render_as_partial_for_layout_for_spree_pages.rb +1 -1
- data/db/migrate/20140926121757_add_pages_stores.rb +1 -1
- data/db/migrate/20180305193240_update_spree_page_position.rb +13 -0
- data/lib/controllers/backend/spree/admin/pages_controller.rb +16 -0
- data/{app/controllers → lib/controllers/frontend}/spree/static_content_controller.rb +7 -3
- data/lib/generators/solidus_static_content/install/install_generator.rb +7 -5
- data/lib/solidus_static_content.rb +6 -18
- data/lib/solidus_static_content/engine.rb +35 -0
- data/lib/solidus_static_content/factories.rb +18 -0
- data/lib/solidus_static_content/route_matcher.rb +11 -0
- data/lib/solidus_static_content/version.rb +5 -0
- data/lib/views/backend/spree/admin/pages/_form.html.erb +119 -0
- data/lib/views/backend/spree/admin/pages/edit.html.erb +32 -0
- data/lib/views/backend/spree/admin/pages/index.html.erb +68 -0
- data/lib/views/backend/spree/admin/pages/new.html.erb +31 -0
- data/lib/views/backend/spree/admin/shared/_pages_tabs.html.erb +9 -0
- data/{app/views → lib/views/frontend}/spree/static_content/_static_content_footer.html.erb +0 -0
- data/{app/views → lib/views/frontend}/spree/static_content/_static_content_header.html.erb +0 -0
- data/{app/views → lib/views/frontend}/spree/static_content/_static_content_list.html.erb +0 -0
- data/{app/views → lib/views/frontend}/spree/static_content/_static_content_sidebar.html.erb +1 -1
- data/lib/views/frontend/spree/static_content/show.html.erb +18 -0
- data/solidus_static_content.gemspec +36 -31
- data/spec/controllers/spree/admin/pages_controller_spec.rb +11 -0
- data/spec/controllers/{static_content_controller_spec.rb → spree/static_content_controller_spec.rb} +9 -12
- data/spec/features/{admin → spree/admin}/pages_spec.rb +8 -5
- data/spec/features/{static_content_spec.rb → spree/static_content_spec.rb} +6 -4
- data/spec/helpers/{page_helper_spec.rb → spree/page_helper_spec.rb} +0 -0
- data/spec/lib/solidus_static_content/engine_spec.rb +14 -0
- data/spec/lib/{spree_static.content_spec.rb → solidus_static_content/route_matcher_spec.rb} +4 -13
- data/spec/models/{page_spec.rb → spree/page_spec.rb} +22 -7
- data/spec/spec_helper.rb +17 -40
- metadata +85 -177
- data/.travis.yml +0 -21
- data/app/assets/javascripts/spree/backend/spree_static_content.js +0 -1
- data/app/assets/javascripts/spree/frontend/spree_static_content.js +0 -1
- data/app/assets/stylesheets/spree/backend/spree_static_content.css +0 -3
- data/app/controllers/spree/admin/pages_controller.rb +0 -3
- data/app/overrides/pages_in_menu.rb +0 -5
- data/app/views/spree/admin/pages/_form.html.erb +0 -98
- data/app/views/spree/admin/pages/edit.html.erb +0 -18
- data/app/views/spree/admin/pages/index.html.erb +0 -51
- data/app/views/spree/admin/pages/new.html.erb +0 -18
- data/app/views/spree/static_content/show.html.erb +0 -26
- data/lib/spree_static_content/engine.rb +0 -17
- data/spec/factories/page_factory.rb +0 -18
data/spec/spec_helper.rb
CHANGED
@@ -1,50 +1,27 @@
|
|
1
|
-
|
2
|
-
SimpleCov.start 'rails'
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
|
3
|
+
# Configure Rails Environment
|
4
|
+
ENV['RAILS_ENV'] = 'test'
|
5
5
|
|
6
|
-
|
6
|
+
# Run Coverage report
|
7
|
+
require 'solidus_dev_support/rspec/coverage'
|
7
8
|
|
8
|
-
require '
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
require 'capybara/rails'
|
13
|
-
require 'capybara/poltergeist'
|
9
|
+
require File.expand_path('dummy/config/environment.rb', __dir__).tap { |file|
|
10
|
+
# Create the dummy app if it's still missing.
|
11
|
+
system 'bin/rake extension:test_app' unless File.exist? file
|
12
|
+
}
|
14
13
|
|
15
|
-
|
14
|
+
# Requires factories and other useful helpers defined in spree_core.
|
15
|
+
require 'solidus_dev_support/rspec/feature_helper'
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
require 'spree/testing_support/authorization_helpers'
|
21
|
-
require 'spree/testing_support/capybara_ext'
|
17
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
18
|
+
# in spec/support/ and its subdirectories.
|
19
|
+
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
|
22
20
|
|
23
|
-
|
21
|
+
# Requires factories defined in lib/solidus_static_content/factories.rb
|
22
|
+
require 'solidus_static_content/factories'
|
24
23
|
|
25
24
|
RSpec.configure do |config|
|
26
|
-
config.
|
25
|
+
config.infer_spec_type_from_file_location!
|
27
26
|
config.use_transactional_fixtures = false
|
28
|
-
|
29
|
-
config.include Spree::TestingSupport::ControllerRequests, type: :controller
|
30
|
-
config.include Spree::TestingSupport::UrlHelpers
|
31
|
-
config.include FactoryGirl::Syntax::Methods
|
32
|
-
|
33
|
-
config.extend Spree::TestingSupport::AuthorizationHelpers::Request, type: :feature
|
34
|
-
|
35
|
-
config.before(:suite) do
|
36
|
-
DatabaseCleaner.strategy = :transaction
|
37
|
-
DatabaseCleaner.clean_with(:truncation)
|
38
|
-
end
|
39
|
-
|
40
|
-
config.before(:each) do
|
41
|
-
DatabaseCleaner.strategy = RSpec.current_example.metadata[:js] ? :truncation : :transaction
|
42
|
-
DatabaseCleaner.start
|
43
|
-
end
|
44
|
-
|
45
|
-
config.after(:each) do
|
46
|
-
DatabaseCleaner.clean
|
47
|
-
end
|
48
|
-
|
49
|
-
Capybara.javascript_driver = :poltergeist
|
50
27
|
end
|
metadata
CHANGED
@@ -1,178 +1,66 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_static_content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Berkenbosch
|
8
8
|
- Roman Smirnov
|
9
|
-
autorequire:
|
10
|
-
bindir:
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: solidus
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ">="
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '1.1'
|
21
|
-
- - "<"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: '3'
|
24
|
-
type: :runtime
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
requirements:
|
28
|
-
- - ">="
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: '1.1'
|
31
|
-
- - "<"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3'
|
34
14
|
- !ruby/object:Gem::Dependency
|
35
15
|
name: deface
|
36
16
|
requirement: !ruby/object:Gem::Requirement
|
37
17
|
requirements:
|
38
18
|
- - "~>"
|
39
19
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0
|
20
|
+
version: '1.0'
|
41
21
|
type: :runtime
|
42
22
|
prerelease: false
|
43
23
|
version_requirements: !ruby/object:Gem::Requirement
|
44
24
|
requirements:
|
45
25
|
- - "~>"
|
46
26
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.0
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: capybara
|
50
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2.7'
|
55
|
-
type: :development
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.7'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: factory_girl
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '4.7'
|
69
|
-
type: :development
|
70
|
-
prerelease: false
|
71
|
-
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '4.7'
|
27
|
+
version: '1.0'
|
76
28
|
- !ruby/object:Gem::Dependency
|
77
|
-
name:
|
29
|
+
name: solidus_core
|
78
30
|
requirement: !ruby/object:Gem::Requirement
|
79
31
|
requirements:
|
80
32
|
- - ">="
|
81
33
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: database_cleaner
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.5'
|
97
|
-
type: :development
|
98
|
-
prerelease: false
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.5'
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: rspec-rails
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '3.5'
|
111
|
-
type: :development
|
112
|
-
prerelease: false
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '3.5'
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: sqlite3
|
120
|
-
requirement: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
34
|
+
version: 2.0.0
|
35
|
+
- - "<"
|
123
36
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
125
|
-
type: :
|
37
|
+
version: '3'
|
38
|
+
type: :runtime
|
126
39
|
prerelease: false
|
127
40
|
version_requirements: !ruby/object:Gem::Requirement
|
128
41
|
requirements:
|
129
|
-
- - "
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '1.3'
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
|
-
name: poltergeist
|
134
|
-
requirement: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
42
|
+
- - ">="
|
137
43
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
139
|
-
|
140
|
-
prerelease: false
|
141
|
-
version_requirements: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
44
|
+
version: 2.0.0
|
45
|
+
- - "<"
|
144
46
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
47
|
+
version: '3'
|
146
48
|
- !ruby/object:Gem::Dependency
|
147
|
-
name:
|
49
|
+
name: solidus_support
|
148
50
|
requirement: !ruby/object:Gem::Requirement
|
149
51
|
requirements:
|
150
52
|
- - "~>"
|
151
53
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0.
|
153
|
-
type: :
|
54
|
+
version: '0.5'
|
55
|
+
type: :runtime
|
154
56
|
prerelease: false
|
155
57
|
version_requirements: !ruby/object:Gem::Requirement
|
156
58
|
requirements:
|
157
59
|
- - "~>"
|
158
60
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0.
|
160
|
-
- !ruby/object:Gem::Dependency
|
161
|
-
name: pry-rails
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
type: :development
|
168
|
-
prerelease: false
|
169
|
-
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
61
|
+
version: '0.5'
|
174
62
|
- !ruby/object:Gem::Dependency
|
175
|
-
name:
|
63
|
+
name: solidus_dev_support
|
176
64
|
requirement: !ruby/object:Gem::Requirement
|
177
65
|
requirements:
|
178
66
|
- - ">="
|
@@ -185,44 +73,45 @@ dependencies:
|
|
185
73
|
- - ">="
|
186
74
|
- !ruby/object:Gem::Version
|
187
75
|
version: '0'
|
188
|
-
description:
|
76
|
+
description: Manage the static pages of your Solidus store or replace existing pages
|
77
|
+
with a static version
|
189
78
|
email: peter@pero-ict.nl
|
190
79
|
executables: []
|
191
80
|
extensions: []
|
192
81
|
extra_rdoc_files: []
|
193
82
|
files:
|
83
|
+
- ".circleci/config.yml"
|
84
|
+
- ".gem_release.yml"
|
194
85
|
- ".gitignore"
|
195
86
|
- ".rspec"
|
196
|
-
- ".
|
87
|
+
- ".rubocop.yml"
|
88
|
+
- CHANGELOG.md
|
197
89
|
- Gemfile
|
198
90
|
- Guardfile
|
199
|
-
- LICENSE
|
91
|
+
- LICENSE
|
200
92
|
- README.md
|
201
93
|
- Rakefile
|
202
|
-
- app/assets/
|
203
|
-
- app/assets/javascripts/spree/frontend/spree_static_content.js
|
204
|
-
- app/assets/stylesheets/spree/backend/spree_static_content.css
|
94
|
+
- app/assets/stylesheets/spree/frontend/solidus_static_content.css
|
205
95
|
- app/assets/stylesheets/spree/frontend/spree_static_content.css
|
206
|
-
- app/controllers/spree/admin/pages_controller.rb
|
207
|
-
- app/controllers/spree/static_content_controller.rb
|
208
96
|
- app/helpers/spree/pages_helper.rb
|
97
|
+
- app/models/solidus_static_content/permission_sets/page_display.rb
|
98
|
+
- app/models/solidus_static_content/permission_sets/page_management.rb
|
209
99
|
- app/models/spree/page.rb
|
210
100
|
- app/overrides/pages_in_footer.rb
|
211
101
|
- app/overrides/pages_in_header.rb
|
212
|
-
- app/overrides/pages_in_menu.rb
|
213
102
|
- app/overrides/pages_in_sidebar.rb
|
214
|
-
-
|
215
|
-
-
|
216
|
-
- app/views/spree/admin/pages/index.html.erb
|
217
|
-
- app/views/spree/admin/pages/new.html.erb
|
218
|
-
- app/views/spree/static_content/_static_content_footer.html.erb
|
219
|
-
- app/views/spree/static_content/_static_content_header.html.erb
|
220
|
-
- app/views/spree/static_content/_static_content_list.html.erb
|
221
|
-
- app/views/spree/static_content/_static_content_sidebar.html.erb
|
222
|
-
- app/views/spree/static_content/show.html.erb
|
103
|
+
- bin/console
|
104
|
+
- bin/r
|
223
105
|
- bin/rails
|
106
|
+
- bin/rails-engine
|
107
|
+
- bin/rails-sandbox
|
108
|
+
- bin/rake
|
109
|
+
- bin/sandbox
|
110
|
+
- bin/sandbox_rails
|
111
|
+
- bin/setup
|
224
112
|
- config/locales/de.yml
|
225
113
|
- config/locales/en.yml
|
114
|
+
- config/locales/es-MX.yml
|
226
115
|
- config/locales/es.yml
|
227
116
|
- config/locales/et.yml
|
228
117
|
- config/locales/fr.yml
|
@@ -246,49 +135,68 @@ files:
|
|
246
135
|
- db/migrate/20110717103112_add_meta_title_to_page.rb
|
247
136
|
- db/migrate/20120723144115_add_render_as_partial_for_layout_for_spree_pages.rb
|
248
137
|
- db/migrate/20140926121757_add_pages_stores.rb
|
138
|
+
- db/migrate/20180305193240_update_spree_page_position.rb
|
139
|
+
- lib/controllers/backend/spree/admin/pages_controller.rb
|
140
|
+
- lib/controllers/frontend/spree/static_content_controller.rb
|
249
141
|
- lib/generators/solidus_static_content/install/install_generator.rb
|
250
142
|
- lib/solidus_static_content.rb
|
251
|
-
- lib/
|
143
|
+
- lib/solidus_static_content/engine.rb
|
144
|
+
- lib/solidus_static_content/factories.rb
|
145
|
+
- lib/solidus_static_content/route_matcher.rb
|
146
|
+
- lib/solidus_static_content/version.rb
|
147
|
+
- lib/views/backend/spree/admin/pages/_form.html.erb
|
148
|
+
- lib/views/backend/spree/admin/pages/edit.html.erb
|
149
|
+
- lib/views/backend/spree/admin/pages/index.html.erb
|
150
|
+
- lib/views/backend/spree/admin/pages/new.html.erb
|
151
|
+
- lib/views/backend/spree/admin/shared/_pages_tabs.html.erb
|
152
|
+
- lib/views/frontend/spree/static_content/_static_content_footer.html.erb
|
153
|
+
- lib/views/frontend/spree/static_content/_static_content_header.html.erb
|
154
|
+
- lib/views/frontend/spree/static_content/_static_content_list.html.erb
|
155
|
+
- lib/views/frontend/spree/static_content/_static_content_sidebar.html.erb
|
156
|
+
- lib/views/frontend/spree/static_content/show.html.erb
|
252
157
|
- solidus_static_content.gemspec
|
253
|
-
- spec/controllers/
|
254
|
-
- spec/
|
255
|
-
- spec/features/admin/pages_spec.rb
|
256
|
-
- spec/features/static_content_spec.rb
|
257
|
-
- spec/helpers/page_helper_spec.rb
|
258
|
-
- spec/lib/
|
259
|
-
- spec/
|
158
|
+
- spec/controllers/spree/admin/pages_controller_spec.rb
|
159
|
+
- spec/controllers/spree/static_content_controller_spec.rb
|
160
|
+
- spec/features/spree/admin/pages_spec.rb
|
161
|
+
- spec/features/spree/static_content_spec.rb
|
162
|
+
- spec/helpers/spree/page_helper_spec.rb
|
163
|
+
- spec/lib/solidus_static_content/engine_spec.rb
|
164
|
+
- spec/lib/solidus_static_content/route_matcher_spec.rb
|
165
|
+
- spec/models/spree/page_spec.rb
|
260
166
|
- spec/spec_helper.rb
|
261
|
-
homepage:
|
167
|
+
homepage: https://github.com/solidusio-contrib/solidus_static_content#readme
|
262
168
|
licenses:
|
263
|
-
- BSD-3
|
264
|
-
metadata:
|
265
|
-
|
169
|
+
- BSD-3-Clause
|
170
|
+
metadata:
|
171
|
+
homepage_uri: https://github.com/solidusio-contrib/solidus_static_content#readme
|
172
|
+
source_code_uri: https://github.com/solidusio-contrib/solidus_static_content#readme
|
173
|
+
changelog_uri: https://github.com/solidusio-contrib/solidus_static_content/releases
|
174
|
+
post_install_message:
|
266
175
|
rdoc_options: []
|
267
176
|
require_paths:
|
268
177
|
- lib
|
269
178
|
required_ruby_version: !ruby/object:Gem::Requirement
|
270
179
|
requirements:
|
271
|
-
- - "
|
180
|
+
- - "~>"
|
272
181
|
- !ruby/object:Gem::Version
|
273
|
-
version:
|
182
|
+
version: '2.5'
|
274
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
275
184
|
requirements:
|
276
185
|
- - ">="
|
277
186
|
- !ruby/object:Gem::Version
|
278
187
|
version: '0'
|
279
|
-
requirements:
|
280
|
-
|
281
|
-
|
282
|
-
rubygems_version: 2.5.1
|
283
|
-
signing_key:
|
188
|
+
requirements: []
|
189
|
+
rubygems_version: 3.0.8
|
190
|
+
signing_key:
|
284
191
|
specification_version: 4
|
285
|
-
summary:
|
192
|
+
summary: Extension to manage the static pages for your Solidus store.
|
286
193
|
test_files:
|
287
|
-
- spec/controllers/
|
288
|
-
- spec/
|
289
|
-
- spec/features/admin/pages_spec.rb
|
290
|
-
- spec/features/static_content_spec.rb
|
291
|
-
- spec/helpers/page_helper_spec.rb
|
292
|
-
- spec/lib/
|
293
|
-
- spec/
|
194
|
+
- spec/controllers/spree/admin/pages_controller_spec.rb
|
195
|
+
- spec/controllers/spree/static_content_controller_spec.rb
|
196
|
+
- spec/features/spree/admin/pages_spec.rb
|
197
|
+
- spec/features/spree/static_content_spec.rb
|
198
|
+
- spec/helpers/spree/page_helper_spec.rb
|
199
|
+
- spec/lib/solidus_static_content/engine_spec.rb
|
200
|
+
- spec/lib/solidus_static_content/route_matcher_spec.rb
|
201
|
+
- spec/models/spree/page_spec.rb
|
294
202
|
- spec/spec_helper.rb
|
data/.travis.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
before_script:
|
2
|
-
- "bundle exec rake test_app"
|
3
|
-
script: "bundle exec rspec spec"
|
4
|
-
sudo: false
|
5
|
-
language: ruby
|
6
|
-
rvm:
|
7
|
-
- 2.3.1
|
8
|
-
env:
|
9
|
-
matrix:
|
10
|
-
- SOLIDUS_BRANCH=v1.1 DB=postgres
|
11
|
-
- SOLIDUS_BRANCH=v1.2 DB=postgres
|
12
|
-
- SOLIDUS_BRANCH=v1.3 DB=postgres
|
13
|
-
- SOLIDUS_BRANCH=v1.4 DB=postgres
|
14
|
-
- SOLIDUS_BRANCH=v2.0 DB=postgres
|
15
|
-
- SOLIDUS_BRANCH=master DB=postgres
|
16
|
-
- SOLIDUS_BRANCH=v1.1 DB=mysql
|
17
|
-
- SOLIDUS_BRANCH=v1.2 DB=mysql
|
18
|
-
- SOLIDUS_BRANCH=v1.3 DB=mysql
|
19
|
-
- SOLIDUS_BRANCH=v1.4 DB=mysql
|
20
|
-
- SOLIDUS_BRANCH=v2.0 DB=mysql
|
21
|
-
- SOLIDUS_BRANCH=master DB=mysql
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require spree/backend
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require spree/frontend
|