iterm2_ruby 0.3.0 → 0.3.1
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 +9 -0
- data/bin/iterm2ctl +1 -1
- data/docs/api.md +1 -1
- data/lib/iterm2/client.rb +1 -1
- data/lib/iterm2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ea8b3aab793d0294a0cb9f726e8cc01123b0da6a22b02034a7f64c3e4744959
|
|
4
|
+
data.tar.gz: 3773d06e8c6969221bb52049ff3a11131a786f8280d36e3f5a889174c3a56d17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecff09efcb6229d0079eff7f8cc324fb0da17287c762f39fb1e99ada8c2476283373ed6ef48c097c3c36f6fe87346485c3b311133f0ca45be22e5f60940da729
|
|
7
|
+
data.tar.gz: 143e8af32d29624720bb35719eb399e620364c0e632bc5613ea710190acd0c8a5b8c3112a150db5794ff8da1968a6c39d38d1288626366ee9231ddf9810c63f5
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project are documented here. Format follows
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
5
5
|
|
|
6
|
+
## [0.3.1] - 2026-09-04
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- `client.get_window_frame(window_id)` restored under its documented name. A local
|
|
10
|
+
amend of the 0.3.0 commit (made before publish, after this method had already been
|
|
11
|
+
verified) silently renamed it to `client.window_frame`; the published 0.3.0 gem on
|
|
12
|
+
rubygems only exposes `window_frame` and lacks `get_window_frame`. Source is fixed
|
|
13
|
+
here; the published artifact is fixed by the next release.
|
|
14
|
+
|
|
6
15
|
## [0.3.0] - 2026-09-03
|
|
7
16
|
|
|
8
17
|
### Added
|
data/bin/iterm2ctl
CHANGED
data/docs/api.md
CHANGED
|
@@ -217,7 +217,7 @@ iTerm2 opens windows created via `create_tab`/`split_pane` at the profile's defa
|
|
|
217
217
|
size, regardless of what's inside them. These wrap the `"frame"`/`"grid_size"`
|
|
218
218
|
`SetProperty`/`GetProperty` conventions so callers can size a window explicitly.
|
|
219
219
|
|
|
220
|
-
### `client.
|
|
220
|
+
### `client.get_window_frame(window_id)` -> Hash
|
|
221
221
|
|
|
222
222
|
```ruby
|
|
223
223
|
{ x: Numeric, y: Numeric, width: Numeric, height: Numeric } # pixels
|
data/lib/iterm2/client.rb
CHANGED
|
@@ -412,7 +412,7 @@ module ITerm2
|
|
|
412
412
|
# size one explicitly via the "frame"/"grid_size" SetProperty/GetProperty
|
|
413
413
|
# conventions (see proto/api.proto).
|
|
414
414
|
|
|
415
|
-
def
|
|
415
|
+
def get_window_frame(window_id)
|
|
416
416
|
origin, size = get_property("frame", window_id: window_id).values_at("origin", "size")
|
|
417
417
|
{ x: origin["x"], y: origin["y"], width: size["width"], height: size["height"] }
|
|
418
418
|
end
|
data/lib/iterm2/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: iterm2_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Forrest Chang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|