wedge 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wedge.rb +3 -4
- data/lib/wedge/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb0b31c6357bad7c82e2c9702e6a9767e4c5f6ac
|
4
|
+
data.tar.gz: 59e14e077ac8b4d8fdcabf913150181280af546b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?(
|
240
|
-
|
241
|
-
|
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
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.
|
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-
|
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.
|
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:
|