venice 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +29 -18
- data/README.md +1 -1
- data/Rakefile +4 -7
- data/coverage/assets/{0.10.0 → 0.10.2}/application.css +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/application.js +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/border.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/controls.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/loading.gif +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/colorbox/loading_background.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/favicon_green.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/favicon_red.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/favicon_yellow.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/loading.gif +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/magnify.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +874 -320
- data/lib/venice/in_app_receipt.rb +1 -1
- data/lib/venice/pending_renewal_info.rb +66 -0
- data/lib/venice/receipt.rb +13 -1
- data/lib/venice/version.rb +1 -1
- data/lib/venice.rb +1 -0
- data/spec/pending_renewal_info_spec.rb +41 -0
- data/spec/receipt_spec.rb +24 -1
- data/spec/spec_helper.rb +1 -0
- data/venice.gemspec +2 -1
- metadata +46 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 623d0181a1109a9312e3ec0e3959d97e9b109e7f
|
4
|
+
data.tar.gz: 39dfbe7bc3f1668f0c2a282506494fc38a23f704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
12
|
+
commander (4.4.3)
|
13
13
|
highline (~> 1.7.2)
|
14
|
-
diff-lcs (1.
|
14
|
+
diff-lcs (1.3)
|
15
15
|
docile (1.1.5)
|
16
16
|
highline (1.7.8)
|
17
|
-
json (2.0
|
18
|
-
rake (
|
19
|
-
rspec (
|
20
|
-
rspec-core (~>
|
21
|
-
rspec-expectations (~>
|
22
|
-
rspec-mocks (~>
|
23
|
-
rspec-core (
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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.
|
32
|
-
terminal-table (1.
|
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 (~>
|
49
|
+
rspec (~> 3.6)
|
50
|
+
rspec-its (~> 1.2)
|
40
51
|
simplecov
|
41
52
|
venice!
|
42
53
|
|
43
54
|
BUNDLED WITH
|
44
|
-
1.
|
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 [
|
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/
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'rspec/core/rake_task'
|
2
3
|
|
3
|
-
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
4
5
|
|
5
|
-
task :
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/coverage/assets/{0.10.0 → 0.10.2}/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|