spree_sample 3.7.14.1 → 4.0.0.beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/db/samples/assets.rb +4 -14
- data/db/samples/variants.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99737715e7352687cbb7467731065106ea193fca1c34ca3c85aa18439e268324
|
|
4
|
+
data.tar.gz: fcc56c7cf25e963b4652fa664bbef76f6d5151faee13ece13e4e24b41343a9d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc89f8838d7963ec50661d98cba6e830c720aeb166a7c479dc2a77f1a595951ec2a487f87c36be1d8eeced496dadf99acfddf7b2d20ca7aecf8be4d6ad83339f
|
|
7
|
+
data.tar.gz: c7b2b1e705d557703b7716baa7b8508eb5ca016e1d438224c4d5d09321af1c4866d5ff341b12998745be1681ba6402c7de9b8d769ca5bd28ed7ab76e5eadb927
|
data/Gemfile
CHANGED
data/db/samples/assets.rb
CHANGED
|
@@ -187,25 +187,15 @@ unless ENV['SKIP_SAMPLE_IMAGES']
|
|
|
187
187
|
products[:ror_baseball_jersey].variants.each do |variant|
|
|
188
188
|
color = variant.option_value('tshirt-color').downcase
|
|
189
189
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
attach_paperclip_image(variant, "ror_baseball_jersey_back_#{color}", 'png')
|
|
193
|
-
else
|
|
194
|
-
attach_active_storage_image(variant, "ror_baseball_jersey_#{color}", 'png')
|
|
195
|
-
attach_active_storage_image(variant, "ror_baseball_jersey_back_#{color}", 'png')
|
|
196
|
-
end
|
|
190
|
+
attach_active_storage_image(variant, "ror_baseball_jersey_#{color}", 'png')
|
|
191
|
+
attach_active_storage_image(variant, "ror_baseball_jersey_back_#{color}", 'png')
|
|
197
192
|
end
|
|
198
193
|
|
|
199
194
|
images.each do |variant, attachments|
|
|
200
195
|
puts "Loading images for #{variant.product.name}"
|
|
201
196
|
attachments.each do |attrs|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
variant.images.create!(attrs) if variant.images.where(attachment_file_name: file_name).none?
|
|
205
|
-
else
|
|
206
|
-
name, type = attrs.delete(:name).split('.')
|
|
207
|
-
attach_active_storage_image(variant, name, type)
|
|
208
|
-
end
|
|
197
|
+
name, type = attrs.delete(:name).split('.')
|
|
198
|
+
attach_active_storage_image(variant, name, type)
|
|
209
199
|
end
|
|
210
200
|
end
|
|
211
201
|
end
|
data/db/samples/variants.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_sample
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 4.0.0.beta
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Schofield
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: spree_core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 4.0.0.beta
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 4.0.0.beta
|
|
27
27
|
description: Required dependency for Spree
|
|
28
28
|
email: sean@spreecommerce.com
|
|
29
29
|
executables: []
|
|
@@ -96,7 +96,7 @@ homepage: http://spreecommerce.org
|
|
|
96
96
|
licenses:
|
|
97
97
|
- BSD-3-Clause
|
|
98
98
|
metadata: {}
|
|
99
|
-
post_install_message:
|
|
99
|
+
post_install_message:
|
|
100
100
|
rdoc_options: []
|
|
101
101
|
require_paths:
|
|
102
102
|
- lib
|
|
@@ -107,13 +107,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
107
107
|
version: '0'
|
|
108
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
requirements:
|
|
110
|
-
- - "
|
|
110
|
+
- - ">"
|
|
111
111
|
- !ruby/object:Gem::Version
|
|
112
|
-
version:
|
|
112
|
+
version: 1.3.1
|
|
113
113
|
requirements:
|
|
114
114
|
- none
|
|
115
|
-
rubygems_version: 3.
|
|
116
|
-
signing_key:
|
|
115
|
+
rubygems_version: 3.0.2
|
|
116
|
+
signing_key:
|
|
117
117
|
specification_version: 4
|
|
118
118
|
summary: Sample data (including images) for use with Spree.
|
|
119
119
|
test_files: []
|