forked from crowdint/rails3-jquery-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Padilla
committed
Dec 9, 2010
1 parent
3ccdefe
commit 1c9b303
Showing
5 changed files
with
94 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# A sample Gemfile | ||
source :gemcutter | ||
#A sample Gemfile | ||
#source :gemcutter | ||
|
||
#gem 'rails', '~>3.0.0' | ||
#gem 'sqlite3-ruby' | ||
#gem 'jeweler' | ||
#gem 'reek' | ||
#gem 'mongoid', '>= 2.0.0.beta.17' | ||
#gem 'formtastic' | ||
|
||
#group :test do | ||
#gem 'shoulda', '2.11.1' | ||
#gem 'redgreen' | ||
#end | ||
# | ||
gem 'rails', '3.0.0' | ||
gem 'sqlite3-ruby' | ||
gem 'jeweler' | ||
gem 'reek' | ||
gem 'mongoid', '>= 2.0.0.beta.17' | ||
gem 'formtastic' | ||
source "http://rubygems.org" | ||
|
||
group :test do | ||
gem 'shoulda', '2.11.1' | ||
gem 'redgreen' | ||
end | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,9 @@ | ||
require 'rubygems' | ||
require 'rake' | ||
|
||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = "rails3-jquery-autocomplete" | ||
gem.summary = %Q{Use jQuery's autocomplete plugin with Rails 3.} | ||
gem.description = %Q{Use jQuery's autocomplete plugin with Rails 3.} | ||
gem.email = "david.padilla@crowdint.com" | ||
gem.homepage = "http://github.com/crowdint/rails3-jquery-autocomplete" | ||
gem.authors = ["David Padilla"] | ||
gem.add_development_dependency "rails", ">= 3.0.0" | ||
gem.files = %w(README.markdown Rakefile) + Dir.glob("{lib,test}/**/*") | ||
|
||
end | ||
Jeweler::GemcutterTasks.new | ||
rescue LoadError | ||
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" | ||
end | ||
require 'bundler' | ||
Bundler::GemHelper.install_tasks | ||
|
||
require 'rake/testtask' | ||
Rake::TestTask.new(:test) do |test| | ||
test.libs << 'lib' << 'test' | ||
test.pattern = 'test/**/*_test.rb' | ||
test.verbose = true | ||
end | ||
|
||
begin | ||
require 'rcov/rcovtask' | ||
Rcov::RcovTask.new do |test| | ||
test.libs << 'test' | ||
test.pattern = 'test/**/test_*.rb' | ||
test.verbose = true | ||
end | ||
rescue LoadError | ||
task :rcov do | ||
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" | ||
end | ||
end | ||
|
||
task :test => :check_dependencies | ||
|
||
task :default => :test | ||
|
||
require 'rake/rdoctask' | ||
Rake::RDocTask.new do |rdoc| | ||
version = File.exist?('VERSION') ? File.read('VERSION') : "" | ||
|
||
rdoc.rdoc_dir = 'rdoc' | ||
rdoc.title = "rails3-jquery-autocomplete #{version}" | ||
rdoc.rdoc_files.include('README*') | ||
rdoc.rdoc_files.include('lib/**/*.rb') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Rails3JQueryAutocomplete | ||
VERSION = '0.6.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,28 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | ||
# -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | ||
require "rails3-jquery-autocomplete/version" | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{rails3-jquery-autocomplete} | ||
s.version = "0.6.0" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.version = Rails3JQueryAutocomplete::VERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["David Padilla"] | ||
s.date = %q{2010-12-05} | ||
s.description = %q{Use jQuery's autocomplete plugin with Rails 3.} | ||
s.email = %q{david.padilla@crowdint.com} | ||
s.extra_rdoc_files = [ | ||
"LICENSE", | ||
"README.markdown" | ||
] | ||
s.files = [ | ||
"README.markdown", | ||
"Rakefile", | ||
"lib/cucumber/autocomplete.rb", | ||
"lib/generators/autocomplete_generator.rb", | ||
"lib/generators/templates/autocomplete-rails.js", | ||
"lib/rails3-jquery-autocomplete.rb", | ||
"lib/rails3-jquery-autocomplete/autocomplete.rb", | ||
"lib/rails3-jquery-autocomplete/form_helper.rb", | ||
"lib/rails3-jquery-autocomplete/formtastic_plugin.rb", | ||
"lib/rails3-jquery-autocomplete/helpers.rb", | ||
"test/form_helper_test.rb", | ||
"test/generators/generator_test.rb", | ||
"test/helpers.rb", | ||
"test/implementations_test.rb", | ||
"test/support/active_record.rb", | ||
"test/support/mongoid.rb", | ||
"test/test_controller.rb", | ||
"test/test_helper.rb" | ||
] | ||
s.homepage = %q{http://github.com/crowdint/rails3-jquery-autocomplete} | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = %q{1.3.7} | ||
s.summary = %q{Use jQuery's autocomplete plugin with Rails 3.} | ||
s.test_files = [ | ||
"test/form_helper_test.rb", | ||
"test/generators/generator_test.rb", | ||
"test/helpers.rb", | ||
"test/implementations_test.rb", | ||
"test/support/active_record.rb", | ||
"test/support/mongoid.rb", | ||
"test/test_controller.rb", | ||
"test/test_helper.rb" | ||
] | ||
s.description = %q{Use jQuery's autocomplete plugin with Rails 3.} | ||
|
||
s.add_dependency('rails', '~>3.0.0') | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 3 | ||
s.add_development_dependency('sqlite3-ruby') | ||
s.add_development_dependency('mongoid', '>= 2.0.0.beta.17') | ||
s.add_development_dependency('redgreen') | ||
s.add_development_dependency('shoulda', '~>2.11.1') | ||
s.add_development_dependency('json') | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_development_dependency(%q<rails>, [">= 3.0.0"]) | ||
else | ||
s.add_dependency(%q<rails>, [">= 3.0.0"]) | ||
end | ||
else | ||
s.add_dependency(%q<rails>, [">= 3.0.0"]) | ||
end | ||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
s.require_paths = ["lib"] | ||
end | ||
|