spree_sample 4.7.3 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 683c82c09676029480ae0a7617b1c8b1e7b8b700a853efde8b39a5d97aecaf88
4
- data.tar.gz: 5404a85dac601299c12399688f6b48baabcba1f48b2227a878847d3470cceba0
3
+ metadata.gz: 635dd6dd28f74b18d53fe023bdb61a9db292adc82cd1e317045a9e4120e09578
4
+ data.tar.gz: 6c06baf55e6390fd0d3fe2a0d49c0fabb410af01f5ec86e17348dd833cb60d21
5
5
  SHA512:
6
- metadata.gz: e80dc8e7ddcb0ea9aeec1359dc52172eb7ab38944b342bf2f616e1d1b6a078887a508192ae243a1f0f20ba82f95f2fe75844450e0098893dc410128a587bf394
7
- data.tar.gz: 78ca66a363dff537a5a9048e14521ff381f713cba48252ba4452ab094e7a1058312832435384af8e3b4accdb5d67611b0eb5cfd8fa9000991f9afdc9b19c7089
6
+ metadata.gz: 23a07cfd80450593553bf310a177fcbc5af06e566adaf020c775b386cbdb989b768d33622799d0e1b0fd6c431927148ba58cbed13c249225d7a42e0222db5031
7
+ data.tar.gz: 4f29f948435ba0d56754feab6b4656f9bbd3d49fe0223ad210717178f91bd5522e65dcd21c86ab142f70bb2633695eb921a83fe1e233aa46461dcfc6f40e00b5
data/db/samples/stores.rb CHANGED
@@ -3,12 +3,12 @@ default_store.checkout_zone = Spree::Zone.find_by(name: 'North America')
3
3
  default_store.default_country = Spree::Country.find_by(iso: 'US')
4
4
  default_store.supported_currencies = 'CAD,USD'
5
5
  default_store.supported_locales = 'en,fr'
6
- default_store.url = Rails.env.development? ? 'localhost:4000' : 'demo.spreecommerce.org'
6
+ default_store.url = Rails.env.development? ? 'localhost:3000' : 'demo.spreecommerce.org'
7
7
  default_store.save!
8
8
 
9
9
  eu_store = Spree::Store.find_or_initialize_by(code: 'eustore')
10
10
  eu_store.name = 'EU Store'
11
- eu_store.url = Rails.env.development? ? 'eu.lvh.me:4000' : 'demo-eu.spreecommerce.org'
11
+ eu_store.url = Rails.env.development? ? 'eu.lvh.me:3000' : 'demo-eu.spreecommerce.org'
12
12
  eu_store.mail_from_address = 'eustore@example.com'
13
13
  eu_store.default_currency = 'EUR'
14
14
  eu_store.default_locale = 'de'
@@ -19,7 +19,7 @@ eu_store.save!
19
19
 
20
20
  uk_store = Spree::Store.find_or_initialize_by(code: 'ukstore')
21
21
  uk_store.name = 'UK Store'
22
- uk_store.url = Rails.env.development? ? 'uk.lvh.me:4000' : 'demo-uk.spreecommerce.org'
22
+ uk_store.url = Rails.env.development? ? 'uk.lvh.me:3000' : 'demo-uk.spreecommerce.org'
23
23
  uk_store.mail_from_address = 'ukstore@example.com'
24
24
  uk_store.default_currency = 'GBP'
25
25
  uk_store.default_locale = 'en'
data/lib/spree_sample.rb CHANGED
@@ -8,38 +8,40 @@ module SpreeSample
8
8
  config.active_record.yaml_column_permitted_classes = [Symbol]
9
9
  # Needs to be here so we can access it inside the tests
10
10
  def self.load_samples
11
- Spree::Sample.load_sample('addresses')
12
- Spree::Sample.load_sample('zones')
13
- Spree::Sample.load_sample('payment_methods')
14
- Spree::Sample.load_sample('shipping_methods')
15
- Spree::Sample.load_sample('tax_categories')
16
- Spree::Sample.load_sample('tax_rates')
17
- Spree::Sample.load_sample('taxonomies')
18
- Spree::Sample.load_sample('promotions')
11
+ Spree::Webhooks.disable_webhooks do
12
+ Spree::Sample.load_sample('addresses')
13
+ Spree::Sample.load_sample('zones')
14
+ Spree::Sample.load_sample('payment_methods')
15
+ Spree::Sample.load_sample('shipping_methods')
16
+ Spree::Sample.load_sample('tax_categories')
17
+ Spree::Sample.load_sample('tax_rates')
18
+ Spree::Sample.load_sample('taxonomies')
19
+ Spree::Sample.load_sample('promotions')
19
20
 
