ajaxful_rating 2.2.9 → 2.2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/ajaxful_rating.gemspec +14 -14
- data/lib/axr/model.rb +1 -1
- metadata +5 -4
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.9') do |p|
|
5
|
+
Echoe.new('ajaxful_rating', '2.2.9.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
@@ -1,22 +1,22 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "2.2.9"
|
4
|
+
s.name = "ajaxful_rating"
|
5
|
+
s.version = "2.2.9.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = [
|
9
|
-
s.date =
|
10
|
-
s.description =
|
11
|
-
s.email =
|
12
|
-
s.extra_rdoc_files = [
|
13
|
-
s.files = [
|
14
|
-
s.homepage =
|
15
|
-
s.rdoc_options = [
|
16
|
-
s.require_paths = [
|
17
|
-
s.rubyforge_project =
|
18
|
-
s.rubygems_version =
|
19
|
-
s.summary =
|
8
|
+
s.authors = ["Edgar J. Suarez"]
|
9
|
+
s.date = "2012-06-29"
|
10
|
+
s.description = "Provides a simple way to add rating functionality to your application."
|
11
|
+
s.email = "edgar.js@gmail.com"
|
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"]
|
13
|
+
s.files = ["CHANGELOG", "Manifest", "README.textile", "Rakefile", "ajaxful_rating.gemspec", "generators/ajaxful_rating/USAGE", "generators/ajaxful_rating/ajaxful_rating_generator.rb", "generators/ajaxful_rating/templates/images/star.png", "generators/ajaxful_rating/templates/images/star_small.png", "generators/ajaxful_rating/templates/migration.rb", "generators/ajaxful_rating/templates/model.rb", "generators/ajaxful_rating/templates/style.css", "init.rb", "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"]
|
14
|
+
s.homepage = "http://github.com/edgarjs/ajaxful-rating"
|
15
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ajaxful_rating", "--main", "README.textile"]
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
s.rubyforge_project = "ajaxful_rating"
|
18
|
+
s.rubygems_version = "1.8.21"
|
19
|
+
s.summary = "Provides a simple way to add rating functionality to your application."
|
20
20
|
|
21
21
|
if s.respond_to? :specification_version then
|
22
22
|
s.specification_version = 3
|
data/lib/axr/model.rb
CHANGED
@@ -20,7 +20,7 @@ module AjaxfulRating # :nodoc:
|
|
20
20
|
# ajaxful_rateable :stars => 10, :cache_column => :custom_column
|
21
21
|
# end
|
22
22
|
def ajaxful_rateable(options = {})
|
23
|
-
has_many :rates_without_dimension, :as => :rateable, :class_name => 'Rate',
|
23
|
+
has_many :rates_without_dimension, :as => :rateable, options.merge(:class_name => 'Rate'),
|
24
24
|
:dependent => :destroy, :conditions => {:dimension => nil}
|
25
25
|
has_many :raters_without_dimension, :through => :rates_without_dimension, :source => :rater
|
26
26
|
|
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: 89
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
9
|
- 9
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 2.2.9.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:
|
19
|
+
date: 2012-06-29 00:00:00 Z
|
19
20
|
dependencies: []
|
20
21
|
|
21
22
|
description: Provides a simple way to add rating functionality to your application.
|
@@ -90,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
91
|
requirements: []
|
91
92
|
|
92
93
|
rubyforge_project: ajaxful_rating
|
93
|
-
rubygems_version: 1.8.
|
94
|
+
rubygems_version: 1.8.21
|
94
95
|
signing_key:
|
95
96
|
specification_version: 3
|
96
97
|
summary: Provides a simple way to add rating functionality to your application.
|