itunes-receipt-mock 0.1.1 → 0.1.2

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: 48b7a15b15d06251e14fb7f5a0cdc9bf7ad1060d
4
- data.tar.gz: 4aa6906543a94d00622bfe5125291551df0d5b82
3
+ metadata.gz: 43a94e2024ca1e7cdaaf12cf39e917a6c59f6fc6
4
+ data.tar.gz: 4a0c46c51776a58e7143f1a31200e9a29061b6e4
5
5
  SHA512:
6
- metadata.gz: e59c895791b81abf1c2a15d8099e2bc9fcfcf2f4fa2c2fcacff876a1c7681bf2a3d7bb65dafb77935e1366a6e523312d888c07d84a750e75709735e8b40a8b20
7
- data.tar.gz: c1932786791857830ac2978366872d5099a182c001759db94dd595794fba126cf65d923b5a62849058d3e1a838689535101981de4ba0fa6cd17876863663527f
6
+ metadata.gz: 1e7f1857fe771058cd712417edd54572c55efebf8ae3f78cfeea39f938e9f86d659237cdc0bc6453190247cf673da777a174333bda35404dbec78dfc86e1e515
7
+ data.tar.gz: dc3212272265f5a1d81a5d8bfe534b072fd437975f96f39640ebe747753572c2b31871a1f9c19b4305552d223d4d14d3be94ccf03931d2e85e343249b134bb6c
@@ -1,3 +1,4 @@
1
+ require 'json'
1
2
  require 'base64'
2
3
  require 'itunes_receipt_mock/mixins'
3
4
  require 'itunes_receipt_mock/transaction_proxy'
@@ -43,7 +43,7 @@ module ItunesReceiptMock
43
43
  'latest_receipt_info' => transactions.latest_receipt_info
44
44
  )
45
45
  result.merge!(
46
- 'latest_receipt' => Base64.strict_encode64(result.as_json)
46
+ 'latest_receipt' => Base64.strict_encode64(result.to_json)
47
47
  )
48
48
  end
49
49
  result
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # ItunesReceiptMock::VERSION
3
3
  module ItunesReceiptMock
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itunes-receipt-mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mbaasy.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-17 00:00:00.000000000 Z
11
+ date: 2015-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake