month 0.1.0 → 0.1.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/lib/month.rb +4 -1
- data/lib/month.rb~ +3 -1
- metadata +21 -15
data/lib/month.rb
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
# Month represents a specific month in time. With the exception of
|
2
2
|
# Month.month_names (which returns a zero-based array), every usage of the
|
3
3
|
# month value assumes that 1 equals January and 12 equals December.
|
4
|
+
#
|
5
|
+
# The Rubyforge project page can be viewed at
|
6
|
+
# http://rubyforge.org/projects/month.
|
4
7
|
class Month
|
5
|
-
Version = '0.1.
|
8
|
+
Version = '0.1.1'
|
6
9
|
|
7
10
|
# Returns an array of the full names of months (in English). Note that
|
8
11
|
# "January" is the 0th element, and "December" is the 11th element.
|
data/lib/month.rb~
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# Month represents a specific month in time. With the exception of
|
2
2
|
# Month.month_names (which returns a zero-based array), every usage of the
|
3
3
|
# month value assumes that 1 equals January and 12 equals December.
|
4
4
|
class Month
|
5
|
+
Version = '0.1.0'
|
6
|
+
|
5
7
|
# Returns an array of the full names of months (in English). Note that
|
6
8
|
# "January" is the 0th element, and "December" is the 11th element.
|
7
9
|
def Month.month_names
|
metadata
CHANGED
@@ -1,40 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.
|
2
|
+
rubygems_version: 0.8.11
|
3
3
|
specification_version: 1
|
4
4
|
name: month
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date:
|
6
|
+
version: 0.1.1
|
7
|
+
date: 2007-01-07 00:00:00 -05:00
|
8
8
|
summary: Month is a utility class for representing months in Ruby.
|
9
9
|
require_paths:
|
10
|
-
|
10
|
+
- lib
|
11
11
|
email: sera@fhwang.net
|
12
12
|
homepage: http://month.rubyforge.org/
|
13
13
|
rubyforge_project:
|
14
|
-
description:
|
15
|
-
addition, previous and next months, end and start dates, month names (in
|
16
|
-
English), and a few other handy things."
|
14
|
+
description: Ruby Month is a utility class for representing months in Ruby. It handles addition, previous and next months, end and start dates, month names (in English), and a few other handy things.
|
17
15
|
autorequire: month
|
18
16
|
default_executable:
|
19
17
|
bindir: bin
|
20
18
|
has_rdoc: false
|
21
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
22
20
|
requirements:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
version: 0.0.0
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
27
24
|
version:
|
28
25
|
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
29
28
|
authors:
|
30
|
-
|
29
|
+
- Francis Hwang
|
31
30
|
files:
|
32
|
-
|
33
|
-
|
31
|
+
- lib/month.rb
|
32
|
+
- lib/month.rb~
|
34
33
|
test_files: []
|
34
|
+
|
35
35
|
rdoc_options: []
|
36
|
+
|
36
37
|
extra_rdoc_files: []
|
38
|
+
|
37
39
|
executables: []
|
40
|
+
|
38
41
|
extensions: []
|
42
|
+
|
39
43
|
requirements: []
|
40
|
-
|
44
|
+
|
45
|
+
dependencies: []
|
46
|
+
|