xcinvoke 0.2.0 → 0.2.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: 3bae7231afd1f410041f2cd6a06aa33a0649c9e6
4
- data.tar.gz: 046dd15b60a8aa1ef6caeab70cd9927b6af3596a
3
+ metadata.gz: 00529863c00ceb1e317b60bc5bbbb6b13934ef7d
4
+ data.tar.gz: 5cb2d0b90073838f66cc812378dffa8cd0d446b7
5
5
  SHA512:
6
- metadata.gz: 56b5ab6ed2588eee66f8f3247b890d4ffd1e50bed5e3c94aef841d3be8b7ce6654b16d891b9f5adb89de2c2c4d779cf49ce2e66306bd30222d00024030006a0a
7
- data.tar.gz: 0bf2bc085ac3f97d0bd51f815627d7a04256809a846cd129388634c10d35f6721d012877339d76f3e7811631040d8227ed02e0f5ff8687e8efbd2b9eb6ac718c
6
+ metadata.gz: 6dd5085ec3589c32ee03d0abba57051f2104ce175b40149c5dc94cde24f83bf9b247e0b1fee55cdbff4044b61c21ccaa6322ccad87471532f13ff7958a9254d0
7
+ data.tar.gz: 14bc9cbe2ff586c9d0d3fe04fb1313cf5a5b1d0e6d0deaabaaf6b30d1d6513b0e74eabcfd104ac6e0783a3c8eebcddb38c6a8cb7cfe228951b93b2c412091952
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.2.1
2
+
3
+ ##### Bug Fixes
4
+
5
+ * Ensure that `xcrun` is invoked with the full path, avoiding hanging when
6
+ Xcode 4.3.x is installed.
7
+ [Samuel Giddins](https://github.com/segiddins)
8
+ [#3](https://github.com/segiddins/xcinvoke/issues/3)
9
+
10
+
1
11
  ## 0.2.0
2
12
 
3
13
  ##### Enhancements
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xcinvoke (0.2.0)
4
+ xcinvoke (0.2.1)
5
5
  liferaft (~> 0.0.4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  addressable (2.3.8)
11
- ast (2.0.0)
11
+ ast (2.2.0)
12
12
  astrolabe (1.3.1)
13
13
  parser (~> 2.2)
14
14
  bacon (1.2.0)
@@ -20,8 +20,8 @@ GEM
20
20
  metaclass (~> 0.0.1)
21
21
  mocha-on-bacon (0.2.2)
22
22
  mocha (>= 0.13.0)
23
- parser (2.2.2.6)
24
- ast (>= 1.1, < 3.0)
23
+ parser (2.3.0.2)
24
+ ast (~> 2.2)
25
25
  powerpack (0.1.1)
26
26
  prettybacon (0.0.2)
27
27
  bacon (~> 1.2)
@@ -54,4 +54,4 @@ DEPENDENCIES
54
54
  xcinvoke!
55
55
 
56
56
  BUNDLED WITH
57
- 1.10.6
57
+ 1.11.2
@@ -1,3 +1,3 @@
1
1
  module XCInvoke
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -74,7 +74,10 @@ module XCInvoke
74
74
 
75
75
  def xcrun(cmd, env: {}, err: false)
76
76
  env = env.merge(as_env)
77
- cmd = %w(xcrun) + cmd
77
+
78
+ # explicitly dont use the env when computing the full path to xcrun
79
+ @xcrun_path ||= Open3.capture2('xcrun', '-f', 'xcrun').first.strip
80
+ cmd = [@xcrun_path] + cmd
78
81
  case err
79
82
  when :merge
80
83
  oe, = Open3.capture2e(env, *cmd)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcinvoke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel E. Giddins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-31 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liferaft
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.4.8
96
+ rubygems_version: 2.5.2
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Manage Xcode versions with ease!