solidus_brazilian_adaptations 1.3.0 → 1.3.1

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: 453e94718e7a94f84e40cb4829161fb5530085802007838a2d39a3cdb2e78c47
4
- data.tar.gz: e03636724d9ebfa1d22a55d9da7fc7c50b7258638d134b764553c80b57dcc12b
3
+ metadata.gz: e244b39352bd31737c6f98cad4212fa8d9838526f14cdc38de03acc9a1326f64
4
+ data.tar.gz: c651d55f254cbf448453c3a472f1441141cb3bfb1cabf91a37cc156f184264c9
5
5
  SHA512:
6
- metadata.gz: 4c2d5eb85fbb3ed3ac7ff71484f9e7fc576adc6ceaff3850385041ed9753b1de7ac3764ba2bd1a2b09f194ab3c93f3b8291cca2535259d246c97cb1f57a118b9
7
- data.tar.gz: 585ad2edd189988609c217cc03da62e3239e8816ab56bb14846157aeec65d994973dff9d263b8c81546d643d2955144a1e2983d5ee8f697efe9b45d14bd929a6
6
+ metadata.gz: 50231ab6079e79ecbb348e440fc832a41b739f0509f0918325c9dfdc3ddbfb06b5f9782ae05d3e4f02cdcfc0986e364dd099e2c060efde3bf3036fb4da4a52c2
7
+ data.tar.gz: e388d3b97635ba967c960c8bf7eea91ddaf8ecd0f248cdcb4984de760a98916fbac309a65c264050640e02ba5b03ed0e8ccc08e855998ba81b0f1755d0f1ba38
@@ -1,4 +1,4 @@
1
- if Rails.env.development?
1
+ if Rails.env.development? || Rails.env.test?
2
2
  Spree::PaymentMethod::Check.create!(
3
3
  name: "TecPay",
4
4
  available_to_users: true,
@@ -4,7 +4,7 @@ category = Spree::ShippingCategory.find_or_create_by(name: "Padrão")
4
4
  todo_brasil = Spree::Zone.find_or_create_by!(name: "todo_brasil", description: "Todo Brasil")
5
5
  todo_brasil.zone_members.find_or_create_by!(zoneable: Spree::Country.find_by!(iso: "BR"))
6
6
 
7
- if Rails.env.development?
7
+ if Rails.env.development? || Rails.env.test?
8
8
  Spree::ShippingMethod.create!(
9
9
  name: "Coruja",
10
10
  available_to_all: true,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusBrazilianAdaptations
4
- VERSION = "1.3.0"
4
+ VERSION = "1.3.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_brazilian_adaptations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ulysses-bull
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-11 00:00:00.000000000 Z
11
+ date: 2024-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core