effective_addresses 1.6.0 → 1.6.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
  SHA1:
3
- metadata.gz: 0028a63a8a2e844fcb596934bad4be1510a2ca9b
4
- data.tar.gz: 447d7c0e5e7f94e5d6eb7c474bb108eda0c1a423
3
+ metadata.gz: 6722f16083017ba989fcb4561c0bffd53e6ddc44
4
+ data.tar.gz: e8052f649278691a40c9d0d7e5c302974f6c74cc
5
5
  SHA512:
6
- metadata.gz: 7bf04d81bec30b72a36d8f2b28c234788ecd9164cfc05765f00a967ca12329862e4794d1daa3e9ffa14df31d2cfb523b74153572b72758a92eb2d4621fa7f12b
7
- data.tar.gz: f2cc90da3d12a86b05fe723194392cf7c63a893e5f1348e0e66cff7cf4be11b6e655f8e691ab3bb7cfdbaaccd38951cd529c0830fdc8c69a212c4a59b71f0b2c
6
+ metadata.gz: 59e79e4b3002e5aab7b181f0b447cf23f2b0408d5b87d0068fab216b1d26182a6b0c96bc49e4ed932cad22ef7fdfaa3e24d229bfb90b68181dc79c472afd6bf5
7
+ data.tar.gz: 1087a70d2035ed2f80101e137d77dfb435f496f2030ba8323d6f62a4ae99e49668033284b316d19f223a9e6ef6c098b6334b3eee6696c3ea604d856df8ab93f0
@@ -6,13 +6,6 @@
6
6
  - if ((f.object.errors.include?(method) && !f.object.errors.include?(:addresses)) rescue false)
7
7
  - fa.object.errors.add(:address1, f.object.errors[method].first)
8
8
 
9
- - if fa.object.category == 'shipping' && f.object.respond_to?(:shipping_address_same_as_billing?)
10
- = fa.input :shipping_address_same_as_billing,
11
- as: :boolean,
12
- label: 'My shipping address is the same as my billing address',
13
- required: false,
14
- input_html: { checked: shipping_address_same_as_billing }
15
-
16
9
  - field_order.each do |field|
17
10
 
18
11
  - case field
@@ -80,3 +73,10 @@
80
73
  disabled: shipping_address_same_as_billing,
81
74
  wrapper_html: { style: ('display: none;' if shipping_address_same_as_billing) }
82
75
 
76
+ - if fa.object.category == 'shipping' && f.object.respond_to?(:shipping_address_same_as_billing?)
77
+ = fa.input :shipping_address_same_as_billing,
78
+ as: :boolean,
79
+ label: 'My shipping address is the same as my billing address',
80
+ required: false,
81
+ input_html: { checked: shipping_address_same_as_billing }
82
+
@@ -1,3 +1,3 @@
1
1
  module EffectiveAddresses
2
- VERSION = '1.6.0'.freeze
2
+ VERSION = '1.6.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_addresses
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect