rmoriz-smartmonth 1.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/init.rb +1 -5
  2. data/rails/init.rb +5 -0
  3. data/smartmonth.gemspec +4 -2
  4. metadata +4 -2
data/init.rb CHANGED
@@ -1,5 +1 @@
1
- class ::Time
2
- def month
3
- return Month.new(self.mon,self.year)
4
- end
5
- end
1
+ require File.dirname(__FILE__) + "/rails/init"
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,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "smartmonth"
3
- s.version = "1.0"
4
- s.date = "2008-08-21"
3
+ s.version = "1.0.2"
4
+ s.date = "2008-09-06"
5
5
  s.summary = "Making months smarter in Ruby (and Rails)."
6
6
  s.email = "roland@moriz.de"
7
7
  s.homepage = "http://github.com/rmoriz/smartmonth/tree/master"
@@ -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.0"
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Perez
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-21 00:00:00 -07:00
12
+ date: 2008-09-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -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