spree_sample 4.2.0.rc2 → 4.2.0.rc3

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: d79878438dc88fee15eb7a11c1aacb2daf964625343ee78f125a6b9248a69473
4
- data.tar.gz: 72812e181c50d653af5f070fb069d6a8f3d161d1535bc0094e7dc7abdd3ecc1c
3
+ metadata.gz: fab12a09160a000585c5d4f2db1e8a63a7028a70915be3bfa27724f1c7670c32
4
+ data.tar.gz: 97e4b7b20cf717429aef382d004e5e49fc4f66fa2ffb9c37614c7d760977fdaf
5
5
  SHA512:
6
- metadata.gz: 889be561c833700bbc1a34bf2621185b8ecbf14fb94d5f5131824f80275ae81c295d17a2e6d1455a3a445d7dd382db19cc6cd204745488f42640ae85524d8db0
7
- data.tar.gz: 6e1f4704fcf0d7569bb358d2e5d8e01e36c9ed6dfc1625ac9bb9429a3c0f42bc2301c8fe5d4fcf57a7ddb1e1ae82e9e4f7b2bfdd28d3fd1b3ece19aab24243fb
6
+ metadata.gz: e12a63b30490b587f893c53b0baa3b434514f415185ee7f7653df72f755d24cf7ad3baf988003ce413678f8f33c526501341551a9d5f4b8af64fa773eb6c6f5f
7
+ data.tar.gz: f4e49320e22f2419ac9cb0295cde39e6f41c99676f44b7cafea9c8fc51f84d0daf13503d50f8914e3d09c5a5055e892ef8734161a2d00497a7cb794e45d9c964
@@ -1,11 +1,17 @@
1
- Spree::Gateway::Bogus.where(
1
+ cc_payment_method = Spree::Gateway::Bogus.where(
2
2
  name: 'Credit Card',
3
3
  description: 'Bogus payment gateway.',
4
4
  active: true
5
5
  ).first_or_create!
6
6
 
7
- Spree::PaymentMethod::Check.where(
7
+ cc_payment_method.store_ids = Spree::Store.ids
8
+ cc_payment_method.save!
9
+
10
+ check_paymemt_method = Spree::PaymentMethod::Check.where(
8
11
  name: 'Check',
9
12
  description: 'Pay by check.',
10
13
  active: true
11
14
  ).first_or_create!
15
+
16
+ check_paymemt_method.store_ids = Spree::Store.ids
17
+ check_paymemt_method.save!
@@ -2,7 +2,7 @@ Spree::Sample.load_sample('variants')
2
2
 
3
3
  country = Spree::Country.find_by(iso: 'US')
4
4
  location = Spree::StockLocation.find_or_create_by!(name: 'default')
5
- location.update_attributes!(
5
+ location.update(
6
6
  address1: 'Example Street',
7
7
  city: 'City',
8
8
  zipcode: '12345',
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.2.0.rc2
4
+ version: 4.2.0.rc3
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: 2020-11-10 00:00:00.000000000 Z
12
+ date: 2021-01-18 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.2.0.rc2
20
+ version: 4.2.0.rc3
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.2.0.rc2
27
+ version: 4.2.0.rc3
28
28
  description: Required dependency for Spree
29
29
  email: hello@spreecommerce.org
30
30
  executables: []
@@ -100,9 +100,9 @@ licenses:
100
100
  - BSD-3-Clause
101
101
  metadata:
102
102
  bug_tracker_uri: https://github.com/spree/spree/issues
103
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.rc2
103
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.rc3
104
104
  documentation_uri: https://guides.spreecommerce.org/
105
- source_code_uri: https://github.com/spree/spree/tree/v4.2.0.rc2
105
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.0.rc3
106
106
  post_install_message:
107
107
  rdoc_options: []
108
108
  require_paths:
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: 1.3.1
120
120
  requirements:
121
121
  - none
122
- rubygems_version: 3.1.2
122
+ rubygems_version: 3.1.4
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Sample data (including images) for use with Spree.