ajaxful_rating 2.2.9 → 2.2.9.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.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"
@@ -1,22 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |s|
4
- s.name = %q{ajaxful_rating}
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 = [%q{Edgar J. Suarez}]
9
- s.date = %q{2011-09-20}
10
- s.description = %q{Provides a simple way to add rating functionality to your application.}
11
- s.email = %q{edgar.js@gmail.com}
12
- s.extra_rdoc_files = [%q{CHANGELOG}, %q{README.textile}, %q{lib/ajaxful_rating.rb}, %q{lib/axr/css_builder.rb}, %q{lib/axr/errors.rb}, %q{lib/axr/helpers.rb}, %q{lib/axr/locale.rb}, %q{lib/axr/model.rb}, %q{lib/axr/stars_builder.rb}]
13
- s.files = [%q{CHANGELOG}, %q{Manifest}, %q{README.textile}, %q{Rakefile}, %q{ajaxful_rating.gemspec}, %q{generators/ajaxful_rating/USAGE}, %q{generators/ajaxful_rating/ajaxful_rating_generator.rb}, %q{generators/ajaxful_rating/templates/images/star.png}, %q{generators/ajaxful_rating/templates/images/star_small.png}, %q{generators/ajaxful_rating/templates/migration.rb}, %q{generators/ajaxful_rating/templates/model.rb}, %q{generators/ajaxful_rating/templates/style.css}, %q{init.rb}, %q{lib/ajaxful_rating.rb}, %q{lib/axr/css_builder.rb}, %q{lib/axr/errors.rb}, %q{lib/axr/helpers.rb}, %q{lib/axr/locale.rb}, %q{lib/axr/model.rb}, %q{lib/axr/stars_builder.rb}]
14
- s.homepage = %q{http://github.com/edgarjs/ajaxful-rating}
15
- s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Ajaxful_rating}, %q{--main}, %q{README.textile}]
16
- s.require_paths = [%q{lib}]
17
- s.rubyforge_project = %q{ajaxful_rating}
18
- s.rubygems_version = %q{1.8.6}
19
- s.summary = %q{Provides a simple way to add rating functionality to your application.}
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
@@ -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: 21
4
+ hash: 89
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
9
  - 9
10
- version: 2.2.9
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: 2011-09-20 00:00:00 Z
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.6
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.