Permalink
Browse files

Updated jeweler dep to 1.5.2

* Updated activesupport dep to 3.0.4
  • Loading branch information...
1 parent 8678eb3 commit 5d7d93da5852480d0f62ce126dbeb95ee8c45e7c @dkubb dkubb committed Feb 19, 2011
Showing with 93 additions and 93 deletions.
  1. +2 −2 Gemfile
  2. +2 −6 Rakefile
  3. +89 −82 dm-migrations.gemspec
  4. +0 −3 tasks/spec.rake
View
@@ -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}"
@@ -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
View
@@ -2,7 +2,7 @@ require 'rubygems'
require 'rake'
begin
- gem 'jeweler', '~> 1.4.0'
+ gem 'jeweler', '~> 1.5.2'
require 'jeweler'
Jeweler::Tasks.new do |gem|
@@ -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 -v 1.4.0'
+ puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler -v 1.5.2'
end
View
@@ -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|
@@ -9,112 +9,119 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Paul Sadauskas"]
- s.date = %q{2011-01-13}
+ s.date = %q{2011-02-18}
s.description = %q{DataMapper plugin for writing and speccing migrations}
s.email = %q{psadauskas [a] gmail [d] com}
s.extra_rdoc_files = [
"LICENSE",
- "README.rdoc"
+ "README.rdoc"
]
s.files = [
- ".gitignore",
- "Gemfile",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "db/migrations/1_create_people_table.rb",
- "db/migrations/2_add_dob_to_people.rb",
- "db/migrations/config.rb",
- "dm-migrations.gemspec",
- "examples/sample_migration.rb",
- "examples/sample_migration_spec.rb",
- "lib/dm-migrations.rb",
- "lib/dm-migrations/adapters/dm-do-adapter.rb",
- "lib/dm-migrations/adapters/dm-mysql-adapter.rb",
- "lib/dm-migrations/adapters/dm-oracle-adapter.rb",
- "lib/dm-migrations/adapters/dm-postgres-adapter.rb",
- "lib/dm-migrations/adapters/dm-sqlite-adapter.rb",
- "lib/dm-migrations/adapters/dm-sqlserver-adapter.rb",
- "lib/dm-migrations/adapters/dm-yaml-adapter.rb",
- "lib/dm-migrations/auto_migration.rb",
- "lib/dm-migrations/exceptions/duplicate_migration.rb",
- "lib/dm-migrations/migration.rb",
- "lib/dm-migrations/migration_runner.rb",
- "lib/dm-migrations/sql.rb",
- "lib/dm-migrations/sql/column.rb",
- "lib/dm-migrations/sql/mysql.rb",
- "lib/dm-migrations/sql/postgres.rb",
- "lib/dm-migrations/sql/sqlite.rb",
- "lib/dm-migrations/sql/table.rb",
- "lib/dm-migrations/sql/table_creator.rb",
- "lib/dm-migrations/sql/table_modifier.rb",
- "lib/spec/example/migration_example_group.rb",
- "lib/spec/matchers/migration_matchers.rb",
- "spec/integration/auto_migration_spec.rb",
- "spec/integration/migration_runner_spec.rb",
- "spec/integration/migration_spec.rb",
- "spec/integration/sql_spec.rb",
- "spec/isolated/require_after_setup_spec.rb",
- "spec/isolated/require_before_setup_spec.rb",
- "spec/isolated/require_spec.rb",
- "spec/rcov.opts",
- "spec/spec.opts",
- "spec/spec_helper.rb",
- "spec/unit/migration_spec.rb",
- "spec/unit/sql/column_spec.rb",
- "spec/unit/sql/postgres_spec.rb",
- "spec/unit/sql/sqlite_extensions_spec.rb",
- "spec/unit/sql/table_creator_spec.rb",
- "spec/unit/sql/table_modifier_spec.rb",
- "spec/unit/sql/table_spec.rb",
- "spec/unit/sql_spec.rb",
- "tasks/spec.rake",
- "tasks/yard.rake",
- "tasks/yardstick.rake"
+ "Gemfile",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION",
+ "db/migrations/1_create_people_table.rb",
+ "db/migrations/2_add_dob_to_people.rb",
+ "db/migrations/config.rb",
+ "dm-migrations.gemspec",
+ "examples/sample_migration.rb",
+ "examples/sample_migration_spec.rb",
+ "lib/dm-migrations.rb",
+ "lib/dm-migrations/adapters/dm-do-adapter.rb",
+ "lib/dm-migrations/adapters/dm-mysql-adapter.rb",
+ "lib/dm-migrations/adapters/dm-oracle-adapter.rb",
+ "lib/dm-migrations/adapters/dm-postgres-adapter.rb",
+ "lib/dm-migrations/adapters/dm-sqlite-adapter.rb",
+ "lib/dm-migrations/adapters/dm-sqlserver-adapter.rb",
+ "lib/dm-migrations/adapters/dm-yaml-adapter.rb",
+ "lib/dm-migrations/auto_migration.rb",
+ "lib/dm-migrations/exceptions/duplicate_migration.rb",
+ "lib/dm-migrations/migration.rb",
+ "lib/dm-migrations/migration_runner.rb",
+ "lib/dm-migrations/sql.rb",
+ "lib/dm-migrations/sql/column.rb",
+ "lib/dm-migrations/sql/mysql.rb",
+ "lib/dm-migrations/sql/postgres.rb",
+ "lib/dm-migrations/sql/sqlite.rb",
+ "lib/dm-migrations/sql/table.rb",
+ "lib/dm-migrations/sql/table_creator.rb",
+ "lib/dm-migrations/sql/table_modifier.rb",
+ "lib/spec/example/migration_example_group.rb",
+ "lib/spec/matchers/migration_matchers.rb",
+ "spec/integration/auto_migration_spec.rb",
+ "spec/integration/auto_upgrade_spec.rb",
+ "spec/integration/migration_runner_spec.rb",
+ "spec/integration/migration_spec.rb",
+ "spec/integration/sql_spec.rb",
+ "spec/isolated/require_after_setup_spec.rb",
+ "spec/isolated/require_before_setup_spec.rb",
+ "spec/isolated/require_spec.rb",
+ "spec/rcov.opts",
+ "spec/spec.opts",
+ "spec/spec_helper.rb",
+ "spec/unit/migration_spec.rb",
+ "spec/unit/sql/column_spec.rb",
+ "spec/unit/sql/postgres_spec.rb",
+ "spec/unit/sql/sqlite_extensions_spec.rb",
+ "spec/unit/sql/table_creator_spec.rb",
+ "spec/unit/sql/table_modifier_spec.rb",
+ "spec/unit/sql/table_spec.rb",
+ "spec/unit/sql_spec.rb",
+ "tasks/spec.rake",
+ "tasks/yard.rake",
+ "tasks/yardstick.rake"
]
- s.has_rdoc = %q{yard}
s.homepage = %q{http://github.com/datamapper/dm-migrations}
- 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 writing and speccing migrations}
s.test_files = [
+ "examples/sample_migration.rb",
+ "examples/sample_migration_spec.rb",
"spec/integration/auto_migration_spec.rb",
- "spec/integration/migration_runner_spec.rb",
- "spec/integration/migration_spec.rb",
- "spec/integration/sql_spec.rb",
- "spec/isolated/require_after_setup_spec.rb",
- "spec/isolated/require_before_setup_spec.rb",
- "spec/isolated/require_spec.rb",
- "spec/spec_helper.rb",
- "spec/unit/migration_spec.rb",
- "spec/unit/sql/column_spec.rb",
- "spec/unit/sql/postgres_spec.rb",
- "spec/unit/sql/sqlite_extensions_spec.rb",
- "spec/unit/sql/table_creator_spec.rb",
- "spec/unit/sql/table_modifier_spec.rb",
- "spec/unit/sql/table_spec.rb",
- "spec/unit/sql_spec.rb",
- "examples/sample_migration.rb",
- "examples/sample_migration_spec.rb"
+ "spec/integration/auto_upgrade_spec.rb",
+ "spec/integration/migration_runner_spec.rb",
+ "spec/integration/migration_spec.rb",
+ "spec/integration/sql_spec.rb",
+ "spec/isolated/require_after_setup_spec.rb",
+ "spec/isolated/require_before_setup_spec.rb",
+ "spec/isolated/require_spec.rb",
+ "spec/spec_helper.rb",
+ "spec/unit/migration_spec.rb",
+ "spec/unit/sql/column_spec.rb",
+ "spec/unit/sql/postgres_spec.rb",
+ "spec/unit/sql/sqlite_extensions_spec.rb",
+ "spec/unit/sql/table_creator_spec.rb",
+ "spec/unit/sql/table_modifier_spec.rb",
+ "spec/unit/sql/table_spec.rb",
+ "spec/unit/sql_spec.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
View
@@ -35,7 +35,4 @@ rescue LoadError
end
end
-task :spec => :check_dependencies
-task :rcov => :check_dependencies
-
task :default => :spec

3 comments on commit 5d7d93d

Why the 3.0.4 requirement? dm-migrations runs fine on 3.0.3 right? (Causing us all sorts of headaches atm testing between 3.0.3 and 3.0.4)

Owner

dkubb replied Feb 23, 2011

It's more about how many permutations we're able to test. If I leave it at ~> 3.0.3, then that means we say "this works fine with 3.0.3 and 3.0.4". If that's our contract, then we have to test with those gems, doubling the number of permutations we have to test with up to 1400-1500. (we're currently testing just over 700: [dm-gems] * [1.8.7, 1.9.2, jruby, rbx] * [in_memory,yaml,postgres,mysql,sqlite]).

I think if we were able to get automated CI setup and a few more build servers donated (running as clients to the CI) we could widen the number of permutations we test with, but atm we only have the resources to test the latest stable version of each dependency.

With that said, I've noticed some quality issues with 3.0.4 on my own Rails projects. I've been unable to even get RSpec to startup with it. I don't know if that's common or something specific to my project, but I haven't had a chance to dig into it. If it is common then I suppose we could change our dep to "= 3.0.3" and lock it there until the issues with Rails are resolved.

Urgh, that's a tricky problem. In other news, we fixed our issue with 3.0.4, and apparently 3.0.5 is coming in the next couple of days...

Please sign in to comment.