Renamed CHANGELOG.

This commit is contained in:
Bob Aman 2011-12-02 16:41:05 +03:00
parent 04978a3363
commit f70943ca40
3 changed files with 12 additions and 15 deletions

View File

@ -1,4 +1,4 @@
== 0.3.0 # 0.3.0
* updated to use v1 of the discovery API * updated to use v1 of the discovery API
* updated to use httpadapter 1.0.0 * updated to use httpadapter 1.0.0
@ -8,7 +8,7 @@
* fixed a few deprecation warnings from dependencies * fixed a few deprecation warnings from dependencies
* added gemspec to source control * added gemspec to source control
== 0.2.0 # 0.2.0
* updated to use v1 of the discovery API * updated to use v1 of the discovery API
* updated to use httpadapter 1.0.0 * updated to use httpadapter 1.0.0
@ -16,21 +16,21 @@
* renamed some switches in the command line tool * renamed some switches in the command line tool
* added additional configuration capabilities * 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 discovery URI
* added support for manual overrides of the API base * added support for manual overrides of the API base
* added support for xoauth_requestor_id * added support for xoauth_requestor_id
== 0.1.2 # 0.1.2
* added support for two-legged OAuth * added support for two-legged OAuth
* moved some development dependencies into runtime * moved some development dependencies into runtime
== 0.1.1 # 0.1.1
* substantial improvements to the command line interface * substantial improvements to the command line interface
== 0.1.0 # 0.1.0
* initial release * initial release

View File

@ -10,7 +10,7 @@ namespace :git do
desc 'Create a new tag in the Git repository' desc 'Create a new tag in the Git repository'
task :create do task :create do
changelog = File.open('CHANGELOG', 'r') { |file| file.read } changelog = File.open('CHANGELOG.md', 'r') { |file| file.read }
puts '-' * 80 puts '-' * 80
puts changelog puts changelog
puts '-' * 80 puts '-' * 80

View File

@ -6,6 +6,10 @@ rescue Gem::LoadError
end unless defined?(RDoc) end unless defined?(RDoc)
require 'rdoc/task' require 'rdoc/task'
require 'rake/clean'
CLOBBER.include('doc', 'ri')
CLOBBER.uniq!
namespace :doc do namespace :doc do
desc 'Generate RDoc documentation' desc 'Generate RDoc documentation'
@ -15,7 +19,7 @@ namespace :doc do
rdoc.options << '--line-numbers' << 'cattr_accessor=object' << rdoc.options << '--line-numbers' << 'cattr_accessor=object' <<
'--charset' << 'utf-8' '--charset' << 'utf-8'
rdoc.template = "#{ENV['template']}.rb" if ENV['template'] 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') rdoc.rdoc_files.include('lib/**/*.rb')
end end
@ -23,11 +27,4 @@ namespace :doc do
task :ri do task :ri do
sh 'rdoc --ri -o ri .' sh 'rdoc --ri -o ri .'
end end
desc 'Remove ri products'
task :clobber_ri do
rm_r 'ri' rescue nil
end
end end
task 'clobber' => ['doc:clobber_rdoc', 'doc:clobber_ri']