google_apis 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/.travis.yml +17 -0
- data/Gemfile +12 -0
- data/LICENSE.txt +1 -1
- data/README.md +22 -5
- data/Rakefile +6 -0
- data/google_apis.gemspec +5 -6
- data/lib/google_apis/version.rb +1 -1
- data/lib/google_apis.rb +1 -1
- data/spec/google_apis_spec.rb +11 -0
- data/spec/spec_helper.rb +21 -0
- metadata +16 -26
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
YTlkNmEwNWFhYzdiYWRmNjllZmU3Mzk5MTQxNWNlNGY0MTU0MjJjMzJhMjUx
|
10
|
-
OWE5ZTc4ZjljYjhiODFmMmRhMGI5OGExNzVkNDBhMTU3NDYxOTI3NDY3ZDE5
|
11
|
-
YzlmNTExZDYyNWYwNWU1ZTIzOWI4ODBjMDBhMDRlZTc1MDI1NjE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NzAyZGZmYTJiNDk5ZTM1ODgzYWU1Y2UwNDQxZWZkMGFlNjNjNWM1NGZmZTdk
|
14
|
-
NGVlMzI5MGUyYTdiNmQ3MTE4MTA1YmJkZjdjMjdhZjQ2ZmEwZmZmMzRkMThi
|
15
|
-
NzM5NjgzZWI2Yjk4YTJkZTJjOTY4MjU3YjQ1ZjdmMzg0MGMwYTI=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 86656d128eef9744f8d83530e8d26709f55a5783
|
4
|
+
data.tar.gz: d9fef3ce39ffd4fb4fe610d6d9ed71f605e033c7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1ee66d54f4b69dfb9a027f245446f3418e78717b15866eba982e5af1920f180d27c7c0aa7536a8869452a5028c34ee4e840880a2bd936f5c794bba5ea24ed3d6
|
7
|
+
data.tar.gz: 9b476b408e1c2887aac20a03ea4ef27b1a36ad755417ba06bf7b2c01291c8942b11c5e86228bf5e5e625aeb100d3dd569061f49bcbdee186c350f1ef98e638fa
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
@@ -2,3 +2,15 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in google_apis.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
gem 'rake', require: false
|
7
|
+
|
8
|
+
group :test do
|
9
|
+
gem 'coveralls', require: false
|
10
|
+
gem 'rspec', github: 'rspec/rspec'
|
11
|
+
gem 'rspec-core', github: 'rspec/rspec-core'
|
12
|
+
gem 'rspec-mocks', github: 'rspec/rspec-mocks'
|
13
|
+
gem 'rspec-expectations', github: 'rspec/rspec-expectations'
|
14
|
+
gem 'rspec-support', github: 'rspec/rspec-support'
|
15
|
+
gem 'simplecov', :require => false
|
16
|
+
end
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
# GoogleApis
|
1
|
+
# The GoogleApis Ruby Gem
|
2
2
|
|
3
|
-
|
3
|
+
[][gem]
|
4
|
+
[][travis]
|
5
|
+
[][gemnasium]
|
6
|
+
[][codeclimate]
|
7
|
+
[][coveralls]
|
8
|
+
|
9
|
+
[gem]: https://rubygems.org/gems/google_apis
|
10
|
+
[travis]: https://travis-ci.org/zywx/google_apis
|
11
|
+
[gemnasium]: https://gemnasium.com/zywx/google_apis
|
12
|
+
[codeclimate]: https://codeclimate.com/github/zywx/google_apis
|
13
|
+
[coveralls]: https://coveralls.io/r/zywx/google_apis
|
14
|
+
[gittip]: https://www.gittip.com/gems/
|
15
|
+
|
16
|
+
Provides client libraries for Google APIs
|
4
17
|
|
5
18
|
## Installation
|
6
19
|
|
@@ -16,13 +29,17 @@ Or install it yourself as:
|
|
16
29
|
|
17
30
|
$ gem install google_apis
|
18
31
|
|
19
|
-
## Usage
|
32
|
+
## Basic Usage
|
33
|
+
|
34
|
+
To make a request, you need to construct a service client, for example with Freebase (http://www.freebase.com)
|
35
|
+
|
36
|
+
freebase = GoogleAPIS::Freebase.new
|
37
|
+
freebase = GoogleAPIS.freebase # helper method returns a new client
|
20
38
|
|
21
|
-
TODO: Write usage instructions here
|
22
39
|
|
23
40
|
## Contributing
|
24
41
|
|
25
|
-
1. Fork it
|
42
|
+
1. Fork it ( http://github.com/zywx/google_apis/fork )
|
26
43
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
44
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
45
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/Rakefile
CHANGED
data/google_apis.gemspec
CHANGED
@@ -8,16 +8,15 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = GoogleApis::VERSION
|
9
9
|
spec.authors = ["Fabien G."]
|
10
10
|
spec.email = ["fabien@sent.com"]
|
11
|
-
spec.
|
12
|
-
spec.
|
13
|
-
spec.homepage = ""
|
11
|
+
spec.summary = %q{Google APIs SDK.}
|
12
|
+
spec.description = %q{Provides client libraries for Google APIs.}
|
13
|
+
spec.homepage = "http://github.com/zywx/google_apis"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.files = `git ls-files`.split(
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.
|
22
|
-
spec.add_development_dependency "rake"
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
23
22
|
end
|
data/lib/google_apis/version.rb
CHANGED
data/lib/google_apis.rb
CHANGED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
require 'coveralls'
|
3
|
+
|
4
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
5
|
+
SimpleCov::Formatter::HTMLFormatter,
|
6
|
+
Coveralls::SimpleCov::Formatter
|
7
|
+
]
|
8
|
+
|
9
|
+
SimpleCov.start do
|
10
|
+
add_filter '/spec/'
|
11
|
+
minimum_coverage(99.39)
|
12
|
+
end
|
13
|
+
|
14
|
+
require 'google_apis'
|
15
|
+
require 'rspec'
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.expect_with :rspec do |c|
|
19
|
+
c.syntax = :expect
|
20
|
+
end
|
21
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google_apis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabien G.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,29 +16,15 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
27
|
-
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ! '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ! '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
description: The un-official Google APIS SDK for Ruby.
|
26
|
+
version: '1.5'
|
27
|
+
description: Provides client libraries for Google APIs.
|
42
28
|
email:
|
43
29
|
- fabien@sent.com
|
44
30
|
executables: []
|
@@ -46,6 +32,7 @@ extensions: []
|
|
46
32
|
extra_rdoc_files: []
|
47
33
|
files:
|
48
34
|
- .gitignore
|
35
|
+
- .travis.yml
|
49
36
|
- Gemfile
|
50
37
|
- LICENSE.txt
|
51
38
|
- README.md
|
@@ -53,7 +40,9 @@ files:
|
|
53
40
|
- google_apis.gemspec
|
54
41
|
- lib/google_apis.rb
|
55
42
|
- lib/google_apis/version.rb
|
56
|
-
|
43
|
+
- spec/google_apis_spec.rb
|
44
|
+
- spec/spec_helper.rb
|
45
|
+
homepage: http://github.com/zywx/google_apis
|
57
46
|
licenses:
|
58
47
|
- MIT
|
59
48
|
metadata: {}
|
@@ -63,19 +52,20 @@ require_paths:
|
|
63
52
|
- lib
|
64
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
65
54
|
requirements:
|
66
|
-
- -
|
55
|
+
- - '>='
|
67
56
|
- !ruby/object:Gem::Version
|
68
57
|
version: '0'
|
69
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
59
|
requirements:
|
71
|
-
- -
|
60
|
+
- - '>='
|
72
61
|
- !ruby/object:Gem::Version
|
73
62
|
version: '0'
|
74
63
|
requirements: []
|
75
64
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
65
|
+
rubygems_version: 2.2.1
|
77
66
|
signing_key:
|
78
67
|
specification_version: 4
|
79
|
-
summary:
|
80
|
-
test_files:
|
81
|
-
|
68
|
+
summary: Google APIs SDK.
|
69
|
+
test_files:
|
70
|
+
- spec/google_apis_spec.rb
|
71
|
+
- spec/spec_helper.rb
|