effective_orders 4.1.4 → 4.1.5

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
- SHA1:
3
- metadata.gz: b5b81ba8454b65573aabec1b8bc29c1d58139f66
4
- data.tar.gz: 2272dc61ccd18b05bdab9c6801524140c1a24b62
2
+ SHA256:
3
+ metadata.gz: 1cbc4c38cb22371fa03bfa9319d76cbf3e45ac1a3c75edfedb6486d36bd91d7b
4
+ data.tar.gz: ec41a7da268206d32b25cb8cbf4cf6cd3de2c552159cc9f823e730c02a6e06b0
5
5
  SHA512:
6
- metadata.gz: b1ba3a1cd9ec8a98d85bcdc18343c341f562b7cd5ecb29b3f2f86e6c68684663b1b197173109ecf2d840fb9b0df62e41d3b5bc0ee263f71ea651d674f74730e1
7
- data.tar.gz: 9ecbb1e9fdbb4e8c993b35269abf44ff35d25271ffd3ad678338b42aea8e15de609ca16345f3e93ba019f8062947388aa5efe39a1fc7ca620b7e988d66f35f46
6
+ metadata.gz: 6f983b6121c2842fbe5ac6a05d105d088d085f05ee42e2fbafd92e8dc99850e511b2696d8a962df8a73604dbb2a830c7343c606f94859471c3fce88aa3ed70ed
7
+ data.tar.gz: e155ef077626ed3f479f7a11fbc6c1f83475e01352e54d8b0e3aef781675e07013799092c8ae3a16f63a8863dbbc3a95d84d10750d3c8386b23d6fac151ef204
@@ -9,14 +9,14 @@
9
9
  %tbody
10
10
  %tr
11
11
  %td
12
- - if order.billing_address.present?
13
- = render(partial: 'effective/addresses/address', locals: { address: order.billing_address })
14
- - else
12
+ - unless EffectiveOrders.use_address_full_name
15
13
  = order.billing_name
16
14
  %br
17
- = mail_to(order.user.email)
18
- %br
15
+
16
+ - if order.billing_address.present?
17
+ = render :partial => 'effective/addresses/address',
18
+ locals: { address: order.billing_address, email: order.user.email }
19
19
 
20
20
  - if order.shipping_address.present?
21
21
  %td
22
- = render(partial: 'effective/addresses/address', locals: { address: order.shipping_address })
22
+ = render :partial => 'effective/addresses/address', locals: { address: order.shipping_address }
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '4.1.4'.freeze
2
+ VERSION = '4.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.4
4
+ version: 4.1.5
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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -260,8 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  - !ruby/object:Gem::Version
261
261
  version: '0'
262
262
  requirements: []
263
- rubyforge_project:
264
- rubygems_version: 2.4.5.1
263
+ rubygems_version: 3.0.3
265
264
  signing_key:
266
265
  specification_version: 4
267
266
  summary: Quickly build an online store with carts, orders, automatic email receipts