binarylogic-shippinglogic 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,7 @@
1
+ == 1.1.3 released 2009-07-17
2
+
3
+ * Apparently department is not an option, even though FedEx docs say it is and the test services allow it. Production services say its not valid.
4
+
1
5
  == 1.1.2 released 2009-07-17
2
6
 
3
7
  * Added :department for shipper and recipient options.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 2
3
+ :patch: 3
4
4
  :major: 1
@@ -8,7 +8,6 @@ module Shippinglogic
8
8
  #
9
9
  # * <tt>shipper_name</tt> - name of the shipper.
10
10
  # * <tt>shipper_title</tt> - title of the shipper.
11
- # * <tt>shipper_department</tt> - department of the shipper.
12
11
  # * <tt>shipper_company_name</tt> - company name of the shipper.
13
12
  # * <tt>shipper_phone_number</tt> - phone number of the shipper.
14
13
  # * <tt>shipper_email</tt> - email of the shipper.
@@ -23,7 +22,6 @@ module Shippinglogic
23
22
  #
24
23
  # * <tt>recipient_name</tt> - name of the recipient.
25
24
  # * <tt>recipient_title</tt> - title of the recipient.
26
- # * <tt>recipient_department</tt> - department of the recipient.
27
25
  # * <tt>recipient_company_name</tt> - company name of the recipient.
28
26
  # * <tt>recipient_phone_number</tt> - phone number of the recipient.
29
27
  # * <tt>recipient_email</tt> - email of the recipient.
@@ -106,7 +104,6 @@ module Shippinglogic
106
104
  # shipper options
107
105
  attribute :shipper_name, :string
108
106
  attribute :shipper_title, :string
109
- attribute :shipper_department, :string
110
107
  attribute :shipper_company_name, :string
111
108
  attribute :shipper_phone_number, :string
112
109
  attribute :shipper_email, :string
@@ -120,7 +117,6 @@ module Shippinglogic
120
117
  # recipient options
121
118
  attribute :recipient_name, :string
122
119
  attribute :recipient_title, :string
123
- attribute :recipient_department, :string
124
120
  attribute :recipient_company_name, :string
125
121
  attribute :recipient_phone_number, :string
126
122
  attribute :recipient_email, :string
@@ -48,10 +48,9 @@ module Shippinglogic
48
48
  b.Contact do
49
49
  b.PersonName send("#{type}_name") if send("#{type}_name")
50
50
  b.Title send("#{type}_title") if send("#{type}_title")
51
- b.Department send("#{type}_department") if send("#{type}_department")
52
51
  b.CompanyName send("#{type}_company_name") if send("#{type}_company_name")
53
52
  b.PhoneNumber send("#{type}_phone_number") if send("#{type}_phone_number")
54
- b.EmailAddress send("#{type}_email") if send("#{type}_email")
53
+ b.EMailAddress send("#{type}_email") if send("#{type}_email")
55
54
  end
56
55
  end
57
56
 
@@ -8,7 +8,6 @@ module Shippinglogic
8
8
  #
9
9
  # * <tt>shipper_name</tt> - name of the shipper.
10
10
  # * <tt>shipper_title</tt> - title of the shipper.
11
- # * <tt>shipper_department</tt> - department of the shipper.
12
11
  # * <tt>shipper_company_name</tt> - company name of the shipper.
13
12
  # * <tt>shipper_phone_number</tt> - phone number of the shipper.
14
13
  # * <tt>shipper_email</tt> - email of the shipper.
@@ -23,7 +22,6 @@ module Shippinglogic
23
22
  #
24
23
  # * <tt>recipient_name</tt> - name of the recipient.
25
24
  # * <tt>recipient_title</tt> - title of the recipient.
26
- # * <tt>recipient_department</tt> - department of the recipient.
27
25
  # * <tt>recipient_company_name</tt> - company name of the recipient.
28
26
  # * <tt>recipient_phone_number</tt> - phone number of the recipient.
29
27
  # * <tt>recipient_email</tt> - email of the recipient.
@@ -112,7 +110,6 @@ module Shippinglogic
112
110
  # shipper options
113
111
  attribute :shipper_name, :string
114
112
  attribute :shipper_title, :string
115
- attribute :shipper_department, :string
116
113
  attribute :shipper_company_name, :string
117
114
  attribute :shipper_phone_number, :string
118
115
  attribute :shipper_email, :string
@@ -126,7 +123,6 @@ module Shippinglogic
126
123
  # recipient options
127
124
  attribute :recipient_name, :string
128
125
  attribute :recipient_title, :string
129
- attribute :recipient_department, :string
130
126
  attribute :recipient_company_name, :string
131
127
  attribute :recipient_phone_number, :string
132
128
  attribute :recipient_email, :string
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{shippinglogic}
8
- s.version = "1.1.2"
8
+ s.version = "1.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Johnson of Binary Logic"]
@@ -63,6 +63,7 @@ Spec::Runner.configure do |config|
63
63
  {
64
64
  :recipient_name => "Name",
65
65
  :recipient_title => "Title",
66
+ :recipient_department => "Department",
66
67
  :recipient_company_name => "Dallas City Hall",
67
68
  :recipient_phone_number => "2222222222",
68
69
  :recipient_email => "a@a.com",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binarylogic-shippinglogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson of Binary Logic