-== 0.3.0
+# 0.3.0
* updated to use v1 of the discovery API
* updated to use httpadapter 1.0.0
* fixed a few deprecation warnings from dependencies
* added gemspec to source control
-== 0.2.0
+# 0.2.0
* updated to use v1 of the discovery API
* updated to use httpadapter 1.0.0
* renamed some switches in the command line tool
* added additional configuration capabilities
-== 0.1.3
+# 0.1.3
* added support for manual overrides of the discovery URI
* added support for manual overrides of the API base
* added support for xoauth_requestor_id
-== 0.1.2
+# 0.1.2
* added support for two-legged OAuth
* moved some development dependencies into runtime
-== 0.1.1
+# 0.1.1
* substantial improvements to the command line interface
-== 0.1.0
+# 0.1.0
* initial release
desc 'Create a new tag in the Git repository'
task :create do
- changelog = File.open('CHANGELOG', 'r') { |file| file.read }
+ changelog = File.open('CHANGELOG.md', 'r') { |file| file.read }
puts '-' * 80
puts changelog
puts '-' * 80
end unless defined?(RDoc)
require 'rdoc/task'
+require 'rake/clean'
+
+CLOBBER.include('doc', 'ri')
+CLOBBER.uniq!
namespace :doc do
desc 'Generate RDoc documentation'
rdoc.options << '--line-numbers' << 'cattr_accessor=object' <<
'--charset' << 'utf-8'
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
- rdoc.rdoc_files.include('README.md', 'CHANGELOG', 'LICENSE')
+ rdoc.rdoc_files.include('README.md', 'CHANGELOG.md', 'LICENSE')
rdoc.rdoc_files.include('lib/**/*.rb')
end
task :ri do
sh 'rdoc --ri -o ri .'
end
-
- desc 'Remove ri products'
- task :clobber_ri do
- rm_r 'ri' rescue nil
- end
end
-
-task 'clobber' => ['doc:clobber_rdoc', 'doc:clobber_ri']