Rakefile in sbf-data_mapper-1.2.0 vs Rakefile in sbf-data_mapper-1.3.0.beta
- old
+ new
@@ -3,30 +3,30 @@
require 'pathname'
require 'rubygems'
require 'rake'
gems = %w(
- sbf-dm-core
- sbf-dm-aggregates
- sbf-dm-constraints
- sbf-dm-migrations
- sbf-dm-transactions
- sbf-dm-serializer
- sbf-dm-timestamps
- sbf-dm-validations
- sbf-dm-types
+ dm-core
+ dm-aggregates
+ dm-constraints
+ dm-migrations
+ dm-transactions
+ dm-serializer
+ dm-timestamps
+ dm-validations
+ dm-types
)
-AUTHOR = 'opensource_firespring'.freeze
-EMAIL = 'opensource@firespring.com'.freeze
-GEM_NAME = 'sbf-data_mapper'.freeze
+AUTHOR = 'Dan Kubb'.freeze
+EMAIL = 'dan.kubb@gmail.com'.freeze
+GEM_NAME = 'data_mapper'.freeze
GEM_VERSION = '1.2.0'.freeze
GEM_DEPENDENCIES = gems.map { |gem_name| [gem_name, "~> #{GEM_VERSION}"] }
GEM_CLEAN = %w(**/*.{gem,DS_Store} *.db doc/rdoc .config **/coverage cache).freeze
GEM_EXTRAS = {has_rdoc: 'yard'}.freeze
-PROJECT_NAME = 'sbf-data_mapper'.freeze
+PROJECT_NAME = 'datamapper'.freeze
PROJECT_URL = 'https://datamapper.org'.freeze
PROJECT_DESCRIPTION = 'Faster, Better, Simpler.'.freeze
PROJECT_SUMMARY = 'An Object/Relational Mapper for Ruby'.freeze
WINDOWS = begin
@@ -64,17 +64,17 @@
end
end
RUBYFORGE_USERNAME.replace @config['username']
end
-Hoe.spec PROJECT_NAME do |p|
+Hoe.new(GEM_NAME, GEM_VERSION) do |p|
p.developer(AUTHOR, EMAIL)
p.description = PROJECT_DESCRIPTION
p.summary = PROJECT_SUMMARY
- # p.url = PROJECT_URL
+ p.url = PROJECT_URL
- # p.rubyforge_name = PROJECT_NAME if PROJECT_NAME
+ p.rubyforge_name = PROJECT_NAME if PROJECT_NAME
p.clean_globs |= GEM_CLEAN
p.spec_extras = GEM_EXTRAS if GEM_EXTRAS
GEM_DEPENDENCIES.each do |dep|