effective_addresses 1.8.6 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/effective_addresses_helper.rb +0 -3
- data/app/views/effective/addresses/_form_with.html.haml +1 -1
- data/app/views/effective/addresses/_formtastic.html.haml +2 -2
- data/app/views/effective/addresses/_simple_form.html.haml +1 -1
- data/app/views/effective/addresses/_subregions.html.haml +1 -1
- data/lib/effective_addresses.rb +0 -1
- data/lib/effective_addresses/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e4cebe029705cfa2fc3fac6410655ea554da3bf8fc8357426cc049ea396f2bb
|
4
|
+
data.tar.gz: eef2302fd40877ef498480bc5feed15dd95132b2a1418092fac5570abb53d051
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf9a8e89489de644ef11dab8bc03d71b5e823d2ccaff796acd748e73addd8c27ff9cc77f60e9be107f3d88b45dff324e3a774b53939f3f401503747eb88829c6
|
7
|
+
data.tar.gz: 759f04f06a56c966462a76810a2bd61c9e704326ee076beba956ff7b5ff3188c8044b5d4a362c23f5a17ab0230623184485992d39c1e32b900e627fd937d84b0
|
@@ -29,7 +29,7 @@
|
|
29
29
|
:as => (defined?(EffectiveFormInputs) ? :effective_select : :select),
|
30
30
|
:label => 'Country',
|
31
31
|
:prompt => 'Country...',
|
32
|
-
:collection =>
|
32
|
+
:collection => options_for_select(effective_address_regions_collection()),
|
33
33
|
:input_html => { 'data-effective-address-country' => uuid },
|
34
34
|
:input_js => { placeholder: 'Please choose' }
|
35
35
|
|
@@ -38,7 +38,7 @@
|
|
38
38
|
= fa.input :state_code,
|
39
39
|
:as => (defined?(EffectiveFormInputs) ? :effective_select : :select),
|
40
40
|
:label => 'Province / State',
|
41
|
-
:collection =>
|
41
|
+
:collection => options_for_select(effective_address_regions_collection(Carmen::Country.coded(fa.object.country_code).subregions)),
|
42
42
|
:prompt => 'please select a country',
|
43
43
|
:input_html => { 'data-effective-address-state' => uuid },
|
44
44
|
:input_js => { :placeholder => 'Please choose' }
|
@@ -41,7 +41,7 @@
|
|
41
41
|
= fa.input :country_code,
|
42
42
|
as: (defined?(EffectiveFormInputs) ? :effective_select : :select),
|
43
43
|
required: required,
|
44
|
-
collection:
|
44
|
+
collection: effective_address_regions_collection(),
|
45
45
|
input_html: {'data-effective-address-country' => uuid},
|
46
46
|
disabled: shipping_address_same_as_billing,
|
47
47
|
wrapper_html: { style: ('display: none;' if shipping_address_same_as_billing) }
|
@@ -1 +1 @@
|
|
1
|
-
=
|
1
|
+
= options_for_select(effective_address_regions_collection(@subregions))
|
data/lib/effective_addresses.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_addresses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: carmen
|
28
|
+
name: carmen
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|