Fixed references in the build files to the new README files.
This commit is contained in:
parent
55977abb40
commit
b08b19e8c3
|
@ -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
|
||||||
|
|
|
@ -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')
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue