geocerts 0.0.16 → 0.0.17
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.
- data/VERSION +1 -1
- data/geocerts.gemspec +1 -1
- data/lib/geo_certs/endpoints/orders.rb +1 -1
- data/lib/geo_certs/order/renewal_information.rb +1 -1
- data/test/fixtures/responses/order.rb +2 -2
- data/test/integrations/order_test.rb +2 -2
- data/test/units/order/renewal_information_test.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.17
|
data/geocerts.gemspec
CHANGED
@@ -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'
|
159
|
+
element 'geotrust-order-id',:as => :geotrust_order_id
|
160
160
|
element 'expiration-date', :as => :expires_at, :type => DateTime
|
161
161
|
end
|
162
162
|
|
@@ -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:
|
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.
|
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.
|
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
|