]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
pdksync_heads/master-0-g6814a87 pdksync_pdksync_heads/master-0-g6814a87
authorDavid Swan <david.swan@puppet.com>
Thu, 10 Jan 2019 15:24:24 +0000 (15:24 +0000)
committerDavid Swan <david.swan@puppet.com>
Thu, 10 Jan 2019 15:24:24 +0000 (15:24 +0000)
.travis.yml
Gemfile
metadata.json

index 7fb34e61c16b12bc9da6be8280fbe3c4ef3c4877..88c55fd2241ec17692ed6d47b1cbd2659be95b96 100644 (file)
@@ -3,9 +3,6 @@ dist: trusty
 language: ruby
 cache: bundler
 before_install:
-  - if [ $BUNDLER_VERSION ]; then
-      gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri;
-    fi
   - bundle -v
   - rm -f Gemfile.lock
   - gem update --system $RUBYGEMS_VERSION
@@ -45,9 +42,6 @@ matrix:
     -
       env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
       rvm: 2.4.4
-    -
-      env: PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec RUBYGEMS_VERSION=2.7.8 BUNDLER_VERSION=1.17.3
-      rvm: 2.1.9
 branches:
   only:
     - master
diff --git a/Gemfile b/Gemfile
index d85a609aba0e4f493e269cf6155fc318168c0491..92cccba8a1494632e821a6f025d18565cc13f17a 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -21,7 +21,8 @@ group :development do
   gem "fast_gettext",                                  require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.1.0')
   gem "json_pure", '<= 2.0.1',                         require: false if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.0.0')
   gem "json", '= 1.8.1',                               require: false if Gem::Version.new(RUBY_VERSION.dup) == Gem::Version.new('2.1.9')
-  gem "json", '<= 2.0.4',                              require: false if Gem::Version.new(RUBY_VERSION.dup) == Gem::Version.new('2.4.4')
+  gem "json", '= 2.0.4',                               require: false if Gem::Requirement.create('~> 2.4.2').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
+  gem "json", '= 2.1.0',                               require: false if Gem::Requirement.create(['>= 2.5.0', '< 2.7.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
   gem "puppet-module-posix-default-r#{minor_version}", require: false, platforms: [:ruby]
   gem "puppet-module-posix-dev-r#{minor_version}",     require: false, platforms: [:ruby]
   gem "puppet-module-win-default-r#{minor_version}",   require: false, platforms: [:mswin, :mingw, :x64_mingw]
index 00ae4f1b16ac181844f1ade99f3858e01eee2841..a7f444f93864678da53b1430ecbe29765e98c469 100644 (file)
@@ -41,6 +41,6 @@
     }
   ],
   "template-url": "https://github.com/puppetlabs/pdk-templates/",
-  "template-ref": "heads/master-0-g9c815ea",
+  "template-ref": "heads/master-0-g6814a87",
   "pdk-version": "1.7.1"
 }