assistance 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.1.3 (2008-02-04)
2
+
3
+ * Fixed case statement in Inflector to work in Ruby 1.9.
4
+
1
5
  === 0.1.2 (2008-01-21)
2
6
 
3
7
  * Imported Validation from Sequel.
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ include FileUtils
9
9
  # Configuration
10
10
  ##############################################################################
11
11
  NAME = "assistance"
12
- VERS = "0.1.2"
12
+ VERS = "0.1.3"
13
13
  CLEAN.include ["**/.*.sw?", "pkg/*", ".config", "doc/*", "coverage/*"]
14
14
  RDOC_OPTS = [
15
15
  "--quiet",
@@ -263,10 +263,14 @@ module Inflector
263
263
  "#{number}th"
264
264
  else
265
265
  case number.to_i % 10
266
- when 1: "#{number}st"
267
- when 2: "#{number}nd"
268
- when 3: "#{number}rd"
269
- else "#{number}th"
266
+ when 1
267
+ "#{number}st"
268
+ when 2
269
+ "#{number}nd"
270
+ when 3
271
+ "#{number}rd"
272
+ else
273
+ "#{number}th"
270
274
  end
271
275
  end
272
276
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assistance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezra Zygmuntowicz, Sam Smoot, Sharon Rosner
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-01-21 00:00:00 +02:00
12
+ date: 2008-02-04 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15