acts_as_favorite 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -30,7 +30,7 @@ begin
30
30
  gemspec.email = "kossnocorp@gmail.com"
31
31
  gemspec.homepage = "http://github.com/kossnocorp/acts_as_favorite"
32
32
  gemspec.authors = ["Josh Martin"]
33
- gemspec.version = "0.1.1"
33
+ gemspec.version = "0.1.2"
34
34
  end
35
35
  Jeweler::GemcutterTasks.new
36
36
  rescue LoadError
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acts_as_favorite}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Josh Martin"]
12
- s.date = %q{2010-03-19}
12
+ s.date = %q{2010-07-16}
13
13
  s.description = %q{This gem provides a simple way to track users favorites within the system using ActiveRecord models}
14
14
  s.email = %q{kossnocorp@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
44
44
  s.homepage = %q{http://github.com/kossnocorp/acts_as_favorite}
45
45
  s.rdoc_options = ["--charset=UTF-8"]
46
46
  s.require_paths = ["lib"]
47
- s.rubygems_version = %q{1.3.5}
47
+ s.rubygems_version = %q{1.3.7}
48
48
  s.summary = %q{User fovorites for you web application}
49
49
  s.test_files = [
50
50
  "test/acts_as_favorite_test.rb",
@@ -56,7 +56,7 @@ Gem::Specification.new do |s|
56
56
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
57
57
  s.specification_version = 3
58
58
 
59
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
59
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
60
  else
61
61
  end
62
62
  else
@@ -5,7 +5,6 @@ module ActsAsFavorite
5
5
  module InstanceMethods
6
6
 
7
7
  def method_missing( method_sym, *args )
8
- debugger
9
8
  if method_sym.to_s =~ Regexp.new("^favorite_(\\w+)")
10
9
  favorite_class = ($1).singularize.classify.constantize
11
10
  favorite_class.find(:all, :include => :favorites,
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_favorite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 2
9
+ version: 0.1.2
5
10
  platform: ruby
6
11
  authors:
7
12
  - Josh Martin
@@ -9,7 +14,7 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-19 00:00:00 +06:00
17
+ date: 2010-07-16 00:00:00 +07:00
13
18
  default_executable:
14
19
  dependencies: []
15
20
 
@@ -56,21 +61,25 @@ rdoc_options:
56
61
  require_paths:
57
62
  - lib
58
63
  required_ruby_version: !ruby/object:Gem::Requirement
64
+ none: false
59
65
  requirements:
60
66
  - - ">="
61
67
  - !ruby/object:Gem::Version
68
+ segments:
69
+ - 0
62
70
  version: "0"
63
- version:
64
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
+ none: false
65
73
  requirements:
66
74
  - - ">="
67
75
  - !ruby/object:Gem::Version
76
+ segments:
77
+ - 0
68
78
  version: "0"
69
- version:
70
79
  requirements: []
71
80
 
72
81
  rubyforge_project:
73
- rubygems_version: 1.3.5
82
+ rubygems_version: 1.3.7
74
83
  signing_key:
75
84
  specification_version: 3
76
85
  summary: User fovorites for you web application