koyomi 0.0.4 → 0.0.4.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.
Files changed (3) hide show
  1. data/README.md +6 -5
  2. data/lib/koyomi/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -19,6 +19,7 @@ Or install it yourself as:
19
19
  ## Usage
20
20
 
21
21
  Handling calendar by this gem.
22
+
22
23
  (japanese) カレンダーを取り扱うための gem です。
23
24
 
24
25
  require "koyomi"
@@ -39,16 +40,16 @@ Handling calendar by this gem.
39
40
  # nth week day.
40
41
  cal.nth_wday(1, :sat).to_s # => "2012-12-01"
41
42
 
43
+ # cycle: every monday.
44
+ # (japanese) 周期:毎週月曜
45
+ cal.cycles(:every, :mon).collect { |d| d.to_s }
46
+ # => ["2012-12-03", "2012-12-10", "2012-12-17", "2012-12-24", "2012-12-31"]
47
+
42
48
  # cycle: 1st, 3rd week's tuesday or friday.
43
49
  # (japanese) 周期:第1、第3の火曜と金曜
44
50
  cal.cycles([1, 3], [:tue, :fri]).collect { |d| d.to_s }
45
51
  # => ["2012-12-04", "2012-12-07", "2012-12-18", "2012-12-21"]
46
52
 
47
- # cycle: every montday.
48
- # (japanese) 周期:毎週月曜
49
- cal.cycles(:every, [:mon]).collect { |d| d.to_s }
50
- # => ["2012-12-03", "2012-12-10", "2012-12-17", "2012-12-24", "2012-12-31"]
51
-
52
53
 
53
54
  ## Contributing
54
55
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Koyomi
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.4.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koyomi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: