date_extended 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -3
- data/lib/date_extended.rb +2 -0
- data/lib/date_extended/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -18,11 +18,13 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Require as regular Date class with extra methods:
|
22
22
|
|
23
|
-
|
23
|
+
require 'date_extended'
|
24
|
+
|
25
|
+
Date.year # It will give the current year
|
24
26
|
|
25
|
-
Date.month will give the current month
|
27
|
+
Date.month # It will give the current month
|
26
28
|
|
27
29
|
## Contributing
|
28
30
|
|
data/lib/date_extended.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: date_extended
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|