na 1.2.77 → 1.2.78

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: 63fd25bab893e0b4deef2d7bd4f3df057e6cefe7a68c25edb2e7034c590220d0
4
- data.tar.gz: 93e92eac54211939b57b2fefb63643aca1c348d1e6f6a96cabb049d3d8aedb7b
3
+ metadata.gz: 4f9de8bad22cccef320d35bec3e5dd840de73bd58e9288f3a079479135594333
4
+ data.tar.gz: 3bb87af83e65f8ceab63188502bc3018302d2755f6cc2dfde34d603bb37d0563
5
5
  SHA512:
6
- metadata.gz: 2f008ca3f8f239dc791571809e4e1eda53c7f6bb7b107d774a6805f42bc72e55eb1da7e4da3481c8c4ab21332e15d0b13b1b7d1defe61d9bac19267e05eb443d
7
- data.tar.gz: 532e38bdc9ea8ecb917f9e0ae5faacb0c77bf206269cf08c968716dc766407426eceb8006aef2fbf66dab925cab48889b59413f3aabffd2825f66f6617ac7e62
6
+ metadata.gz: 12aa91ea7c15385478dd0ff8e351c180de3ada85ab818561302b258f058dada8b9fcc5e30ddc43a3c28ef2084df6fd47e53e0085494863984a6e536a6e2e0952
7
+ data.tar.gz: 62389ffca74e95eb4e91da17690c1f6d4d78546c38a8aae5b20c246805946ab5ed2041e3aeac0a7c9bd1abbba0a36dc6027d66a3384f3529b739ecffb96d7d4a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.2.78
2
+
3
+ 2025-06-02 10:07
4
+
5
+ #### FIXED
6
+
7
+ - Strip! error on `update -p`
8
+
1
9
  ### 1.2.77
2
10
 
3
11
  2025-05-10 12:10
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- na (1.2.77)
4
+ na (1.2.78)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  git (~> 3.0.0)
7
7
  gli (~> 2.21.0)
8
8
  mdless (~> 1.0, >= 1.0.32)
9
+ ostruct (~> 0.6, >= 0.6.1)
9
10
  tty-reader (~> 0.9, >= 0.9.0)
10
11
  tty-screen (~> 0.8, >= 0.8.1)
11
12
  tty-which (~> 0.5, >= 0.5.0)
@@ -28,14 +29,14 @@ GEM
28
29
  uri (>= 0.13.1)
29
30
  addressable (2.8.7)
30
31
  public_suffix (>= 2.0.2, < 7.0)
31
- base64 (0.2.0)
32
- benchmark (0.4.0)
33
- bigdecimal (3.1.9)
32
+ base64 (0.3.0)
33
+ benchmark (0.4.1)
34
+ bigdecimal (3.2.1)
34
35
  chronic (0.10.2)
35
36
  concurrent-ruby (1.3.5)
36
- connection_pool (2.5.1)
37
- drb (2.2.1)
38
- git (3.0.0)
37
+ connection_pool (2.5.3)
38
+ drb (2.2.3)
39
+ git (3.0.2)
39
40
  activesupport (>= 5.0)
40
41
  addressable (~> 2.8)
41
42
  process_executer (~> 1.3)
@@ -43,12 +44,13 @@ GEM
43
44
  gli (2.21.5)
44
45
  i18n (1.14.7)
45
46
  concurrent-ruby (~> 1.0)
46
- logger (1.6.6)
47
+ logger (1.7.0)
47
48
  mdless (1.0.37)
48
49
  minitest (5.25.5)
50
+ ostruct (0.6.1)
49
51
  process_executer (1.3.0)
50
- public_suffix (6.0.1)
51
- rake (13.2.1)
52
+ public_suffix (6.0.2)
53
+ rake (13.3.0)
52
54
  rchardet (1.9.0)
53
55
  rdoc (4.3.0)
54
56
  securerandom (0.4.1)
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  _If you're one of the rare people like me who find this useful, feel free to
10
10
  [buy me some coffee][donate]._
11
11
 
12
- The current version of `na` is 1.2.77.
12
+ The current version of `na` is 1.2.78.
13
13
 
14
14
  `na` ("next action") is a command line tool designed to make it easy to see what your next actions are for any project, right from the command line. It works with TaskPaper-formatted files (but any plain text format will do), looking for `@na` tags (or whatever you specify) in todo files in your current folder.
15
15
 
@@ -76,7 +76,7 @@ SYNOPSIS
76
76
  na [global options] command [command options] [arguments...]
77
77
 
78
78
  VERSION
79
- 1.2.77
79
+ 1.2.78
80
80
 
81
81
  GLOBAL OPTIONS
82
82
  -a, --add - Add a next action (deprecated, for backwards compatibility)
data/lib/na/action.rb CHANGED
@@ -22,7 +22,8 @@ module NA
22
22
  string = @action.dup
23
23
 
24
24
  if priority&.positive?
25
- string.gsub!(/(?<=\A| )@priority\(\d+\)/, '').strip!
25
+ string.gsub!(/(?<=\A| )@priority\(\d+\)/, '')
26
+ string.strip!
26
27
  string += " @priority(#{priority})"
27
28
  end
28
29
 
data/lib/na/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Na
2
- VERSION = '1.2.77'
2
+ VERSION = '1.2.78'
3
3
  end
data/na.gemspec CHANGED
@@ -30,5 +30,6 @@ spec = Gem::Specification.new do |s|
30
30
  s.add_runtime_dependency('tty-screen', '~> 0.8', '>= 0.8.1')
31
31
  s.add_runtime_dependency('tty-which', '~> 0.5', '>= 0.5.0')
32
32
  s.add_runtime_dependency('git', '~> 3.0.0')
33
+ s.add_runtime_dependency('ostruct', '~> 0.6', '>= 0.6.1')
33
34
  s.add_development_dependency('tty-spinner', '~> 0.9', '>= 0.9.0')
34
35
  end
data/src/_README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  _If you're one of the rare people like me who find this useful, feel free to
10
10
  [buy me some coffee][donate]._
11
11
 
12
- The current version of `na` is <!--VER-->1.2.76<!--END VER-->.
12
+ The current version of `na` is <!--VER-->1.2.77<!--END VER-->.
13
13
 
14
14
  `na` ("next action") is a command line tool designed to make it easy to see what your next actions are for any project, right from the command line. It works with TaskPaper-formatted files (but any plain text format will do), looking for `@na` tags (or whatever you specify) in todo files in your current folder.
15
15
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: na
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.77
4
+ version: 1.2.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: minitest
@@ -165,6 +165,26 @@ dependencies:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
167
  version: 3.0.0
168
+ - !ruby/object:Gem::Dependency
169
+ name: ostruct
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '0.6'
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: 0.6.1
178
+ type: :runtime
179
+ prerelease: false
180
+ version_requirements: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - "~>"
183
+ - !ruby/object:Gem::Version
184
+ version: '0.6'
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: 0.6.1
168
188
  - !ruby/object:Gem::Dependency
169
189
  name: tty-spinner
170
190
  requirement: !ruby/object:Gem::Requirement
@@ -286,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
286
306
  - !ruby/object:Gem::Version
287
307
  version: '0'
288
308
  requirements: []
289
- rubygems_version: 3.6.6
309
+ rubygems_version: 3.6.7
290
310
  specification_version: 4
291
311
  summary: A command line tool for adding and listing project todos
292
312
  test_files: []