rubygems-await 0.1.0 → 0.1.2

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
  SHA256:
3
- metadata.gz: 1114eb23bcdd6c4932bbd835f9d2b8be1ea2bcb49070847cd4b651d9275d1cd5
4
- data.tar.gz: 95ce1d2b97f8a38d66a0f6c5d40057d184b4b70462abe4bddeea81c87fb20c22
3
+ metadata.gz: 0e2fb2f8ff42670a293d17a8fed5665bbc52322ef9e0648290721db3428c4a5a
4
+ data.tar.gz: bd2fc96014a3512a8e9ec2c076d697ada93835caa369046f52999333030541b2
5
5
  SHA512:
6
- metadata.gz: 84ad10350999301e02a003d77b601d6bafdc73e5c9ca7f525cae3d2087a335f01d1b8497e4e03bcca0a8bc1704443f9cc94636a4dfdef207c4efc1cd7cb94636
7
- data.tar.gz: 79322fc8694d5e31e78ded0ec4a4a759335d409791066ada7582c05bff207644c6490c8f92b7163733b5e83c04b0881ae20e744930db342ef511aa5a3b4a798b
6
+ metadata.gz: ab07ce9b0d85bf3f40c37a05cad5b97dd0700915dbbaccb6dc09e7aebae43072e2b32980d5b2934abe6f1243463b2fa0a1936a1902f3445aeab9799d14ba547f
7
+ data.tar.gz: b2e7cf2ffd371894f849d55637cc8acc8cc6b8e70c672e6be4ed18f82ac77673abacb11a9785f4859598a6f2a1ed66af4a222b2f7eda6f369fbd5b0bdcaa8efe
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubygems
4
4
  module Await
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -10,6 +10,7 @@ module Gem
10
10
 
11
11
  def initialize
12
12
  require "rubygems/await"
13
+ require "bundler"
13
14
 
14
15
  awaiters = Rubygems::Await::Awaiter.subclasses.each_with_object({}) { |a, h| h[a.awaiter_name] = a }
15
16
  skip = ["dependency api"]
@@ -58,15 +59,14 @@ module Gem
58
59
  end
59
60
 
60
61
  def execute
61
- require "bundler"
62
+ ui = Gem.ui
62
63
 
64
+ Bundler.ui # initialize
63
65
  unless defined?(Bundler::Thor::Shell::Color::UNDERLINE)
64
66
  Bundler::Thor::Shell::Color.const_set(:UNDERLINE,
65
67
  "\e[4m")
66
68
  end
67
69
 
68
- ui = Gem.ui
69
-
70
70
  gems = options[:args].map do |s|
71
71
  parts = s.split(":", 3)
72
72
  raise Gem::CommandLineError, "Please specify a name:version[:platform], given #{s.inspect}" if parts.size < 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-await
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins