Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switched to echoe and prepped for 0.1.6 release.
  • Loading branch information
jnunemaker committed Jan 17, 2009
1 parent 76d32d2 commit aaec1cd
Show file tree
Hide file tree
Showing 20 changed files with 69 additions and 1,922 deletions.
4 changes: 4 additions & 0 deletions History.txt → History
@@ -1,3 +1,7 @@
== 0.1.6 2009-01-17
* 1 minor enhancement:
* added support for nested collection elements (Justin Marney)

== 0.1.5 2009-01-05
* 1 major enhancement:
* Updated to latest version of libxml-ruby (lightningdb)
Expand Down
File renamed without changes.
28 changes: 8 additions & 20 deletions Manifest.txt → Manifest
@@ -1,42 +1,30 @@
History.txt
License.txt
Manifest.txt
PostInstall.txt
README.txt
Rakefile
TODO.txt
config/hoe.rb
config/requirements.rb
examples/amazon.rb
examples/current_weather.rb
examples/post.rb
examples/twitter.rb
happymapper.gemspec
lib/happymapper.rb
History
lib/happymapper/attribute.rb
lib/happymapper/element.rb
lib/happymapper/item.rb
lib/happymapper/version.rb
lib/happymapper.rb
lib/libxml_ext/libxml_helper.rb
script/console
script/destroy
script/generate
script/txt2html
setup.rb
License
Manifest
Rakefile
README
spec/fixtures/address.xml
spec/fixtures/current_weather.xml
spec/fixtures/pita.xml
spec/fixtures/posts.xml
spec/fixtures/radar.xml
spec/fixtures/statuses.xml
spec/happymapper_attribute_spec.rb
spec/happymapper_element_spec.rb
spec/happymapper_item_spec.rb
spec/happymapper_spec.rb
spec/spec.opts
spec/spec_helper.rb
tasks/deployment.rake
tasks/environment.rake
tasks/rspec.rake
tasks/website.rake
TODO
website/css/common.css
website/index.html
Empty file removed PostInstall.txt
Empty file.
File renamed without changes.
45 changes: 42 additions & 3 deletions Rakefile
@@ -1,4 +1,43 @@
require 'config/requirements'
require 'config/hoe' # setup Hoe + all gem configuration
ProjectName = 'happymapper'
WebsitePath = "jnunemaker@rubyforge.org:/var/www/gforge-projects/#{ProjectName}"

Dir['tasks/**/*.rake'].each { |rake| load rake }
require 'rubygems'
require 'rake'
require 'echoe'
require 'spec/rake/spectask'
require "lib/#{ProjectName}/version"

Echoe.new(ProjectName, HappyMapper::Version) do |p|
p.description = "object to xml mapping library"
p.install_message = "May you have many happy mappings!"
p.url = "http://#{ProjectName}.rubyforge.org"
p.author = "John Nunemaker"
p.email = "nunemaker@gmail.com"
p.extra_deps = [['libxml-ruby', '>= 0.9.7']]
p.need_tar_gz = false
p.docs_host = WebsitePath
end

desc 'Upload website files to rubyforge'
task :website do
sh %{rsync -av website/ #{WebsitePath}}
Rake::Task['website_docs'].invoke
end

task :website_docs do
Rake::Task['redocs'].invoke
sh %{rsync -av doc/ #{WebsitePath}/docs}
end

desc 'Preps the gem for a new release'
task :prepare do
%w[manifest build_gemspec].each do |task|
Rake::Task[task].invoke
end
end

Rake::Task[:default].prerequisites.clear
task :default => :spec
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList["spec/**/*_spec.rb"]
end
File renamed without changes.
73 changes: 0 additions & 73 deletions config/hoe.rb

This file was deleted.

15 changes: 0 additions & 15 deletions config/requirements.rb

This file was deleted.

25 changes: 14 additions & 11 deletions happymapper.gemspec
Expand Up @@ -4,17 +4,17 @@ Gem::Specification.new do |s|
s.name = %q{happymapper}
s.version = "0.1.6"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["John Nunemaker"]
s.date = %q{2009-01-04}
s.date = %q{2009-01-17}
s.description = %q{object to xml mapping library}
s.email = ["nunemaker@gmail.com"]
s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "TODO.txt"]
s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "TODO.txt", "config/hoe.rb", "config/requirements.rb", "examples/amazon.rb", "examples/current_weather.rb", "examples/post.rb", "examples/twitter.rb", "happymapper.gemspec", "lib/happymapper.rb", "lib/happymapper/attribute.rb", "lib/happymapper/element.rb", "lib/happymapper/item.rb", "lib/happymapper/version.rb", "lib/libxml_ext/libxml_helper.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "spec/fixtures/address.xml", "spec/fixtures/current_weather.xml", "spec/fixtures/pita.xml", "spec/fixtures/posts.xml", "spec/fixtures/statuses.xml", "spec/happymapper_attribute_spec.rb", "spec/happymapper_element_spec.rb", "spec/happymapper_item_spec.rb", "spec/happymapper_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/rspec.rake", "tasks/website.rake", "website/css/common.css", "website/index.html"]
s.email = %q{nunemaker@gmail.com}
s.extra_rdoc_files = ["lib/happymapper/attribute.rb", "lib/happymapper/element.rb", "lib/happymapper/item.rb", "lib/happymapper/version.rb", "lib/happymapper.rb", "lib/libxml_ext/libxml_helper.rb", "README", "TODO"]
s.files = ["examples/amazon.rb", "examples/current_weather.rb", "examples/post.rb", "examples/twitter.rb", "happymapper.gemspec", "History", "lib/happymapper/attribute.rb", "lib/happymapper/element.rb", "lib/happymapper/item.rb", "lib/happymapper/version.rb", "lib/happymapper.rb", "lib/libxml_ext/libxml_helper.rb", "License", "Manifest", "Rakefile", "README", "spec/fixtures/address.xml", "spec/fixtures/current_weather.xml", "spec/fixtures/pita.xml", "spec/fixtures/posts.xml", "spec/fixtures/radar.xml", "spec/fixtures/statuses.xml", "spec/happymapper_attribute_spec.rb", "spec/happymapper_element_spec.rb", "spec/happymapper_item_spec.rb", "spec/happymapper_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "TODO", "website/css/common.css", "website/index.html"]
s.has_rdoc = true
s.homepage = %q{http://happymapper.rubyforge.org}
s.post_install_message = %q{}
s.rdoc_options = ["--main", "README.txt"]
s.post_install_message = %q{May you have many happy mappings!}
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Happymapper", "--main", "README"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{happymapper}
s.rubygems_version = %q{1.3.1}
Expand All @@ -25,11 +25,14 @@ Gem::Specification.new do |s|
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
s.add_runtime_dependency(%q<libxml-ruby>, [">= 0.9.7"])
s.add_development_dependency(%q<echoe>, [">= 0"])
else
s.add_dependency(%q<hoe>, [">= 1.8.0"])
s.add_dependency(%q<libxml-ruby>, [">= 0.9.7"])
s.add_dependency(%q<echoe>, [">= 0"])
end
else
s.add_dependency(%q<hoe>, [">= 1.8.0"])
s.add_dependency(%q<libxml-ruby>, [">= 0.9.7"])
s.add_dependency(%q<echoe>, [">= 0"])
end
end
end
8 changes: 1 addition & 7 deletions lib/happymapper/version.rb
@@ -1,9 +1,3 @@
module HappyMapper
module VERSION #:nodoc:
MAJOR = 0
MINOR = 1
TINY = 5

STRING = [MAJOR, MINOR, TINY].join('.')
end
Version = '0.1.6'
end
10 changes: 0 additions & 10 deletions script/console

This file was deleted.

14 changes: 0 additions & 14 deletions script/destroy

This file was deleted.

14 changes: 0 additions & 14 deletions script/generate

This file was deleted.

82 changes: 0 additions & 82 deletions script/txt2html

This file was deleted.

0 comments on commit aaec1cd

Please sign in to comment.