herkko 0.0.2 → 0.0.3

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: 38ce9fb0c1c0bcf36cd9ee05a9992adfa8ef0177
4
- data.tar.gz: d383b1fc91c655ff8476fac4902e3b362ad711a8
3
+ metadata.gz: 1e4bb15ce4a18b2b70474f690c32c80b1cb87c65
4
+ data.tar.gz: bd4c100155073319adb3ad66cccbda4c26b783b1
5
5
  SHA512:
6
- metadata.gz: f79acc52f47187e90833c81e564de33572385b5894b5fa38fd32ea828ece01c8dd6376f491b0e6f84c474987e7687bf96fd0c3df826394a12aa5854638f569cf
7
- data.tar.gz: 67eaf3b8a15d9688b0057112dd539d5fcef39fc5afc580cb0f33840105f83eab18b13b931b22f4728283bf25621739fb4b9672a29eda5df183130f2e4aff5b5c
6
+ metadata.gz: 73e74592872f6fb34f67d45a66dce243f589409939754444c84872e475dfa1318c21f3a97eff5412fedfff216e3ad004b70a35991c31f906cca076ddcbc1f0fe
7
+ data.tar.gz: cb20b53b32ed8db219aee0cf7768f9035c095c7d5e34231cb93f8997aa0fcdf39be18ce048df97b5c44256e67fca4bc6d7e223d21b5d9842b992e724ad2337e8
data/lib/herkko/runner.rb CHANGED
@@ -23,7 +23,7 @@ module Herkko
23
23
  if respond_to?(command)
24
24
  send(command)
25
25
  else
26
- Herkko.run_with_output("heroku", arguments + ["-r#{environment}"])
26
+ Herkko.run_with_output("heroku", command, arguments, "-r#{environment}")
27
27
  end
28
28
  end
29
29
 
@@ -1,3 +1,3 @@
1
1
  module Herkko
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/herkko.rb CHANGED
@@ -21,6 +21,8 @@ module Herkko
21
21
  end
22
22
 
23
23
  def self.run_with_output(*command)
24
+ command = command.flatten.compact
25
+
24
26
  if @@debug
25
27
  Kernel.puts "--> #{command.join(" ")}"
26
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: herkko
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vesa Vänskä