acts_as_preferenced 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,7 @@ module ActsAsPreferenced
29
29
  def choices
30
30
  if @choices.is_a?( Array )
31
31
  # TODO: I don't quite understand checking for an array here
32
- @choices.collect { |choice| choice.is_a?( Array ) ? choice : [I18n.t( choice, :scope => [@store.translation_scope, :choices] ), opt] }
32
+ @choices.collect { |choice| choice.is_a?( Array ) ? choice : [I18n.t( choice, :scope => [@store.translation_scope, :choices] ), choice] }
33
33
  else
34
34
  @choices
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module ActsAsPreferenced
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_preferenced
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-07 00:00:00.000000000 Z
12
+ date: 2013-01-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Preferences for Rails
15
15
  email:
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  requirements: []
53
53
  rubyforge_project:
54
- rubygems_version: 1.8.24
54
+ rubygems_version: 1.8.17
55
55
  signing_key:
56
56
  specification_version: 3
57
57
  summary: ''