venice 0.3.0 → 0.4.0

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +29 -18
  3. data/README.md +1 -1
  4. data/Rakefile +4 -7
  5. data/coverage/assets/{0.10.0 → 0.10.2}/application.css +0 -0
  6. data/coverage/assets/{0.10.0 → 0.10.2}/application.js +0 -0
  7. data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/border.png +0 -0
  8. data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/controls.png +0 -0
  9. data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/loading.gif +0 -0
  10. data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/loading_background.png +0 -0
  11. data/coverage/assets/{0.10.0 → 0.10.2}/favicon_green.png +0 -0
  12. data/coverage/assets/{0.10.0 → 0.10.2}/favicon_red.png +0 -0
  13. data/coverage/assets/{0.10.0 → 0.10.2}/favicon_yellow.png +0 -0
  14. data/coverage/assets/{0.10.0 → 0.10.2}/loading.gif +0 -0
  15. data/coverage/assets/{0.10.0 → 0.10.2}/magnify.png +0 -0
  16. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  17. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  18. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  19. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  20. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  21. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  22. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  23. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  24. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_222222_256x240.png +0 -0
  25. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  26. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_454545_256x240.png +0 -0
  27. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_888888_256x240.png +0 -0
  28. data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  29. data/coverage/index.html +874 -320
  30. data/lib/venice/in_app_receipt.rb +1 -1
  31. data/lib/venice/pending_renewal_info.rb +66 -0
  32. data/lib/venice/receipt.rb +13 -1
  33. data/lib/venice/version.rb +1 -1
  34. data/lib/venice.rb +1 -0
  35. data/spec/pending_renewal_info_spec.rb +41 -0
  36. data/spec/receipt_spec.rb +24 -1
  37. data/spec/spec_helper.rb +1 -0
  38. data/venice.gemspec +2 -1
  39. metadata +46 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f293f94c83b2ddcd7d6b70de2c602d695b45aa4b
4
- data.tar.gz: f2dbcb87df6cfcf3eede7f9738df866de87a2af0
3
+ metadata.gz: 623d0181a1109a9312e3ec0e3959d97e9b109e7f
4
+ data.tar.gz: 39dfbe7bc3f1668f0c2a282506494fc38a23f704
5
5
  SHA512:
6
- metadata.gz: 960a216b4422c3dca4c15fb97f873485658cbfd2619a8031f445d87749ef682446841ff3711c99fdb6f4c101fba9b07af69d284bd449c818237c5c80974ea4a2
7
- data.tar.gz: ec68490ad14c3e0b0ff6fe27ef52f9a5717d71233641d67ab4b091ec3901e4719d650d2ed139b1a4c6b727bed3b9c53812861c8f1d68549271b6efdc07912747
6
+ metadata.gz: e71685d6d348dccf7653f64681866eb062150be75439a9383063cf1573a2eb13729bc41654fd80e0e4ae83624d129fed422e20509bce18290b0a84ea7f13587f
7
+ data.tar.gz: e2e7d400d46e95ca8a8cf962ffc2f46e8c63c8a4e34e25ba52f8d289390b5e60a7ff96a532641237e8815284102a670eb92e52f09524a66c25a4885a5a0d73a4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- venice (0.3.0)
4
+ venice (0.4.0)
5
5
  commander (~> 4.1)
6
6
  json
7
7
  terminal-table (~> 1.4)
@@ -9,36 +9,47 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- commander (4.4.0)
12
+ commander (4.4.3)
13
13
  highline (~> 1.7.2)
14
- diff-lcs (1.2.5)
14
+ diff-lcs (1.3)
15
15
  docile (1.1.5)
16
16
  highline (1.7.8)
17
- json (2.0.2)
18
- rake (11.2.2)
19
- rspec (2.99.0)
20
- rspec-core (~> 2.99.0)
21
- rspec-expectations (~> 2.99.0)
22
- rspec-mocks (~> 2.99.0)
23
- rspec-core (2.99.2)
24
- rspec-expectations (2.99.2)
25
- diff-lcs (>= 1.1.3, < 2.0)
26
- rspec-mocks (2.99.4)
27
- simplecov (0.12.0)
17
+ json (2.1.0)
18
+ rake (12.1.0)
19
+ rspec (3.6.0)
20
+ rspec-core (~> 3.6.0)
21
+ rspec-expectations (~> 3.6.0)
22
+ rspec-mocks (~> 3.6.0)
23
+ rspec-core (3.6.0)
24
+ rspec-support (~> 3.6.0)
25
+ rspec-expectations (3.6.0)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.6.0)
28
+ rspec-its (1.2.0)
29
+ rspec-core (>= 3.0.0)
30
+ rspec-expectations (>= 3.0.0)
31
+ rspec-mocks (3.6.0)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.6.0)
34
+ rspec-support (3.6.0)
35
+ simplecov (0.15.1)
28
36
  docile (~> 1.1.0)
29
37
  json (>= 1.8, < 3)
30
38
  simplecov-html (~> 0.10.0)
31
- simplecov-html (0.10.0)
32
- terminal-table (1.6.0)
39
+ simplecov-html (0.10.2)
40
+ terminal-table (1.8.0)
41
+ unicode-display_width (~> 1.1, >= 1.1.1)
42
+ unicode-display_width (1.3.0)
33
43
 
34
44
  PLATFORMS
35
45
  ruby
36
46
 
37
47
  DEPENDENCIES
38
48
  rake
39
- rspec (~> 2.99.0)
49
+ rspec (~> 3.6)
50
+ rspec-its (~> 1.2)
40
51
  simplecov
41
52
  venice!
42
53
 
43
54
  BUNDLED WITH
44
- 1.11.2
55
+ 1.15.4
data/README.md CHANGED
@@ -4,7 +4,7 @@ Venice is a simple gem for verifying Apple In-App Purchase receipts, and retriev
4
4
 
5
5
  There are two reasons why you should verify in-app purchase receipts on the server: First, it allows you to keep your own records of past purchases, which is useful for up-to-the-minute metrics and historical analysis. Second, server-side verification over SSL is the most reliable way to determine the authenticity of purchasing records.
6
6
 
7
- See Apple's [In-App Purchase Programming Guide](http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/VerifyingStoreReceipts/VerifyingStoreReceipts.html) for additional information.
7
+ See Apple's [Receipt Validation Programming Guide](https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Introduction.html) for additional information.
8
8
 
9
9
  > Venice is named for [Venice, Italy](http://en.wikipedia.org/wiki/Venice,_Italy)—or more specifically, Shakespeare's [_The Merchant of Venice_](http://en.wikipedia.org/wiki/The_Merchant_of_Venice).
10
10
  > It's part of a series of world-class command-line utilities for iOS development, which includes [Cupertino](https://github.com/mattt/cupertino) (Apple Dev Center management), [Shenzhen](https://github.com/mattt/shenzhen) (Building & Distribution), [Houston](https://github.com/mattt/houston) (Push Notifications), [Dubai](https://github.com/mattt/dubai) (Passbook pass generation), and [Nashville](https://github.com/nomad/nashville) (iTunes Store API).
data/Rakefile CHANGED
@@ -1,9 +1,6 @@
1
- require 'bundler/setup'
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
2
3
 
3
- gemspec = eval(File.read("venice.gemspec"))
4
+ RSpec::Core::RakeTask.new(:spec)
4
5
 
5
- task :build => "#{gemspec.full_name}.gem"
6
-
7
- file "#{gemspec.full_name}.gem" => gemspec.files + ["venice.gemspec"] do
8
- system "gem build venice.gemspec"
9
- end
6
+ task default: :spec
File without changes
File without changes
File without changes
File without changes
File without changes