Rakefile in ric-0.12.0 vs Rakefile in ric-0.12.2

- old
+ new

@@ -8,26 +8,33 @@ p.description = "My first gem with various utilities (colors and tests now). My name is Riccardo, hence 'ric' (ok I admit it, this was just ot prove Im able to build a sentence with hence!)" p.url = "http://github.com/palladius/ric" p.author = "Riccardo Carlesso" - #p.license = "See https://github.com/palladius/ric/blob/master/LICENSE" + p.licenses = "MIT" # see LICENSE p.email = "['p','ll','diusbonton].join('a') @ gmail.com" p.ignore_pattern = [ - "tmp/*", + ".noheroku", "docs/*", - "script/*", - "tmp/*", "tmp/*/*", "tmp/*/*/*", + "HISTORY", "images/*/*/*", "images/*/*", 'images', "private/*", - ".noheroku", - "HISTORY" + "sbin/*", + "script/*", + "tmp/*", "tmp/*/*", "tmp/*/*/*", ] - p.development_dependencies = [ 'activeresource','echoe' ] - p.runtime_dependencies = [ 'activeresource' ] + p.development_dependencies = [ + ['activeresource', '~> 0'], + ['echoe', '~> 0'], + ] + p.runtime_dependencies = [ + 'activeresource', + ] end +#p.add_development_dependency 'activeresource', '~> 0' + #### RAKE TEST require 'rake' require 'rake/testtask' require 'rdoc/task' @@ -43,10 +50,10 @@ end desc 'Generate documentation for the ric gem' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' - rdoc.title = 'Ric GEM Hehehe' + rdoc.title = 'Riccardo GEM' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('HISTORY.yml') rdoc.rdoc_files.include('lib/**/*.rb') end