kitchen-appbundle-updater 0.0.2 → 0.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88fad3ff92e8b5b22578de36fed20f7f5f8e9b4c
|
4
|
+
data.tar.gz: 585c313f7943c860b91cf2eb64f6c5a04ba8b42d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91c18bfb1a0501b7910fe31d5a11406feff7402a4325930ecad6866935fe916478632e8246744c1ff629e1a16fa400795e3db704ff2e958d195b27a9a53dc32d
|
7
|
+
data.tar.gz: 2b2423f60a7cd28ed34de8e876c9b35f95265dba8c73cb428b0156214b18007a5c7f32c8a8c3a5eddaa257499ca8acfaac78fa0751c9024d6a3afb9639879ed5
|
@@ -24,7 +24,10 @@ module Kitchen
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def latest_chef_appbundle_updater
|
27
|
-
|
27
|
+
url = "https://api.github.com/repos/jdmundrawala/chef-appbundle-updater/releases/latest"
|
28
|
+
url += "?access_token=#{config[:github_access_token]}" if config[:github_access_token]
|
29
|
+
|
30
|
+
@cookbook_url ||= open(url) do |r|
|
28
31
|
j = JSON.parse(r.read)
|
29
32
|
j["assets"][0]["browser_download_url"]
|
30
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-appbundle-updater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Mundrawala
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|