Skip to content

Commit e576765

Browse files
2.0.5.1 (#1291)
* chore: update version * fix: update dependencies add logger fix: add missing coma ci: show dependencies install ci: add more logging ci: add uri gem into providers ci: test downgrade uri ci: test only for 3.3 ci: add logger gem to gemfiles ci: add uri gem to chef_supermarket.rb ci: add uri to cheg_supermarket.rb chore: change required version to 3.3 remove logging ci: test run without gems in main Gemfile ci: losen version for test build: remove not needed config and add time gem build: add uri to gemfile ci change build dist ci: check focal * build: update version * build: remove uri and logger dependencies * ci: remove gem update step * build: use logger version 1.6.0 * chore: bump version * ci: check logger ~> 1.6.0 * ci: simulate most recent gems availability * ci disable system gem update * ci: loger 1.6.0 * chore bumb version
1 parent 5781f09 commit e576765

15 files changed

Lines changed: 24 additions & 8 deletions

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- rvm use 3.3 --install --binary --fuzzy
2323
- gem build dpl.gemspec
2424
- gem install dpl-*.gem
25-
- gem update --system
25+
# - gem update --system
2626
- nvm install 18.20.2
2727
- nvm use 18.20.2
2828
- node --version

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ gemspec name: 'dpl'
1212
# gem 'json_pure', '~> 2.6'
1313

1414
# gem 'regstry', path: '../../registry'
15+
gem 'logger', '1.6.0'
1516

1617
gems = Dpl::Support::Gems.new('lib/dpl/providers/**/*.rb')
1718
gems.each do |name, version, opts|

dpl.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Gem::Specification.new do |s|
1414
s.description = 'Dpl (dee-pee-ell) is a tool made for continuous deployment, running deployments at Travis CI.'
1515
s.license = 'MIT'
1616
s.require_path = 'lib'
17-
s.required_ruby_version = '>= 3'
17+
s.required_ruby_version = '>= 3.1'
1818

1919
s.executables = ['dpl']
2020
s.files = Dir['{config/**/*,lib/**/*,[A-Z]*}'].reject { _1.match(/dpl.+\.gem/) }
2121

22+
s.add_runtime_dependency 'net-http', '~> 0.4.1'
2223
s.add_runtime_dependency 'travis-cl'
2324
s.add_runtime_dependency 'travis-packagecloud-ruby'
24-
s.add_runtime_dependency 'net-http', '~> 0.4.1'
2525
s.add_development_dependency 'rake', '~> 13.0'
2626
end

lib/dpl/ctx/bash.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ def gems_require(gems)
183183
# Gem.loaded_specs.clear
184184
gemfile do
185185
source 'https://rubygems.org'
186-
gems.each { |g| gem(*g) }
186+
gems.each do |g|
187+
gem(*g)
188+
end
187189
end
188190
# https://github.com/bundler/bundler/issues/7181
189191
ENV.replace(env)

lib/dpl/providers/chef_supermarket.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ class ChefSupermarket < Provider
1414
tbd
1515
STR
1616

17+
gem 'logger', '1.6.0'
18+
gem 'date', '~> 3.3.4'
19+
gem 'time', '0.3.0'
1720
gem 'chef', '~> 18', require: %w[
1821
chef/cookbook/cookbook_version_loader
1922
chef/cookbook_uploader
@@ -64,7 +67,7 @@ def upload
6467
end
6568

6669
def params
67-
{ cookbook: json(category: category), tarball: tarball}
70+
{ cookbook: json(category:), tarball: }
6871
end
6972

7073
def tarball

lib/dpl/providers/cloud66.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ class Cloud66 < Provider
1111
tbd
1212
STR
1313

14+
gem 'logger', '1.6.0'
15+
1416
env :cloud66
1517

1618
opt '--redeployment_hook URL', 'The redeployment hook URL', required: true, secret: true

lib/dpl/providers/cloudfiles.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class Cloudfiles < Provider
1313
tbd
1414
STR
1515

16+
gem 'logger', '1.6.0'
1617
gem 'nokogiri', '~> 1.15'
1718
gem 'fog-core', '~> 2.3', require: 'fog/core'
1819
gem 'fog-rackspace', '~> 0.1.6', git: 'https://github.com/travis-oss/fog-rackspace', require: 'fog/rackspace'

lib/dpl/providers/engineyard.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Engineyard < Provider
1111
tbd
1212
STR
1313

14+
gem 'logger', '1.6.0'
1415
gem 'ey-core', '~> 3.6'
1516

1617
required :api_key, %i[email password]

lib/dpl/providers/git_push.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class GitPush < Provider
1414
changes produced by the build, and optionally opening a pull request.
1515
STR
1616

17+
gem 'logger', '1.6.0'
1718
gem 'octokit', '~> 7'
1819
gem 'public_suffix', '~> 5'
1920

@@ -127,7 +128,7 @@ def setup_deploy_key
127128
path = '~/.dpl/deploy_key'
128129
info(:setup_deploy_key, path:)
129130
mv deploy_key, path
130-
chmod 0600, path
131+
chmod 0o600, path
131132
setup_git_ssh path
132133
shell :check_deploy_key, key: path
133134
end

lib/dpl/providers/gleis.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Gleis < Provider
1111
tbd
1212
STR
1313

14+
gem 'logger', '1.6.0'
1415
gem 'gleis', '~> 0.8.0'
1516

1617
env :gleis

0 commit comments

Comments
 (0)