doing 1.0.51 → 1.0.52

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/doing +4 -2
  3. data/lib/doing/version.rb +1 -1
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03b16107627feaf0adeafbce9ad45e96fc53df7ba379f59dc72d2970d12642ef
4
- data.tar.gz: 5cd54e6ba005e985b6c86468831d0b83369c5801916a9e8e15e742c86fcccf53
3
+ metadata.gz: ab98c4f6aa3c2c5d3ccdb29a7b5f78a5f8adc67d12e9628e81b53316a10bc66c
4
+ data.tar.gz: dbe47b1b6b15d3d067a34f77b51b5f44b6137bd6f3cd89eccf4dd1909681ad32
5
5
  SHA512:
6
- metadata.gz: 617cd299b816ad12dc042ec76dbd58e5f19dca7098362ad4cc465d70d5c6dfab0e5ca4e05b82cd9535a85638ae490adea4da502ce4b6f0127e25da8f08b0bc6c
7
- data.tar.gz: c82bb894c5d457d6bde4e6396cb7badffb4db3e6d0d81b75372f98968ec79b9ebfe15548b7040ddb5cc2eb2abfda2e3faaf6ea517c0485878689b50ce1739a79
6
+ metadata.gz: 31b94d0107fae62ca3f8b791173d3ea36be2ba8a09f6a4c27f1c75ac9f75a3840f83d0ce13eb11ddcaee05d305e35d5f15acd4d285936cf673e34d320b0db8d5
7
+ data.tar.gz: 48e17f344c27e38c82272906f082ee78dbb7be36fcc66b76de1c784ad2ab845ff54398c73624a83eaa883f5780264eb026c4a9b6443f60af7bbb55e06d5e1bb7
data/bin/doing CHANGED
@@ -461,7 +461,7 @@ command :finish do |c|
461
461
  c.flag [:t, :took]
462
462
 
463
463
  c.desc 'Finish the last X entries containing TAG. Separate multiple tags with comma (--tag=tag2,tag2)'
464
- c.flag [:tag], :default_value => []
464
+ c.flag [:tag]
465
465
 
466
466
  c.desc 'Boolean (AND|OR|NOT) with which to combine multiple tag filters'
467
467
  c.flag [:tag_bool], default_value: 'AND'
@@ -493,7 +493,9 @@ command :finish do |c|
493
493
  end
494
494
  end
495
495
 
496
- if options[:tag]
496
+ if options[:tag].nil?
497
+ options[:tag] = []
498
+ else
497
499
  options[:tag] = options[:tag].split(/,/).map {|tag| tag.strip.sub(/^@/, '') }
498
500
  if options[:tag_bool] =~ /^(and|or|not)$/i
499
501
  options[:tag_bool] = options[:tag_bool].upcase
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '1.0.51'
2
+ VERSION = '1.0.52'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.51
4
+ version: 1.0.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
@@ -78,20 +78,20 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '2.20'
81
+ version: '2.19'
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
- version: 2.20.1
84
+ version: 2.19.2
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '2.20'
91
+ version: '2.19'
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 2.20.1
94
+ version: 2.19.2
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: haml
97
97
  requirement: !ruby/object:Gem::Requirement