concourse.rb 0.6.0.pre.9 → 0.6.0.pre.10

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: 2c836ffc6831bedae7f457464fd78cf365e5ed4bf804135166da20383bfa2902
4
- data.tar.gz: 1e5606cc8101d641098a9579caa349bbbb744f482da099ce57f3177a0c267b6f
3
+ metadata.gz: 81246b6cd77385737221a9a01310fe123cab3b9af1e9848488c07b871ac7f10b
4
+ data.tar.gz: be8753281b3eae186d34639f7f1530db10c3bbfd004d8a22e0805d70d7692d64
5
5
  SHA512:
6
- metadata.gz: '0589bd6f84447c27f9883d167227e061888f07569b5afb3e7e9f375e77dc7082c8326be66d6d35916a4842b016f62389bde831a2f8df57db4efa3053eb6eafda'
7
- data.tar.gz: 75d5b048fcda4c98a29545a4c50860b7513afb6dc5cfdb8ab21731850523fa7106855d33059f77c0dcc417320cb584731e94315cf0af41ea35338089ca42529e
6
+ metadata.gz: 533230ad287406a36c04271797579b3fbcceb48924036077f9ca9517f5c1531f3ff0c363b8194ada9641415ce61f602d7d50c408a95f1577ac2194b6d9a036a1
7
+ data.tar.gz: 652950f03884d9d53b87f22ae4461d1a7cb564e90ec647e95dd89fce5ca87882b41d8b9dcada8376f3fd30fe84ab3879843ed26c409807f6ac2ced9704e154ec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- concourse.rb (0.6.0.pre.9)
4
+ concourse.rb (0.6.0.pre.10)
5
5
  excon (~> 0.72)
6
6
  semantic (~> 1.5)
7
7
 
@@ -23,20 +23,21 @@ GEM
23
23
  ast (2.4.2)
24
24
  base64 (0.2.0)
25
25
  bigdecimal (3.1.8)
26
+ childprocess (5.0.0)
26
27
  colored2 (3.1.2)
27
28
  concurrent-ruby (1.3.3)
28
29
  connection_pool (2.4.1)
29
30
  diff-lcs (1.5.1)
30
- docile (1.4.0)
31
+ docile (1.4.1)
31
32
  drb (2.2.1)
32
- excon (0.108.0)
33
- faker (3.2.2)
33
+ excon (0.111.0)
34
+ faker (3.4.2)
34
35
  i18n (>= 1.8.11, < 2)
35
- faraday (2.7.11)
36
- base64
37
- faraday-net_http (>= 2.0, < 3.1)
38
- ruby2_keywords (>= 0.0.4)
39
- faraday-net_http (3.0.2)
36
+ faraday (2.10.0)
37
+ faraday-net_http (>= 2.0, < 3.2)
38
+ logger
39
+ faraday-net_http (3.1.1)
40
+ net-http
40
41
  gem-release (2.2.2)
41
42
  git (1.19.1)
42
43
  addressable (~> 2.8)
@@ -47,14 +48,20 @@ GEM
47
48
  concurrent-ruby (~> 1.0)
48
49
  immutable-struct (2.4.1)
49
50
  json (2.7.2)
50
- jwt (2.7.1)
51
+ jwt (2.8.2)
52
+ base64
51
53
  language_server-protocol (3.17.0.3)
52
- lino (3.1.0)
54
+ lino (4.1.0)
55
+ childprocess (~> 5.0.0)
53
56
  hamster (~> 3.0)
54
57
  open4 (~> 1.3)
58
+ logger (1.6.0)
55
59
  minitest (5.24.1)
56
60
  mutex_m (0.2.0)
57
- octokit (8.0.0)
61
+ net-http (0.4.1)
62
+ uri
63
+ octokit (8.1.0)
64
+ base64
58
65
  faraday (>= 1, < 3)
59
66
  sawyer (~> 0.9)
60
67
  open4 (1.3.4)
@@ -63,38 +70,38 @@ GEM
63
70
  parser (3.3.4.0)
64
71
  ast (~> 2.4.1)
65
72
  racc
66
- public_suffix (5.1.1)
73
+ public_suffix (6.0.1)
67
74
  racc (1.8.0)
68
75
  rainbow (3.1.1)
69
- rake (13.1.0)
70
- rake_circle_ci (0.11.0)
76
+ rake (13.2.1)
77
+ rake_circle_ci (0.13.0)
71
78
  colored2 (~> 3.1)
72
79
  excon (~> 0.72)
73
- rake_factory (~> 0.23)
80
+ rake_factory (~> 0.33)
74
81
  sshkey (~> 2.0)
75
- rake_factory (0.32.0.pre.2)
82
+ rake_factory (0.34.0.pre.2)
76
83
  activesupport (>= 4)
77
84
  rake (~> 13.0)
78
- rake_git (0.1.0.pre.10)
85
+ rake_git (0.3.0.pre.2)
79
86
  colored2 (~> 3.1)
80
87
  git (~> 1.13, >= 1.13.2)
81
- rake_factory (= 0.32.0.pre.2)
82
- rake_git_crypt (0.1.0.pre.29)
88
+ rake_factory (~> 0.33)
89
+ rake_git_crypt (0.3.0.pre.2)
83
90
  colored2 (~> 3.1)
84
- rake_factory (= 0.32.0.pre.2)
85
- ruby_git_crypt (= 0.1.0.pre.4)
86
- ruby_gpg2 (~> 0.6)
87
- rake_github (0.13.0)
91
+ rake_factory (~> 0.33)
92
+ ruby_git_crypt (~> 0.1)
93
+ ruby_gpg2 (~> 0.12)
94
+ rake_github (0.15.0)
88
95
  colored2 (~> 3.1)
89
96
  octokit (>= 4.16, < 9.0)
90
- rake_factory (~> 0.23)
97
+ rake_factory (~> 0.33)
91
98
  sshkey (~> 2.0)
92
- rake_gpg (0.18.0)
93
- rake_factory (~> 0.23)
94
- ruby_gpg2 (~> 0.6)
95
- rake_ssh (0.10.0)
99
+ rake_gpg (0.20.0)
100
+ rake_factory (~> 0.33)
101
+ ruby_gpg2 (~> 0.12)
102
+ rake_ssh (0.12.0)
96
103
  colored2 (~> 3.1)
97
- rake_factory (~> 0.23)
104
+ rake_factory (~> 0.33)
98
105
  sshkey (~> 2.0)
99
106
  rchardet (1.8.0)
100
107
  regexp_parser (2.9.2)
@@ -131,12 +138,11 @@ GEM
131
138
  rubocop-rspec (3.0.3)
132
139
  rubocop (~> 1.61)
133
140
  ruby-progressbar (1.13.0)
134
- ruby2_keywords (0.0.5)
135
- ruby_git_crypt (0.1.0.pre.4)
141
+ ruby_git_crypt (0.2.0.pre.2)
136
142
  immutable-struct (~> 2.4)
137
- lino (~> 3.0)
138
- ruby_gpg2 (0.10.0)
139
- lino (~> 3.0)
143
+ lino (>= 4.1)
144
+ ruby_gpg2 (0.12.0)
145
+ lino (>= 4.1)
140
146
  sawyer (0.9.2)
141
147
  addressable (>= 2.3.5)
142
148
  faraday (>= 0.17.3, < 3)
@@ -152,6 +158,7 @@ GEM
152
158
  tzinfo (2.0.6)
153
159
  concurrent-ruby (~> 1.0)
154
160
  unicode-display_width (2.5.0)
161
+ uri (0.13.0)
155
162
 
156
163
  PLATFORMS
157
164
  ruby
data/concourse.rb.gemspec CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
35
35
  spec.require_paths = ['lib']
36
36
 
37
- spec.required_ruby_version = '>= 2.7'
37
+ spec.required_ruby_version = '>= 3.1'
38
38
 
39
39
  spec.add_dependency 'excon', '~> 0.72'
40
40
  spec.add_dependency 'semantic', '~> 1.5'
@@ -37,7 +37,7 @@ module Concourse
37
37
  private
38
38
 
39
39
  def api_error(request, response)
40
- Errors::ApiError.new(request: request, response: response)
40
+ Errors::ApiError.new(request:, response:)
41
41
  end
42
42
  end
43
43
  end
@@ -26,7 +26,7 @@ module Concourse
26
26
  body = create_token_body(parameters)
27
27
 
28
28
  token_request = Http::Request.new(url, headers, body)
29
- token_response = Excon.post(url, headers: headers, body: body)
29
+ token_response = Excon.post(url, headers:, body:)
30
30
 
31
31
  assert_successful(token_request, token_response)
32
32
  token(token_response)
@@ -71,9 +71,9 @@ module Concourse
71
71
  URI.encode_www_form(
72
72
  {
73
73
  grant_type: 'password',
74
- username: username,
75
- password: password,
76
- scope: scope
74
+ username:,
75
+ password:,
76
+ scope:
77
77
  }
78
78
  )
79
79
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Concourse
4
- VERSION = '0.6.0.pre.9'
4
+ VERSION = '0.6.0.pre.10'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concourse.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre.9
4
+ version: 0.6.0.pre.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-26 00:00:00.000000000 Z
11
+ date: 2024-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -316,14 +316,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
316
316
  requirements:
317
317
  - - ">="
318
318
  - !ruby/object:Gem::Version
319
- version: '2.7'
319
+ version: '3.1'
320
320
  required_rubygems_version: !ruby/object:Gem::Requirement
321
321
  requirements:
322
322
  - - ">"
323
323
  - !ruby/object:Gem::Version
324
324
  version: 1.3.1
325
325
  requirements: []
326
- rubygems_version: 3.1.6
326
+ rubygems_version: 3.3.7
327
327
  signing_key:
328
328
  specification_version: 4
329
329
  summary: A Ruby SDK for the Concourse CI API.