Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Updated jeweler dep to 1.5.2
Browse files Browse the repository at this point in the history
* Updated activesupport dep to 3.0.4
  • Loading branch information
dkubb committed Feb 19, 2011
1 parent 1e46750 commit 0a54600
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 37 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Expand Up @@ -12,7 +12,7 @@ group :runtime do # Runtime dependencies (as in the gemspec)
if ENV['EXTLIB']
gem 'extlib', '~> 0.9.15', SOURCE => "#{DATAMAPPER}/extlib#{REPO_POSTFIX}", :require => nil
else
gem 'activesupport', '~> 3.0.3', :require => nil
gem 'activesupport', '~> 3.0.4', :require => nil
end

gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
Expand All @@ -23,7 +23,7 @@ group(:development) do # Development dependencies (as in the gemspec)

gem 'rake', '~> 0.8.7'
gem 'rspec', '~> 1.3.1'
gem 'jeweler', '~> 1.4.0'
gem 'jeweler', '~> 1.5.2'

end

Expand Down
8 changes: 2 additions & 6 deletions Rakefile
Expand Up @@ -2,7 +2,7 @@ require 'rubygems'
require 'rake'

begin
gem 'jeweler', '~> 1.4'
gem 'jeweler', '~> 1.5.2'
require 'jeweler'

Jeweler::Tasks.new do |gem|
Expand All @@ -15,15 +15,11 @@ begin
gem.has_rdoc = 'yard'

gem.rubyforge_project = 'datamapper'

gem.add_dependency 'dm-core', '~> 1.0.2'

gem.add_development_dependency 'rspec', '~> 1.3'
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'
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler -v 1.5.2'
end
57 changes: 31 additions & 26 deletions dm-timestamps.gemspec
@@ -1,6 +1,6 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
Expand All @@ -9,56 +9,61 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Foy Savas"]
s.date = %q{2010-11-26}
s.date = %q{2011-02-19}
s.description = %q{DataMapper plugin for magical timestamps}
s.email = %q{foysavas [a] gmail [d] com}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
"README.rdoc"
]
s.files = [
".gitignore",
"Gemfile",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"dm-timestamps.gemspec",
"lib/dm-timestamps.rb",
"spec/integration/timestamps_spec.rb",
"spec/rcov.opts",
"spec/spec.opts",
"spec/spec_helper.rb",
"tasks/spec.rake",
"tasks/yard.rake",
"tasks/yardstick.rake"
"Gemfile",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"dm-timestamps.gemspec",
"lib/dm-timestamps.rb",
"spec/integration/timestamps_spec.rb",
"spec/rcov.opts",
"spec/spec.opts",
"spec/spec_helper.rb",
"tasks/spec.rake",
"tasks/yard.rake",
"tasks/yardstick.rake"
]
s.has_rdoc = %q{yard}
s.homepage = %q{http://github.com/datamapper/dm-timestamps}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{datamapper}
s.rubygems_version = %q{1.3.7}
s.rubygems_version = %q{1.5.2}
s.summary = %q{DataMapper plugin for magical timestamps}
s.test_files = [
"spec/integration/timestamps_spec.rb",
"spec/spec_helper.rb"
"spec/spec_helper.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.4"])
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.2"])
s.add_development_dependency(%q<rspec>, ["~> 1.3"])
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
else
s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
s.add_dependency(%q<rspec>, ["~> 1.3"])
s.add_dependency(%q<rake>, ["~> 0.8.7"])
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
end
else
s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
s.add_dependency(%q<rspec>, ["~> 1.3"])
s.add_dependency(%q<rake>, ["~> 0.8.7"])
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
end
end

3 changes: 0 additions & 3 deletions tasks/spec.rake
Expand Up @@ -35,7 +35,4 @@ rescue LoadError
end
end

task :spec => :check_dependencies
task :rcov => :check_dependencies

task :default => :spec

0 comments on commit 0a54600

Please sign in to comment.