na 1.2.12 → 1.2.13

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: 9f57d129b093d22ebfa8b31a1df536bbf2423fcc2760f7f6eeed09c69fa1f9de
4
- data.tar.gz: 77a4e95fe464396a5021496c1bcbe39ff958bf12c69a3f76871333654444698f
3
+ metadata.gz: 2d39100de907ee238aac6e9f51cb976e0736822294bc602cec67886aecba12e0
4
+ data.tar.gz: 9936c5bb6fb340d1a9ef756b3b6245560021685e7a538c0a72d10e300ecf527d
5
5
  SHA512:
6
- metadata.gz: 71a714a64e56384f653fb2f8df83405d4b6cf024d1ac0a32d1494aa136d7df9ae937b0f50ffb15aafb8bf4db2bcd86e79c41bd7aee3f8893167cb3f0537481c0
7
- data.tar.gz: 10575125bfd6f2fd591d041050c78d142ff93bfe90bac5c1f300c3d1269be529ae31788498e64e23bb121b2ed422fef1034f470432a1d919a73d57e87f7ccf4d
6
+ metadata.gz: 3c6c082c7f2d104916449a1a984191c3e9c06f53f64a6c5860200569d2981e677dc0fc05a47472f186fee46867ccdb0fc5a52925789242ebef87ae441d36f758
7
+ data.tar.gz: f5f3a48fecd5debb35e9d9e03eb3e6f85565912f478395100e63934edfae0b32171a7b4619c474645c7562de426de24e0d6d62312dff9e198423c6850823d6ca
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.2.13
2
+
3
+ 2022-11-01 12:43
4
+
5
+ #### FIXED
6
+
7
+ - Allow colon at end of action without recognizing as project
8
+
1
9
  ### 1.2.12
2
10
 
3
11
  2022-10-31 13:52
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- na (1.2.12)
4
+ na (1.2.13)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  gli (~> 2.21.0)
7
7
  mdless (~> 1.0, >= 1.0.32)
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.12
12
+ The current version of `na` is 1.2.13
13
13
  .
14
14
 
15
15
  `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.
@@ -77,7 +77,7 @@ SYNOPSIS
77
77
  na [global options] command [command options] [arguments...]
78
78
 
79
79
  VERSION
80
- 1.2.12
80
+ 1.2.13
81
81
 
82
82
  GLOBAL OPTIONS
83
83
  -a, --[no-]add - Add a next action (deprecated, for backwards compatibility)
@@ -512,7 +512,7 @@ module NA
512
512
  last_line = 0
513
513
  in_action = false
514
514
  content.split("\n").each.with_index do |line, idx|
515
- if line =~ /^([ \t]*)([^\-][^@()]+?): *(@\S+ *)*$/
515
+ if line !~ /^[ \t]*- / && line =~ /^([ \t]*)([^\-][^@()]+?): *(@\S+ *)*$/
516
516
  in_action = false
517
517
  proj = Regexp.last_match(2)
518
518
  indent = line.indent_level
data/lib/na/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Na
2
- VERSION = '1.2.12'
2
+ VERSION = '1.2.13'
3
3
  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.11<!--END VER-->.
12
+ The current version of `na` is <!--VER-->1.2.12<!--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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: na
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.12
4
+ version: 1.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake