This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from tpitale/gem-bundler
Add bundler gem tasks
- Loading branch information
Showing
4 changed files
with
37 additions
and
29 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
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,2 @@ | ||
--format documentation | ||
--color |
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,9 +1,11 @@ | ||
require 'rubygems' | ||
require 'rake' | ||
require "bundler/gem_tasks" | ||
|
||
FileList['tasks/**/*.rake'].each { |task| import task } | ||
# require "rspec/core/rake_task" | ||
# RSpec::Core::RakeTask.new(:spec) | ||
|
||
require "spec/rake/spectask" | ||
Spec::Rake::SpecTask.new | ||
|
||
FileList['tasks/**/*.rake'].each { |task| import task } | ||
|
||
task :default => :spec |
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,25 +1,27 @@ | ||
# -*- encoding: utf-8 -*- | ||
require File.expand_path('../lib/dm-rails/version', __FILE__) | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'dm-rails/version' | ||
|
||
Gem::Specification.new do |gem| | ||
gem.authors = [ 'Martin Gamsjaeger (snusnu)', 'Dan Kubb' ] | ||
gem.email = [ 'gamsnjaga@gmail.com' ] | ||
gem.summary = "Integrate DataMapper with Rails 3" | ||
gem.description = gem.summary | ||
gem.homepage = "http://datamapper.org" | ||
Gem::Specification.new do |spec| | ||
spec.name = "dm-rails" | ||
spec.version = DataMapper::Rails::VERSION | ||
spec.authors = [ 'Martin Gamsjaeger (snusnu)', 'Dan Kubb' ] | ||
spec.email = [ 'gamsnjaga@gmail.com' ] | ||
spec.summary = "Integrate DataMapper with Rails 3..5" | ||
spec.description = spec.summary | ||
spec.homepage = "http://datamapper.org" | ||
|
||
gem.files = `git ls-files`.split("\n") | ||
gem.test_files = `git ls-files -- {spec}/*`.split("\n") | ||
gem.extra_rdoc_files = %w[LICENSE README.rdoc] | ||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
spec.test_files = `git ls-files -- {spec}/*`.split("\n") | ||
spec.extra_rdoc_files = %w[LICENSE README.rdoc] | ||
|
||
gem.name = "dm-rails" | ||
gem.require_paths = [ "lib" ] | ||
gem.version = DataMapper::Rails::VERSION | ||
spec.require_paths = [ "lib" ] | ||
|
||
gem.add_runtime_dependency('dm-active_model', '~> 1.2', '>= 1.2.0') | ||
gem.add_runtime_dependency('actionpack', '>= 3.0', '< 6.0') | ||
gem.add_runtime_dependency('railties', '>= 3.0', '< 6.0') | ||
spec.add_runtime_dependency('dm-active_model', '~> 1.2', '>= 1.2.0') | ||
spec.add_runtime_dependency('actionpack', '>= 3.0', '< 6.0') | ||
spec.add_runtime_dependency('railties', '>= 3.0', '< 6.0') | ||
|
||
gem.add_development_dependency('rake', '~> 0.9.2') | ||
gem.add_development_dependency('rspec', '~> 1.3.2') | ||
spec.add_development_dependency('rake', '~> 0.9.2') | ||
spec.add_development_dependency('rspec', '~> 1.3.2') | ||
end |