geordi 12.6.1 → 12.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 212f089b529c55fd8687a9bd623984863790475c50144f4191360f841fa7357b
4
- data.tar.gz: c33fb0561961c4d6f1c11d6a0ae966351b4528c7af62d7d22a1ebd118866e2a2
3
+ metadata.gz: 82d19a3fa4a8f87dbabccaa717770bd143c6ed3d6f899443dd5032396112dfdf
4
+ data.tar.gz: 6e2067c01c9ea400b51a4e66886bbd3626d0b21fb06412372e16333b0c810b42
5
5
  SHA512:
6
- metadata.gz: f5940425de342af7a611912e7b17d79c922eb6933c26b43da5d6c4e880864700e7ee9b044fa4a21bf56545bebff5204f950eefcb55582d76f8017ef503c8b290
7
- data.tar.gz: dc062018c3e10ba98b90b8bc846e8592c94c42cd669c358b5ef7abadf73371a6160949d9753f145b318296598d3575efda0660a6ffdfbeb048a84584ace3be8c
6
+ metadata.gz: bef2284d579d11de45367b3a31ea0bf15f1a850f1aa73213fb48fc969498d5282fbeb429af301dd8e3ab040fe60f1dba75a205354b200e68306dda6543dd0eeb
7
+ data.tar.gz: 56aea49f59fc45cd027f381001b1ffa783021fcb15ab1c2e42e6ab770b767e4d9fee1d4b0641fd2e8574a268e26f6b5036db7899654eb9ad6304d707f81017e5
data/CHANGELOG.md CHANGED
@@ -10,6 +10,14 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
10
10
  ### Breaking changes
11
11
 
12
12
 
13
+ ## 12.6.2 2026-01-30
14
+
15
+ ### Compatible changes
16
+ * `chromedriver-update` command: handles offline and DNS resolution errors.
17
+ * Remove a newly inherited `tree` command.
18
+ * Fixed a keyword typo in LinearClient.
19
+
20
+
13
21
  ## 12.6.1 2025-09-23
14
22
 
15
23
  ### Compatible changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geordi (12.6.1)
4
+ geordi (12.6.2)
5
5
  highline
6
6
  thor (~> 1)
7
7
 
data/Rakefile CHANGED
@@ -52,7 +52,7 @@ Commands will occasionally print "did you know" hints of other Geordi features.
52
52
  You can always run `geordi help <command>` to quickly look up command help.
53
53
  TEXT
54
54
 
55
- Geordi::CLI.all_commands.sort.each do |_, command|
55
+ Geordi::CLI.all_commands.sort.each do |_name, command|
56
56
  next if command.hidden?
57
57
 
58
58
  geordi_section << "\n### `geordi #{command.usage}`\n"
@@ -92,7 +92,8 @@ module Geordi
92
92
 
93
93
  # Rescue Errno::NOERROR, Errno::ENOENT, Errno::EACCES, Errno::EFAULT, Errno::ECONNREFUSED, Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EHOSTDOWN, Errno::EHOSTUNREACH, ...,
94
94
  # all of which are a subclass of SystemCallError
95
- rescue SystemCallError => e
95
+ # and DNS / resolution errors (SocketError, including Socket::ResolutionError on 3.3+)
96
+ rescue SystemCallError, SocketError => e
96
97
  raise ProcessingError, "Request failed: #{e.message}"
97
98
  end
98
99
 
@@ -110,15 +111,14 @@ module Geordi
110
111
  end
111
112
 
112
113
  def chromedriver_download_data
113
- return @chromedriver_download_data if @chromedriver_download_data
114
-
115
- fetch_response(VERSIONS_PER_MILESTONES_URL, "Could not find chromedriver download data") do |response|
116
- begin
117
- chromedriver_download_data = JSON.parse(response.body)
118
- rescue JSON::ParserError
119
- raise ProcessingError, "Could not parse chromedriver download data."
114
+ @chromedriver_download_data ||= begin
115
+ fetch_response(VERSIONS_PER_MILESTONES_URL, "Could not find chromedriver download data") do |response|
116
+ begin
117
+ JSON.parse(response.body)
118
+ rescue JSON::ParserError
119
+ raise ProcessingError, "Could not parse chromedriver download data."
120
+ end
120
121
  end
121
- @chromedriver_download_data = chromedriver_download_data
122
122
  end
123
123
  end
124
124
 
data/lib/geordi/cli.rb CHANGED
@@ -7,6 +7,10 @@ require 'geordi/hint'
7
7
  module Geordi
8
8
  class CLI < Thor
9
9
 
10
+ # Internal command, prints commands as tree.
11
+ # We don't need this, and it pollutes the README as well as the command prefixes.
12
+ remove_command :tree
13
+
10
14
  def self.exit_on_failure?
11
15
  true
12
16
  end
@@ -17,7 +21,7 @@ module Geordi
17
21
  end
18
22
 
19
23
  no_commands do
20
- # fix weird implementation of #invoke
24
+ # Fix weird implementation of #invoke
21
25
  def invoke_geordi(name, *args)
22
26
  options = args.last.is_a?(Hash) ? args.pop : {}
23
27
  invoke(name, args, options)
@@ -76,7 +76,7 @@ module Geordi
76
76
  issue_identifiers.each do |identifier|
77
77
  issue = issues.find { |i| i['identifier'] == identifier }
78
78
 
79
- skip unless issue && (state_id = state_ids_by_team_id[issue.dig('team', 'id')])
79
+ next unless issue && (state_id = state_ids_by_team_id[issue.dig('team', 'id')])
80
80
 
81
81
  update_issue_state(issue['id'], state_id)
82
82
  end
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '12.6.1'.freeze
2
+ VERSION = '12.6.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geordi
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.6.1
4
+ version: 12.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-09-23 00:00:00.000000000 Z
11
+ date: 2026-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -124,7 +124,7 @@ metadata:
124
124
  bug_tracker_uri: https://github.com/makandra/geordi/issues
125
125
  changelog_uri: https://github.com/makandra/geordi/blob/master/CHANGELOG.md
126
126
  rubygems_mfa_required: 'true'
127
- post_install_message:
127
+ post_install_message:
128
128
  rdoc_options: []
129
129
  require_paths:
130
130
  - lib
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  requirements: []
142
142
  rubygems_version: 3.1.6
143
- signing_key:
143
+ signing_key:
144
144
  specification_version: 4
145
145
  summary: Collection of command line tools we use in our daily work with Ruby, Rails
146
146
  and Linux at makandra.