forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
55 lines (49 loc) · 1.74 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
source "https://rubygems.org"
def location_for(place)
if place =~ /^(git:[^#]*)#(.*)/
[{ :git => $1, :branch => $2, :require => false }]
elsif place =~ /^file:\/\/(.*)/
['>= 0', { :path => File.expand_path($1), :require => false }]
else
[place, { :require => false }]
end
end
# C Ruby (MRI) or Rubinius, but NOT Windows
platforms :ruby do
gem 'pry', :group => :development
gem 'yard', :group => :development
gem 'redcarpet', :group => :development
end
group(:development, :test) do
gem "puppet", *location_for('file://.')
gem "facter", *location_for(ENV['FACTER_LOCATION'] || '~> 1.6')
gem "hiera", *location_for(ENV['HIERA_LOCATION'] || '~> 1.0')
gem "rack", "~> 1.4", :require => false
gem "rake", :require => false
gem "rspec", "~> 2.11.0", :require => false
gem "mocha", "~> 0.10.5", :require => false
gem "activerecord", *location_for('~> 3.0.7')
gem "couchrest", *location_for('~> 1.0')
gem "net-ssh", *location_for('~> 2.1')
gem "puppetlabs_spec_helper"
gem "sqlite3"
gem "stomp"
gem "tzinfo"
end
platforms :mswin, :mingw do
gem "sys-admin", "~> 1.5.6", :require => false
gem "win32-api", "~> 1.4.8", :require => false
gem "win32-dir", "~> 0.3.7", :require => false
gem "win32-eventlog", "~> 0.5.3", :require => false
gem "win32-process", "~> 0.6.5", :require => false
gem "win32-security", "~> 0.1.4", :require => false
gem "win32-service", "~> 0.7.2", :require => false
gem "win32-taskscheduler", "~> 0.2.2", :require => false
gem "win32console", "~> 1.3.2", :require => false
gem "windows-api", "~> 0.4.1", :require => false
gem "windows-pr", "~> 1.2.1", :require => false
end
if File.exists? "#{__FILE__}.local"
eval(File.read("#{__FILE__}.local"), binding)
end
# vim:filetype=ruby