sculd 0.0.0 → 0.0.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/CHANGES +8 -1
- data/VERSION +1 -1
- data/bin/dates +41 -0
- data/bin/sculd +12 -4
- data/lib/sculd/manager.rb +10 -5
- data/lib/sculd/plan.rb +45 -11
- data/sculd.gemspec +86 -0
- data/spec/command_spec.rb +4 -2
- data/spec/manager_spec.rb +18 -9
- data/spec/plan_spec.rb +51 -2
- data/spec/schedule/error.dat +2 -0
- metadata +17 -13
data/CHANGES
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
= sdrt changelog
|
2
2
|
|
3
|
-
==
|
3
|
+
== Master (for 0.0.2)
|
4
|
+
|
5
|
+
== Version 0.0.1
|
6
|
+
* Enable to use date and time.
|
7
|
+
* Plan.parse is modified to deal with time.
|
8
|
+
* [datetime(wday)], date and weekday, style is introduced, to check correct date.
|
9
|
+
* Add dates command to help you input your plans.
|
4
10
|
|
11
|
+
== Version 0.0.0
|
5
12
|
* Initial release.
|
6
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/bin/dates
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
#! /usr/bin/ruby
|
2
|
+
# coding: utf-8
|
3
|
+
|
4
|
+
require "date"
|
5
|
+
require "pp"
|
6
|
+
|
7
|
+
#WEEKDAYS = %w(日 月 火 水 木 金 土)
|
8
|
+
WEEKDAYS = %w(Sun Mon Tue Wed Thu Fri Sat)
|
9
|
+
TODAY = DateTime.now
|
10
|
+
|
11
|
+
unless ARGV.size == 2
|
12
|
+
puts "USAGE: dates from_date to_date"
|
13
|
+
puts " e.g., dates 2012-01-26 2012-02-29"
|
14
|
+
puts " e.g., dates 1-26 2-29"
|
15
|
+
puts " e.g., dates '' 29"
|
16
|
+
exit
|
17
|
+
end
|
18
|
+
|
19
|
+
def analyze_date(str)
|
20
|
+
#pp TODAY
|
21
|
+
nums = str.split(/[\-\/]/).map{|i| i.to_i}
|
22
|
+
nums = [TODAY.day ] if nums.size == 0
|
23
|
+
nums = [TODAY.month, *nums] if nums.size == 1
|
24
|
+
nums = [TODAY.year, *nums] if nums.size == 2
|
25
|
+
Date.new(* nums)
|
26
|
+
end
|
27
|
+
from_date = analyze_date(ARGV[0])
|
28
|
+
to_date = analyze_date(ARGV[1])
|
29
|
+
|
30
|
+
if to_date < from_date
|
31
|
+
puts "Error: from_date must be earlier than to_date"
|
32
|
+
exit
|
33
|
+
end
|
34
|
+
|
35
|
+
#p from_date, to_date
|
36
|
+
current = from_date
|
37
|
+
while (current <= to_date)
|
38
|
+
puts current.strftime("[%Y-%m-%d (#{WEEKDAYS[current.wday]})]")
|
39
|
+
current += 1
|
40
|
+
end
|
41
|
+
|
data/bin/sculd
CHANGED
@@ -18,6 +18,7 @@ OPTS = {}
|
|
18
18
|
op = OptionParser.new
|
19
19
|
op.on("-e day", "--event days", "Show events."){|v| OPTS[:event] = v.to_i}
|
20
20
|
op.on("-t num", "--task num" , "Show tasks." ){|v| OPTS[:task ] = v.to_i}
|
21
|
+
op.on("-f file", "--file datafile", "Indicate file."){|v| OPTS[:file] = v}
|
21
22
|
op.parse!(ARGV)
|
22
23
|
|
23
24
|
#num_day = ARGV.shift.to_i
|
@@ -30,15 +31,22 @@ if (( OPTS[:event] == 0) &&( OPTS[:task ] == 0))
|
|
30
31
|
exit
|
31
32
|
end
|
32
33
|
|
34
|
+
file = OPTS[:file]
|
35
|
+
file ||= SCULD_DAT
|
33
36
|
|
34
|
-
unless FileTest.exist?
|
35
|
-
# lines = File.open(
|
37
|
+
unless FileTest.exist? file
|
38
|
+
# lines = File.open(file, "r").readlines
|
36
39
|
#rescue
|
37
|
-
puts "Not found #{
|
40
|
+
puts "Not found #{file}. Exit."
|
38
41
|
exit
|
39
42
|
end
|
40
43
|
|
41
|
-
|
44
|
+
begin
|
45
|
+
sm = Sculd::Manager.new(file)
|
46
|
+
rescue Sculd::Manager::LoadError
|
47
|
+
puts "Exit."
|
48
|
+
exit
|
49
|
+
end
|
42
50
|
sm.show(OPTS[:event], OPTS[:task])
|
43
51
|
|
44
52
|
#while (true)
|
data/lib/sculd/manager.rb
CHANGED
@@ -12,10 +12,12 @@ class Sculd::Manager
|
|
12
12
|
#WEEKDAYS = [ "日", "月", "火", "水", "木", "金", "土" ]
|
13
13
|
WEEKDAYS = [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ]
|
14
14
|
|
15
|
+
class LoadError < Exception; end
|
16
|
+
|
15
17
|
#
|
16
|
-
def initialize(file)
|
18
|
+
def initialize(file, io = $stdout)
|
17
19
|
@source_file = file
|
18
|
-
load_file(@source_file)
|
20
|
+
load_file(@source_file, io)
|
19
21
|
end
|
20
22
|
|
21
23
|
def show(num_event, num_task)
|
@@ -26,12 +28,12 @@ class Sculd::Manager
|
|
26
28
|
private
|
27
29
|
|
28
30
|
# read, parse file and set data to @events and @tasks.
|
29
|
-
def load_file(file)
|
31
|
+
def load_file(file, io = $stdio)
|
30
32
|
@plans = []
|
31
33
|
|
32
34
|
File.open(file, "r").readlines.each_with_index do |line, index|
|
33
35
|
begin
|
34
|
-
date, type, option = Sculd::Plan.parse(line)
|
36
|
+
date, type, option = Sculd::Plan.parse(line, io)
|
35
37
|
option = option.to_i
|
36
38
|
next unless type
|
37
39
|
case type
|
@@ -49,8 +51,11 @@ class Sculd::Manager
|
|
49
51
|
next
|
50
52
|
end
|
51
53
|
@plans << plan_type.new(date, option, line)
|
54
|
+
rescue Sculd::Plan::WeekdayMismatchError
|
55
|
+
io.puts "error occured at #{index}: #{line}"
|
56
|
+
raise LoadError
|
52
57
|
rescue
|
53
|
-
#
|
58
|
+
# do nothing
|
54
59
|
end
|
55
60
|
end
|
56
61
|
end
|
data/lib/sculd/plan.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
#
|
12
12
|
class Sculd::Plan
|
13
13
|
class NotDefinedError < Exception; end
|
14
|
+
class WeekdayMismatchError < Exception; end
|
15
|
+
class NotWeekdayError < Exception; end
|
14
16
|
|
15
17
|
attr_reader :description
|
16
18
|
|
@@ -18,20 +20,52 @@ class Sculd::Plan
|
|
18
20
|
DEADLINE_PRIORITY = 20000
|
19
21
|
|
20
22
|
# Parse and return date, type, option.
|
21
|
-
def self.parse(str)
|
22
|
-
#/\[(\d
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
datetime = DateTime::parse
|
30
|
-
|
31
|
-
|
23
|
+
def self.parse(str, io = $stdout)
|
24
|
+
#/\[([\d\- :]*)\](.)(\S*)/ =~ str #OK
|
25
|
+
/\[([^\]]*)\](.)(\S*)/ =~ str #OK
|
26
|
+
|
27
|
+
datestr = $1
|
28
|
+
type = $2
|
29
|
+
option = $3.to_s
|
30
|
+
|
31
|
+
datetime = DateTime::parse datestr
|
32
|
+
if /\((.+)\)/ =~ datestr
|
33
|
+
#pp $1
|
34
|
+
#pp datetime.wday
|
35
|
+
#pp self.wday($1)
|
36
|
+
unless self.wday($1) == datetime.wday
|
37
|
+
#io.puts "#{datetime} is #{Sculd::Manager::WEEKDAYS[datetime.wday]},"
|
38
|
+
#io.puts "but string contains #{datestr}."
|
39
|
+
puts "ERROR:"
|
40
|
+
puts "#{datetime} is #{Sculd::Manager::WEEKDAYS[datetime.wday]},"
|
41
|
+
puts "but string contains #{datestr}."
|
42
|
+
raise WeekdayMismatchError
|
43
|
+
end
|
44
|
+
end
|
32
45
|
return datetime, type, option
|
33
46
|
end
|
34
47
|
|
48
|
+
def self.wday(str)
|
49
|
+
case str
|
50
|
+
when /^Su/i
|
51
|
+
return 0
|
52
|
+
when /^M/i
|
53
|
+
return 1
|
54
|
+
when /^Tu/i
|
55
|
+
return 2
|
56
|
+
when /^W/i
|
57
|
+
return 3
|
58
|
+
when /^Th/i
|
59
|
+
return 4
|
60
|
+
when /^F/i
|
61
|
+
return 5
|
62
|
+
when /^Sa/i
|
63
|
+
return 6
|
64
|
+
else
|
65
|
+
raise NotWeekdayError
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
35
69
|
#
|
36
70
|
def initialize(datetime, option, description)
|
37
71
|
@datetime = datetime
|
data/sculd.gemspec
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "sculd"
|
8
|
+
s.version = "0.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["ippei94da"]
|
12
|
+
s.date = "2012-11-01"
|
13
|
+
s.description = "Schedule management system using 'howm' like format. Plans, i.e., schedule(@), reminder(-), deadline(!), and tood(+), make events and tasks. Command 'sculd' can output events on each date and tasks with high priority. "
|
14
|
+
s.email = "ippei94da@gmail.com"
|
15
|
+
s.executables = ["dates", "sculd"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.txt",
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".document",
|
22
|
+
".rspec",
|
23
|
+
"CHANGES",
|
24
|
+
"Gemfile",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.rdoc",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"bin/dates",
|
30
|
+
"bin/sculd",
|
31
|
+
"lib/sculd.rb",
|
32
|
+
"lib/sculd/event.rb",
|
33
|
+
"lib/sculd/manager.rb",
|
34
|
+
"lib/sculd/plan.rb",
|
35
|
+
"lib/sculd/plan/deadline.rb",
|
36
|
+
"lib/sculd/plan/reminder.rb",
|
37
|
+
"lib/sculd/plan/schedule.rb",
|
38
|
+
"lib/sculd/plan/todo.rb",
|
39
|
+
"lib/sculd/task.rb",
|
40
|
+
"sculd.gemspec",
|
41
|
+
"spec/command_spec.rb",
|
42
|
+
"spec/deadline_spec.rb",
|
43
|
+
"spec/event_spec.rb",
|
44
|
+
"spec/job_spec.rb",
|
45
|
+
"spec/manager_spec.rb",
|
46
|
+
"spec/plan_spec.rb",
|
47
|
+
"spec/reminder_spec.rb",
|
48
|
+
"spec/schedule/empty.dat",
|
49
|
+
"spec/schedule/error.dat",
|
50
|
+
"spec/schedule/schedule.dat",
|
51
|
+
"spec/schedule_spec.rb",
|
52
|
+
"spec/sculd_spec.rb",
|
53
|
+
"spec/spec_helper.rb",
|
54
|
+
"spec/todo_spec.rb"
|
55
|
+
]
|
56
|
+
s.homepage = "http://github.com/ippei94da/sculd"
|
57
|
+
s.licenses = ["MIT"]
|
58
|
+
s.require_paths = ["lib"]
|
59
|
+
s.rubygems_version = "1.8.11"
|
60
|
+
s.summary = "Sculd, SChedULe Dealer."
|
61
|
+
|
62
|
+
if s.respond_to? :specification_version then
|
63
|
+
s.specification_version = 3
|
64
|
+
|
65
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
66
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.11.0"])
|
67
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
68
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.2.1"])
|
69
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
70
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
71
|
+
else
|
72
|
+
s.add_dependency(%q<rspec>, ["~> 2.11.0"])
|
73
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
74
|
+
s.add_dependency(%q<bundler>, ["~> 1.2.1"])
|
75
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
76
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
77
|
+
end
|
78
|
+
else
|
79
|
+
s.add_dependency(%q<rspec>, ["~> 2.11.0"])
|
80
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
81
|
+
s.add_dependency(%q<bundler>, ["~> 1.2.1"])
|
82
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
83
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
data/spec/command_spec.rb
CHANGED
data/spec/manager_spec.rb
CHANGED
@@ -15,16 +15,25 @@ describe "Manager" do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
describe "#load_file" do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
context "correct data" do
|
19
|
+
it "should overwrite data" do
|
20
|
+
result = @s00.load_file("spec/schedule/schedule.dat")
|
21
|
+
@s00.plans.size.should == 4
|
22
|
+
@s00.plans[0].should be_kind_of Sculd::Plan
|
23
|
+
@s00.plans[1].should be_kind_of Sculd::Plan
|
24
|
+
@s00.plans[2].should be_kind_of Sculd::Plan
|
25
|
+
@s00.plans[3].should be_kind_of Sculd::Plan
|
25
26
|
|
26
|
-
|
27
|
-
|
27
|
+
result = @s00.load_file("spec/schedule/empty.dat")
|
28
|
+
@s00.plans.size.should == 0
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "data containing error" do
|
33
|
+
it "should interrupt with error line." do
|
34
|
+
io = StringIO.new
|
35
|
+
lambda{ @s00.load_file("spec/schedule/error.dat", io)}.should raise_error Sculd::Manager::LoadError
|
36
|
+
end
|
28
37
|
end
|
29
38
|
end
|
30
39
|
end
|
data/spec/plan_spec.rb
CHANGED
@@ -4,14 +4,63 @@ describe Sculd::Plan do # E.g., Klass
|
|
4
4
|
context 'Class method' do # 'when stack is empty'
|
5
5
|
describe '#parse' do # ''
|
6
6
|
context '[2012-10-23]! deadlineA' do
|
7
|
-
it 'should return Date, !,
|
7
|
+
it 'should return Date, !, ""' do
|
8
8
|
a, b, c = Sculd::Plan.parse('[2012-10-23]! deadlineA')
|
9
|
-
a.should ==
|
9
|
+
a.should == DateTime.new(2012, 10, 23, 0, 0, 0)
|
10
10
|
b.should == "!"
|
11
11
|
c.should == ""
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
+
context '[2012-10-23 01:02:03]@ deadlineA' do
|
16
|
+
it 'should return Date, @, ""' do
|
17
|
+
a, b, c = Sculd::Plan.parse('[2012-10-23 01:02:03]@ deadlineA')
|
18
|
+
a.should == DateTime.new(2012, 10, 23, 1, 2, 3)
|
19
|
+
b.should == "@"
|
20
|
+
c.should == ""
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
context 'schedule with correct weekday' do
|
25
|
+
it 'should return Date, @, ""' do
|
26
|
+
a, b, c = Sculd::Plan.parse('[2012-11-01 01:02:03(Thu)]@ deadlineA')
|
27
|
+
a.should == DateTime.new(2012, 11, 01, 1, 2, 3)
|
28
|
+
b.should == "@"
|
29
|
+
c.should == ""
|
30
|
+
|
31
|
+
a, b, c = Sculd::Plan.parse('[2012-11-01 01:02:03(th)]@ deadlineA')
|
32
|
+
a.should == DateTime.new(2012, 11, 01, 1, 2, 3)
|
33
|
+
b.should == "@"
|
34
|
+
c.should == ""
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
context 'schedule with wrong weekday' do
|
39
|
+
it 'should return Date, @, ""' do
|
40
|
+
io = StringIO.new
|
41
|
+
lambda{ Sculd::Plan.parse('[2012-11-01 01:02:03(Sun)]@ deadlineA', io)}.should raise_error Sculd::Plan::WeekdayMismatchError
|
42
|
+
|
43
|
+
lambda{ Sculd::Plan.parse('[2012-11-01 01:02:03(abc)]@ deadlineA', io)}.should raise_error Sculd::Plan::NotWeekdayError
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
context '[abc]! deadlineA' do
|
48
|
+
it 'should raise exception' do
|
49
|
+
#Sculd::Plan.parse('[abc]! deadlineA')
|
50
|
+
#fail
|
51
|
+
lambda{ Sculd::Plan.parse('[abc]! deadlineA')}.should raise_error
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
context '[abc]]! deadlineA' do
|
56
|
+
it 'should raise exception' do
|
57
|
+
a, b, c = Sculd::Plan.parse('[2012-01-01]]! deadlineA')
|
58
|
+
a.should == DateTime.new(2012, 01, 01)
|
59
|
+
b.should == "]"
|
60
|
+
c.should == "!"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
15
64
|
context ' [2012-10-23]! deadlineA with space at head' do
|
16
65
|
it 'should return Date, !, deadlineA' do
|
17
66
|
a, b, c = Sculd::Plan.parse(' [2012-10-23]! deadlineA with space at head')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sculd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &71356360 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.11.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *71356360
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdoc
|
27
|
-
requirement: &
|
27
|
+
requirement: &71355770 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.12'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *71355770
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &71355240 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.2.1
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *71355240
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jeweler
|
49
|
-
requirement: &
|
49
|
+
requirement: &71354270 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.8.4
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *71354270
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: simplecov
|
60
|
-
requirement: &
|
60
|
+
requirement: &71353730 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,12 +65,13 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *71353730
|
69
69
|
description: ! 'Schedule management system using ''howm'' like format. Plans, i.e.,
|
70
70
|
schedule(@), reminder(-), deadline(!), and tood(+), make events and tasks. Command
|
71
71
|
''sculd'' can output events on each date and tasks with high priority. '
|
72
72
|
email: ippei94da@gmail.com
|
73
73
|
executables:
|
74
|
+
- dates
|
74
75
|
- sculd
|
75
76
|
extensions: []
|
76
77
|
extra_rdoc_files:
|
@@ -85,6 +86,7 @@ files:
|
|
85
86
|
- README.rdoc
|
86
87
|
- Rakefile
|
87
88
|
- VERSION
|
89
|
+
- bin/dates
|
88
90
|
- bin/sculd
|
89
91
|
- lib/sculd.rb
|
90
92
|
- lib/sculd/event.rb
|
@@ -95,6 +97,7 @@ files:
|
|
95
97
|
- lib/sculd/plan/schedule.rb
|
96
98
|
- lib/sculd/plan/todo.rb
|
97
99
|
- lib/sculd/task.rb
|
100
|
+
- sculd.gemspec
|
98
101
|
- spec/command_spec.rb
|
99
102
|
- spec/deadline_spec.rb
|
100
103
|
- spec/event_spec.rb
|
@@ -103,6 +106,7 @@ files:
|
|
103
106
|
- spec/plan_spec.rb
|
104
107
|
- spec/reminder_spec.rb
|
105
108
|
- spec/schedule/empty.dat
|
109
|
+
- spec/schedule/error.dat
|
106
110
|
- spec/schedule/schedule.dat
|
107
111
|
- spec/schedule_spec.rb
|
108
112
|
- spec/sculd_spec.rb
|
@@ -123,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
127
|
version: '0'
|
124
128
|
segments:
|
125
129
|
- 0
|
126
|
-
hash:
|
130
|
+
hash: 229991729
|
127
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
132
|
none: false
|
129
133
|
requirements:
|