hula 0.10.0 → 0.10.1

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: 7c29bfa90e4fa55109dbad00d8389c432e1c3ced
4
- data.tar.gz: 8e426bad601bc2a135e68d05e5e066c186d33915
3
+ metadata.gz: 7723f8cd9bdda2493e0fab74f40350e63f374f74
4
+ data.tar.gz: 6f3413a172b4585bae440186f50bcb9990abbae1
5
5
  SHA512:
6
- metadata.gz: 06a3bfcea1e42846a7ae1d87ac719b6ace1eb1f13c64506769ee4ef6b1a62b1d6f9807660bd52ea61cab1c4d5f086602bd724d4d2f04b0127a24926360a0e01f
7
- data.tar.gz: 8f71da5ca2c955035bbeeaf7a7ba9068d72476e0b7c7ff172fd313425e6fa7a9704365155acbaa45e12ad893d224152bd5ab747985c754513f606d3a0226573c
6
+ metadata.gz: 53b0d018f335cce6b3d61c7907f8e82a6f1457e789b870ef656eff9406c72e110b58511a8b97692d77aca0840bcfaaed08258f0aa789d9825117c3ac34b8b2ac
7
+ data.tar.gz: a2d6d5fbc46a6c5192a606768a96d566165835769e7f4198fc575bf9944a659cb492e6d83465986a30231488c175c2005c00f5f2bbae33e05e4e601aaf84eb93
@@ -284,6 +284,15 @@ module Hula
284
284
  JSON.parse(output)
285
285
  end
286
286
 
287
+ def cf(command, options = {})
288
+ allow_failure = options.fetch(:allow_failure, false)
289
+ cf_command = "cf #{command}"
290
+
291
+ logger.info(cf_command)
292
+
293
+ command_runner.run(cf_command, allow_failure: allow_failure)
294
+ end
295
+
287
296
  private
288
297
 
289
298
  attr_reader :logger, :command_runner
@@ -307,15 +316,6 @@ module Hula
307
316
  @default_command_runner ||= CommandRunner.new(environment: env)
308
317
  end
309
318
 
310
- def cf(command, options = {})
311
- allow_failure = options.fetch(:allow_failure, false)
312
- cf_command = "cf #{command}"
313
-
314
- logger.info(cf_command)
315
-
316
- command_runner.run(cf_command, allow_failure: allow_failure)
317
- end
318
-
319
319
  def env
320
320
  @env ||= ENV.to_hash.merge(
321
321
  'PATH' => clean_path,
data/lib/hula/version.rb CHANGED
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Hula
12
- VERSION = '0.10.0'
12
+ VERSION = '0.10.1'
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hula
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Pragnell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2017-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler