rm_vendor 0.3.1 → 0.3.2
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.
- checksums.yaml +8 -8
- data/README.md +9 -1
- data/lib/project/info.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGI5ODE0ZjIxODM0ODNiYjMyZjY0ZWQ3NjgwZmNmNGRkZjRhNzA0Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjVhYTZkOTkyNWZlMWY5MWYwNzlhNTQyYThiNzJkNmM0NTQ4ZjJiYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGQyNjE0ZGExZjA5ZjI0NGQ3OGY5NTI5ZjE1OWNkODA1YjhkYjY0MWQyYTI5
|
10
|
+
YWE4N2U4MzU3MDVmN2FlZGIzMDcyYmRjMTRjMDkzNTZiYzI2YTZmOGZlMjhi
|
11
|
+
YWM4YzNkNGRlMWY1ODViY2IxMTNhM2UzNTc3MGZmZGIxYjQxYjk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTYyMjcwNGFmZjg4MWEyNjk3MGFjYmQyMGU4YTk1YmQxNTQ1NzA3MGUxYmM0
|
14
|
+
ZjIzZjQ5ZjYxYzZmZjI1MGYwNmMxODgyYzU4NTFkM2U1ZDk2ZWE0NTNhNzNk
|
15
|
+
YTdkNDYyM2EyZjk0MzkyZDExMDYyMTlhN2NmOThmNTE5ZTM5MjI=
|
data/README.md
CHANGED
@@ -10,6 +10,14 @@ And then execute:
|
|
10
10
|
|
11
11
|
$ bundle
|
12
12
|
|
13
|
+
Require in your rakefile:
|
14
|
+
|
15
|
+
require 'vendor'
|
16
|
+
|
17
|
+
Install pod dependencies:
|
18
|
+
|
19
|
+
$ rake pod:install
|
20
|
+
|
13
21
|
## USAGE
|
14
22
|
|
15
23
|
#### Initialize.
|
@@ -78,4 +86,4 @@ To see wether product is registered as a subscription and if user is currently s
|
|
78
86
|
|
79
87
|
## Example App.
|
80
88
|
|
81
|
-
You can find an example app inside this gem (inside the app folder).
|
89
|
+
You can find an example app inside this gem (inside the app folder).
|
data/lib/project/info.rb
CHANGED
@@ -82,11 +82,11 @@ module Vendor
|
|
82
82
|
NSUserDefaults["#{@params.id}.localizedDescription"] = product.localizedDescription
|
83
83
|
end
|
84
84
|
|
85
|
-
@block.call({success: exists, response: response}.to_object)
|
85
|
+
@block.call({success: exists, response: response, error: nil}.to_object)
|
86
86
|
end
|
87
87
|
|
88
88
|
def request(request, didFailWithError:error)
|
89
|
-
@block.call({success: false, error: error}.to_object)
|
89
|
+
@block.call({success: false, response: nil, error: error}.to_object)
|
90
90
|
end
|
91
91
|
end
|
92
92
|
end
|