solidus_slider 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +1 -0
- data/.rvmrc +1 -0
- data/Gemfile +26 -0
- data/LICENSE +26 -0
- data/README.md +61 -0
- data/README.textile +71 -0
- data/Rakefile +21 -0
- data/Versionfile +5 -0
- data/app/assets/javascripts/spree/backend/slide_location_picker.js +53 -0
- data/app/assets/javascripts/spree/backend/solidus_slider.js +1 -0
- data/app/controllers/spree/admin/slide_locations_controller.rb +19 -0
- data/app/controllers/spree/admin/slides_controller.rb +57 -0
- data/app/models/spree/product_decorator.rb +8 -0
- data/app/models/spree/slide.rb +49 -0
- data/app/models/spree/slide_location.rb +8 -0
- data/app/models/spree/slide_slide_location.rb +8 -0
- data/app/overrides/spree/admin/configurations/index/add_slides_to_admin_configurations_menu.html.erb.deface +11 -0
- data/app/overrides/spree/admin/shared/_configuration_menu/add_slide_locations_to_admin_configurations_sidebar_menu.html.erb.deface +3 -0
- data/app/overrides/spree/admin/shared/_configuration_menu/add_slides_to_admin_configurations_sidebar_menu.html.erb.deface +3 -0
- data/app/overrides/spree/home/index/add_slider.html.erb.deface +5 -0
- data/app/overrides/spree/shared/_header/add_slider.html.erb.deface +3 -0
- data/app/views/spree/admin/slide_locations/_form.html.erb +10 -0
- data/app/views/spree/admin/slide_locations/edit.html.erb +18 -0
- data/app/views/spree/admin/slide_locations/index.html.erb +40 -0
- data/app/views/spree/admin/slide_locations/new.html.erb +16 -0
- data/app/views/spree/admin/slide_locations/search.json.jbuilder +4 -0
- data/app/views/spree/admin/slides/_form.html.erb +70 -0
- data/app/views/spree/admin/slides/edit.html.erb +23 -0
- data/app/views/spree/admin/slides/index.html.erb +50 -0
- data/app/views/spree/admin/slides/new.html.erb +18 -0
- data/app/views/spree/admin/slides/show.html.erb +54 -0
- data/app/views/spree/shared/_slider.html.erb +19 -0
- data/bin/rails +7 -0
- data/config/locales/de.yml +27 -0
- data/config/locales/en.yml +28 -0
- data/config/locales/es-MX.yml +33 -0
- data/config/locales/es.yml +27 -0
- data/config/locales/nl-NL.yml +27 -0
- data/config/locales/nl.yml +27 -0
- data/config/locales/pl.yml +29 -0
- data/config/locales/pt-BR.yml +36 -0
- data/config/locales/ru.yml +27 -0
- data/config/routes.rb +15 -0
- data/db/migrate/20120222184238_create_slides.rb +16 -0
- data/db/migrate/20120816192758_add_position_to_slides.rb +5 -0
- data/db/migrate/20121219124126_add_product_id_to_slides.rb +5 -0
- data/db/migrate/20150611113500_create_slider_location.rb +8 -0
- data/db/migrate/20160214061128_add_show_caption_to_slides.rb +5 -0
- data/db/migrate/20180113010348_create_spree_slide_slide_locations_table.rb +10 -0
- data/lib/generators/solidus_slider/install/install_generator.rb +24 -0
- data/lib/generators/solidus_slider/install_anything_generator.rb +31 -0
- data/lib/generators/solidus_slider/install_nivo_generator.rb +34 -0
- data/lib/generators/solidus_slider/install_simple_carousel_generator.rb +30 -0
- data/lib/generators/solidus_slider/templates/anything_slider.html.erb +23 -0
- data/lib/generators/solidus_slider/templates/nivo_slider.html.erb +37 -0
- data/lib/generators/solidus_slider/templates/simple_carousel_slider.html.erb +15 -0
- data/lib/solidus_slider.rb +4 -0
- data/lib/solidus_slider/engine.rb +22 -0
- data/lib/solidus_slider/version.rb +3 -0
- data/solidus_slider.gemspec +55 -0
- data/spec/spec_helper.rb +21 -0
- metadata +550 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
<% if Spree::Slide.published.count > 0 %>
|
2
|
+
<style type="text/css">
|
3
|
+
.theme-default #slider {
|
4
|
+
margin:0 auto 0 auto;
|
5
|
+
width:618px; /* Make sure your images are the same size */
|
6
|
+
height:246px; /* Make sure your images are the same size */
|
7
|
+
}
|
8
|
+
.slider-wrapper {
|
9
|
+
margin:0 auto 50px auto;
|
10
|
+
}
|
11
|
+
</style>
|
12
|
+
|
13
|
+
<div class="slider-wrapper theme-default">
|
14
|
+
<div class="ribbon"></div>
|
15
|
+
<div id="slider" class="nivoSlider">
|
16
|
+
<% Spree::Slide.published.order('position ASC').each do |s| %>
|
17
|
+
<% if s.body != "" %>
|
18
|
+
<%= link_to image_tag(s.slide_image.url, :title => '#' + s.slide_name.to_url), url_for(s.slide_link) %>
|
19
|
+
<% else %>
|
20
|
+
<%= link_to image_tag(s.slide_image.url), url_for(s.slide_link) %>
|
21
|
+
<% end %>
|
22
|
+
<% end %>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<% Spree::Slide.published.order('position ASC').each do |s| %>
|
26
|
+
<div id='<%= s.slide_name.to_url %>' class='nivo-html-caption'>
|
27
|
+
<%= s.body.html_safe %>
|
28
|
+
</div>
|
29
|
+
<% end %>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<script type="text/javascript">
|
33
|
+
$(window).load(function() {
|
34
|
+
$('#slider').nivoSlider();
|
35
|
+
});
|
36
|
+
</script>
|
37
|
+
<% end %>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<% if Spree::Slide.published.count > 0 %>
|
2
|
+
<section id="slideshow">
|
3
|
+
<ul class="slider regular">
|
4
|
+
<% Spree::Slide.published.order('position ASC').each do |s| %>
|
5
|
+
<li>
|
6
|
+
<h1><%= s.slide_name %></h1>
|
7
|
+
<%= link_to image_tag(s.slide_image.url, :title => s.slide_name.to_url), url_for(s.slide_link) %>
|
8
|
+
</li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
|
12
|
+
<a title="<%= t(:previous) %>" class="slider-prev"><%= t(:previous)%></a>
|
13
|
+
<a title="<%= t(:next) %>" class="slider-next"><%= t(:next) %></a>
|
14
|
+
</section>
|
15
|
+
<% end %>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module SolidusSlider
|
2
|
+
class Engine < Rails::Engine
|
3
|
+
require 'spree/core'
|
4
|
+
isolate_namespace Spree
|
5
|
+
engine_name 'solidus_slider'
|
6
|
+
|
7
|
+
config.autoload_paths += %W(#{config.root}/lib)
|
8
|
+
|
9
|
+
# use rspec for tests
|
10
|
+
config.generators do |g|
|
11
|
+
g.test_framework :rspec
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.activate
|
15
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c|
|
16
|
+
Rails.configuration.cache_classes ? require(c) : load(c)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
config.to_prepare &method(:activate).to_proc
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
3
|
+
|
4
|
+
# Maintain your gem's version:
|
5
|
+
require 'solidus_slider/version'
|
6
|
+
|
7
|
+
# Describe your gem and declare its dependencies:
|
8
|
+
Gem::Specification.new do |s|
|
9
|
+
s.name = 'solidus_slider'
|
10
|
+
s.version = SolidusSlider::VERSION
|
11
|
+
s.authors = ['Giuseppe Privitera', 'Jonathan Tapia']
|
12
|
+
s.email = 'jonathan.tapia@magmalabs.io'
|
13
|
+
s.homepage = 'https://github.com/jtapia/solidus_slider'
|
14
|
+
s.summary = 'Spree Slider extension'
|
15
|
+
s.description = 'Adds a slider to the homepage'
|
16
|
+
|
17
|
+
# s.files = Dir['{app,config,models,db,lib}/**/*'] + %w(MIT-LICENSE Rakefile README.md)
|
18
|
+
s.files = `git ls-files`.split("\n")
|
19
|
+
s.require_path = 'lib'
|
20
|
+
s.requirements << 'none'
|
21
|
+
|
22
|
+
solidus_version = ['>= 1.0', '< 3']
|
23
|
+
s.add_dependency 'solidus_core', solidus_version
|
24
|
+
s.add_dependency 'solidus_backend', solidus_version
|
25
|
+
s.add_dependency 'solidus_api', solidus_version
|
26
|
+
s.add_dependency 'solidus_support'
|
27
|
+
s.add_dependency 'rabl', '0.13.1'
|
28
|
+
s.add_dependency 'responders'
|
29
|
+
s.add_dependency 'jbuilder', '~> 2.6'
|
30
|
+
s.add_dependency 'kaminari', '>= 0.17', '< 2.0'
|
31
|
+
|
32
|
+
s.add_development_dependency 'coffee-rails'
|
33
|
+
s.add_development_dependency 'sass-rails'
|
34
|
+
s.add_development_dependency 'byebug'
|
35
|
+
s.add_development_dependency 'pry'
|
36
|
+
s.add_development_dependency 'database_cleaner'
|
37
|
+
s.add_development_dependency 'factory_bot'
|
38
|
+
s.add_development_dependency 'factory_bot_rails'
|
39
|
+
s.add_development_dependency 'ffaker'
|
40
|
+
s.add_development_dependency 'poltergeist'
|
41
|
+
s.add_development_dependency 'rubocop'
|
42
|
+
s.add_development_dependency 'rspec-rails'
|
43
|
+
s.add_development_dependency 'simplecov'
|
44
|
+
s.add_development_dependency 'capybara'
|
45
|
+
s.add_development_dependency 'capybara-webkit'
|
46
|
+
s.add_development_dependency 'capybara-screenshot'
|
47
|
+
s.add_development_dependency 'selenium-webdriver'
|
48
|
+
s.add_development_dependency 'chromedriver-helper'
|
49
|
+
s.add_development_dependency 'rspec-activemodel-mocks'
|
50
|
+
s.add_development_dependency 'vcr'
|
51
|
+
s.add_development_dependency 'webmock'
|
52
|
+
s.add_development_dependency 'rb-fsevent'
|
53
|
+
s.add_development_dependency 'growl'
|
54
|
+
end
|
55
|
+
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
ENV["RAILS_ENV"] ||= 'test'
|
2
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
3
|
+
require 'rspec/rails'
|
4
|
+
|
5
|
+
# Requires supporting files with custom matchers and macros, etc,
|
6
|
+
# in ./support/ and its subdirectories.
|
7
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
8
|
+
|
9
|
+
require 'spree/core/testing_support/factories'
|
10
|
+
require 'spree/core/testing_support/env'
|
11
|
+
require 'spree/core/testing_support/controller_requests'
|
12
|
+
require 'spree/core/url_helpers'
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
config.mock_with :rspec
|
16
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
17
|
+
config.use_transactional_fixtures = true
|
18
|
+
|
19
|
+
config.include Spree::Core::TestingSupport::ControllerRequests
|
20
|
+
config.include Devise::TestHelpers, :type => :controller
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,550 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: solidus_slider
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1.0'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Giuseppe Privitera
|
8
|
+
- Jonathan Tapia
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2018-01-13 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: solidus_core
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.0'
|
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.0'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: solidus_backend
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '1.0'
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: solidus_api
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '1.0'
|
61
|
+
- - "<"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '3'
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.0'
|
71
|
+
- - "<"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '3'
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: solidus_support
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
type: :runtime
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
- !ruby/object:Gem::Dependency
|
89
|
+
name: rabl
|
90
|
+
requirement: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - '='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 0.13.1
|
95
|
+
type: :runtime
|
96
|
+
prerelease: false
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - '='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.13.1
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: responders
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0'
|
109
|
+
type: :runtime
|
110
|
+
prerelease: false
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: jbuilder
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - "~>"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '2.6'
|
123
|
+
type: :runtime
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '2.6'
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
name: kaminari
|
132
|
+
requirement: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0.17'
|
137
|
+
- - "<"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '2.0'
|
140
|
+
type: :runtime
|
141
|
+
prerelease: false
|
142
|
+
version_requirements: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0.17'
|
147
|
+
- - "<"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '2.0'
|
150
|
+
- !ruby/object:Gem::Dependency
|
151
|
+
name: coffee-rails
|
152
|
+
requirement: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
type: :development
|
158
|
+
prerelease: false
|
159
|
+
version_requirements: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
- !ruby/object:Gem::Dependency
|
165
|
+
name: sass-rails
|
166
|
+
requirement: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
171
|
+
type: :development
|
172
|
+
prerelease: false
|
173
|
+
version_requirements: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
- !ruby/object:Gem::Dependency
|
179
|
+
name: byebug
|
180
|
+
requirement: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
type: :development
|
186
|
+
prerelease: false
|
187
|
+
version_requirements: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0'
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: pry
|
194
|
+
requirement: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
type: :development
|
200
|
+
prerelease: false
|
201
|
+
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: database_cleaner
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - ">="
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '0'
|
213
|
+
type: :development
|
214
|
+
prerelease: false
|
215
|
+
version_requirements: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - ">="
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
- !ruby/object:Gem::Dependency
|
221
|
+
name: factory_bot
|
222
|
+
requirement: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
type: :development
|
228
|
+
prerelease: false
|
229
|
+
version_requirements: !ruby/object:Gem::Requirement
|
230
|
+
requirements:
|
231
|
+
- - ">="
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: '0'
|
234
|
+
- !ruby/object:Gem::Dependency
|
235
|
+
name: factory_bot_rails
|
236
|
+
requirement: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0'
|
241
|
+
type: :development
|
242
|
+
prerelease: false
|
243
|
+
version_requirements: !ruby/object:Gem::Requirement
|
244
|
+
requirements:
|
245
|
+
- - ">="
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
version: '0'
|
248
|
+
- !ruby/object:Gem::Dependency
|
249
|
+
name: ffaker
|
250
|
+
requirement: !ruby/object:Gem::Requirement
|
251
|
+
requirements:
|
252
|
+
- - ">="
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: '0'
|
255
|
+
type: :development
|
256
|
+
prerelease: false
|
257
|
+
version_requirements: !ruby/object:Gem::Requirement
|
258
|
+
requirements:
|
259
|
+
- - ">="
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '0'
|
262
|
+
- !ruby/object:Gem::Dependency
|
263
|
+
name: poltergeist
|
264
|
+
requirement: !ruby/object:Gem::Requirement
|
265
|
+
requirements:
|
266
|
+
- - ">="
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: '0'
|
269
|
+
type: :development
|
270
|
+
prerelease: false
|
271
|
+
version_requirements: !ruby/object:Gem::Requirement
|
272
|
+
requirements:
|
273
|
+
- - ">="
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: '0'
|
276
|
+
- !ruby/object:Gem::Dependency
|
277
|
+
name: rubocop
|
278
|
+
requirement: !ruby/object:Gem::Requirement
|
279
|
+
requirements:
|
280
|
+
- - ">="
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: '0'
|
283
|
+
type: :development
|
284
|
+
prerelease: false
|
285
|
+
version_requirements: !ruby/object:Gem::Requirement
|
286
|
+
requirements:
|
287
|
+
- - ">="
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
290
|
+
- !ruby/object:Gem::Dependency
|
291
|
+
name: rspec-rails
|
292
|
+
requirement: !ruby/object:Gem::Requirement
|
293
|
+
requirements:
|
294
|
+
- - ">="
|
295
|
+
- !ruby/object:Gem::Version
|
296
|
+
version: '0'
|
297
|
+
type: :development
|
298
|
+
prerelease: false
|
299
|
+
version_requirements: !ruby/object:Gem::Requirement
|
300
|
+
requirements:
|
301
|
+
- - ">="
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '0'
|
304
|
+
- !ruby/object:Gem::Dependency
|
305
|
+
name: simplecov
|
306
|
+
requirement: !ruby/object:Gem::Requirement
|
307
|
+
requirements:
|
308
|
+
- - ">="
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: '0'
|
311
|
+
type: :development
|
312
|
+
prerelease: false
|
313
|
+
version_requirements: !ruby/object:Gem::Requirement
|
314
|
+
requirements:
|
315
|
+
- - ">="
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
318
|
+
- !ruby/object:Gem::Dependency
|
319
|
+
name: capybara
|
320
|
+
requirement: !ruby/object:Gem::Requirement
|
321
|
+
requirements:
|
322
|
+
- - ">="
|
323
|
+
- !ruby/object:Gem::Version
|
324
|
+
version: '0'
|
325
|
+
type: :development
|
326
|
+
prerelease: false
|
327
|
+
version_requirements: !ruby/object:Gem::Requirement
|
328
|
+
requirements:
|
329
|
+
- - ">="
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
version: '0'
|
332
|
+
- !ruby/object:Gem::Dependency
|
333
|
+
name: capybara-webkit
|
334
|
+
requirement: !ruby/object:Gem::Requirement
|
335
|
+
requirements:
|
336
|
+
- - ">="
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: '0'
|
339
|
+
type: :development
|
340
|
+
prerelease: false
|
341
|
+
version_requirements: !ruby/object:Gem::Requirement
|
342
|
+
requirements:
|
343
|
+
- - ">="
|
344
|
+
- !ruby/object:Gem::Version
|
345
|
+
version: '0'
|
346
|
+
- !ruby/object:Gem::Dependency
|
347
|
+
name: capybara-screenshot
|
348
|
+
requirement: !ruby/object:Gem::Requirement
|
349
|
+
requirements:
|
350
|
+
- - ">="
|
351
|
+
- !ruby/object:Gem::Version
|
352
|
+
version: '0'
|
353
|
+
type: :development
|
354
|
+
prerelease: false
|
355
|
+
version_requirements: !ruby/object:Gem::Requirement
|
356
|
+
requirements:
|
357
|
+
- - ">="
|
358
|
+
- !ruby/object:Gem::Version
|
359
|
+
version: '0'
|
360
|
+
- !ruby/object:Gem::Dependency
|
361
|
+
name: selenium-webdriver
|
362
|
+
requirement: !ruby/object:Gem::Requirement
|
363
|
+
requirements:
|
364
|
+
- - ">="
|
365
|
+
- !ruby/object:Gem::Version
|
366
|
+
version: '0'
|
367
|
+
type: :development
|
368
|
+
prerelease: false
|
369
|
+
version_requirements: !ruby/object:Gem::Requirement
|
370
|
+
requirements:
|
371
|
+
- - ">="
|
372
|
+
- !ruby/object:Gem::Version
|
373
|
+
version: '0'
|
374
|
+
- !ruby/object:Gem::Dependency
|
375
|
+
name: chromedriver-helper
|
376
|
+
requirement: !ruby/object:Gem::Requirement
|
377
|
+
requirements:
|
378
|
+
- - ">="
|
379
|
+
- !ruby/object:Gem::Version
|
380
|
+
version: '0'
|
381
|
+
type: :development
|
382
|
+
prerelease: false
|
383
|
+
version_requirements: !ruby/object:Gem::Requirement
|
384
|
+
requirements:
|
385
|
+
- - ">="
|
386
|
+
- !ruby/object:Gem::Version
|
387
|
+
version: '0'
|
388
|
+
- !ruby/object:Gem::Dependency
|
389
|
+
name: rspec-activemodel-mocks
|
390
|
+
requirement: !ruby/object:Gem::Requirement
|
391
|
+
requirements:
|
392
|
+
- - ">="
|
393
|
+
- !ruby/object:Gem::Version
|
394
|
+
version: '0'
|
395
|
+
type: :development
|
396
|
+
prerelease: false
|
397
|
+
version_requirements: !ruby/object:Gem::Requirement
|
398
|
+
requirements:
|
399
|
+
- - ">="
|
400
|
+
- !ruby/object:Gem::Version
|
401
|
+
version: '0'
|
402
|
+
- !ruby/object:Gem::Dependency
|
403
|
+
name: vcr
|
404
|
+
requirement: !ruby/object:Gem::Requirement
|
405
|
+
requirements:
|
406
|
+
- - ">="
|
407
|
+
- !ruby/object:Gem::Version
|
408
|
+
version: '0'
|
409
|
+
type: :development
|
410
|
+
prerelease: false
|
411
|
+
version_requirements: !ruby/object:Gem::Requirement
|
412
|
+
requirements:
|
413
|
+
- - ">="
|
414
|
+
- !ruby/object:Gem::Version
|
415
|
+
version: '0'
|
416
|
+
- !ruby/object:Gem::Dependency
|
417
|
+
name: webmock
|
418
|
+
requirement: !ruby/object:Gem::Requirement
|
419
|
+
requirements:
|
420
|
+
- - ">="
|
421
|
+
- !ruby/object:Gem::Version
|
422
|
+
version: '0'
|
423
|
+
type: :development
|
424
|
+
prerelease: false
|
425
|
+
version_requirements: !ruby/object:Gem::Requirement
|
426
|
+
requirements:
|
427
|
+
- - ">="
|
428
|
+
- !ruby/object:Gem::Version
|
429
|
+
version: '0'
|
430
|
+
- !ruby/object:Gem::Dependency
|
431
|
+
name: rb-fsevent
|
432
|
+
requirement: !ruby/object:Gem::Requirement
|
433
|
+
requirements:
|
434
|
+
- - ">="
|
435
|
+
- !ruby/object:Gem::Version
|
436
|
+
version: '0'
|
437
|
+
type: :development
|
438
|
+
prerelease: false
|
439
|
+
version_requirements: !ruby/object:Gem::Requirement
|
440
|
+
requirements:
|
441
|
+
- - ">="
|
442
|
+
- !ruby/object:Gem::Version
|
443
|
+
version: '0'
|
444
|
+
- !ruby/object:Gem::Dependency
|
445
|
+
name: growl
|
446
|
+
requirement: !ruby/object:Gem::Requirement
|
447
|
+
requirements:
|
448
|
+
- - ">="
|
449
|
+
- !ruby/object:Gem::Version
|
450
|
+
version: '0'
|
451
|
+
type: :development
|
452
|
+
prerelease: false
|
453
|
+
version_requirements: !ruby/object:Gem::Requirement
|
454
|
+
requirements:
|
455
|
+
- - ">="
|
456
|
+
- !ruby/object:Gem::Version
|
457
|
+
version: '0'
|
458
|
+
description: Adds a slider to the homepage
|
459
|
+
email: jonathan.tapia@magmalabs.io
|
460
|
+
executables: []
|
461
|
+
extensions: []
|
462
|
+
extra_rdoc_files: []
|
463
|
+
files:
|
464
|
+
- ".gitignore"
|
465
|
+
- ".rspec"
|
466
|
+
- ".rvmrc"
|
467
|
+
- Gemfile
|
468
|
+
- LICENSE
|
469
|
+
- README.md
|
470
|
+
- README.textile
|
471
|
+
- Rakefile
|
472
|
+
- Versionfile
|
473
|
+
- app/assets/javascripts/spree/backend/slide_location_picker.js
|
474
|
+
- app/assets/javascripts/spree/backend/solidus_slider.js
|
475
|
+
- app/controllers/spree/admin/slide_locations_controller.rb
|
476
|
+
- app/controllers/spree/admin/slides_controller.rb
|
477
|
+
- app/models/spree/product_decorator.rb
|
478
|
+
- app/models/spree/slide.rb
|
479
|
+
- app/models/spree/slide_location.rb
|
480
|
+
- app/models/spree/slide_slide_location.rb
|
481
|
+
- app/overrides/spree/admin/configurations/index/add_slides_to_admin_configurations_menu.html.erb.deface
|
482
|
+
- app/overrides/spree/admin/shared/_configuration_menu/add_slide_locations_to_admin_configurations_sidebar_menu.html.erb.deface
|
483
|
+
- app/overrides/spree/admin/shared/_configuration_menu/add_slides_to_admin_configurations_sidebar_menu.html.erb.deface
|
484
|
+
- app/overrides/spree/home/index/add_slider.html.erb.deface
|
485
|
+
- app/overrides/spree/shared/_header/add_slider.html.erb.deface
|
486
|
+
- app/views/spree/admin/slide_locations/_form.html.erb
|
487
|
+
- app/views/spree/admin/slide_locations/edit.html.erb
|
488
|
+
- app/views/spree/admin/slide_locations/index.html.erb
|
489
|
+
- app/views/spree/admin/slide_locations/new.html.erb
|
490
|
+
- app/views/spree/admin/slide_locations/search.json.jbuilder
|
491
|
+
- app/views/spree/admin/slides/_form.html.erb
|
492
|
+
- app/views/spree/admin/slides/edit.html.erb
|
493
|
+
- app/views/spree/admin/slides/index.html.erb
|
494
|
+
- app/views/spree/admin/slides/new.html.erb
|
495
|
+
- app/views/spree/admin/slides/show.html.erb
|
496
|
+
- app/views/spree/shared/_slider.html.erb
|
497
|
+
- bin/rails
|
498
|
+
- config/locales/de.yml
|
499
|
+
- config/locales/en.yml
|
500
|
+
- config/locales/es-MX.yml
|
501
|
+
- config/locales/es.yml
|
502
|
+
- config/locales/nl-NL.yml
|
503
|
+
- config/locales/nl.yml
|
504
|
+
- config/locales/pl.yml
|
505
|
+
- config/locales/pt-BR.yml
|
506
|
+
- config/locales/ru.yml
|
507
|
+
- config/routes.rb
|
508
|
+
- db/migrate/20120222184238_create_slides.rb
|
509
|
+
- db/migrate/20120816192758_add_position_to_slides.rb
|
510
|
+
- db/migrate/20121219124126_add_product_id_to_slides.rb
|
511
|
+
- db/migrate/20150611113500_create_slider_location.rb
|
512
|
+
- db/migrate/20160214061128_add_show_caption_to_slides.rb
|
513
|
+
- db/migrate/20180113010348_create_spree_slide_slide_locations_table.rb
|
514
|
+
- lib/generators/solidus_slider/install/install_generator.rb
|
515
|
+
- lib/generators/solidus_slider/install_anything_generator.rb
|
516
|
+
- lib/generators/solidus_slider/install_nivo_generator.rb
|
517
|
+
- lib/generators/solidus_slider/install_simple_carousel_generator.rb
|
518
|
+
- lib/generators/solidus_slider/templates/anything_slider.html.erb
|
519
|
+
- lib/generators/solidus_slider/templates/nivo_slider.html.erb
|
520
|
+
- lib/generators/solidus_slider/templates/simple_carousel_slider.html.erb
|
521
|
+
- lib/solidus_slider.rb
|
522
|
+
- lib/solidus_slider/engine.rb
|
523
|
+
- lib/solidus_slider/version.rb
|
524
|
+
- solidus_slider.gemspec
|
525
|
+
- spec/spec_helper.rb
|
526
|
+
homepage: https://github.com/jtapia/solidus_slider
|
527
|
+
licenses: []
|
528
|
+
metadata: {}
|
529
|
+
post_install_message:
|
530
|
+
rdoc_options: []
|
531
|
+
require_paths:
|
532
|
+
- lib
|
533
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
534
|
+
requirements:
|
535
|
+
- - ">="
|
536
|
+
- !ruby/object:Gem::Version
|
537
|
+
version: '0'
|
538
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
539
|
+
requirements:
|
540
|
+
- - ">="
|
541
|
+
- !ruby/object:Gem::Version
|
542
|
+
version: '0'
|
543
|
+
requirements:
|
544
|
+
- none
|
545
|
+
rubyforge_project:
|
546
|
+
rubygems_version: 2.7.3
|
547
|
+
signing_key:
|
548
|
+
specification_version: 4
|
549
|
+
summary: Spree Slider extension
|
550
|
+
test_files: []
|