valken-shipping 3.0.1 → 3.0.2.pre

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: 1021e3db5c695f3db19a503c7c3ae2d5150453bb846269e90fc0fea251b3c387
4
- data.tar.gz: 62c48f445c8356b7d0df07952c9ae6dd2e972765c6ad510d884ca7ffa8a7e98b
3
+ metadata.gz: 8c13bff2c80be3a6119cdc4ec9d41200566b901e5ef19eb17229dbbd1b7aca41
4
+ data.tar.gz: 423283824c5c3c3d45e587f5748903b11de8ecb4e29f8e19d35cea0d89cd34cc
5
5
  SHA512:
6
- metadata.gz: 33f2ec06ff31e0e94e73ec37b1845d80ac6eb735a94b89bcfcd9d045e41cf37555564991e177109b700db78715bc8e6f3702af5310ec163cb4d124dfabeb3087
7
- data.tar.gz: 7ef270f33827a9c055ebb7513477ecd7bf3e1607a603a7cf29b83404b822cd2aba13f8482afdc4d6be7156d912b06510cbf70c4b806733e33a6a992cb34d75b7
6
+ metadata.gz: 41d17eb072282c0c7698f5236baa25220706a0d0a973511fe84be1b937fa44bdfb2acc916b83d6e800349f08f8a941662ebb63802fdedb1139811d12c0b077e5
7
+ data.tar.gz: 1f6cfbf35f60f2309f8612e028f6d13f7153f26a6c3d2f3079c712bfe6aca993b571126960e658f2d157dd6ec7e372944ed0ff9a593c3241e4bc60b5767cf31d
@@ -1,5 +1,5 @@
1
1
  .property
2
- = label_tag 'service_carrier', "Carrier Name", class: 'property__name'
2
+ = label_tag 'service_description', "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,14 +61,13 @@
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, false, id: nil
65
-
64
+ %td= check_box_tag 'rates_to_remove[]', rate.id
66
65
  %tr{ data: { cloneable_row: '' } }
67
66
  %td= text_field_tag 'new_rates[][price]', '', placeholder: 'New Price Tier', class: 'text-box'
68
67
  %td= text_field_tag 'new_rates[][tier_weight_min]', '', placeholder: 'Min Weight Value', class: 'text-box'
69
68
  %td= text_field_tag 'new_rates[][tier_weight_max]', '', placeholder: 'Max Weight Value', class: 'text-box'
70
69
  %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'
70
+ %td= text_field_tag 'new_rates[][tier_min]', '', placeholder: 'Min Value', class: 'text-box'
72
71
  %td
73
72
 
74
73
  .workflow-bar
@@ -4,9 +4,7 @@ module ActiveShipping
4
4
  class VALKEN < UPS
5
5
 
6
6
  def find_rates(origin, destination, packages, options = {})
7
- if options[:ground] || (::Workarea.config.default_shipping)
8
- return get_workarea_services(origin, destination, packages, options)
9
- end
7
+ return get_workarea_rates(origin, destination, packages, options) if options[:ground]
10
8
  super
11
9
  end
12
10
 
@@ -1,5 +1,5 @@
1
1
  module Valken
2
2
  module Shipping
3
- VERSION = '3.0.1'.freeze
3
+ VERSION = '3.0.2.pre'.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
4
+ version: 3.0.2.pre
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-04 00:00:00.000000000 Z
11
+ date: 2020-12-03 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: '0'
81
+ version: 1.3.1
82
82
  requirements: []
83
83
  rubygems_version: 3.0.3
84
84
  signing_key: