Skip to content

Commit c1fbf18

Browse files
authored
Merge pull request #147 from artem-sidorenko/gem-update
Update and cleanup of Gemfile
2 parents a768d8f + 5c00381 commit c1fbf18

File tree

3 files changed

+17
-39
lines changed

3 files changed

+17
-39
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,29 @@ matrix:
1616
# verify lint and unit
1717
- rvm: 2.3.1
1818
gemfile: Gemfile
19-
bundler_args: "--without integration guard tools"
19+
bundler_args: "--without integration development"
2020
# integration tests
2121
- rvm: 2.3.1
22-
bundler_args: "--without guard tools"
22+
bundler_args: "--without development"
2323
script: bundle exec rake $SUITE
2424
env: SUITE=test:integration OS='centos'
2525
- rvm: 2.3.1
26-
bundler_args: "--without guard tools"
26+
bundler_args: "--without development"
2727
script: bundle exec rake $SUITE
2828
env: SUITE=test:integration OS='oracle'
2929
- rvm: 2.3.1
30-
bundler_args: "--without guard tools"
30+
bundler_args: "--without development"
3131
script: bundle exec rake $SUITE
3232
env: SUITE=test:integration OS='ubuntu'
3333
- rvm: 2.3.1
34-
bundler_args: "--without guard tools"
34+
bundler_args: "--without development"
3535
script: bundle exec rake $SUITE
3636
env: SUITE=test:integration OS='debian'
3737
- rvm: 2.3.1
38-
bundler_args: "--without guard tools"
38+
bundler_args: "--without development"
3939
script: bundle exec rake $SUITE
4040
env: SUITE=test:integration OS='fedora'
4141
- rvm: 2.3.1
42-
bundler_args: "--without guard tools"
42+
bundler_args: "--without development"
4343
script: bundle exec rake $SUITE
4444
env: SUITE=test:integration OS='opensuse'

Gemfile

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,30 @@
22

33
source 'https://rubygems.org'
44

5-
gem 'berkshelf', '~> 4.0'
6-
gem 'chef', '>= 12.0'
7-
8-
# pin dependency for Ruby 1.9.3 since bundler is not
9-
# detecting that net-ssh 3 does not work with 1.9.3
10-
if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('1.9.3')
11-
gem 'net-ssh', '~> 2.9'
12-
end
5+
gem 'berkshelf', '~> 5.3'
6+
gem 'chef', '~> 12.5'
137

148
group :test do
9+
gem 'chefspec', '~> 5.3.0'
10+
gem 'coveralls', require: false
11+
gem 'foodcritic', '~> 6.0'
1512
gem 'rake'
16-
gem 'chefspec', '~> 4.2.0'
17-
gem 'foodcritic', '~> 6.3'
18-
gem 'thor-foodcritic'
19-
gem 'rubocop', '~> 0.43.0'
20-
gem 'coveralls', require: false
21-
gem 'minitest', '~> 5.5'
13+
gem 'rubocop', '~> 0.46.0'
2214
gem 'simplecov', '~> 0.10'
2315
end
2416

2517
group :development do
2618
gem 'guard'
19+
gem 'guard-foodcritic', '~>2.1'
2720
gem 'guard-rspec'
28-
# gem 'guard-kitchen' # guard-kitchen is not compatable with Guard 2.x
2921
gem 'guard-rubocop'
30-
gem 'guard-foodcritic'
3122
end
3223

3324
group :integration do
34-
gem 'test-kitchen', '~> 1.0'
35-
gem 'kitchen-vagrant'
36-
gem 'kitchen-inspec'
37-
gem 'kitchen-sharedtests', '~> 0.2.0'
38-
gem 'concurrent-ruby', '~> 0.9'
3925
gem 'kitchen-dokken'
26+
gem 'kitchen-inspec'
27+
gem 'kitchen-vagrant'
28+
gem 'test-kitchen', '~> 1.0'
4029
end
4130

4231
group :tools do

Guardfile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,3 @@ guard :rspec do
2020
watch(/^(recipes)\/(.+)\.rb$/) { |m| "spec/#{m[1]}_spec.rb" }
2121
watch('spec/spec_helper.rb') { 'spec' }
2222
end
23-
24-
# guard-kitchen is not compatable with Guard 2.x
25-
# guard :kitchen, all_on_start: false do
26-
# watch(/test\/.+/)
27-
# watch(/^recipes\/(.+)\.rb$/)
28-
# watch(/^attributes\/(.+)\.rb$/)
29-
# watch(/^files\/(.+)/)
30-
# watch(/^templates\/(.+)/)
31-
# watch(/^providers\/(.+)\.rb/)
32-
# watch(/^resources\/(.+)\.rb/)
33-
# end

0 commit comments

Comments
 (0)