ruby-duration 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -8,4 +8,4 @@
8
8
  coverage/*
9
9
  doc/*
10
10
  pkg/*
11
-
11
+ bluecloth/*
@@ -1,3 +1,3 @@
1
1
  class Duration
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
data/lib/duration.rb CHANGED
@@ -114,11 +114,14 @@ class Duration
114
114
  # %~d => locale-dependent "days" terminology
115
115
  # %~w => locale-dependent "weeks" terminology
116
116
  #
117
- # You can also use the I18n support.
118
- # Load you locale using I18n.load_path and set it up using I18n.locale= or I18n.default_locale=
119
- # If you are using Ruby on Rails, the support is ready out of the box, so just change your locale file.
120
- #
121
- # You must use the following structure (example):
117
+ # You can also use the I18n support.
118
+ # The %~s, %~m, %~h, %~d and %~w can be translated with I18n.
119
+ # If you are using Ruby on Rails, the support is ready out of the box, so just change your locale file. Otherwise you can try:
120
+ #
121
+ # I18n.load_path << "path/to/your/locale"
122
+ # I18n.locale = :your_locale
123
+ #
124
+ # And you must use the following structure (example) for your locale file:
122
125
  # pt:
123
126
  # ruby_duration:
124
127
  # second: segundo
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
5
5
  s.name = "ruby-duration"
6
6
  s.version = Duration::VERSION
7
7
  s.platform = Gem::Platform::RUBY
8
- s.authors = ["Jose Peleteiro"]
9
- s.email = ["jose@peleteiro.net"]
8
+ s.authors = ["Jose Peleteiro", "Bruno Azisaka Maciel"]
9
+ s.email = ["jose@peleteiro.net", "bruno@bubble.com.br"]
10
10
  s.homepage = "http://github.com/peleteiro/ruby-duration"
11
11
  s.summary = "Duration type"
12
12
  s.description = "Duration type"
metadata CHANGED
@@ -5,11 +5,12 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
8
+ - 1
9
+ version: 0.5.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jose Peleteiro
13
+ - Bruno Azisaka Maciel
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
@@ -132,6 +133,7 @@ dependencies:
132
133
  description: Duration type
133
134
  email:
134
135
  - jose@peleteiro.net
136
+ - bruno@bubble.com.br
135
137
  executables: []
136
138
 
137
139
  extensions: []