hockeyver 0.1.5 → 0.1.6
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 +4 -4
- data/lib/hockeyver.rb +1 -1
- data/lib/hockeyver/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4a1ff2033b9924537de2fd8776fca4f148cd68c
|
4
|
+
data.tar.gz: 7510e95251fd19e58808153f1966e07748952c24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2f3b50a05ad07278a15a2cffaea87b1aa7e3b2290d0d471b693bd709ff0b8f5f8dd98bb3254f6e884272718a5d97d104e5522f3f5ff58a6b529509d462b09a0
|
7
|
+
data.tar.gz: 134eab629dd5b4cc627e8a4ec3820e63079280ecbc300f585b8a484b25bc874ae7360f7bf961d29d7ed0b0955d5fd003b90e6b55e5372b5f213a71d6fac4373f
|
data/lib/hockeyver.rb
CHANGED
@@ -20,7 +20,7 @@ module HockeyVer
|
|
20
20
|
begin
|
21
21
|
# If found, return version
|
22
22
|
latest = json["app_versions"].first
|
23
|
-
return
|
23
|
+
return { "version" => latest["shortversion"], "build" => latest["version"] }
|
24
24
|
rescue Exception
|
25
25
|
# Error out and return nil otherwise
|
26
26
|
puts("Error while parsing hockey ver JSON. ", json)
|
data/lib/hockeyver/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hockeyver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Welner
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -53,8 +53,8 @@ dependencies:
|
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '1.0'
|
56
|
-
description: Outputs the version number of the latest build on Hockey based
|
57
|
-
provided Hockey ID and token.
|
56
|
+
description: Outputs the version and build number of the latest build on Hockey based
|
57
|
+
on the provided Hockey ID and token.
|
58
58
|
email:
|
59
59
|
- iphone@nodes.dk
|
60
60
|
executables:
|
@@ -88,5 +88,5 @@ rubyforge_project:
|
|
88
88
|
rubygems_version: 2.5.1
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
|
-
summary: Outputs the version number of of latest build on Hockey
|
91
|
+
summary: Outputs the version and build number of of latest build on Hockey.
|
92
92
|
test_files: []
|