hiiro 0.1.31 → 0.1.33.pre.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.
data/script/publish CHANGED
@@ -2,9 +2,24 @@
2
2
 
3
3
  require "hiiro"
4
4
 
5
- major, minor, patch = Hiiro::VERSION.split(?.)
6
-
7
- new_version = [major, minor, patch.to_i + 1].join(?.)
5
+ pre_release = ARGV.include?("-t")
6
+ parts = Hiiro::VERSION.split(?.)
7
+
8
+ if parts.length == 5 && parts[3] == "pre"
9
+ major, minor, patch, _, pre_num = parts
10
+ if pre_release
11
+ new_version = [major, minor, patch, "pre", pre_num.to_i + 1].join(?.)
12
+ else
13
+ new_version = [major, minor, patch].join(?.)
14
+ end
15
+ else
16
+ major, minor, patch = parts
17
+ if pre_release
18
+ new_version = [major, minor, patch.to_i + 1, "pre", 1].join(?.)
19
+ else
20
+ new_version = [major, minor, patch.to_i + 1].join(?.)
21
+ end
22
+ end
8
23
 
9
24
  File.open('lib/hiiro/version.rb', 'w+') do |f|
10
25
  f.puts 'class Hiiro'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiiro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.33.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-01-31 00:00:00.000000000 Z
11
+ date: 2026-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -38,6 +38,7 @@ files:
38
38
  - LICENSE
39
39
  - README.md
40
40
  - Rakefile
41
+ - TODO.md
41
42
  - bin/g-pr
42
43
  - bin/h
43
44
  - bin/h-branch
@@ -49,6 +50,8 @@ files:
49
50
  - bin/h-link
50
51
  - bin/h-mic
51
52
  - bin/h-note
53
+ - bin/h-osubtask
54
+ - bin/h-otask
52
55
  - bin/h-pane
53
56
  - bin/h-plugin
54
57
  - bin/h-pr
@@ -59,8 +62,6 @@ files:
59
62
  - bin/h-serve
60
63
  - bin/h-session
61
64
  - bin/h-sha
62
- - bin/h-subtask
63
- - bin/h-task
64
65
  - bin/h-video
65
66
  - bin/h-vim
66
67
  - bin/h-window
@@ -76,12 +77,15 @@ files:
76
77
  - hiiro.gemspec
77
78
  - lib/hiiro.rb
78
79
  - lib/hiiro/history.rb
80
+ - lib/hiiro/plugins.rb
79
81
  - lib/hiiro/version.rb
80
82
  - links.backup.yml
83
+ - notes
81
84
  - plugins/notify.rb
85
+ - plugins/old_task.rb
82
86
  - plugins/pins.rb
83
87
  - plugins/project.rb
84
- - plugins/task.rb
88
+ - plugins/tasks.rb
85
89
  - plugins/tmux.rb
86
90
  - script/compare
87
91
  - script/install
@@ -105,9 +109,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
109
  version: 2.7.0
106
110
  required_rubygems_version: !ruby/object:Gem::Requirement
107
111
  requirements:
108
- - - ">="
112
+ - - ">"
109
113
  - !ruby/object:Gem::Version
110
- version: '0'
114
+ version: 1.3.1
111
115
  requirements: []
112
116
  rubygems_version: 3.3.7
113
117
  signing_key: