rudate 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +10 -0
  2. data/lib/rudate/version.rb +1 -1
  3. metadata +2 -2
  4. data/README +0 -6
@@ -0,0 +1,10 @@
1
+ ## Rudate.to_s(Year,Month,Day) ##
2
+ convert from YMD to russian date
3
+ etc. `Rudate.to_s(1970,7,7)`
4
+ will output "1 Июля 1970г"
5
+
6
+ ## Rudate.time(Unix_time) ##
7
+ convert from Time class to russian date
8
+ `time = Time.at(0)
9
+ Rudate.time(time)`
10
+ will output "1 Января 1970г"
@@ -1,3 +1,3 @@
1
1
  module Rudate
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -20,7 +20,7 @@ extra_rdoc_files: []
20
20
  files:
21
21
  - .gitignore
22
22
  - Gemfile
23
- - README
23
+ - README.md
24
24
  - Rakefile
25
25
  - lib/rudate.rb
26
26
  - lib/rudate/version.rb
data/README DELETED
@@ -1,6 +0,0 @@
1
- Rudate.to_s(Year,Month,Day) # convert from YMD to russian date
2
- etc. Rudate.to_s(1900,1,1) will output "1 Января 1900г"
3
-
4
- Rudate.to_s(Unix_time) # convert from unix time to russian date
5
- time = Time.at(0)
6
- etc. Rudate.to_s(time) will output "1 Января 1970г"