Permalink
Browse files

Remove jeweler

  • Loading branch information...
1 parent 06a8785 commit a499c39442f369bb1c7fe9ddfd2261b1eebde6b5 @solnic solnic committed Nov 7, 2011
Showing with 26 additions and 100 deletions.
  1. +4 −2 Gemfile
  2. +17 −98 dm-migrations.gemspec
  3. +5 −0 lib/dm-migrations/version.rb
View
@@ -1,6 +1,8 @@
require 'pathname'
-source 'http://rubygems.org'
+source :rubygems
+
+gemspec
SOURCE = ENV.fetch('SOURCE', :git).to_sym
REPO_POSTFIX = SOURCE == :path ? '' : '.git'
@@ -60,7 +62,7 @@ group :datamapper do
end
plugins = ENV['PLUGINS'] || ENV['PLUGIN']
- plugins = plugins.to_s.tr(',', ' ').split.push('dm-migrations').uniq
+ plugins = plugins.to_s.tr(',', ' ').split
plugins.each do |plugin|
gem plugin, DM_VERSION,
View
@@ -1,104 +1,23 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/dm-migrations/version', __FILE__)
-Gem::Specification.new do |s|
- s.name = "dm-migrations"
- s.version = "1.3.0.beta"
+Gem::Specification.new do |gem|
+ gem.authors = [ "Dan Kubb" ]
+ gem.email = [ "dan.kubb@gmail.com" ]
+ gem.summary = "DataMapper plugin for writing and speccing migrations"
+ gem.description = gem.summary
+ gem.homepage = "http://datamapper.org"
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
- s.authors = ["Paul Sadauskas"]
- s.date = "2011-10-15"
- s.description = "DataMapper plugin for writing and speccing migrations"
- s.email = "psadauskas [a] gmail [d] com"
- s.extra_rdoc_files = [
- "LICENSE",
- "README.rdoc"
- ]
- s.files = [
- "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/Rakefile",
- "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.homepage = "http://github.com/datamapper/dm-migrations"
- s.require_paths = ["lib"]
- s.rubyforge_project = "datamapper"
- s.rubygems_version = "1.8.11"
- s.summary = "DataMapper plugin for writing and speccing migrations"
+ gem.files = `git ls-files`.split("\n")
+ gem.test_files = `git ls-files -- {spec}/*`.split("\n")
+ gem.extra_rdoc_files = %w[LICENSE README.rdoc]
- if s.respond_to? :specification_version then
- s.specification_version = 3
+ gem.name = "dm-migrations"
+ gem.require_paths = [ "lib" ]
+ gem.version = DataMapper::Migrations::VERSION
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<dm-core>, ["~> 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<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<jeweler>, ["~> 1.6.4"])
- s.add_dependency(%q<rake>, ["~> 0.9.2"])
- s.add_dependency(%q<rspec>, ["~> 1.3.2"])
- end
-end
+ gem.add_runtime_dependency('dm-core', '~> 1.3.0.beta')
+ gem.add_development_dependency('rake', '~> 0.9.2')
+ gem.add_development_dependency('rspec', '~> 1.3.2')
+end
@@ -0,0 +1,5 @@
+module DataMapper
+ module Migrations
+ VERSION = '1.3.0.beta'
+ end
+end

0 comments on commit a499c39

Please sign in to comment.