forked from ismasan/hash_mapper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
22 lines (18 loc) · 961 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'rubygems'
require File.dirname(__FILE__) + '/lib/hash_mapper'
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
task :default => [:spec]
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "hash_mapper"
gemspec.summary = "Maps values from hashes with different structures and/or key names. Ideal for normalizing arbitrary data to be consumed by your applications, or to prepare your data for different display formats (ie. json)"
gemspec.description = "Tiny module that allows you to easily adapt from one hash structure to another with a simple declarative DSL."
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/ismasan/hash_mapper"
gemspec.authors = ["Ismael Celis"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end