objectreload-vote_fu 0.1.1 → 0.1.2
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/VERSION +1 -1
- data/lib/vote_fu.rb +0 -9
- data/objectreload-vote_fu.gemspec +4 -4
- metadata +9 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/lib/vote_fu.rb
CHANGED
|
@@ -5,12 +5,3 @@ require 'has_karma'
|
|
|
5
5
|
ActiveRecord::Base.send(:include, Juixe::Acts::Voteable)
|
|
6
6
|
ActiveRecord::Base.send(:include, PeteOnRails::Acts::Voter)
|
|
7
7
|
ActiveRecord::Base.send(:include, PeteOnRails::VoteFu::Karma)
|
|
8
|
-
|
|
9
|
-
success_message = '** vote_fu: initialized properly.'
|
|
10
|
-
|
|
11
|
-
begin
|
|
12
|
-
RAILS_DEFAULT_LOGGER.info success_message
|
|
13
|
-
rescue NameError
|
|
14
|
-
Logger.new(STDOUT).info success_message
|
|
15
|
-
end
|
|
16
|
-
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{objectreload-vote_fu}
|
|
8
|
-
s.version = "0.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 = ["Peter Jackson", "Cosmin Radoi", "Bence Nagy", "Rob Maddox", "Wojciech Wnętrzak"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-07-22}
|
|
13
13
|
s.description = %q{VoteFu provides the ability to have multiple voting entities on an arbitrary number of models in ActiveRecord.}
|
|
14
14
|
s.email = %q{gems@objectreload.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
|
|
|
44
44
|
s.homepage = %q{http://github.com/objectreload/vote_fu}
|
|
45
45
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
46
46
|
s.require_paths = ["lib"]
|
|
47
|
-
s.rubygems_version = %q{1.3.
|
|
47
|
+
s.rubygems_version = %q{1.3.7}
|
|
48
48
|
s.summary = %q{Voting for ActiveRecord with multiple vote sources and advanced features.}
|
|
49
49
|
s.test_files = [
|
|
50
50
|
"test/vote_fu_test.rb",
|
|
@@ -59,7 +59,7 @@ Gem::Specification.new do |s|
|
|
|
59
59
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
60
60
|
s.specification_version = 3
|
|
61
61
|
|
|
62
|
-
if Gem::Version.new(Gem::
|
|
62
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
63
63
|
else
|
|
64
64
|
end
|
|
65
65
|
else
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: objectreload-vote_fu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 31
|
|
4
5
|
prerelease: false
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Peter Jackson
|
|
@@ -18,7 +19,7 @@ autorequire:
|
|
|
18
19
|
bindir: bin
|
|
19
20
|
cert_chain: []
|
|
20
21
|
|
|
21
|
-
date: 2010-
|
|
22
|
+
date: 2010-07-22 00:00:00 +02:00
|
|
22
23
|
default_executable:
|
|
23
24
|
dependencies: []
|
|
24
25
|
|
|
@@ -65,23 +66,27 @@ rdoc_options:
|
|
|
65
66
|
require_paths:
|
|
66
67
|
- lib
|
|
67
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
|
+
none: false
|
|
68
70
|
requirements:
|
|
69
71
|
- - ">="
|
|
70
72
|
- !ruby/object:Gem::Version
|
|
73
|
+
hash: 3
|
|
71
74
|
segments:
|
|
72
75
|
- 0
|
|
73
76
|
version: "0"
|
|
74
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
|
+
none: false
|
|
75
79
|
requirements:
|
|
76
80
|
- - ">="
|
|
77
81
|
- !ruby/object:Gem::Version
|
|
82
|
+
hash: 3
|
|
78
83
|
segments:
|
|
79
84
|
- 0
|
|
80
85
|
version: "0"
|
|
81
86
|
requirements: []
|
|
82
87
|
|
|
83
88
|
rubyforge_project:
|
|
84
|
-
rubygems_version: 1.3.
|
|
89
|
+
rubygems_version: 1.3.7
|
|
85
90
|
signing_key:
|
|
86
91
|
specification_version: 3
|
|
87
92
|
summary: Voting for ActiveRecord with multiple vote sources and advanced features.
|