effective_addresses 1.7.1 → 1.7.2

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: b5923e1b9295fb1587d68e232496f5c76fd07aad
4
- data.tar.gz: 7f2bfdfa040c5349dd2f6b814665d3fc11145a29
3
+ metadata.gz: 95b7fbcf2c38c8bd41c41bd2a3130a0645b655f2
4
+ data.tar.gz: 07ca85f7efb0fae916bd8760cc1f087e54bf16b5
5
5
  SHA512:
6
- metadata.gz: e6080306eca2b76d11f485e776d32afe8a7f58b54b11187d2f59b0a1e064e8202175889a5db7bdbf78428f16e412a50f6b2f0ff4bf2a8663e9aeae99ce5ad461
7
- data.tar.gz: d930ad2dfc631425c71e7e28860eee9694902a2b798e23bc7b5c6e940f47d3d7006a4b28b09ab73e8fda3422847f1e3f09648a2c0b8dc70bb996d1044cb3c97b
6
+ metadata.gz: 32c56059311d18702eb540b197a087c48ee4fa38afac1928e39fc4e14bb2133d3f370786d576b7630934a7daa0bbd453959aa4253d065ce804482c13216c1a34
7
+ data.tar.gz: 9076d8d7367bf04256e4f9084eafbe0ace78d06d8fadc62dfa2b39786ec1bf39f9977a37b4067590611040fa508c25247da046be0451092be3f051591415b665
@@ -25,7 +25,7 @@
25
25
 
26
26
  - when :address2
27
27
  = fa.input :address2,
28
- label: false,
28
+ label: (Array((f.options[:html] || {})[:class]).include?('form-horizontal') ? ' '.html_safe : false),
29
29
  required: false,
30
30
  disabled: shipping_address_same_as_billing,
31
31
  wrapper_html: { style: ('display: none;' if shipping_address_same_as_billing) }
@@ -1,4 +1,4 @@
1
- class CreateEffectiveAddresses < ActiveRecord::Migration
1
+ class CreateEffectiveAddresses < ActiveRecord::Migration[4.2]
2
2
  def self.up
3
3
  create_table <%= @addresses_table_name %> do |t|
4
4
  t.string :addressable_type
@@ -1,3 +1,3 @@
1
1
  module EffectiveAddresses
2
- VERSION = '1.7.1'.freeze
2
+ VERSION = '1.7.2'.freeze
3
3
  end
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.7.1
4
+ version: 1.7.2
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: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails