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.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +9 -1
  3. data/lib/project/info.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTllMzY5MjVmMzg5OGE2YzU2YTI1NjQxOTZkMDczNDQ1YzgxZjMyMA==
4
+ NGI5ODE0ZjIxODM0ODNiYjMyZjY0ZWQ3NjgwZmNmNGRkZjRhNzA0Nw==
5
5
  data.tar.gz: !binary |-
6
- NTJmOTI0MGUwYjBlZWQ5NDU0ZDkzN2M2YjFmZDllZWJiMWQ3NGNiZA==
6
+ MjVhYTZkOTkyNWZlMWY5MWYwNzlhNTQyYThiNzJkNmM0NTQ4ZjJiYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTQ2Y2JmZTkwYWRmNGRmNmMyN2NmMTM3ZjcwZjZhMDVmYmY0MTBjNGM0Njgz
10
- ZDQ2Yzc3ZmU2OTg1MmMzNGYzZWI0Yzg5ZTNlMmI4ZTFlZTExYzQ0YTJjNWE1
11
- NDZlNWExNDQyM2M2ZThmODJkZDA1ODk4NjE5NjJlNDIyYTc5NDA=
9
+ OGQyNjE0ZGExZjA5ZjI0NGQ3OGY5NTI5ZjE1OWNkODA1YjhkYjY0MWQyYTI5
10
+ YWE4N2U4MzU3MDVmN2FlZGIzMDcyYmRjMTRjMDkzNTZiYzI2YTZmOGZlMjhi
11
+ YWM4YzNkNGRlMWY1ODViY2IxMTNhM2UzNTc3MGZmZGIxYjQxYjk=
12
12
  data.tar.gz: !binary |-
13
- MzllNzkzNTNjYWJlODRhM2NhMGI3MTNlY2ZhMWY0MjU4NmJkMzJmZDE3ZGNj
14
- YTVhZDFmNzgyNDdjYjA4ODVmMTI0MTI2NmMxYWM2NzhkNmM1Y2FhZWVmMmU2
15
- Yzg3ZjRmNzg5MDBlNDM0NDFhMjliYzU0YzdhNzA2N2ZkOGFhZmE=
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rm_vendor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Holger Sindbaek