buildkit 1.4.3 → 1.4.4

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: e0d8ad5ef2805dc0580084a0bb934c5e013740b7b02dfd6747941014293958b6
4
- data.tar.gz: edf69422089f0ddca1c75969a575e546617be02db8989703b9804624d91553b1
3
+ metadata.gz: 3234026dc18c6c851be2a80e70c95a07e0a865911e8d3c04f89587cadbd6d8ba
4
+ data.tar.gz: 8c556f3866f605247c76162dd662bb3e4dda1799629f934acbe00b8a3c6c0342
5
5
  SHA512:
6
- metadata.gz: 0d7efe3865fbbbeffa1280491a0babafd410aeabd4552824f68ed86ff3bd841c274612f71133a5ba512b2473f2680472458638b1517a0eb05a2262522b83570a
7
- data.tar.gz: 3967182cd91e643ac31237bc27496bb67b8f125a3b5f18ad457f900b5a63a2b3622376f17c3b5196ac9cd5507f4c0e76c4f44269ccafbe48e21b207dbe616f71
6
+ metadata.gz: 0db8c6342b4d25b3f7fa9b05a02d17fe6c2c49331e158ff1719f54585dbd134f92f0340233da8702bf23e4fbba9737c72d6862d8c93b07dd2200d1dfab4f6707
7
+ data.tar.gz: 7665d18d238bcd393d864f4e905639fad9753fd708f6fffa158478faf205800103c090ed7b4c2a8a58e15eda24a1ab8359c95f7771d9b93ffed39387f95fb3a5
@@ -6,7 +6,7 @@ jobs:
6
6
  runs-on: ubuntu-20.04
7
7
  strategy:
8
8
  matrix:
9
- ruby: [ '2.5', '2.6', '2.7' ]
9
+ ruby: [ '2.5', '2.6', '2.7', '3.0' ]
10
10
  name: Ruby ${{ matrix.ruby }}
11
11
  steps:
12
12
  - uses: actions/checkout@v2
data/Gemfile CHANGED
@@ -9,7 +9,7 @@ gem 'yard'
9
9
 
10
10
  group :test do
11
11
  gem 'rspec', '~> 3.2'
12
- gem 'vcr', '~> 2.9', github: 'vcr/vcr', branch: 'master', ref: '480304be6d73803e6c4a0eb21a4ab4091da558d8'
12
+ gem 'vcr', '~> 3.0'
13
13
  end
14
14
 
15
15
  gemspec
data/buildkit.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.metadata['allowed_push_host'] = "https://rubygems.org"
22
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
23
23
 
24
24
  spec.required_ruby_version = '>= 2.3'
25
25
 
data/lib/buildkit.rb CHANGED
@@ -4,7 +4,10 @@ require 'buildkit/version'
4
4
  require 'buildkit/client'
5
5
 
6
6
  module Buildkit
7
- def self.new(*args)
8
- Client.new(*args)
7
+ class << self
8
+ def new(*args)
9
+ Client.new(*args)
10
+ end
11
+ ruby2_keywords :new if respond_to?(:ruby2_keywords, true)
9
12
  end
10
13
  end
@@ -102,11 +102,8 @@ module Buildkit
102
102
  def build_error_message
103
103
  return nil if @response.nil?
104
104
 
105
- documentation_text = if documentation_url
106
- "// See: #{documentation_url}"
107
- else
108
- ""
109
- end
105
+ documentation_text = ''
106
+ documentation_text = "// See: #{documentation_url}" if documentation_url
110
107
 
111
108
  <<~MSG.strip
112
109
  #{@response[:method].to_s.upcase} #{redact_url(@response[:url].to_s)}: #{@response[:status]} - #{response_message}#{response_error}#{response_error_summary}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Buildkit
4
- VERSION = '1.4.3'
4
+ VERSION = '1.4.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-11 00:00:00.000000000 Z
11
+ date: 2021-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sawyer