Skip to content

[WIP] Eval bump to ruby 2.7 #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.6"]
ruby-version: ["2.7"]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.6"]
ruby-version: ["2.7"]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.6"]
ruby-version: ["2.7"]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -76,7 +76,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.6"]
ruby-version: ["2.7"]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999 # v1.191.0
with:
ruby-version: '2.6'
ruby-version: '2.7'
- run: bundle install

- name: Publish to GPR
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.8
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.3.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUBY_VERSION="2.6"
ARG RUBY_VERSION="2.7"
FROM ruby:${RUBY_VERSION} as ruby
ARG RUBY_VERSION
ENV RUBY_VERSION="${RUBY_VERSION}"
Expand Down
26 changes: 13 additions & 13 deletions octocatalog-diff.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require 'json'
DEFAULT_PUPPET_VERSION = '5.5.22'.freeze

Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.6.0'
s.required_ruby_version = '>= 2.7.0'
puppet_version = ENV['PUPPET_VERSION'] || DEFAULT_PUPPET_VERSION

s.name = 'octocatalog-diff'
Expand All @@ -25,20 +25,20 @@ Gem::Specification.new do |s|
from a local development environment or in CI.
EOF

s.add_runtime_dependency 'diffy', '>= 3.1.0'
s.add_runtime_dependency 'httparty', '>= 0.21.0'
s.add_runtime_dependency 'hashdiff', '>= 0.3.0'
s.add_runtime_dependency 'parallel', '>= 1.12.0'
s.add_runtime_dependency 'rugged', '>= 0.25.0b2'
s.add_runtime_dependency 'diffy', '~> 3.4.0'
s.add_runtime_dependency 'httparty'
s.add_runtime_dependency 'hashdiff'
s.add_runtime_dependency 'parallel'
s.add_runtime_dependency 'rugged'
s.add_runtime_dependency 'puppet', puppet_version
s.add_development_dependency 'puppet', puppet_version
s.add_development_dependency 'rspec', '~> 3.4.0'
s.add_development_dependency 'rake', '12.3.3'
s.add_development_dependency 'parallel_tests', '2.7.1'
s.add_development_dependency 'rspec-retry', '0.5.0'
s.add_development_dependency 'rubocop', '= 0.49.0'
s.add_development_dependency 'simplecov', '~> 0.14.1'
s.add_development_dependency 'simplecov-erb', '~> 0.1.1'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rake'
s.add_development_dependency 'parallel_tests', '= 4.7.1' # 4.7.1 is the last version that supports Ruby 2.7
s.add_development_dependency 'rspec-retry'
s.add_development_dependency 'rubocop'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'simplecov-erb'

puppet_v = Gem::Version.new(puppet_version)
version_config = JSON.parse(File.read(File.join(File.dirname(__FILE__), 'config', 'puppet-versions.json')))
Expand Down
Binary file removed vendor/cache/CFPropertyList-2.2.8.gem
Binary file not shown.
Binary file added vendor/cache/CFPropertyList-2.3.6.gem
Binary file not shown.
Binary file removed vendor/cache/ast-2.4.0.gem
Binary file not shown.
Binary file added vendor/cache/csv-3.3.0.gem
Binary file not shown.
Binary file removed vendor/cache/diff-lcs-1.3.gem
Binary file not shown.
Binary file removed vendor/cache/diff-lcs-1.5.0.gem
Binary file not shown.
Binary file added vendor/cache/diff-lcs-1.5.1.gem
Binary file not shown.
Binary file removed vendor/cache/diffy-3.2.1.gem
Binary file not shown.
Binary file removed vendor/cache/docile-1.1.5.gem
Binary file not shown.
Binary file added vendor/cache/docile-1.4.1.gem
Binary file not shown.
Binary file removed vendor/cache/facter-2.5.1-universal-darwin.gem
Binary file not shown.
Binary file removed vendor/cache/facter-2.5.1.gem
Binary file not shown.
Binary file added vendor/cache/facter-2.5.7-universal-darwin.gem
Binary file not shown.
Binary file removed vendor/cache/hashdiff-0.3.7.gem
Binary file not shown.
Binary file removed vendor/cache/hashdiff-1.1.0.gem
Binary file not shown.
Binary file added vendor/cache/hashdiff-1.1.1.gem
Binary file not shown.
Binary file removed vendor/cache/hiera-1.3.4.gem
Binary file not shown.
Binary file removed vendor/cache/hiera-3.4.5.gem
Binary file not shown.
Binary file removed vendor/cache/httparty-0.16.2.gem
Binary file not shown.
Binary file removed vendor/cache/httparty-0.16.3.gem
Binary file not shown.
Binary file removed vendor/cache/httparty-0.21.0.gem
Binary file not shown.
Binary file added vendor/cache/httparty-0.22.0.gem
Binary file not shown.
Binary file removed vendor/cache/json-2.1.0.gem
Binary file not shown.
Binary file removed vendor/cache/json-2.7.1.gem
Binary file not shown.
Binary file added vendor/cache/json-2.7.2.gem
Binary file not shown.
Binary file removed vendor/cache/json_pure-1.8.6.gem
Binary file not shown.
Binary file not shown.
Binary file removed vendor/cache/locale-2.1.2.gem
Binary file not shown.
Binary file removed vendor/cache/locale-2.1.3.gem
Binary file not shown.
Binary file added vendor/cache/locale-2.1.4.gem
Binary file not shown.
Binary file removed vendor/cache/mime-types-3.2.2.gem
Binary file not shown.
Binary file removed vendor/cache/mime-types-data-3.2018.0812.gem
Binary file not shown.
Binary file removed vendor/cache/parallel-1.12.1.gem
Binary file not shown.
Binary file removed vendor/cache/parallel-1.24.0.gem
Binary file not shown.
Binary file added vendor/cache/parallel-1.26.3.gem
Binary file not shown.
Binary file removed vendor/cache/parallel_tests-2.7.1.gem
Binary file not shown.
Binary file added vendor/cache/parallel_tests-4.7.1.gem
Binary file not shown.
Binary file removed vendor/cache/parser-2.5.3.0.gem
Binary file not shown.
Binary file removed vendor/cache/parser-2.7.2.0.gem
Binary file not shown.
Binary file added vendor/cache/parser-3.3.5.0.gem
Binary file not shown.
Binary file removed vendor/cache/powerpack-0.1.2.gem
Binary file not shown.
Binary file removed vendor/cache/puppet-3.8.7.gem
Binary file not shown.
Binary file removed vendor/cache/puppet-4.10.10-universal-darwin.gem
Binary file not shown.
Binary file added vendor/cache/puppet-5.5.22-universal-darwin.gem
Binary file not shown.
Binary file removed vendor/cache/puppet-5.5.8-universal-darwin.gem
Binary file not shown.
Binary file added vendor/cache/racc-1.8.1.gem
Binary file not shown.
Binary file removed vendor/cache/rainbow-2.2.2.gem
Binary file not shown.
Binary file added vendor/cache/rainbow-3.1.1.gem
Binary file not shown.
Binary file removed vendor/cache/rake-12.3.1.gem
Binary file not shown.
Binary file removed vendor/cache/rake-12.3.3.gem
Binary file not shown.
Binary file added vendor/cache/rake-13.2.1.gem
Binary file not shown.
Binary file added vendor/cache/regexp_parser-2.9.2.gem
Binary file not shown.
Binary file added vendor/cache/rspec-3.13.0.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-3.4.0.gem
Binary file not shown.
Binary file added vendor/cache/rspec-core-3.13.1.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-core-3.4.4.gem
Binary file not shown.
Binary file added vendor/cache/rspec-expectations-3.13.3.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-expectations-3.4.0.gem
Binary file not shown.
Binary file added vendor/cache/rspec-mocks-3.13.1.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-mocks-3.4.1.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-retry-0.5.0.gem
Binary file not shown.
Binary file added vendor/cache/rspec-retry-0.6.2.gem
Binary file not shown.
Binary file added vendor/cache/rspec-support-3.13.1.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-support-3.4.1.gem
Binary file not shown.
Binary file removed vendor/cache/rubocop-0.48.1.gem
Binary file not shown.
Binary file removed vendor/cache/rubocop-0.49.0.gem
Binary file not shown.
Binary file added vendor/cache/rubocop-1.66.1.gem
Binary file not shown.
Binary file added vendor/cache/rubocop-ast-1.32.3.gem
Binary file not shown.
Binary file removed vendor/cache/ruby-progressbar-1.10.0.gem
Binary file not shown.
Binary file removed vendor/cache/rugged-0.27.5.gem
Binary file not shown.
Binary file removed vendor/cache/rugged-1.7.1.gem
Binary file not shown.
Binary file added vendor/cache/rugged-1.7.2.gem
Binary file not shown.
Binary file removed vendor/cache/simplecov-0.14.1.gem
Binary file not shown.
Binary file added vendor/cache/simplecov-0.22.0.gem
Binary file not shown.
Binary file removed vendor/cache/simplecov-erb-0.1.1.gem
Binary file not shown.
Binary file added vendor/cache/simplecov-erb-1.0.1.gem
Binary file not shown.
Binary file removed vendor/cache/simplecov-html-0.10.2.gem
Binary file not shown.
Binary file added vendor/cache/simplecov-html-0.13.1.gem
Binary file not shown.
Binary file added vendor/cache/simplecov_json_formatter-0.1.4.gem
Binary file not shown.
Binary file removed vendor/cache/unicode-display_width-1.4.0.gem
Binary file not shown.
Binary file removed vendor/cache/unicode-display_width-1.8.0.gem
Binary file not shown.
Binary file added vendor/cache/unicode-display_width-2.6.0.gem
Binary file not shown.
Loading