binarylogic-shippinglogic 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 1.1.2 released 2009-07-17
2
+
3
+ * Added :department for shipper and recipient options.
4
+
1
5
  == 1.1.1 released 2009-07-17
2
6
 
3
7
  * Added :just_validate options for creating shipments, that leverages FedExs validation option without creating a shipment.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 1
3
+ :patch: 2
4
4
  :major: 1
@@ -8,6 +8,7 @@ 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.
11
12
  # * <tt>shipper_company_name</tt> - company name of the shipper.
12
13
  # * <tt>shipper_phone_number</tt> - phone number of the shipper.
13
14
  # * <tt>shipper_email</tt> - email of the shipper.
@@ -22,6 +23,7 @@ module Shippinglogic
22
23
  #
23
24
  # * <tt>recipient_name</tt> - name of the recipient.
24
25
  # * <tt>recipient_title</tt> - title of the recipient.
26
+ # * <tt>recipient_department</tt> - department of the recipient.
25
27
  # * <tt>recipient_company_name</tt> - company name of the recipient.
26
28
  # * <tt>recipient_phone_number</tt> - phone number of the recipient.
27
29
  # * <tt>recipient_email</tt> - email of the recipient.
@@ -104,6 +106,7 @@ module Shippinglogic
104
106
  # shipper options
105
107
  attribute :shipper_name, :string
106
108
  attribute :shipper_title, :string
109
+ attribute :shipper_department, :string
107
110
  attribute :shipper_company_name, :string
108
111
  attribute :shipper_phone_number, :string
109
112
  attribute :shipper_email, :string
@@ -117,6 +120,7 @@ module Shippinglogic
117
120
  # recipient options
118
121
  attribute :recipient_name, :string
119
122
  attribute :recipient_title, :string
123
+ attribute :recipient_department, :string
120
124
  attribute :recipient_company_name, :string
121
125
  attribute :recipient_phone_number, :string
122
126
  attribute :recipient_email, :string
@@ -48,6 +48,7 @@ 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")
51
52
  b.CompanyName send("#{type}_company_name") if send("#{type}_company_name")
52
53
  b.PhoneNumber send("#{type}_phone_number") if send("#{type}_phone_number")
53
54
  b.EmailAddress send("#{type}_email") if send("#{type}_email")
@@ -8,6 +8,7 @@ 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.
11
12
  # * <tt>shipper_company_name</tt> - company name of the shipper.
12
13
  # * <tt>shipper_phone_number</tt> - phone number of the shipper.
13
14
  # * <tt>shipper_email</tt> - email of the shipper.
@@ -22,6 +23,7 @@ module Shippinglogic
22
23
  #
23
24
  # * <tt>recipient_name</tt> - name of the recipient.
24
25
  # * <tt>recipient_title</tt> - title of the recipient.
26
+ # * <tt>recipient_department</tt> - department of the recipient.
25
27
  # * <tt>recipient_company_name</tt> - company name of the recipient.
26
28
  # * <tt>recipient_phone_number</tt> - phone number of the recipient.
27
29
  # * <tt>recipient_email</tt> - email of the recipient.
@@ -110,6 +112,7 @@ module Shippinglogic
110
112
  # shipper options
111
113
  attribute :shipper_name, :string
112
114
  attribute :shipper_title, :string
115
+ attribute :shipper_department, :string
113
116
  attribute :shipper_company_name, :string
114
117
  attribute :shipper_phone_number, :string
115
118
  attribute :shipper_email, :string
@@ -123,6 +126,7 @@ module Shippinglogic
123
126
  # recipient options
124
127
  attribute :recipient_name, :string
125
128
  attribute :recipient_title, :string
129
+ attribute :recipient_department, :string
126
130
  attribute :recipient_company_name, :string
127
131
  attribute :recipient_phone_number, :string
128
132
  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.1"
8
+ s.version = "1.1.2"
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"]
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.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson of Binary Logic