rmoriz-smartmonth 1.01 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/rails/init.rb +5 -0
  2. data/smartmonth.gemspec +3 -1
  3. metadata +3 -1
data/rails/init.rb ADDED
@@ -0,0 +1,5 @@
1
+ class ::Time
2
+ def month
3
+ return Month.new(self.mon,self.year)
4
+ end
5
+ end
data/smartmonth.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "smartmonth"
3
- s.version = "1.01"
3
+ s.version = "1.1.1"
4
4
  s.date = "2008-09-06"
5
5
  s.summary = "Making months smarter in Ruby (and Rails)."
6
6
  s.email = "roland@moriz.de"
@@ -16,6 +16,8 @@ Gem::Specification.new do |s|
16
16
  "lib/smart_month/magic.rb",
17
17
  "lib/smart_month/math.rb",
18
18
  "lib/smart_month/util.rb",
19
+ "rails",
20
+ "rails/init.rb",
19
21
  "MIT-LICENSE",
20
22
  "Rakefile",
21
23
  # "rdoc/classes/Month.html",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmoriz-smartmonth
3
3
  version: !ruby/object:Gem::Version
4
- version: "1.01"
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Perez
@@ -31,6 +31,8 @@ files:
31
31
  - lib/smart_month/magic.rb
32
32
  - lib/smart_month/math.rb
33
33
  - lib/smart_month/util.rb
34
+ - rails
35
+ - rails/init.rb
34
36
  - MIT-LICENSE
35
37
  - Rakefile
36
38
  - README