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: a1513e4c5c0a38b69af9f422bb6312fe996faa0928dd089d42c7288a31887a28
4
- data.tar.gz: 1af97c1da52c7408dfbe7289a4d5754f5fb41ad4c2ead8ddc76049812f26a6ee
3
+ metadata.gz: 1021e3db5c695f3db19a503c7c3ae2d5150453bb846269e90fc0fea251b3c387
4
+ data.tar.gz: 62c48f445c8356b7d0df07952c9ae6dd2e972765c6ad510d884ca7ffa8a7e98b
5
5
  SHA512:
6
- metadata.gz: 5d8150fc9f6cf02f0046882a65d5bdd07a5f375245834ae6474493bcfee8611f10dfff7e9a438cccc17860e897171b2046120f09aa4a97b4c337678438f5bbe7
7
- data.tar.gz: 83c7a5f7e96bc89543c3a73552f2d20841b78e76d380f65f0d72e1b4cf963b20bfbb1b39d1a7149418506f67e0df5bc1ed712add24ba5ca4224cef47c88d327a
6
+ metadata.gz: 33f2ec06ff31e0e94e73ec37b1845d80ac6eb735a94b89bcfcd9d045e41cf37555564991e177109b700db78715bc8e6f3702af5310ec163cb4d124dfabeb3087
7
+ data.tar.gz: 7ef270f33827a9c055ebb7513477ecd7bf3e1607a603a7cf29b83404b822cd2aba13f8482afdc4d6be7156d912b06510cbf70c4b806733e33a6a992cb34d75b7
@@ -1,5 +1,5 @@
1
1
  .property
2
- = label_tag 'service_description', "Carrier Name", class: 'property__name'
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[][tier_min]', '', placeholder: 'Min Value', class: 'text-box'
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
- return get_workarea_rates(origin, destination, packages, options) if options[:ground]
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
 
@@ -1,5 +1,5 @@
1
1
  module Valken
2
2
  module Shipping
3
- VERSION = '3.0.1.pre'
3
+ VERSION = '3.0.1'.freeze
4
4
  end
5
5
  end
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.pre
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-03 00:00:00.000000000 Z
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: 1.3.1
81
+ version: '0'
82
82
  requirements: []
83
83
  rubygems_version: 3.0.3
84
84
  signing_key: