omniship 0.4.1 → 0.4.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
2
  SHA1:
3
- metadata.gz: a8f62b80af3d9fdf1b1af4981f2febaa4353ada0
4
- data.tar.gz: dbdf9dcb452ed711814cba5bb7098146900c895d
3
+ metadata.gz: 3e2232c31cbc0403864750faa7c8afef0b7bf756
4
+ data.tar.gz: cf194b84a52a2ecd36d3dffb1189b99a5a4c52a6
5
5
  SHA512:
6
- metadata.gz: 485e21ba04c04e67e39e968886d5662f55c9e51cece0730d93dd6f7fc5e6ca31f5786fee61cbcdcb5cded36dfec6daf120c33d837254218da83da23dfeb6c5bf
7
- data.tar.gz: f8eb55d6f93c8f739ba606bb4672cad1898a614e767af7d57729e5998480cea54663176ffdd15052eb8743ed8bea8822dff27822197fbefd540785ce6b19081b
6
+ metadata.gz: a503ef3cdaad139d41b2a09cf83d5307b6cc8334b2115a314bedfac20e6e26913ab606574dfb4593e4889f4421cf5db27205dc3f41f1b2d10a074ef94237cdc2
7
+ data.tar.gz: cd2b8d7b9aa94c7ef85f773fb67d4626e2f9ca0cdcbbd9ecd0c9ee31791d489a51dd3b33fa0d46dd9c97a6c72946bfcbdb01929a40b529cf14f90efed73ba571
data/CHANGELOG CHANGED
@@ -0,0 +1,7 @@
1
+ 0.4.2
2
+ Bug fixes for UPS
3
+ Updated syntax for gemspec
4
+
5
+ 0.4.1
6
+ Bug fixes for dependencies
7
+
data/README.markdown CHANGED
@@ -82,6 +82,14 @@ into create_shipment and accept_shipment.
82
82
 
83
83
  Currently this is on my TODO list. Check back for updates
84
84
 
85
+ ## Change Log
86
+ **0.4.2**
87
+ * Bug fixes for UPS
88
+ * Updated syntax for gemspec
89
+
90
+ **0.4.1**
91
+ * Bug fixes for dependencies
92
+
85
93
  ## Contributing
86
94
 
87
95
  Before anyone starts contributing, I want to get a good stable version going and tests to follow, after I get that going then for the features you add, you should have both unit tests and remote tests. It's probably best to start with the remote tests, and then log those requests and responses and use them as the mocks for the unit tests.
data/lib/omniship.rb CHANGED
@@ -1,4 +1,4 @@
1
- #--
1
+ 4#--
2
2
  # Copyright (c) 2009 Jaded Pixel
3
3
  #
4
4
  # Permission is hereby granted, free of charge, to any person obtaining
@@ -64,7 +64,7 @@ require 'net/https'
64
64
  require 'active_utils'
65
65
  require 'nokogiri'
66
66
 
67
- #require 'omniship/base'
67
+ require 'omniship/base'
68
68
  require 'omniship/contact'
69
69
  require 'omniship/response'
70
70
  require 'omniship/rate_response'
@@ -508,7 +508,6 @@ module Omniship
508
508
  :service_name => service_name_for(origin, service_code),
509
509
  :total_price => rated_shipment.xpath('TotalCharges/MonetaryValue').text.to_s.to_f,
510
510
  :currency => rated_shipment.xpath('TotalCharges/CurrencyCode').text.to_s,
511
- :service_code => service_code,
512
511
  :packages => packages,
513
512
  :delivery_range => [delivery_date])
514
513
  end
@@ -1,3 +1,3 @@
1
1
  module Omniship
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,19 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donavan White
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 2.3.5
@@ -21,6 +24,9 @@ dependencies:
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '4.2'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 2.3.5
@@ -28,114 +34,162 @@ dependencies:
28
34
  name: i18n
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.7'
31
40
  - - ">="
32
41
  - !ruby/object:Gem::Version
33
- version: '0'
42
+ version: 0.7.0
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '0.7'
38
50
  - - ">="
39
51
  - !ruby/object:Gem::Version
40
- version: '0'
52
+ version: 0.7.0
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: active_utils
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.0'
45
60
  - - ">="
46
61
  - !ruby/object:Gem::Version
47
- version: 1.0.1
62
+ version: 3.0.0
48
63
  type: :runtime
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
51
66
  requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
52
70
  - - ">="
53
71
  - !ruby/object:Gem::Version
54
- version: 1.0.1
72
+ version: 3.0.0
55
73
  - !ruby/object:Gem::Dependency
56
74
  name: builder
57
75
  requirement: !ruby/object:Gem::Requirement
58
76
  requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '3.2'
59
80
  - - ">="
60
81
  - !ruby/object:Gem::Version
61
- version: '0'
82
+ version: 3.2.2
62
83
  type: :runtime
63
84
  prerelease: false
64
85
  version_requirements: !ruby/object:Gem::Requirement
65
86
  requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.2'
66
90
  - - ">="
67
91
  - !ruby/object:Gem::Version
68
- version: '0'
92
+ version: 3.2.2
69
93
  - !ruby/object:Gem::Dependency
70
94
  name: nokogiri
71
95
  requirement: !ruby/object:Gem::Requirement
72
96
  requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '1.6'
73
100
  - - ">="
74
101
  - !ruby/object:Gem::Version
75
- version: '0'
102
+ version: 1.6.6.2
76
103
  type: :runtime
77
104
  prerelease: false
78
105
  version_requirements: !ruby/object:Gem::Requirement
79
106
  requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.6'
80
110
  - - ">="
81
111
  - !ruby/object:Gem::Version
82
- version: '0'
112
+ version: 1.6.6.2
83
113
  - !ruby/object:Gem::Dependency
84
114
  name: rake
85
115
  requirement: !ruby/object:Gem::Requirement
86
116
  requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '10.4'
87
120
  - - ">="
88
121
  - !ruby/object:Gem::Version
89
- version: '0'
122
+ version: 10.4.2
90
123
  type: :development
91
124
  prerelease: false
92
125
  version_requirements: !ruby/object:Gem::Requirement
93
126
  requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '10.4'
94
130
  - - ">="
95
131
  - !ruby/object:Gem::Version
96
- version: '0'
132
+ version: 10.4.2
97
133
  - !ruby/object:Gem::Dependency
98
134
  name: mocha
99
135
  requirement: !ruby/object:Gem::Requirement
100
136
  requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '1.1'
101
140
  - - ">="
102
141
  - !ruby/object:Gem::Version
103
- version: '0'
142
+ version: 1.1.0
104
143
  type: :development
105
144
  prerelease: false
106
145
  version_requirements: !ruby/object:Gem::Requirement
107
146
  requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '1.1'
108
150
  - - ">="
109
151
  - !ruby/object:Gem::Version
110
- version: '0'
152
+ version: 1.1.0
111
153
  - !ruby/object:Gem::Dependency
112
154
  name: railties
113
155
  requirement: !ruby/object:Gem::Requirement
114
156
  requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '4.2'
115
160
  - - ">="
116
161
  - !ruby/object:Gem::Version
117
- version: '0'
162
+ version: '4.2'
118
163
  type: :development
119
164
  prerelease: false
120
165
  version_requirements: !ruby/object:Gem::Requirement
121
166
  requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '4.2'
122
170
  - - ">="
123
171
  - !ruby/object:Gem::Version
124
- version: '0'
172
+ version: '4.2'
125
173
  - !ruby/object:Gem::Dependency
126
174
  name: rails
127
175
  requirement: !ruby/object:Gem::Requirement
128
176
  requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '4.2'
129
180
  - - ">="
130
181
  - !ruby/object:Gem::Version
131
- version: '0'
182
+ version: '4.2'
132
183
  type: :development
133
184
  prerelease: false
134
185
  version_requirements: !ruby/object:Gem::Requirement
135
186
  requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '4.2'
136
190
  - - ">="
137
191
  - !ruby/object:Gem::Version
138
- version: '0'
192
+ version: '4.2'
139
193
  description: Create shipments and get rates and tracking info from various shipping
140
194
  carriers.
141
195
  email: