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 +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -1
- data/lib/geordi/chromedriver_updater.rb +9 -9
- data/lib/geordi/cli.rb +5 -1
- data/lib/geordi/linear_client.rb +1 -1
- data/lib/geordi/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82d19a3fa4a8f87dbabccaa717770bd143c6ed3d6f899443dd5032396112dfdf
|
|
4
|
+
data.tar.gz: 6e2067c01c9ea400b51a4e66886bbd3626d0b21fb06412372e16333b0c810b42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
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 |
|
|
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
|
-
|
|
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
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
-
#
|
|
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)
|
data/lib/geordi/linear_client.rb
CHANGED
|
@@ -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
|
-
|
|
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
|
data/lib/geordi/version.rb
CHANGED
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.
|
|
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:
|
|
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.
|