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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49328dbdf834b6a4b228ddf2c14d5c6491635ac4
4
- data.tar.gz: 55230be219bc1fd6e94162462915a95eb3d768f3
3
+ metadata.gz: c4a1ff2033b9924537de2fd8776fca4f148cd68c
4
+ data.tar.gz: 7510e95251fd19e58808153f1966e07748952c24
5
5
  SHA512:
6
- metadata.gz: 46f38839e6f7627e1588c7b17948f92188a16eff3252f21ecf32012d26cfd662f6b8652f8b2522ecdefa5a524bc7aa206736d071d5645da917e9db11878c29a0
7
- data.tar.gz: 66ad37ad3f6a64b2e792211b027e289228550921821d02b349874507cc6ee8965e7a6e9e1ad5063b72fcf516c2e266aeb7a7b4ca7702448df8f22aacbb24f771
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(latest["version"])
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)
@@ -1,3 +1,3 @@
1
1
  module HockeyVer
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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.5
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: 2016-08-20 00:00:00.000000000 Z
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 on the
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: []