dpl 2.0.5.beta.1 → 2.0.5.beta.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d14760a4731403106996bd47ec37f2b6587227e0b1c7fdd6a9f8ae2317bc1e26
4
- data.tar.gz: b08f042b56c1359ae4942fc079e179420d1f19014a9db7cf86be8532d8f00278
3
+ metadata.gz: 2be404b300bd14c198ac2cc6e6220db39a0eb7aea6285e1060fb35e897b7018d
4
+ data.tar.gz: 0b072cd771924d963085e964459c76fbafaae17cecdd9d0bc797693e335fc87f
5
5
  SHA512:
6
- metadata.gz: caa83a2645772c677b52faf0879e3bbfaa5d66dc4feebefea1875d742880a92bcf491580ea055c786fb0ff910eba9838f046a7f7270a5ed45878bb5315438349
7
- data.tar.gz: 413e905791b6ee9da200c8fc1313811c978863721724dc999744552994437379074695d2b299f658ce0ea3cc23855de9d48c8b2eb983d4c58f7997e08d8ce568
6
+ metadata.gz: 3038b7850e6d1613033248663a350e197e3edc0d663fbba9ea1041e2b2abff6ef102ae242cb6a3f6c1233020c3a7d333eb71542ed9321afe97d7e5ddfb13b580
7
+ data.tar.gz: 1f96bfceb0c55a96c43f33e79b7404a9efa3aa4b63e511b70273a608309893589f4bc71d0b163f097c755ef3651d7835675f49f9d1e6bf549eca54558b07d2c5
data/Gemfile CHANGED
@@ -12,6 +12,7 @@ gemspec name: 'dpl'
12
12
  # gem 'json_pure', '~> 2.6'
13
13
 
14
14
  # gem 'regstry', path: '../../registry'
15
+ gem 'logger', '1.6.0'
15
16
 
16
17
  gems = Dpl::Support::Gems.new('lib/dpl/providers/**/*.rb')
17
18
  gems.each do |name, version, opts|
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- dpl (2.0.5.beta.1)
14
+ dpl (2.0.5.beta.2.1)
15
15
  net-http (~> 0.4.1)
16
16
  travis-cl
17
17
  travis-packagecloud-ruby
@@ -294,6 +294,7 @@ GEM
294
294
  tty-prompt (~> 0.20)
295
295
  little-plugger (1.1.4)
296
296
  locale (2.1.4)
297
+ logger (1.6.0)
297
298
  logging (2.3.1)
298
299
  little-plugger (~> 1.1)
299
300
  multi_json (~> 1.14)
@@ -598,6 +599,7 @@ DEPENDENCIES
598
599
  aws-sdk-s3 (~> 1)
599
600
  chef (~> 18)
600
601
  coveralls
602
+ date (~> 3.3.4)
601
603
  dpl!
602
604
  ey-core (~> 3.6)
603
605
  faraday (~> 1)
@@ -606,6 +608,7 @@ DEPENDENCIES
606
608
  gems (~> 1.1.1)
607
609
  gleis (~> 0.8.0)
608
610
  json
611
+ logger (= 1.6.0)
609
612
  mime-types (~> 3.4.1)
610
613
  multipart-post (~> 2.0.0)
611
614
  netrc (~> 0.11.0)
@@ -625,6 +628,7 @@ DEPENDENCIES
625
628
  rubocop-rspec
626
629
  rubyzip (~> 2.3)
627
630
  simplecov-console
631
+ time (= 0.3.0)
628
632
  webmock
629
633
 
630
634
  RUBY VERSION
data/dpl.gemspec CHANGED
@@ -14,13 +14,13 @@ Gem::Specification.new do |s|
14
14
  s.description = 'Dpl (dee-pee-ell) is a tool made for continuous deployment, running deployments at Travis CI.'
15
15
  s.license = 'MIT'
16
16
  s.require_path = 'lib'
17
- s.required_ruby_version = '>= 3'
17
+ s.required_ruby_version = '>= 3.1'
18
18
 
19
19
  s.executables = ['dpl']
20
20
  s.files = Dir['{config/**/*,lib/**/*,[A-Z]*}'].reject { _1.match(/dpl.+\.gem/) }
21
21
 
22
+ s.add_runtime_dependency 'net-http', '~> 0.4.1'
22
23
  s.add_runtime_dependency 'travis-cl'
23
24
  s.add_runtime_dependency 'travis-packagecloud-ruby'
24
- s.add_runtime_dependency 'net-http', '~> 0.4.1'
25
25
  s.add_development_dependency 'rake', '~> 13.0'
26
26
  end
data/lib/dpl/ctx/bash.rb CHANGED
@@ -183,7 +183,9 @@ module Dpl
183
183
  # Gem.loaded_specs.clear
184
184
  gemfile do
185
185
  source 'https://rubygems.org'
186
- gems.each { |g| gem(*g) }
186
+ gems.each do |g|
187
+ gem(*g)
188
+ end
187
189
  end
188
190
  # https://github.com/bundler/bundler/issues/7181
189
191
  ENV.replace(env)
@@ -14,6 +14,9 @@ module Dpl
14
14
  tbd
15
15
  STR
16
16
 
17
+ gem 'logger', '1.6.0'
18
+ gem 'date', '~> 3.3.4'
19
+ gem 'time', '0.3.0'
17
20
  gem 'chef', '~> 18', require: %w[
18
21
  chef/cookbook/cookbook_version_loader
19
22
  chef/cookbook_uploader
@@ -64,7 +67,7 @@ module Dpl
64
67
  end
65
68
 
66
69
  def params
67
- { cookbook: json(category: category), tarball: tarball}
70
+ { cookbook: json(category:), tarball: }
68
71
  end
69
72
 
70
73
  def tarball
@@ -14,6 +14,7 @@ module Dpl
14
14
  changes produced by the build, and optionally opening a pull request.
15
15
  STR
16
16
 
17
+ gem 'logger', '1.6.0'
17
18
  gem 'octokit', '~> 7'
18
19
  gem 'public_suffix', '~> 5'
19
20
 
@@ -127,7 +128,7 @@ module Dpl
127
128
  path = '~/.dpl/deploy_key'
128
129
  info(:setup_deploy_key, path:)
129
130
  mv deploy_key, path
130
- chmod 0600, path
131
+ chmod 0o600, path
131
132
  setup_git_ssh path
132
133
  shell :check_deploy_key, key: path
133
134
  end
@@ -20,6 +20,7 @@ module Dpl
20
20
  open_timeout: 180
21
21
  }.freeze
22
22
 
23
+ gem 'logger', '1.6.0'
23
24
  gem 'octokit', '~> 7'
24
25
 
25
26
  full_name 'GitHub Pages (API)'
@@ -14,6 +14,7 @@ module Dpl
14
14
  tbd
15
15
  STR
16
16
 
17
+ gem 'logger', '1.6.0'
17
18
  gem 'octokit', '~> 7'
18
19
  gem 'public_suffix', '~> 5'
19
20
 
@@ -120,7 +121,7 @@ module Dpl
120
121
  path = '~/.dpl/deploy_key'
121
122
  info(:setup_deploy_key, path:)
122
123
  mv deploy_key, path
123
- chmod 0600, path
124
+ chmod 0o600, path
124
125
  setup_git_ssh path
125
126
  shell :check_deploy_key, key: path, url: opts[:url]
126
127
  end
@@ -17,6 +17,7 @@ module Dpl
17
17
  tbd
18
18
  STR
19
19
 
20
+ gem 'logger', '1.6.0'
20
21
  gem 'octokit', '~> 7'
21
22
  gem 'mime-types', '~> 3.4.1'
22
23
  gem 'public_suffix', '~> 5'
data/lib/dpl/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dpl
4
- VERSION = '2.0.5.beta.1'
4
+ VERSION = '2.0.5.beta.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5.beta.1
4
+ version: 2.0.5.beta.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -10,24 +10,24 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-08-01 00:00:00.000000000 Z
13
+ date: 2024-09-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: travis-cl
16
+ name: net-http
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 0.4.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '0'
28
+ version: 0.4.1
29
29
  - !ruby/object:Gem::Dependency
30
- name: travis-packagecloud-ruby
30
+ name: travis-cl
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - ">="
@@ -41,19 +41,19 @@ dependencies:
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
- name: net-http
44
+ name: travis-packagecloud-ruby
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.4.1
49
+ version: '0'
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - "~>"
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 0.4.1
56
+ version: '0'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rake
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -189,14 +189,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - ">="
191
191
  - !ruby/object:Gem::Version
192
- version: '3'
192
+ version: '3.1'
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - ">"
195
+ - - ">="
196
196
  - !ruby/object:Gem::Version
197
- version: 1.3.1
197
+ version: '0'
198
198
  requirements: []
199
- rubygems_version: 3.4.21
199
+ rubygems_version: 3.5.16
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Dpl runs deployments at Travis CI