wedge 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wedge.rb +1 -1
  3. data/lib/wedge/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c065c0594d324adf0a85070706244d8cf8a273b2
4
- data.tar.gz: 6f8ea516a9e3373ccd0de086007c6c095e82e877
3
+ metadata.gz: f13a4dd0fbc621b50f739ad4a65f9f8c455d4f3e
4
+ data.tar.gz: 716a9f637edcfaba17aedfbb654ad7a474589fc2
5
5
  SHA512:
6
- metadata.gz: f78f5187695c72d7ef3729ccf63e0e08a963a6e830b085e550890fbe229bbeb8ff68373248921167c5439599a7192c38d41c349cd5ffa0599025f33c9677b235
7
- data.tar.gz: 7935e74e211c19e9b58283f62199d1e3be61ff10f3fc21bcd5ab5518adfaa9efe4885c1a8eb214fb1286e2a132dadd24f989fe134b2d8110a266877d332cf5b8
6
+ metadata.gz: 369cb64490c558d61036d8186098954deeeb9617c8a3cff12bb136993c31ac03d99981d0a439f3f7a15abcbfa56a51f0afd606dcc79a5ec975e8b642b60135ba
7
+ data.tar.gz: 260cf7e4aca8918a5b982111756e38d6b7a00bffbc9180281535d1fe1179e24e4fe024c0c01d0bb2ab5fbc22215418301f2495a165cfadbc8b63f4357c6df152
data/lib/wedge.rb CHANGED
@@ -244,7 +244,7 @@ module Wedge
244
244
  args[:assets_key] = begin
245
245
  if defined?(PlatformAPI) && ENV['HEROKU_TOKEN'] && ENV['HEROKU_APP']
246
246
  heroku = PlatformAPI.connect_oauth(ENV['HEROKU_TOKEN'])
247
- slug_id = heroku.release.list(ENV['HEROKU_APP']).last["slug"]["id"]
247
+ slug_id = heroku.release.list(ENV['HEROKU_APP']).first["slug"]["id"]
248
248
  heroku.slug.info(ENV['HEROKU_APP'], slug_id)["commit"]
249
249
  else
250
250
  `git rev-parse HEAD 2>/dev/null`.to_s.strip
data/lib/wedge/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wedge
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wedge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj