Hokkaido 0.0.3 → 0.0.4

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 (84) hide show
  1. data/Gemfile +2 -0
  2. data/Gemfile.lock +2 -2
  3. data/ansiterm-color/.gitignore +3 -0
  4. data/ansiterm-color/CHANGES +28 -0
  5. data/ansiterm-color/COPYING +340 -0
  6. data/ansiterm-color/README +137 -0
  7. data/ansiterm-color/Rakefile +88 -0
  8. data/ansiterm-color/VERSION +1 -0
  9. data/ansiterm-color/bin/cdiff +19 -0
  10. data/ansiterm-color/bin/decolor +12 -0
  11. data/ansiterm-color/doc-main.txt +119 -0
  12. data/ansiterm-color/examples/example.rb +90 -0
  13. data/ansiterm-color/install.rb +15 -0
  14. data/ansiterm-color/lib/term/ansicolor/.keep +0 -0
  15. data/ansiterm-color/lib/term/ansicolor/version.rb +10 -0
  16. data/ansiterm-color/lib/term/ansicolor.rb +102 -0
  17. data/ansiterm-color/make_doc.rb +4 -0
  18. data/ansiterm-color/tests/ansicolor_test.rb +66 -0
  19. data/chronic/.gitignore +6 -0
  20. data/chronic/HISTORY.md +205 -0
  21. data/chronic/LICENSE +21 -0
  22. data/chronic/README.md +181 -0
  23. data/chronic/Rakefile +46 -0
  24. data/chronic/chronic.gemspec +20 -0
  25. data/chronic/lib/chronic/grabber.rb +33 -0
  26. data/chronic/lib/chronic/handler.rb +88 -0
  27. data/chronic/lib/chronic/handlers.rb +572 -0
  28. data/chronic/lib/chronic/mini_date.rb +38 -0
  29. data/chronic/lib/chronic/numerizer.rb +121 -0
  30. data/chronic/lib/chronic/ordinal.rb +47 -0
  31. data/chronic/lib/chronic/pointer.rb +32 -0
  32. data/chronic/lib/chronic/repeater.rb +145 -0
  33. data/chronic/lib/chronic/repeaters/repeater_day.rb +53 -0
  34. data/chronic/lib/chronic/repeaters/repeater_day_name.rb +52 -0
  35. data/chronic/lib/chronic/repeaters/repeater_day_portion.rb +108 -0
  36. data/chronic/lib/chronic/repeaters/repeater_fortnight.rb +71 -0
  37. data/chronic/lib/chronic/repeaters/repeater_hour.rb +58 -0
  38. data/chronic/lib/chronic/repeaters/repeater_minute.rb +58 -0
  39. data/chronic/lib/chronic/repeaters/repeater_month.rb +79 -0
  40. data/chronic/lib/chronic/repeaters/repeater_month_name.rb +94 -0
  41. data/chronic/lib/chronic/repeaters/repeater_season.rb +109 -0
  42. data/chronic/lib/chronic/repeaters/repeater_season_name.rb +43 -0
  43. data/chronic/lib/chronic/repeaters/repeater_second.rb +42 -0
  44. data/chronic/lib/chronic/repeaters/repeater_time.rb +128 -0
  45. data/chronic/lib/chronic/repeaters/repeater_week.rb +74 -0
  46. data/chronic/lib/chronic/repeaters/repeater_weekday.rb +85 -0
  47. data/chronic/lib/chronic/repeaters/repeater_weekend.rb +66 -0
  48. data/chronic/lib/chronic/repeaters/repeater_year.rb +77 -0
  49. data/chronic/lib/chronic/scalar.rb +116 -0
  50. data/chronic/lib/chronic/season.rb +26 -0
  51. data/chronic/lib/chronic/separator.rb +94 -0
  52. data/chronic/lib/chronic/span.rb +31 -0
  53. data/chronic/lib/chronic/tag.rb +36 -0
  54. data/chronic/lib/chronic/time_zone.rb +32 -0
  55. data/chronic/lib/chronic/token.rb +47 -0
  56. data/chronic/lib/chronic.rb +442 -0
  57. data/chronic/test/helper.rb +12 -0
  58. data/chronic/test/test_chronic.rb +150 -0
  59. data/chronic/test/test_daylight_savings.rb +118 -0
  60. data/chronic/test/test_handler.rb +104 -0
  61. data/chronic/test/test_mini_date.rb +32 -0
  62. data/chronic/test/test_numerizer.rb +72 -0
  63. data/chronic/test/test_parsing.rb +1061 -0
  64. data/chronic/test/test_repeater_day_name.rb +51 -0
  65. data/chronic/test/test_repeater_day_portion.rb +254 -0
  66. data/chronic/test/test_repeater_fortnight.rb +62 -0
  67. data/chronic/test/test_repeater_hour.rb +68 -0
  68. data/chronic/test/test_repeater_minute.rb +34 -0
  69. data/chronic/test/test_repeater_month.rb +50 -0
  70. data/chronic/test/test_repeater_month_name.rb +56 -0
  71. data/chronic/test/test_repeater_season.rb +40 -0
  72. data/chronic/test/test_repeater_time.rb +70 -0
  73. data/chronic/test/test_repeater_week.rb +62 -0
  74. data/chronic/test/test_repeater_weekday.rb +55 -0
  75. data/chronic/test/test_repeater_weekend.rb +74 -0
  76. data/chronic/test/test_repeater_year.rb +69 -0
  77. data/chronic/test/test_span.rb +23 -0
  78. data/chronic/test/test_token.rb +25 -0
  79. data/lib/Hokkaido/version.rb +1 -1
  80. data/lib/Hokkaido.rb +13 -9
  81. data/lib/gem_modifier.rb +23 -3
  82. data/lib/term/ansicolor.rb +4 -1
  83. data/spec/Hokkaido/port_spec.rb +15 -7
  84. metadata +78 -2
@@ -0,0 +1,62 @@
1
+ require 'helper'
2
+
3
+ class TestRepeaterWeek < TestCase
4
+
5
+ def setup
6
+ @now = Time.local(2006, 8, 16, 14, 0, 0, 0)
7
+ end
8
+
9
+ def test_next_future
10
+ weeks = Chronic::RepeaterWeek.new(:week)
11
+ weeks.start = @now
12
+
13
+ next_week = weeks.next(:future)
14
+ assert_equal Time.local(2006, 8, 20), next_week.begin
15
+ assert_equal Time.local(2006, 8, 27), next_week.end
16
+
17
+ next_next_week = weeks.next(:future)
18
+ assert_equal Time.local(2006, 8, 27), next_next_week.begin
19
+ assert_equal Time.local(2006, 9, 3), next_next_week.end
20
+ end
21
+
22
+ def test_next_past
23
+ weeks = Chronic::RepeaterWeek.new(:week)
24
+ weeks.start = @now
25
+
26
+ last_week = weeks.next(:past)
27
+ assert_equal Time.local(2006, 8, 6), last_week.begin
28
+ assert_equal Time.local(2006, 8, 13), last_week.end
29
+
30
+ last_last_week = weeks.next(:past)
31
+ assert_equal Time.local(2006, 7, 30), last_last_week.begin
32
+ assert_equal Time.local(2006, 8, 6), last_last_week.end
33
+ end
34
+
35
+ def test_this_future
36
+ weeks = Chronic::RepeaterWeek.new(:week)
37
+ weeks.start = @now
38
+
39
+ this_week = weeks.this(:future)
40
+ assert_equal Time.local(2006, 8, 16, 15), this_week.begin
41
+ assert_equal Time.local(2006, 8, 20), this_week.end
42
+ end
43
+
44
+ def test_this_past
45
+ weeks = Chronic::RepeaterWeek.new(:week)
46
+ weeks.start = @now
47
+
48
+ this_week = weeks.this(:past)
49
+ assert_equal Time.local(2006, 8, 13, 0), this_week.begin
50
+ assert_equal Time.local(2006, 8, 16, 14), this_week.end
51
+ end
52
+
53
+ def test_offset
54
+ span = Chronic::Span.new(@now, @now + 1)
55
+
56
+ offset_span = Chronic::RepeaterWeek.new(:week).offset(span, 3, :future)
57
+
58
+ assert_equal Time.local(2006, 9, 6, 14), offset_span.begin
59
+ assert_equal Time.local(2006, 9, 6, 14, 0, 1), offset_span.end
60
+ end
61
+
62
+ end
@@ -0,0 +1,55 @@
1
+ require 'helper'
2
+
3
+ class TestRepeaterWeekday < TestCase
4
+
5
+ def setup
6
+ @now = Time.local(2007, 6, 11, 14, 0, 0, 0) # Mon
7
+ end
8
+
9
+ def test_next_future
10
+ weekdays = Chronic::RepeaterWeekday.new(:weekday)
11
+ weekdays.start = @now
12
+
13
+ next1_weekday = weekdays.next(:future) # Tues
14
+ assert_equal Time.local(2007, 6, 12), next1_weekday.begin
15
+ assert_equal Time.local(2007, 6, 13), next1_weekday.end
16
+
17
+ next2_weekday = weekdays.next(:future) # Wed
18
+ assert_equal Time.local(2007, 6, 13), next2_weekday.begin
19
+ assert_equal Time.local(2007, 6, 14), next2_weekday.end
20
+
21
+ next3_weekday = weekdays.next(:future) # Thurs
22
+ assert_equal Time.local(2007, 6, 14), next3_weekday.begin
23
+ assert_equal Time.local(2007, 6, 15), next3_weekday.end
24
+
25
+ next4_weekday = weekdays.next(:future) # Fri
26
+ assert_equal Time.local(2007, 6, 15), next4_weekday.begin
27
+ assert_equal Time.local(2007, 6, 16), next4_weekday.end
28
+
29
+ next5_weekday = weekdays.next(:future) # Mon
30
+ assert_equal Time.local(2007, 6, 18), next5_weekday.begin
31
+ assert_equal Time.local(2007, 6, 19), next5_weekday.end
32
+ end
33
+
34
+ def test_next_past
35
+ weekdays = Chronic::RepeaterWeekday.new(:weekday)
36
+ weekdays.start = @now
37
+
38
+ last1_weekday = weekdays.next(:past) # Fri
39
+ assert_equal Time.local(2007, 6, 8), last1_weekday.begin
40
+ assert_equal Time.local(2007, 6, 9), last1_weekday.end
41
+
42
+ last2_weekday = weekdays.next(:past) # Thurs
43
+ assert_equal Time.local(2007, 6, 7), last2_weekday.begin
44
+ assert_equal Time.local(2007, 6, 8), last2_weekday.end
45
+ end
46
+
47
+ def test_offset
48
+ span = Chronic::Span.new(@now, @now + 1)
49
+
50
+ offset_span = Chronic::RepeaterWeekday.new(:weekday).offset(span, 5, :future)
51
+
52
+ assert_equal Time.local(2007, 6, 18, 14), offset_span.begin
53
+ assert_equal Time.local(2007, 6, 18, 14, 0, 1), offset_span.end
54
+ end
55
+ end
@@ -0,0 +1,74 @@
1
+ require 'helper'
2
+
3
+ class TestRepeaterWeekend < TestCase
4
+
5
+ def setup
6
+ # Wed Aug 16 14:00:00 2006
7
+ @now = Time.local(2006, 8, 16, 14, 0, 0, 0)
8
+ end
9
+
10
+ def test_next_future
11
+ weekend = Chronic::RepeaterWeekend.new(:weekend)
12
+ weekend.start = @now
13
+
14
+ next_weekend = weekend.next(:future)
15
+ assert_equal Time.local(2006, 8, 19), next_weekend.begin
16
+ assert_equal Time.local(2006, 8, 21), next_weekend.end
17
+ end
18
+
19
+ def test_next_past
20
+ weekend = Chronic::RepeaterWeekend.new(:weekend)
21
+ weekend.start = @now
22
+
23
+ next_weekend = weekend.next(:past)
24
+ assert_equal Time.local(2006, 8, 12), next_weekend.begin
25
+ assert_equal Time.local(2006, 8, 14), next_weekend.end
26
+ end
27
+
28
+ def test_this_future
29
+ weekend = Chronic::RepeaterWeekend.new(:weekend)
30
+ weekend.start = @now
31
+
32
+ next_weekend = weekend.this(:future)
33
+ assert_equal Time.local(2006, 8, 19), next_weekend.begin
34
+ assert_equal Time.local(2006, 8, 21), next_weekend.end
35
+ end
36
+
37
+ def test_this_past
38
+ weekend = Chronic::RepeaterWeekend.new(:weekend)
39
+ weekend.start = @now
40
+
41
+ next_weekend = weekend.this(:past)
42
+ assert_equal Time.local(2006, 8, 12), next_weekend.begin
43
+ assert_equal Time.local(2006, 8, 14), next_weekend.end
44
+ end
45
+
46
+ def test_this_none
47
+ weekend = Chronic::RepeaterWeekend.new(:weekend)
48
+ weekend.start = @now
49
+
50
+ next_weekend = weekend.this(:future)
51
+ assert_equal Time.local(2006, 8, 19), next_weekend.begin
52
+ assert_equal Time.local(2006, 8, 21), next_weekend.end
53
+ end
54
+
55
+ def test_offset
56
+ span = Chronic::Span.new(@now, @now + 1)
57
+
58
+ offset_span = Chronic::RepeaterWeekend.new(:weekend).offset(span, 3, :future)
59
+
60
+ assert_equal Time.local(2006, 9, 2), offset_span.begin
61
+ assert_equal Time.local(2006, 9, 2, 0, 0, 1), offset_span.end
62
+
63
+ offset_span = Chronic::RepeaterWeekend.new(:weekend).offset(span, 1, :past)
64
+
65
+ assert_equal Time.local(2006, 8, 12), offset_span.begin
66
+ assert_equal Time.local(2006, 8, 12, 0, 0, 1), offset_span.end
67
+
68
+ offset_span = Chronic::RepeaterWeekend.new(:weekend).offset(span, 0, :future)
69
+
70
+ assert_equal Time.local(2006, 8, 12), offset_span.begin
71
+ assert_equal Time.local(2006, 8, 12, 0, 0, 1), offset_span.end
72
+ end
73
+
74
+ end
@@ -0,0 +1,69 @@
1
+ require 'helper'
2
+
3
+ class TestRepeaterYear < TestCase
4
+
5
+ def setup
6
+ @now = Time.local(2006, 8, 16, 14, 0, 0, 0)
7
+ end
8
+
9
+ def test_next_future
10
+ years = Chronic::RepeaterYear.new(:year)
11
+ years.start = @now
12
+
13
+ next_year = years.next(:future)
14
+ assert_equal Time.local(2007, 1, 1), next_year.begin
15
+ assert_equal Time.local(2008, 1, 1), next_year.end
16
+
17
+ next_next_year = years.next(:future)
18
+ assert_equal Time.local(2008, 1, 1), next_next_year.begin
19
+ assert_equal Time.local(2009, 1, 1), next_next_year.end
20
+ end
21
+
22
+ def test_next_past
23
+ years = Chronic::RepeaterYear.new(:year)
24
+ years.start = @now
25
+
26
+ last_year = years.next(:past)
27
+ assert_equal Time.local(2005, 1, 1), last_year.begin
28
+ assert_equal Time.local(2006, 1, 1), last_year.end
29
+
30
+ last_last_year = years.next(:past)
31
+ assert_equal Time.local(2004, 1, 1), last_last_year.begin
32
+ assert_equal Time.local(2005, 1, 1), last_last_year.end
33
+ end
34
+
35
+ def test_this
36
+ years = Chronic::RepeaterYear.new(:year)
37
+ years.start = @now
38
+
39
+ this_year = years.this(:future)
40
+ assert_equal Time.local(2006, 8, 17), this_year.begin
41
+ assert_equal Time.local(2007, 1, 1), this_year.end
42
+
43
+ this_year = years.this(:past)
44
+ assert_equal Time.local(2006, 1, 1), this_year.begin
45
+ assert_equal Time.local(2006, 8, 16), this_year.end
46
+ end
47
+
48
+ def test_offset
49
+ span = Chronic::Span.new(@now, @now + 1)
50
+
51
+ offset_span = Chronic::RepeaterYear.new(:year).offset(span, 3, :future)
52
+
53
+ assert_equal Time.local(2009, 8, 16, 14), offset_span.begin
54
+ assert_equal Time.local(2009, 8, 16, 14, 0, 1), offset_span.end
55
+
56
+ offset_span = Chronic::RepeaterYear.new(:year).offset(span, 10, :past)
57
+
58
+ assert_equal Time.local(1996, 8, 16, 14), offset_span.begin
59
+ assert_equal Time.local(1996, 8, 16, 14, 0, 1), offset_span.end
60
+
61
+ now = Time.local(2008, 2, 29)
62
+ span = Chronic::Span.new(now, now + 1)
63
+ offset_span = Chronic::RepeaterYear.new(:year).offset(span, 1, :past)
64
+
65
+ assert_equal Time.local(2007, 2, 28), offset_span.begin
66
+ assert_equal Time.local(2007, 2, 28, 0, 0, 1), offset_span.end
67
+ end
68
+
69
+ end
@@ -0,0 +1,23 @@
1
+ require 'helper'
2
+
3
+ class TestSpan < TestCase
4
+
5
+ def setup
6
+ # Wed Aug 16 14:00:00 UTC 2006
7
+ @now = Time.local(2006, 8, 16, 14, 0, 0, 0)
8
+ end
9
+
10
+ def test_span_width
11
+ span = Chronic::Span.new(Time.local(2006, 8, 16, 0), Time.local(2006, 8, 17, 0))
12
+ assert_equal (60 * 60 * 24), span.width
13
+ end
14
+
15
+ def test_span_math
16
+ s = Chronic::Span.new(1, 2)
17
+ assert_equal 2, (s + 1).begin
18
+ assert_equal 3, (s + 1).end
19
+ assert_equal 0, (s - 1).begin
20
+ assert_equal 1, (s - 1).end
21
+ end
22
+
23
+ end
@@ -0,0 +1,25 @@
1
+ require 'helper'
2
+
3
+ class TestToken < TestCase
4
+
5
+ def setup
6
+ # Wed Aug 16 14:00:00 UTC 2006
7
+ @now = Time.local(2006, 8, 16, 14, 0, 0, 0)
8
+ end
9
+
10
+ def test_token
11
+ token = Chronic::Token.new('foo')
12
+ assert_equal 0, token.tags.size
13
+ assert !token.tagged?
14
+ token.tag("mytag")
15
+ assert_equal 1, token.tags.size
16
+ assert token.tagged?
17
+ assert_equal String, token.get_tag(String).class
18
+ token.tag(5)
19
+ assert_equal 2, token.tags.size
20
+ token.untag(String)
21
+ assert_equal 1, token.tags.size
22
+ assert_equal 'foo', token.word
23
+ end
24
+
25
+ end
@@ -1,3 +1,3 @@
1
1
  module Hokkaido
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/Hokkaido.rb CHANGED
@@ -1,21 +1,22 @@
1
1
  require "Hokkaido/version"
2
2
  require 'gem_modifier'
3
- require 'term/ansicolor'
3
+ #require 'term/ansicolor'
4
4
 
5
5
  module Hokkaido
6
6
 
7
- RUBYMOTION_GEM_CONFIG = <<-HEREDOC
8
- Motion::Project::App.setup do |app|
9
- MAIN_CONFIG_FILES
10
- end
11
- HEREDOC
7
+ RUBYMOTION_GEM_CONFIG = <<-HEREDOC
8
+ Motion::Project::App.setup do |app|
9
+ MAIN_CONFIG_FILES
10
+ end
11
+ HEREDOC
12
12
 
13
- INCLUDE_STRING = " app.files << File.expand_path(File.join(File.dirname(__FILE__),'RELATIVE_LIBRARY_PATH'))"
13
+ INCLUDE_STRING = " app.files << File.expand_path(File.join(File.dirname(__FILE__),'RELATIVE_LIBRARY_PATH'))"
14
14
 
15
15
  class Port
16
16
 
17
17
  def initialize(info, options=nil)
18
18
  @mod_gem = GemModifier.new(info)
19
+ @true_path = File.join(@mod_gem.lib_folder, @mod_gem.init_lib)
19
20
  end
20
21
 
21
22
  def modify
@@ -23,9 +24,12 @@ module Hokkaido
23
24
  end
24
25
 
25
26
  def test
26
- true_path = File.join(@mod_gem.lib_folder, @mod_gem.init_lib)
27
27
  mocklib = File.expand_path('lib/motion_mock.rb')
28
- system("/usr/bin/env ruby -r #{mocklib} #{true_path}")
28
+ system("/usr/bin/env ruby -r #{mocklib} #{@true_path}")
29
+ end
30
+
31
+ def produced_eval_fixme
32
+ File.read(@true_path).include?("FIXME: #eval")
29
33
  end
30
34
  end
31
35
 
data/lib/gem_modifier.rb CHANGED
@@ -4,6 +4,23 @@ require 'tempfile'
4
4
 
5
5
  # require removal only
6
6
 
7
+ class File
8
+ def self.prepend(path, string)
9
+ Tempfile.open File.basename(path) do |tempfile|
10
+ # shift string to tempfile
11
+ tempfile << string
12
+
13
+ File.open(path, 'r+') do |file|
14
+ # append original data to tempfile
15
+ tempfile << file.read
16
+ # reset file positions
17
+ file.pos = tempfile.pos = 0
18
+ # copy tempfile back to original file
19
+ file << tempfile.read
20
+ end
21
+ end
22
+ end
23
+ end
7
24
 
8
25
 
9
26
  module Hokkaido
@@ -65,6 +82,11 @@ module Hokkaido
65
82
  # comment it out
66
83
  current_file += "# #{line}"
67
84
  next
85
+ elsif line.strip =~ /^eval/
86
+ # comment it out
87
+ current_file += "# FIXME: #eval is not available in motion\n"
88
+ current_file += "# #{line}"
89
+ next
68
90
  end
69
91
 
70
92
  # dont intefere
@@ -91,9 +113,7 @@ module Hokkaido
91
113
  # creates config manifest
92
114
  @manifest = RUBYMOTION_GEM_CONFIG.gsub("MAIN_CONFIG_FILES", @manifest_files.join("\n"))
93
115
 
94
- # puts @manifest
95
-
96
- File.open(File.join(@lib_folder, @init_lib), 'a') {|f| f.puts(@manifest) } #unless TEST_MODE
116
+ File.prepend(File.join(@lib_folder, @init_lib), @manifest)
97
117
 
98
118
  end
99
119
 
@@ -1,3 +1,6 @@
1
+ Motion::Project::App.setup do |app|
2
+ app.files << File.expand_path(File.join(File.dirname(__FILE__),'ansicolor.rb'))
3
+ end
1
4
  module Hokkaido
2
5
  module Term
3
6
  # The ANSIColor module can be used for namespacing and mixed into your own
@@ -53,7 +56,7 @@ module Hokkaido
53
56
  self.coloring = true
54
57
 
55
58
  ATTRIBUTES.each do |c, v|
56
- eval %Q{
59
+ # Module#eval is disabled in motion# eval %Q{
57
60
  def #{c}(string = nil)
58
61
  result = ''
59
62
  result << "\e[#{v}m" if Hokkaido::Term::ANSIColor.coloring?
@@ -1,19 +1,27 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Hokkaido::Port do
4
- before do
5
- File.directory?("gherkin").should be_true
6
- FileUtils.cp_r "gherkin", "gherkin-spec"
7
- @info = ["gherkin-spec", "gherkin.rb", "gherkin-spec/lib"]
8
- end
4
+
9
5
 
10
6
  it "should pass self test" do
7
+ File.directory?("chronic").should be_true
8
+ FileUtils.cp_r "chronic", "chronic-spec"
9
+ @info = ["chronic-spec", "chronic.rb", "chronic-spec/lib"]
11
10
  port = Hokkaido::Port.new(@info)
12
11
  port.modify
13
12
  port.test.should be_true
13
+ FileUtils.rmtree 'chronic-spec'
14
14
  end
15
15
 
16
- after do
17
- FileUtils.rmtree 'gherkin-spec'
16
+ it "should produce a FIXME when eval is used" do
17
+ File.directory?("ansiterm-color").should be_true
18
+ FileUtils.cp_r "ansiterm-color", "ansiterm-spec"
19
+ @info = ["ansiterm-spec", "ansicolor.rb", "ansiterm-spec/lib/term"]
20
+ port = Hokkaido::Port.new(@info)
21
+ port.modify
22
+ port.produced_eval_fixme.should be_true
23
+ FileUtils.rmtree 'ansiterm-spec'
18
24
  end
25
+
26
+
19
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Hokkaido
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-09 00:00:00.000000000 Z
13
+ date: 2012-10-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -143,7 +143,83 @@ files:
143
143
  - LICENSE
144
144
  - README.md
145
145
  - Rakefile
146
+ - ansiterm-color/.gitignore
147
+ - ansiterm-color/CHANGES
148
+ - ansiterm-color/COPYING
149
+ - ansiterm-color/README
150
+ - ansiterm-color/Rakefile
151
+ - ansiterm-color/VERSION
152
+ - ansiterm-color/bin/cdiff
153
+ - ansiterm-color/bin/decolor
154
+ - ansiterm-color/doc-main.txt
155
+ - ansiterm-color/examples/example.rb
156
+ - ansiterm-color/install.rb
157
+ - ansiterm-color/lib/term/ansicolor.rb
158
+ - ansiterm-color/lib/term/ansicolor/.keep
159
+ - ansiterm-color/lib/term/ansicolor/version.rb
160
+ - ansiterm-color/make_doc.rb
161
+ - ansiterm-color/tests/ansicolor_test.rb
146
162
  - bin/Hokkaido
163
+ - chronic/.gitignore
164
+ - chronic/HISTORY.md
165
+ - chronic/LICENSE
166
+ - chronic/README.md
167
+ - chronic/Rakefile
168
+ - chronic/chronic.gemspec
169
+ - chronic/lib/chronic.rb
170
+ - chronic/lib/chronic/grabber.rb
171
+ - chronic/lib/chronic/handler.rb
172
+ - chronic/lib/chronic/handlers.rb
173
+ - chronic/lib/chronic/mini_date.rb
174
+ - chronic/lib/chronic/numerizer.rb
175
+ - chronic/lib/chronic/ordinal.rb
176
+ - chronic/lib/chronic/pointer.rb
177
+ - chronic/lib/chronic/repeater.rb
178
+ - chronic/lib/chronic/repeaters/repeater_day.rb
179
+ - chronic/lib/chronic/repeaters/repeater_day_name.rb
180
+ - chronic/lib/chronic/repeaters/repeater_day_portion.rb
181
+ - chronic/lib/chronic/repeaters/repeater_fortnight.rb
182
+ - chronic/lib/chronic/repeaters/repeater_hour.rb
183
+ - chronic/lib/chronic/repeaters/repeater_minute.rb
184
+ - chronic/lib/chronic/repeaters/repeater_month.rb
185
+ - chronic/lib/chronic/repeaters/repeater_month_name.rb
186
+ - chronic/lib/chronic/repeaters/repeater_season.rb
187
+ - chronic/lib/chronic/repeaters/repeater_season_name.rb
188
+ - chronic/lib/chronic/repeaters/repeater_second.rb
189
+ - chronic/lib/chronic/repeaters/repeater_time.rb
190
+ - chronic/lib/chronic/repeaters/repeater_week.rb
191
+ - chronic/lib/chronic/repeaters/repeater_weekday.rb
192
+ - chronic/lib/chronic/repeaters/repeater_weekend.rb
193
+ - chronic/lib/chronic/repeaters/repeater_year.rb
194
+ - chronic/lib/chronic/scalar.rb
195
+ - chronic/lib/chronic/season.rb
196
+ - chronic/lib/chronic/separator.rb
197
+ - chronic/lib/chronic/span.rb
198
+ - chronic/lib/chronic/tag.rb
199
+ - chronic/lib/chronic/time_zone.rb
200
+ - chronic/lib/chronic/token.rb
201
+ - chronic/test/helper.rb
202
+ - chronic/test/test_chronic.rb
203
+ - chronic/test/test_daylight_savings.rb
204
+ - chronic/test/test_handler.rb
205
+ - chronic/test/test_mini_date.rb
206
+ - chronic/test/test_numerizer.rb
207
+ - chronic/test/test_parsing.rb
208
+ - chronic/test/test_repeater_day_name.rb
209
+ - chronic/test/test_repeater_day_portion.rb
210
+ - chronic/test/test_repeater_fortnight.rb
211
+ - chronic/test/test_repeater_hour.rb
212
+ - chronic/test/test_repeater_minute.rb
213
+ - chronic/test/test_repeater_month.rb
214
+ - chronic/test/test_repeater_month_name.rb
215
+ - chronic/test/test_repeater_season.rb
216
+ - chronic/test/test_repeater_time.rb
217
+ - chronic/test/test_repeater_week.rb
218
+ - chronic/test/test_repeater_weekday.rb
219
+ - chronic/test/test_repeater_weekend.rb
220
+ - chronic/test/test_repeater_year.rb
221
+ - chronic/test/test_span.rb
222
+ - chronic/test/test_token.rb
147
223
  - lib/Hokkaido.rb
148
224
  - lib/Hokkaido/version.rb
149
225
  - lib/gem_modifier.rb