valken-shipping 3.0.1.pre → 3.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1021e3db5c695f3db19a503c7c3ae2d5150453bb846269e90fc0fea251b3c387
|
4
|
+
data.tar.gz: 62c48f445c8356b7d0df07952c9ae6dd2e972765c6ad510d884ca7ffa8a7e98b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33f2ec06ff31e0e94e73ec37b1845d80ac6eb735a94b89bcfcd9d045e41cf37555564991e177109b700db78715bc8e6f3702af5310ec163cb4d124dfabeb3087
|
7
|
+
data.tar.gz: 7ef270f33827a9c055ebb7513477ecd7bf3e1607a603a7cf29b83404b822cd2aba13f8482afdc4d6be7156d912b06510cbf70c4b806733e33a6a992cb34d75b7
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.property
|
2
|
-
= label_tag '
|
2
|
+
= label_tag 'service_carrier', "Carrier Name", class: 'property__name'
|
3
3
|
= text_field_tag "service[carrier]", @service.carrier, class: 'text-box'
|
4
4
|
.property
|
5
5
|
= label_tag 'service_description', "Description", class: 'property__name'
|
@@ -61,13 +61,14 @@
|
|
61
61
|
%td= text_field_tag "rates[#{rate.id}][tier_weight_max]", rate.tier_weight_max, class: 'text-box'
|
62
62
|
%td= text_field_tag "rates[#{rate.id}][tier_min]", rate.tier_min, class: 'text-box'
|
63
63
|
%td= text_field_tag "rates[#{rate.id}][tier_max]", rate.tier_max, class: 'text-box'
|
64
|
-
%td= check_box_tag 'rates_to_remove[]', rate.id
|
64
|
+
%td= check_box_tag 'rates_to_remove[]', rate.id, false, id: nil
|
65
|
+
|
65
66
|
%tr{ data: { cloneable_row: '' } }
|
66
67
|
%td= text_field_tag 'new_rates[][price]', '', placeholder: 'New Price Tier', class: 'text-box'
|
67
68
|
%td= text_field_tag 'new_rates[][tier_weight_min]', '', placeholder: 'Min Weight Value', class: 'text-box'
|
68
69
|
%td= text_field_tag 'new_rates[][tier_weight_max]', '', placeholder: 'Max Weight Value', class: 'text-box'
|
69
70
|
%td= text_field_tag 'new_rates[][tier_min]', '', placeholder: 'Min Value', class: 'text-box'
|
70
|
-
%td= text_field_tag 'new_rates[][
|
71
|
+
%td= text_field_tag 'new_rates[][tier_max]', '', placeholder: 'Min Value', class: 'text-box'
|
71
72
|
%td
|
72
73
|
|
73
74
|
.workflow-bar
|
@@ -4,7 +4,9 @@ module ActiveShipping
|
|
4
4
|
class VALKEN < UPS
|
5
5
|
|
6
6
|
def find_rates(origin, destination, packages, options = {})
|
7
|
-
|
7
|
+
if options[:ground] || (::Workarea.config.default_shipping)
|
8
|
+
return get_workarea_services(origin, destination, packages, options)
|
9
|
+
end
|
8
10
|
super
|
9
11
|
end
|
10
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: valken-shipping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.1
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sushmitha02
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -76,9 +76,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: '0'
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubygems_version: 3.0.3
|
84
84
|
signing_key:
|