forked from simp/rubygem-simp-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGemfile
More file actions
64 lines (52 loc) · 1.47 KB
/
Gemfile
File metadata and controls
64 lines (52 loc) · 1.47 KB
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
56
57
58
59
60
61
62
63
64
# Gemfile for bundler (gem install bundler)
#
# To update all gem dependencies:
#
# bundle
#
# To run a rake task:
#
# bundle exec rake <task>
# Variables:
#
# SIMP_GEM_SERVERS | a space/comma delimited list of rubygem servers
# PUPPET_VERSION | specifies the version of the puppet gem to load
# ------------------------------------------------------------------------------
gem_sources = ENV.key?('SIMP_GEM_SERVERS') ? ENV['SIMP_GEM_SERVERS'].split(/[, ]+/) : ['https://rubygems.org']
gem_sources.each { |gem_source| source gem_source }
# read dependencies in from the gemspec
gemspec
# mandatory gems
gem 'bundler'
gem 'facter'
gem 'highline', :path => 'ext/gems/highline'
gem 'puppet', ENV.fetch('PUPPET_VERSION', '~>4')
gem 'rake'
gem 'simp-rake-helpers', ENV.fetch('SIMP_RAKE_HELPERS_VERSION', '~> 3.0')
group :testing do
# bootstrap common environment variables
gem 'dotenv'
gem 'travish'
gem 'travis-lint'
# Ruby code coverage
gem 'simplecov'
# Testing framework
gem 'rspec'
gem 'rspec-its'
end
# nice-to-have gems (for debugging)
group :development do
# enhanced REPL + debugging environment
gem 'pry'
gem 'pry-doc'
# Automatically test changes
gem 'guard'
gem 'guard-shell'
gem 'guard-rspec'
# `listen` is a dependency of `guard`
# from `listen` 3.1+, `ruby_dep` requires Ruby version >= 2.2.3, ~> 2.2
gem 'listen', '~> 3.0.6'
# Generate HISTORY.md from git tags (experimental, but promising)
gem 'gitlog-md'
gem 'rubocop'
end