20
- Spree::Sample.load_sample('products')
21
- Spree::Sample.load_sample('taxons')
22
- Spree::Sample.load_sample('option_types')
23
- Spree::Sample.load_sample('option_values')
24
- Spree::Sample.load_sample('product_properties')
25
- Spree::Sample.load_sample('prototypes')
26
- Spree::Sample.load_sample('variants')
27
- Spree::Sample.load_sample('stock')
21
+ Spree::Sample.load_sample('products')
22
+ Spree::Sample.load_sample('taxons')
23
+ Spree::Sample.load_sample('option_types')
24
+ Spree::Sample.load_sample('option_values')
25
+ Spree::Sample.load_sample('product_properties')
26
+ Spree::Sample.load_sample('prototypes')
27
+ Spree::Sample.load_sample('variants')
28
+ Spree::Sample.load_sample('stock')
28
29
 
29
- Spree::Sample.load_sample('orders')
30
- Spree::Sample.load_sample('adjustments')
31
- Spree::Sample.load_sample('payments')
32
- Spree::Sample.load_sample('reimbursements')
33
- Spree::Sample.load_sample('return_authorization_reasons')
34
- Spree::Sample.load_sample('stores')
35
- Spree::Sample.load_sample('data_feeds')
30
+ Spree::Sample.load_sample('orders')
31
+ Spree::Sample.load_sample('adjustments')
32
+ Spree::Sample.load_sample('payments')
33
+ Spree::Sample.load_sample('reimbursements')
34
+ Spree::Sample.load_sample('return_authorization_reasons')
35
+ Spree::Sample.load_sample('stores')
36
+ Spree::Sample.load_sample('data_feeds')
36
37
 
37
- Spree::Sample.load_sample('cms_standard_pages')
38
- Spree::Sample.load_sample('cms_feature_pages')
39
- Spree::Sample.load_sample('cms_homepages')
40
- Spree::Sample.load_sample('cms_sections')
41
- Spree::Sample.load_sample('menus')
42
- Spree::Sample.load_sample('menu_items')
38
+ Spree::Sample.load_sample('cms_standard_pages')
39
+ Spree::Sample.load_sample('cms_feature_pages')
40
+ Spree::Sample.load_sample('cms_homepages')
41
+ Spree::Sample.load_sample('cms_sections')
42
+ Spree::Sample.load_sample('menus')
43
+ Spree::Sample.load_sample('menu_items')
44
+ end
43
45
  end
44
46
  end
45
47
  end
data/spree_sample.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.metadata = {
16
16
  "bug_tracker_uri" => "https://github.com/spree/spree/issues",
17
17
  "changelog_uri" => "https://github.com/spree/spree/releases/tag/v#{s.version}",
18
- "documentation_uri" => "https://dev-docs.spreecommerce.org/",
18
+ "documentation_uri" => "https://docs.spreecommerce.org/",
19
19
  "source_code_uri" => "https://github.com/spree/spree/tree/v#{s.version}",
20
20
  }
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_sample
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.3
4
+ version: 4.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-04-24 00:00:00.000000000 Z
12
+ date: 2024-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 4.7.3
20
+ version: 4.8.0
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
- version: 4.7.3
27
+ version: 4.8.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: ffaker
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -122,9 +122,9 @@ licenses:
122
122
  - BSD-3-Clause
123
123
  metadata:
124
124
  bug_tracker_uri: https://github.com/spree/spree/issues
125
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.7.3
126
- documentation_uri: https://dev-docs.spreecommerce.org/
127
- source_code_uri: https://github.com/spree/spree/tree/v4.7.3
125
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.8.0
126
+ documentation_uri: https://docs.spreecommerce.org/
127
+ source_code_uri: https://github.com/spree/spree/tree/v4.8.0
128
128
  post_install_message:
129
129
  rdoc_options: []
130
130
  require_paths: