wedge 0.0.15 → 0.0.16

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 +3 -4
  3. data/lib/wedge/version.rb +1 -1
  4. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce2676bdcde4fd10da925a2913e364cb22464880
4
- data.tar.gz: 52de2ad75c872dc63072ed9c87c1e207a16ffbd2
3
+ metadata.gz: eb0b31c6357bad7c82e2c9702e6a9767e4c5f6ac
4
+ data.tar.gz: 59e14e077ac8b4d8fdcabf913150181280af546b
5
5
  SHA512:
6
- metadata.gz: b7b765660ba7d941bc04c6e51622a6f26d2b731d5f9348a72e59417242021d7e03f2cd7918614a6ef268c5eb5bd2ec3dfd75d891b343c1b33c807884159b73d1
7
- data.tar.gz: 268e5d3ade33214b815a1e4c60c10cb90a57838e217021a7904b0f091e2c05bdad4c09bf4a8536e42c36ad0bf34ef55e21261aa04e28eb247ca9872d3a1e3df4
6
+ metadata.gz: ee757c940f511f92b71ee00652cebcd95006d665c85f96d4eb8f759ae3a85883531266573bda2bb7807a2bcefe8134f16dfd6e2975b89610c1455dbbb21f68a8
7
+ data.tar.gz: 044d3e033452c34b2d7e0c4d111f643695464652f9f60b8a8080117f1fc01d28bf7e18fd25bd9193ecb7be5bfbc18879e0349b06445744a66cab6b7f617ae661
data/lib/wedge.rb CHANGED
@@ -236,10 +236,9 @@ module Wedge
236
236
  unless RUBY_ENGINE == 'opal'
237
237
  args[:file_path] = caller.first.gsub(/(?<=\.rb):.*/, '')
238
238
  args[:assets_key] = begin
239
- if defined?(PlatformAPI) && ENV['HEROKU_TOKEN'] && ENV['HEROKU_APP']
240
- heroku = PlatformAPI.connect_oauth(ENV['HEROKU_TOKEN'])
241
- slug_id = heroku.release.list(ENV['HEROKU_APP']).last["slug"]["id"]
242
- heroku.slug.info(ENV['HEROKU_APP'], slug_id)["commit"]
239
+ if defined?(Heroku::API) && ENV['HEROKU_TOKEN'] && ENV['HEROKU_APP']
240
+ h = Heroku::API.new(api_key: ENV['HEROKU_TOKEN'])
241
+ h.releases(ENV['HEROKU_APP']).last['commit']
243
242
  else
244
243
  `git rev-parse HEAD 2>/dev/null`.to_s.strip
245
244
  end
data/lib/wedge/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wedge
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wedge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-30 00:00:00.000000000 Z
11
+ date: 2015-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  requirements: []
220
220
  rubyforge_project:
221
- rubygems_version: 2.4.3
221
+ rubygems_version: 2.2.2
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Components for the Browser and Server
@@ -235,3 +235,4 @@ test_files:
235
235
  - test/test_basic_component.rb
236
236
  - test/test_browserio.rb
237
237
  - test/test_helper.rb
238
+ has_rdoc: