Skip to content

Commit 24900a7

Browse files
authored
Merge pull request #29 from andrewhuynh/master
Address vulnerabilities and fix xcode check
2 parents 392f040 + d7092d2 commit 24900a7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ for i in {1..3}; do
4848
# .dist code in Apple's SUS catalog
4949
touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
5050
# find the CLI Tools update
51-
OSX_VERSION=$(sw_vers -productVersion | awk -F'.' '{print $1"."$2}')
52-
XCODE_PATTERN="Command Line.*${OSX_VERSION}"
51+
OSX_VERSION=$(sw_vers -productVersion | awk -F'.' '{print $1""$2}')
52+
XCODE_PATTERN="com.apple.pkg.CLTools_SDK_macOS${OSX_VERSION}"
5353
XCODE_INSTALLER=$(softwareupdate -l |
5454
grep "\*.*${XCODE_PATTERN}" |
5555
head -n 1 |

omnibus/Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ GEM
8282
coderay (1.1.1)
8383
diff-lcs (1.3)
8484
docker-api (1.33.2)
85-
excon (>= 0.38.0)
85+
excon (>= 0.71.0)
8686
json
8787
erubis (2.7.0)
88-
excon (0.54.0)
88+
excon (>= 0.71.0)
8989
faraday (0.9.2)
9090
multipart-post (>= 1.2, < 3)
9191
ffi (>= 1.9.24)
@@ -117,7 +117,7 @@ GEM
117117
train (>= 0.22.0, < 1.0)
118118
ipaddress (0.8.3)
119119
jmespath (1.3.1)
120-
json (2.0.3)
120+
json (2.3.0)
121121
kitchen-inspec (0.17.0)
122122
hashie (~> 3.4)
123123
inspec (>= 0.34.0, < 2.0.0)

workup.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323
spec.require_paths = ['lib']
2424

2525
spec.add_development_dependency 'bundler', '~> 1.12'
26-
spec.add_development_dependency 'rake', '~> 11.2'
26+
spec.add_development_dependency 'rake', '>= 12.3.3'
2727
spec.add_development_dependency 'rubocop', '~> 0.49.0'
2828
spec.add_development_dependency 'rspec', '~> 3.0'
2929

0 commit comments

Comments
 (0)