rudate 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rudate/version.rb +1 -1
  2. data/lib/rudate.rb +1 -1
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module Rudate
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/rudate.rb CHANGED
@@ -7,7 +7,7 @@ module Rudate
7
7
  day.to_s + " " + month_names[month].to_s + " " + year.to_s + "г"
8
8
  end
9
9
 
10
- def self.to_s(tm)
10
+ def self.time(tm)
11
11
  day = tm.strftime("%d").to_i
12
12
  month = tm.strftime("%m").to_i
13
13
  year = tm.strftime("%Y").to_i
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: