Skip to content

Commit

Permalink
Remove Gemfile.windows and put both platforms in Gemfile.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeiser committed Apr 18, 2016
1 parent 31f9ada commit 01cf3ef
Show file tree
Hide file tree
Showing 24 changed files with 228 additions and 662 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ external_tests/*.lock
# http://gembundler.com/man/bundle-exec.1.html
b/
binstubs/
omnibus/.bundle
acceptance/.bundle
**/.bundle
# RVM and RBENV ruby version files
.rbenv-version
.rvmrc
Expand Down
13 changes: 12 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@ require_relative "tasks/gemfile_util"
extend GemfileUtil

source "https://rubygems.org"
gemspec name: ($chef_platform ? "chef-#{$chef_platform}" : "chef")

# Pick the gemspec for our platform
gemspec_name = "chef"
Dir.glob("chef-*.gemspec").each do |gemspec_filename|
gemspec_filename =~ /^chef-(.+).gemspec/
gemspec_platform = $1
if Gem::Platform.match(Gem::Platform.new(gemspec_platform))
Bundler.ui.info "Using gemspec #{gemspec_filename} for current platform."
gemspec_name = "chef-#{gemspec_platform}"
end
end
gemspec name: gemspec_name

gem "activesupport", "< 4.0.0", group: :compat_testing, platform: "ruby"
gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.exist?(File.expand_path("../chef-config", __FILE__))
Expand Down
63 changes: 63 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,43 @@ PATH
specinfra (~> 2.10)
syslog-logger (~> 1.6)
uuidtools (~> 2.1.5)
chef (12.10.5-universal-mingw32)
bundler (>= 1.10)
chef-config (= 12.10.5)
chef-zero (~> 4.5)
diff-lcs (~> 1.2, >= 1.2.4)
erubis (~> 2.7)
ffi (~> 1.9)
ffi-yajl (~> 2.2)
highline (~> 1.6, >= 1.6.9)
mixlib-authentication (~> 1.4)
mixlib-cli (~> 1.4)
mixlib-log (~> 1.3)
mixlib-shellout (~> 2.0)
net-sftp (~> 2.1, >= 2.1.2)
net-ssh (>= 2.9, < 4.0)
net-ssh-multi (~> 1.1)
ohai (>= 8.6.0.alpha.1, < 9)
plist (~> 3.2)
proxifier (~> 1.0)
rspec-core (~> 3.4)
rspec-expectations (~> 3.4)
rspec-mocks (~> 3.4)
rspec_junit_formatter (~> 0.2.0)
serverspec (~> 2.7)
specinfra (~> 2.10)
syslog-logger (~> 1.6)
uuidtools (~> 2.1.5)
win32-api (~> 1.5.3)
win32-dir (~> 0.5.0)
win32-event (~> 0.6.1)
win32-eventlog (= 0.6.3)
win32-mmap (~> 0.4.1)
win32-mutex (~> 0.4.2)
win32-process (~> 0.8.2)
win32-service (~> 0.8.7)
windows-api (~> 0.4.4)
wmi-lite (~> 1.0)

PATH
remote: chef-config
Expand Down Expand Up @@ -127,6 +164,7 @@ GEM
fauxhai (3.3.0)
net-ssh
ffi (1.9.10)
ffi (1.9.10-x86-mingw32)
ffi-yajl (2.2.3)
libyajl2 (~> 1.2)
foodcritic (6.1.1)
Expand Down Expand Up @@ -201,6 +239,9 @@ GEM
mixlib-versioning
mixlib-log (1.6.0)
mixlib-shellout (2.2.6)
mixlib-shellout (2.2.6-universal-mingw32)
win32-process (~> 0.8.2)
wmi-lite (~> 1.0)
mixlib-versioning (1.1.0)
multi_json (1.11.2)
multi_xml (0.5.5)
Expand All @@ -219,6 +260,8 @@ GEM
netrc (0.11.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
nokogiri (1.6.7.2-x86-mingw32)
mini_portile2 (~> 2.0.0.rc2)
nori (2.6.0)
oauth2 (1.1.0)
faraday (>= 0.8, < 0.10)
Expand Down Expand Up @@ -332,6 +375,25 @@ GEM
ubuntu_ami (0.4.1)
unicode-display_width (1.0.3)
uuidtools (2.1.5)
win32-api (1.5.3-universal-mingw32)
win32-dir (0.5.1)
ffi (>= 1.0.0)
win32-event (0.6.3)
win32-ipc (>= 0.6.0)
win32-eventlog (0.6.3)
ffi
win32-ipc (0.6.6)
ffi
win32-mmap (0.4.2)
ffi
win32-mutex (0.4.3)
win32-ipc (>= 0.6.0)
win32-process (0.8.3)
ffi (>= 1.0.0)
win32-service (0.8.7)
ffi
windows-api (0.4.4)
win32-api (>= 1.4.5)
winrm (1.7.3)
builder (>= 2.1.2)
gssapi (~> 1.2)
Expand All @@ -346,6 +408,7 @@ GEM

PLATFORMS
ruby
x86-mingw32

DEPENDENCIES
activesupport (< 4.0.0)
Expand Down
41 changes: 0 additions & 41 deletions Gemfile.windows

This file was deleted.

Loading

0 comments on commit 01cf3ef

Please sign in to comment.