ajaxful_rating 2.2.8 → 2.2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Rakefile +1 -1
- data/ajaxful_rating.gemspec +2 -2
- data/lib/axr/stars_builder.rb +2 -1
- metadata +4 -3
data/CHANGELOG
CHANGED
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.8') do |p|
|
5
|
+
Echoe.new('ajaxful_rating', '2.2.8.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"
|
data/ajaxful_rating.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{ajaxful_rating}
|
5
|
-
s.version = "2.2.8"
|
5
|
+
s.version = "2.2.8.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"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-07-02}
|
10
10
|
s.description = %q{Provides a simple way to add rating functionality to your application.}
|
11
11
|
s.email = %q{edgar.js@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "README.textile", "lib/ajaxful_rating.rb", "lib/axr/css_builder.rb", "lib/axr/errors.rb", "lib/axr/helpers.rb", "lib/axr/locale.rb", "lib/axr/model.rb", "lib/axr/stars_builder.rb"]
|
data/lib/axr/stars_builder.rb
CHANGED
@@ -68,7 +68,8 @@ module AjaxfulRating # :nodoc:
|
|
68
68
|
star_tag(i)
|
69
69
|
end
|
70
70
|
# When using rails_xss plugin, it needs to render as HTML
|
71
|
-
|
71
|
+
stars = "".respond_to?(:html_safe) ? stars.join.html_safe : stars.join
|
72
|
+
@template.content_tag(:ul, stars, :class => "ajaxful-rating#{' small' if options[:small]}")
|
72
73
|
end
|
73
74
|
|
74
75
|
def star_tag(value)
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ajaxful_rating
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 93
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
9
|
- 8
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 2.2.8.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Edgar J. Suarez
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-
|
19
|
+
date: 2010-07-02 00:00:00 -05:00
|
19
20
|
default_executable:
|
20
21
|
dependencies: []
|
21
22
|
|