Fixed references in the build files to the new README files.

This commit is contained in:
Bob Aman 2011-10-11 14:54:57 +03:00
parent 55977abb40
commit b08b19e8c3
4 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ API. You can also set it up so the user can grant access.
First, run the google-api script to generate access and refresh tokens. Ex. First, run the google-api script to generate access and refresh tokens. Ex.
$ cd google-api-ruby-client $ cd google-api-ruby-client
$ ruby bin/google-api oauth-2-login --scope=https://www.googleapis.com/auth/prediction --client-id=NUMBER.apps.googleusercontent.com --client-secret=CLIENT_SECRET $ google-api oauth-2-login --scope=https://www.googleapis.com/auth/prediction --client-id=NUMBER.apps.googleusercontent.com --client-secret=CLIENT_SECRET
Fill in your client-id and client-secret from the API Access page. You will Fill in your client-id and client-secret from the API Access page. You will
probably have to set a redirect URI in your client ID probably have to set a redirect URI in your client ID

View File

@ -18,8 +18,8 @@ namespace :gem do
s.executables << 'google-api' s.executables << 'google-api'
s.has_rdoc = true s.has_rdoc = true
s.extra_rdoc_files = %w( README ) s.extra_rdoc_files = %w( README.md )
s.rdoc_options.concat ['--main', 'README'] s.rdoc_options.concat ['--main', 'README.md']
# Dependencies used in the main library # Dependencies used in the main library
s.add_runtime_dependency('signet', '~> 0.2.2') s.add_runtime_dependency('signet', '~> 0.2.2')

View File

@ -8,7 +8,7 @@ namespace :doc do
rdoc.options << '--line-numbers' << '--inline-source' << rdoc.options << '--line-numbers' << '--inline-source' <<
'--accessor' << 'cattr_accessor=object' << '--charset' << 'utf-8' '--accessor' << 'cattr_accessor=object' << '--charset' << 'utf-8'
rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.template = "#{ENV['template']}.rb" if ENV['template']
rdoc.rdoc_files.include('README', 'CHANGELOG', 'LICENSE') rdoc.rdoc_files.include('README.md', 'CHANGELOG', 'LICENSE')
rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.include('lib/**/*.rb')
end end

View File

@ -10,7 +10,7 @@ begin
yardoc.name = 'yard' yardoc.name = 'yard'
yardoc.options = ['--verbose'] yardoc.options = ['--verbose']
yardoc.files = [ yardoc.files = [
'lib/**/*.rb', 'ext/**/*.c', 'README', 'CHANGELOG', 'LICENSE' 'lib/**/*.rb', 'ext/**/*.c', 'README.md', 'CHANGELOG', 'LICENSE'
] ]
end end
end end