Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Switched to echoe and prepped for 0.1.6 release.
- Loading branch information
1 parent
76d32d2
commit aaec1cd
Showing
20 changed files
with
69 additions
and
1,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.