label_me 0.0.2 → 0.0.3

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: a0fc9794b968992424b1031bdda10a713a5bf433
4
- data.tar.gz: b2fc79779a22b4233c686a3b5b26749c676da396
3
+ metadata.gz: 46e35433e2f79f04a8a9f231f84b804fd234eaca
4
+ data.tar.gz: 6bb26e713b6e84facb172447c927c9c80a0e4ae0
5
5
  SHA512:
6
- metadata.gz: 25185add48aa75bb1b71cef83fa91af403e0e807a232bcb568aa11ee4b4e7e7d42261d6c9b366b4d250b3721b5f6e6052b8be5e8fb9d757b9db47dcd5ce36017
7
- data.tar.gz: 385b75524cb27f2d317532c2c54f4d966b57eb48f3b99c017a064ef07b85e3510a833fc36a74a9869c1535a6462e2149fb8e2bc2592321e426d062e4ba656c70
6
+ metadata.gz: 066c3165519eebcfcb50de43134bdc29a926d0a6da280ffa96eb5a45e927379ea939b7738fe2aa84fa544fca5bdb990f88478d3f4241ee1bed701e2707c4f5f0
7
+ data.tar.gz: c3ad17ac9e1eb9fe41ced0af64cb13de033dc54f2636fa775a7138be0c3528fd11fd5fa4bd0afd2ba2df0288b68ebb5a47622fdb9cddbdbbc806732de7e0d5bc
@@ -28,7 +28,7 @@ module LabelMe
28
28
  {
29
29
  number: number,
30
30
  order_date: order_date,
31
- paid?: paid?,
31
+ paid: paid?,
32
32
  shipping_charge: shipping_charge,
33
33
  message_card_charge: message_card_charge,
34
34
  customer_attributes: customer.to_hash,
@@ -1,3 +1,3 @@
1
1
  module LabelMe
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -58,7 +58,7 @@ describe LabelMe::Order do
58
58
  hash = @order.to_hash
59
59
  expect(hash[:number]).to eq(12342345)
60
60
  expect(hash[:order_date]).to eq(Date.new(2013,1,18))
61
- expect(hash[:paid?]).to eq(true)
61
+ expect(hash[:paid]).to eq(true)
62
62
  expect(hash[:shipping_charge]).to eq(600)
63
63
  expect(hash[:message_card_charge]).to eq(0)
64
64
  expect(hash[:customer_attributes]).to eq(@order.customer.to_hash)
@@ -21,7 +21,6 @@ describe LabelMe::SalesAll::Object do
21
21
  end
22
22
 
23
23
  it "should return tree structured instances of LabelMe::Order" do
24
- @orders.each{|order| puts order.to_hash}
25
24
  expect(@orders.size).to eq(2)
26
25
  expect(@orders[0].recipients.size).to eq(2)
27
26
  expect(@orders[0].recipients[0].line_items.size).to eq(2)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: label_me
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OSA Shunsuke