hiiro 0.1.23 → 0.1.24

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: 41e847e11cc0fb36738ccbacdba19b1bff6ab3038ea9b47fc735e1d69b98a51d
4
- data.tar.gz: fb80c229a8a8711523813c90535a677f0fcd55558e11a2d797f92c428420d847
3
+ metadata.gz: 6a46d6691bc65a663bdbcb63dfe0fe6643572ee377c5f1448bbd34a5e9efe3f1
4
+ data.tar.gz: 2edd95e23a40d0910b88c0844e70f7839da22dbce3f86c2f2518b238abf68706
5
5
  SHA512:
6
- metadata.gz: cafa0cd97eb7377bfeb63f830444edffe11718b804e871ca93f8b4d743be8077187f597e4704b746aaeba82002d766fab26cdb91d69f636abff73b192969e878
7
- data.tar.gz: ace6a681e01c47cb1b048775df9b074619710530b1274c29efa9e2419058032a8bb6cd9ecc5de1f049b63ad7d9cd63cccfbac34238597a18b75c2da97102ecc0
6
+ metadata.gz: 8d402b962e9e2c51870a586a8f83ea0209b43109b92135d468ac33336d15e37e882b564a1848e1c8efcf0fd6acf1739d6b356a8cf06bfc7069ea1f251457f280
7
+ data.tar.gz: df17f16075ceff456b6ee512424b962f207a25b72a1eaa2867fabbccaf91a64a9c015bdb5706f0a37bce3882d7c6ec927e0325984bfebc5828f6810a03562092
data/lib/hiiro/history.rb CHANGED
@@ -7,7 +7,7 @@ class Hiiro
7
7
  HISTORY_FILE = File.join(Dir.home, '.config/hiiro/history.yml')
8
8
 
9
9
  class Entry
10
- attr_reader :id, :timestamp, :source, :cmd, :description
10
+ attr_reader :id, :timestamp, :source, :cmd, :description, :pwd
11
11
  attr_reader :tmux_session, :tmux_window, :tmux_pane
12
12
  attr_reader :git_branch, :git_worktree
13
13
  attr_reader :task, :subtask
@@ -18,6 +18,7 @@ class Hiiro
18
18
  @timestamp = data['timestamp']
19
19
  @source = data['source']
20
20
  @cmd = data['cmd']
21
+ @pwd = data['pwd'] || Dir.pwd
21
22
  @description = data['description']
22
23
  @tmux_session = data['tmux_session']
23
24
  @tmux_window = data['tmux_window']
@@ -34,6 +35,7 @@ class Hiiro
34
35
  'timestamp' => timestamp,
35
36
  'source' => source,
36
37
  'cmd' => cmd,
38
+ 'pwd' => pwd,
37
39
  'description' => description,
38
40
  'tmux_session' => tmux_session,
39
41
  'tmux_window' => tmux_window,
data/lib/hiiro/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Hiiro
2
- VERSION = "0.1.23"
2
+ VERSION = "0.1.24"
3
3
  end
data/lib/hiiro.rb CHANGED
@@ -51,7 +51,7 @@ class Hiiro
51
51
  @logging = logging
52
52
  @global_values = values
53
53
  @full_command = [
54
- bin,
54
+ bin_name,
55
55
  *all_args,
56
56
  ].map(&:shellescape).join(' ')
57
57
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiiro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota