ajaxful_rating 2.2.1 → 2.2.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('ajaxful_rating', '2.2.1') do |p|
5
+ Echoe.new('ajaxful_rating', '2.2.1.1') do |p|
6
6
  p.description = "Provides a simple way to add rating functionality to your application."
7
7
  p.url = "http://github.com/edgarjs/ajaxful-rating"
8
8
  p.author = "Edgar J. Suarez"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ajaxful_rating}
5
- s.version = "2.2.1"
5
+ s.version = "2.2.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Edgar J. Suarez"]
data/lib/axr/model.rb CHANGED
@@ -87,7 +87,7 @@ module AjaxfulRating # :nodoc:
87
87
 
88
88
  # Builds the DOM id attribute for the wrapper in view.
89
89
  def wrapper_dom_id(options = {})
90
- options = options.slice(:small, :wrap, :show_user_rating, :dimension, :force_static)
90
+ options = options.symbolize_keys.slice(:small, :dimension)
91
91
  options = options.map do |k, v|
92
92
  if k == :dimension
93
93
  v
@@ -96,7 +96,7 @@ module AjaxfulRating # :nodoc:
96
96
  end
97
97
  end
98
98
  prefix = "ajaxful_rating"
99
- prefix << "__#{options.join('_')}" unless options.empty?
99
+ prefix << "_#{options.join('_')}" unless options.empty?
100
100
  ApplicationController.helpers.dom_id(self, prefix)
101
101
  end
102
102
 
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 2
8
8
  - 1
9
- version: 2.2.1
9
+ - 1
10
+ version: 2.2.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Edgar J. Suarez