pday 0.3.0 → 0.3.2
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/lib/pday.rb +1 -2
- metadata +1 -1
data/lib/pday.rb
CHANGED
|
@@ -5,7 +5,6 @@ require 'date'
|
|
|
5
5
|
require 'yaml'
|
|
6
6
|
|
|
7
7
|
include Methadone::Main
|
|
8
|
-
include Methadone::CLILogging
|
|
9
8
|
|
|
10
9
|
def isdate testdate
|
|
11
10
|
begin
|
|
@@ -104,7 +103,7 @@ main do
|
|
|
104
103
|
`echo '#{prepopulate(entrydate)}' > "#{filepath}"` # NEED TO ESCAPE FILEPATH FOR SPACES
|
|
105
104
|
end
|
|
106
105
|
puts "Editing entry: #{filepath}"
|
|
107
|
-
|
|
106
|
+
exec("#{options['editor']} '#{filepath}'")
|
|
108
107
|
end
|
|
109
108
|
|
|
110
109
|
version '0.3'
|