forked from benjamincanac/bootstrap-multiselect-rails
-
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
1 parent
32f5d17
commit 454133d
Showing
5 changed files
with
21 additions
and
67 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,38 +1 @@ | ||
#!/usr/bin/env rake | ||
begin | ||
require 'bundler/setup' | ||
rescue LoadError | ||
puts 'You must `gem install bundler` and `bundle install` to run rake tasks' | ||
end | ||
begin | ||
require 'rdoc/task' | ||
rescue LoadError | ||
require 'rdoc/rdoc' | ||
require 'rake/rdoctask' | ||
RDoc::Task = Rake::RDocTask | ||
end | ||
|
||
RDoc::Task.new(:rdoc) do |rdoc| | ||
rdoc.rdoc_dir = 'rdoc' | ||
rdoc.title = 'BootstrapMultiselectRails' | ||
rdoc.options << '--line-numbers' | ||
rdoc.rdoc_files.include('README.rdoc') | ||
rdoc.rdoc_files.include('lib/**/*.rb') | ||
end | ||
|
||
|
||
|
||
|
||
Bundler::GemHelper.install_tasks | ||
|
||
require 'rake/testtask' | ||
|
||
Rake::TestTask.new(:test) do |t| | ||
t.libs << 'lib' | ||
t.libs << 'test' | ||
t.pattern = 'test/**/*_test.rb' | ||
t.verbose = false | ||
end | ||
|
||
|
||
task :default => :test | ||
require "bundler/gem_tasks" |
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,23 +1,25 @@ | ||
$:.push File.expand_path("../lib", __FILE__) | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require "bootstrap-multiselect/rails/version" | ||
|
||
# Maintain your gem's version: | ||
require "bootstrap-multiselect-rails/version" | ||
Gem::Specification.new do |spec| | ||
spec.name = "bootstrap-multiselect-rails" | ||
spec.version = BootstrapMultiselect::Rails::VERSION | ||
spec.authors = ["Benjamin Canac"] | ||
spec.email = ["[email protected]"] | ||
spec.description = %q{Add Bootstrap Multiselect to your rails app. See https://github.com/davidstutz/bootstrap-multiselect for more information about bootstrap-multiselect.} | ||
spec.summary = %q{Add Bootstrap Multiselect to your rails app.} | ||
spec.homepage = "https://github.com/benjamincanac/bootstrap-multiselect-rails" | ||
spec.license = "MIT" | ||
|
||
# Describe your gem and declare its dependencies: | ||
Gem::Specification.new do |s| | ||
s.name = "bootstrap-multiselect-rails" | ||
s.version = BootstrapMultiselectRails::VERSION | ||
s.authors = ["Benjamin Canac"] | ||
s.email = ["[email protected]"] | ||
s.homepage = "https://github.com/benjamincanac/bootstrap-multiselect-rails" | ||
s.summary = "Add Bootstrap Multiselect to your rails app." | ||
s.description = "Add Bootstrap Multiselect to your rails app. See https://github.com/davidstutz/bootstrap-multiselect for more information about bootstrap-multiselect." | ||
s.license = 'MIT' | ||
spec.files = Dir["{lib,vendor}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"] | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
|
||
s.files = Dir["{app,config,db,lib,vendor}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc", "README.md"] | ||
s.test_files = Dir["test/**/*"] | ||
spec.add_dependency "rails", ">= 4.0.0" | ||
|
||
s.add_dependency "railties", ">= 3.2.0", "< 5.0" | ||
|
||
s.add_development_dependency "sqlite3" | ||
spec.add_development_dependency "bundler", "~> 1.3" | ||
spec.add_development_dependency "rake" | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.