targit 0.0.5 → 0.0.6

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: 1a365094a186b0eef78d608fa937a6bb5f5002a8
4
- data.tar.gz: 8ba5189f5779dc3f5bbd22a96016b350aac0a161
3
+ metadata.gz: 24752f8fd011af5d48ceb185ff311f169d5655a5
4
+ data.tar.gz: 5c90b50a48a94b97233015d1412cfa2560001e2b
5
5
  SHA512:
6
- metadata.gz: e8af18a5aceab9a6e5cc44d839cd1fb53a4f97f2957856bea93b4778b464a8a2bb4fa668b379247f116eedbd49a24eb34891899c5651f37a8ee537ad98f7d766
7
- data.tar.gz: 816f5451f09a06fdaad695af6519ef77939b5cd5710599f6715ce465fae3c2068513a3c68cfcb598decb31222492ed1ba227cac82026cfb9927a95d640bda236
6
+ metadata.gz: 579b05dda5c43601949f1519a4d1c6245bc508b303533f5ff4ff1a5222e83d532c81e5433e51222887a441cbcdd64bef0d1a648f9ea453462d6321086da583ca
7
+ data.tar.gz: 49b04c11b4cb2afc6d83e9e0fedde1287f0459dfcbd0de5ca6c650a594b109ec4665eaa7afdf6ff9d7d0c9e2da5e643eedef29d5654938fbbb5e9f8a55c9b279
data/lib/targit/asset.rb CHANGED
@@ -40,8 +40,7 @@ module Targit
40
40
  end
41
41
 
42
42
  def url
43
- 'https://github.com/' \
44
- "#{@release.repo}/releases/download/#{@release.tag}/#{@name}"
43
+ github_data[:browser_download_url] || fail('Asset URL not found')
45
44
  end
46
45
 
47
46
  private
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Set the version (needed for Mercenary -v)
3
3
  module Targit
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: targit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-02 00:00:00.000000000 Z
11
+ date: 2014-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit