objectreload-vote_fu 0.1.2 → 0.1.3

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/.gitignore CHANGED
@@ -1 +1,3 @@
1
- pkg/
1
+ pkg/*
2
+ *.gem
3
+ .bundle
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source :gemcutter
2
+
3
+ # Specify your gem's dependencies in vote_fu.gemspec
4
+ gemspec
data/Rakefile CHANGED
@@ -1,57 +1,2 @@
1
- # encoding: UTF-8
2
- require 'rubygems'
3
- require 'rake'
4
-
5
- begin
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gem|
8
- gem.name = "objectreload-vote_fu"
9
- gem.summary = "Voting for ActiveRecord with multiple vote sources and advanced features."
10
- gem.description = "VoteFu provides the ability to have multiple voting entities on an arbitrary number of models in ActiveRecord."
11
- gem.email = "gems@objectreload.com"
12
- gem.homepage = "http://github.com/objectreload/vote_fu"
13
- gem.authors = ["Peter Jackson", "Cosmin Radoi", "Bence Nagy", "Rob Maddox", "Wojciech Wnętrzak"]
14
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
- end
16
- Jeweler::GemcutterTasks.new
17
- rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
19
- end
20
-
21
- require 'rake/testtask'
22
- Rake::TestTask.new(:test) do |test|
23
- test.libs << 'lib' << 'test'
24
- test.pattern = 'test/**/*_test.rb'
25
- test.verbose = true
26
- end
27
-
28
- begin
29
- require 'rcov/rcovtask'
30
- Rcov::RcovTask.new do |test|
31
- test.libs << 'test'
32
- test.pattern = 'test/**/*_test.rb'
33
- test.verbose = true
34
- end
35
- rescue LoadError
36
- task :rcov do
37
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
38
- end
39
- end
40
-
41
- task :test => :check_dependencies
42
-
43
- task :default => :test
44
-
45
- require 'rake/rdoctask'
46
- Rake::RDocTask.new do |rdoc|
47
- if File.exist?('VERSION')
48
- version = File.read('VERSION')
49
- else
50
- version = ""
51
- end
52
-
53
- rdoc.rdoc_dir = 'rdoc'
54
- rdoc.title = "permissions_gem #{version}"
55
- rdoc.rdoc_files.include('README*')
56
- rdoc.rdoc_files.include('lib/**/*.rb')
57
- end
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,3 @@
1
+ module VoteFu
2
+ VERSION = "0.1.3"
3
+ end
@@ -1,68 +1,20 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
2
+ require File.expand_path("../lib/version", __FILE__)
5
3
 
6
4
  Gem::Specification.new do |s|
7
- s.name = %q{objectreload-vote_fu}
8
- s.version = "0.1.2"
5
+ s.name = "objectreload-vote_fu"
6
+ s.version = VoteFu::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ["Peter Jackson", "Cosmin Radoi", "Bence Nagy", "Rob Maddox", "Wojciech Wnętrzak"]
9
+ s.email = ["gems@objectreload.com"]
10
+ s.homepage = "http://github.com/objectreload/vote_fu"
11
+ s.summary = "Voting for ActiveRecord with multiple vote sources and advanced features."
9
12
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Peter Jackson", "Cosmin Radoi", "Bence Nagy", "Rob Maddox", "Wojciech Wnętrzak"]
12
- s.date = %q{2010-07-22}
13
- s.description = %q{VoteFu provides the ability to have multiple voting entities on an arbitrary number of models in ActiveRecord.}
14
- s.email = %q{gems@objectreload.com}
15
- s.extra_rdoc_files = [
16
- "README.markdown"
17
- ]
18
- s.files = [
19
- ".gitignore",
20
- "CHANGELOG.markdown",
21
- "MIT-LICENSE",
22
- "README.markdown",
23
- "Rakefile",
24
- "VERSION",
25
- "examples/routes.rb",
26
- "examples/users_controller.rb",
27
- "examples/voteable.html.erb",
28
- "examples/voteable.rb",
29
- "examples/voteables_controller.rb",
30
- "examples/votes/_voteable_vote.html.erb",
31
- "examples/votes/create.rjs",
32
- "examples/votes_controller.rb",
33
- "generators/vote_fu/templates/migration.rb",
34
- "generators/vote_fu/templates/vote.rb",
35
- "generators/vote_fu/vote_fu_generator.rb",
36
- "lib/acts_as_voteable.rb",
37
- "lib/acts_as_voter.rb",
38
- "lib/has_karma.rb",
39
- "lib/vote_fu.rb",
40
- "objectreload-vote_fu.gemspec",
41
- "rails/init.rb",
42
- "test/vote_fu_test.rb"
43
- ]
44
- s.homepage = %q{http://github.com/objectreload/vote_fu}
45
- s.rdoc_options = ["--charset=UTF-8"]
46
- s.require_paths = ["lib"]
47
- s.rubygems_version = %q{1.3.7}
48
- s.summary = %q{Voting for ActiveRecord with multiple vote sources and advanced features.}
49
- s.test_files = [
50
- "test/vote_fu_test.rb",
51
- "examples/routes.rb",
52
- "examples/users_controller.rb",
53
- "examples/voteable.rb",
54
- "examples/voteables_controller.rb",
55
- "examples/votes_controller.rb"
56
- ]
13
+ s.required_rubygems_version = ">= 1.3.6"
57
14
 
58
- if s.respond_to? :specification_version then
59
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
60
- s.specification_version = 3
15
+ s.add_development_dependency "bundler", ">= 1.0.0"
61
16
 
62
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
63
- else
64
- end
65
- else
66
- end
17
+ s.files = `git ls-files`.split("\n")
18
+ s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
19
+ s.require_path = 'lib'
67
20
  end
68
-
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: objectreload-vote_fu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 1
9
- - 2
10
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
11
10
  platform: ruby
12
11
  authors:
13
12
  - Peter Jackson
@@ -19,25 +18,40 @@ autorequire:
19
18
  bindir: bin
20
19
  cert_chain: []
21
20
 
22
- date: 2010-07-22 00:00:00 +02:00
21
+ date: 2010-09-13 00:00:00 +02:00
23
22
  default_executable:
24
- dependencies: []
25
-
26
- description: VoteFu provides the ability to have multiple voting entities on an arbitrary number of models in ActiveRecord.
27
- email: gems@objectreload.com
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: bundler
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ segments:
33
+ - 1
34
+ - 0
35
+ - 0
36
+ version: 1.0.0
37
+ type: :development
38
+ version_requirements: *id001
39
+ description:
40
+ email:
41
+ - gems@objectreload.com
28
42
  executables: []
29
43
 
30
44
  extensions: []
31
45
 
32
- extra_rdoc_files:
33
- - README.markdown
46
+ extra_rdoc_files: []
47
+
34
48
  files:
35
49
  - .gitignore
36
50
  - CHANGELOG.markdown
51
+ - Gemfile
37
52
  - MIT-LICENSE
38
53
  - README.markdown
39
54
  - Rakefile
40
- - VERSION
41
55
  - examples/routes.rb
42
56
  - examples/users_controller.rb
43
57
  - examples/voteable.html.erb
@@ -52,6 +66,7 @@ files:
52
66
  - lib/acts_as_voteable.rb
53
67
  - lib/acts_as_voter.rb
54
68
  - lib/has_karma.rb
69
+ - lib/version.rb
55
70
  - lib/vote_fu.rb
56
71
  - objectreload-vote_fu.gemspec
57
72
  - rails/init.rb
@@ -61,8 +76,8 @@ homepage: http://github.com/objectreload/vote_fu
61
76
  licenses: []
62
77
 
63
78
  post_install_message:
64
- rdoc_options:
65
- - --charset=UTF-8
79
+ rdoc_options: []
80
+
66
81
  require_paths:
67
82
  - lib
68
83
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -70,7 +85,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
85
  requirements:
71
86
  - - ">="
72
87
  - !ruby/object:Gem::Version
73
- hash: 3
74
88
  segments:
75
89
  - 0
76
90
  version: "0"
@@ -79,10 +93,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - ">="
81
95
  - !ruby/object:Gem::Version
82
- hash: 3
83
96
  segments:
84
- - 0
85
- version: "0"
97
+ - 1
98
+ - 3
99
+ - 6
100
+ version: 1.3.6
86
101
  requirements: []
87
102
 
88
103
  rubyforge_project:
@@ -90,10 +105,5 @@ rubygems_version: 1.3.7
90
105
  signing_key:
91
106
  specification_version: 3
92
107
  summary: Voting for ActiveRecord with multiple vote sources and advanced features.
93
- test_files:
94
- - test/vote_fu_test.rb
95
- - examples/routes.rb
96
- - examples/users_controller.rb
97
- - examples/voteable.rb
98
- - examples/voteables_controller.rb
99
- - examples/votes_controller.rb
108
+ test_files: []
109
+
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.2