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.
- Loading branch information
Showing
4 changed files
with
26 additions
and
94 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,25 +1,4 @@ | |||
require 'rubygems' | require 'rubygems' | ||
require 'rake' | require 'rake' | ||
|
|
||
begin | FileList['tasks/**/*.rake'].each { |task| import task } | ||
gem 'jeweler', '~> 1.6.4' | |||
require 'jeweler' | |||
|
|||
Jeweler::Tasks.new do |gem| | |||
gem.name = 'dm-tags' | |||
gem.summary = "This package brings tagging to DataMapper. It is inspired by Acts As Taggable On by Michael Bleigh, github's mbleigh. Props to him for the contextual tagging based on Acts As Taggable on Steroids." | |||
gem.description = gem.summary | |||
gem.email = 'bobby_calderwood [a] me [d] com' | |||
gem.homepage = 'http://github.com/datamapper/%s' % gem.name | |||
gem.authors = [ 'Bobby Calderwood' ] | |||
gem.has_rdoc = 'yard' | |||
|
|||
gem.rubyforge_project = 'datamapper' | |||
end | |||
|
|||
Jeweler::GemcutterTasks.new | |||
|
|||
FileList['tasks/**/*.rake'].each { |task| import task } | |||
rescue LoadError | |||
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler -v 1.6.4' | |||
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,72 +1,23 @@ | |||
# Generated by jeweler | |||
# DO NOT EDIT THIS FILE DIRECTLY | |||
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' | |||
# -*- encoding: utf-8 -*- | # -*- encoding: utf-8 -*- | ||
require File.expand_path('../lib/dm-tags/version', __FILE__) | |||
|
|
||
Gem::Specification.new do |s| | Gem::Specification.new do |gem| | ||
s.name = "dm-tags" | gem.authors = [ 'Bobby Calderwood' ] | ||
s.version = "1.3.0.beta" | gem.email = [ 'bobby_calderwood [a] me [d] com' ] | ||
gem.summary = "This package brings tagging to DataMapper. It is inspired by Acts As Taggable On by Michael Bleigh, github's mbleigh. Props to him for the contextual tagging based on Acts As Taggable on Steroids." | |||
gem.description = gem.summary | |||
gem.homepage = "http://datamapper.org" | |||
|
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | gem.files = `git ls-files`.split("\n") | ||
s.authors = ["Bobby Calderwood"] | gem.test_files = `git ls-files -- {spec}/*`.split("\n") | ||
s.date = "2011-10-09" | gem.extra_rdoc_files = %w[LICENSE README.rdoc] | ||
s.description = "This package brings tagging to DataMapper. It is inspired by Acts As Taggable On by Michael Bleigh, github's mbleigh. Props to him for the contextual tagging based on Acts As Taggable on Steroids." | |||
s.email = "bobby_calderwood [a] me [d] com" | |||
s.extra_rdoc_files = [ | |||
"LICENSE", | |||
"README.rdoc" | |||
] | |||
s.files = [ | |||
"Gemfile", | |||
"LICENSE", | |||
"README.rdoc", | |||
"Rakefile", | |||
"VERSION", | |||
"dm-tags.gemspec", | |||
"lib/dm-tags.rb", | |||
"lib/dm-tags/dm_tags.rb", | |||
"lib/dm-tags/tag.rb", | |||
"lib/dm-tags/tagging.rb", | |||
"spec/dm-tags/dm_tags_spec.rb", | |||
"spec/dm-tags/tag_spec.rb", | |||
"spec/dm-tags/taggable_spec.rb", | |||
"spec/dm-tags/tagging_spec.rb", | |||
"spec/dm-tags/updating_spec.rb", | |||
"spec/rcov.opts", | |||
"spec/spec.opts", | |||
"spec/spec_helper.rb", | |||
"tasks/spec.rake", | |||
"tasks/yard.rake", | |||
"tasks/yardstick.rake" | |||
] | |||
s.homepage = "http://github.com/datamapper/dm-tags" | |||
s.require_paths = ["lib"] | |||
s.rubyforge_project = "datamapper" | |||
s.rubygems_version = "1.8.11" | |||
s.summary = "This package brings tagging to DataMapper. It is inspired by Acts As Taggable On by Michael Bleigh, github's mbleigh. Props to him for the contextual tagging based on Acts As Taggable on Steroids." | |||
|
|
||
if s.respond_to? :specification_version then | gem.name = 'dm-tags' | ||
s.specification_version = 3 | gem.require_paths = [ "lib" ] | ||
gem.version = DataMapper::Tags::VERSION | |||
|
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.3.0.beta') then | gem.add_runtime_dependency('dm-core', '~> 1.3.0.beta') | ||
s.add_runtime_dependency(%q<dm-core>, ["~> 1.3.0.beta"]) | |||
s.add_development_dependency(%q<dm-validations>, ["~> 1.3.0.beta"]) | |||
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"]) | |||
s.add_development_dependency(%q<rake>, ["~> 0.9.2"]) | |||
s.add_development_dependency(%q<rspec>, ["~> 1.3.2"]) | |||
else | |||
s.add_dependency(%q<dm-core>, ["~> 1.3.0.beta"]) | |||
s.add_dependency(%q<dm-validations>, ["~> 1.3.0.beta"]) | |||
s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) | |||
s.add_dependency(%q<rake>, ["~> 0.9.2"]) | |||
s.add_dependency(%q<rspec>, ["~> 1.3.2"]) | |||
end | |||
else | |||
s.add_dependency(%q<dm-core>, ["~> 1.3.0.beta"]) | |||
s.add_dependency(%q<dm-validations>, ["~> 1.3.0.beta"]) | |||
s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) | |||
s.add_dependency(%q<rake>, ["~> 0.9.2"]) | |||
s.add_dependency(%q<rspec>, ["~> 1.3.2"]) | |||
end | |||
end | |||
|
|
||
gem.add_development_dependency('rake', '~> 0.9.2') | |||
gem.add_development_dependency('rspec', '~> 1.3.2') | |||
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
module DataMapper | |||
module Tags | |||
VERSION = '1.3.0.beta' | |||
end | |||
end |