humanizer 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### Humanizer 2.4.1 (2010-12-16)
2
+
3
+ * Fixes a bug when the humanizer_question_id is given as a String.
4
+
5
+
1
6
  ### Humanizer 2.4.0 (2010-12-15)
2
7
 
3
8
  * Added #change_humanizer_question for question reloading.
data/lib/humanizer.rb CHANGED
@@ -8,7 +8,7 @@ module Humanizer
8
8
  attr_writer :humanizer_question_id
9
9
 
10
10
  def humanizer_question
11
- humanizer_questions[humanizer_question_id]["question"]
11
+ humanizer_questions[humanizer_question_id.to_i]["question"]
12
12
  end
13
13
 
14
14
  def humanizer_question_id
@@ -1,3 +1,3 @@
1
1
  module Humanizer
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 4
8
- - 0
9
- version: 2.4.0
8
+ - 1
9
+ version: 2.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Antti Akonniemi
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-15 00:00:00 +02:00
18
+ date: 2010-12-16 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency