spree_sample 3.5.0 → 3.6.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/db/samples.rb +2 -2
- data/db/samples/addresses.rb +7 -5
- data/db/samples/adjustments.rb +17 -15
- data/db/samples/assets.rb +105 -92
- data/db/samples/option_types.rb +4 -4
- data/db/samples/option_values.rb +19 -19
- data/db/samples/orders.rb +24 -20
- data/db/samples/payment_methods.rb +4 -4
- data/db/samples/product_option_types.rb +5 -5
- data/db/samples/product_properties.rb +81 -81
- data/db/samples/products.rb +31 -32
- data/db/samples/prototypes.rb +6 -6
- data/db/samples/shipping_methods.rb +14 -14
- data/db/samples/stock.rb +1 -1
- data/db/samples/store_credit_categories.rb +1 -1
- data/db/samples/tax_rates.rb +5 -4
- data/db/samples/taxonomies.rb +1 -1
- data/db/samples/taxons.rb +32 -32
- data/db/samples/variants.rb +54 -56
- data/lib/spree/sample.rb +1 -3
- data/lib/tasks/sample.rake +1 -1
- metadata +7 -7
data/lib/spree/sample.rb
CHANGED
@@ -5,7 +5,7 @@ module Spree
|
|
5
5
|
path = if File.exist?(File.join(Rails.root, 'db', 'samples', "#{file}.rb"))
|
6
6
|
File.expand_path(File.join(Rails.root, 'db', 'samples', "#{file}.rb"))
|
7
7
|
else
|
8
|
-
|
8
|
+
# Otherwise we will use this gems default file.
|
9
9
|
File.expand_path(samples_path + "#{file}.rb")
|
10
10
|
end
|
11
11
|
# Check to see if the specified file has been loaded before
|
@@ -15,8 +15,6 @@ module Spree
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
private
|
19
|
-
|
20
18
|
def self.samples_path
|
21
19
|
Pathname.new(File.join(File.dirname(__FILE__), '..', '..', 'db', 'samples'))
|
22
20
|
end
|
data/lib/tasks/sample.rake
CHANGED
@@ -12,7 +12,7 @@ Please run db:migrate separately from spree_sample:load.
|
|
12
12
|
Running db:migrate and spree_sample:load at the same time has been known to
|
13
13
|
cause problems where columns may be not available during sample data loading.
|
14
14
|
|
15
|
-
Migrations have been run. Please run
|
15
|
+
Migrations have been run. Please run 'rake spree_sample:load' by itself now.
|
16
16
|
}
|
17
17
|
exit(1)
|
18
18
|
end
|
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: 3.
|
4
|
+
version: 3.6.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-28 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: 3.
|
19
|
+
version: 3.6.0.rc1
|
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: 3.
|
26
|
+
version: 3.6.0.rc1
|
27
27
|
description: Required dependency for Spree
|
28
28
|
email: sean@spreecommerce.com
|
29
29
|
executables: []
|
@@ -106,13 +106,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- - "
|
109
|
+
- - ">"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
111
|
+
version: 1.3.1
|
112
112
|
requirements:
|
113
113
|
- none
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.6
|
115
|
+
rubygems_version: 2.7.6
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Sample data (including images) for use with Spree.
|