geocerts 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.16
1
+ 0.0.17
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{geocerts}
8
- s.version = "0.0.16"
8
+ s.version = "0.0.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["GeoCerts, Inc."]
@@ -156,7 +156,7 @@ ORDER
156
156
  element :indicator
157
157
  element :months, :type => Integer
158
158
  element 'serial-number', :as => :serial_number
159
- element 'order-id', :as => :order_id
159
+ element 'geotrust-order-id',:as => :geotrust_order_id
160
160
  element 'expiration-date', :as => :expires_at, :type => DateTime
161
161
  end
162
162
 
@@ -8,7 +8,7 @@ module GeoCerts
8
8
 
9
9
  attr_accessor :months,
10
10
  :serial_number,
11
- :order_id,
11
+ :geotrust_order_id,
12
12
  :expires_at
13
13
  attr_reader :indicator
14
14
 
@@ -242,7 +242,7 @@ Server: Mongrel 1.1.3
242
242
  Status: 200 OK
243
243
  Cache-Control: no-cache
244
244
  Content-Type: application/xml; charset=utf-8
245
- Content-Length: 1248
245
+ Content-Length: 1267
246
246
  Vary: Accept-Encoding
247
247
  Connection: close
248
248
 
@@ -262,7 +262,7 @@ Connection: close
262
262
  <indicator type="boolean">true</indicator>
263
263
  <months type="integer">1</months>
264
264
  <serial-number>abC12De</serial-number>
265
- <order-id>1234ab</order-id>
265
+ <geotrust-order-id>1234ab</geotrust-order-id>
266
266
  <expiration-date type="datetime">2009-01-01T00:00:00Z</expiration-date>
267
267
  </renewal-info>
268
268
  </order>
@@ -453,7 +453,7 @@ class GeoCerts::OrderTest < Test::Unit::TestCase
453
453
  assert_equal(true, order.renewal_information.indicator)
454
454
  assert_equal(1, order.renewal_information.months)
455
455
  assert_equal('abC12De', order.renewal_information.serial_number)
456
- assert_equal('1234ab', order.renewal_information.order_id)
456
+ assert_equal('1234ab', order.renewal_information.geotrust_order_id)
457
457
  assert_equal(DateTime.parse('2009-01-01T00:00:00Z'), order.renewal_information.expires_at)
458
458
  end
459
459
  end
@@ -501,7 +501,7 @@ class GeoCerts::OrderTest < Test::Unit::TestCase
501
501
  assert_equal(true, order.renewal_information.indicator)
502
502
  assert_equal(1, order.renewal_information.months)
503
503
  assert_equal('abC12De', order.renewal_information.serial_number)
504
- assert_equal('1234ab', order.renewal_information.order_id)
504
+ assert_equal('1234ab', order.renewal_information.geotrust_order_id)
505
505
  assert_equal(DateTime.parse('2009-01-01T00:00:00Z'), order.renewal_information.expires_at)
506
506
  end
507
507
  end
@@ -6,7 +6,7 @@ class GeoCerts::Order::RenewalInformationTest < Test::Unit::TestCase
6
6
 
7
7
  [ :months,
8
8
  :serial_number,
9
- :order_id,
9
+ :geotrust_order_id,
10
10
  :expires_at ].each do |method|
11
11
 
12
12
  should "respond to #{method}" do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 16
9
- version: 0.0.16
8
+ - 17
9
+ version: 0.0.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - GeoCerts, Inc.