google_apis 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Y2E2NzIyMTU4NWUxMzMxMzEzNjVhYTM1OTE0YWFjM2RlNjY3YzQwZQ==
5
- data.tar.gz: !binary |-
6
- ZGQwYzE4OTRhNTcyNmU1ZWVlZWYwODc2OTMyNGFhMDdlYmFhYTBlMA==
7
- !binary "U0hBNTEy":
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
@@ -0,0 +1,17 @@
1
+ branches:
2
+ only:
3
+ - master
4
+ rvm:
5
+ - 1.9.3
6
+ - 2.0.0
7
+ - jruby
8
+ env:
9
+ - OX=1 OJ=1
10
+ - NOKOGIRI=1
11
+ gemfile:
12
+ - Gemfile
13
+ matrix:
14
+ exclude:
15
+ - rvm: jruby
16
+ env: OX=1 OJ=1
17
+ gemfile: Gemfile
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Fabien G.
1
+ Copyright (c) 2014 Fabien G.
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,6 +1,19 @@
1
- # GoogleApis
1
+ # The GoogleApis Ruby Gem
2
2
 
3
- TODO: Write a gem description
3
+ [![Gem Version](http://img.shields.io/gem/v/google_apis.svg)][gem]
4
+ [![Build Status](https://travis-ci.org/zywx/google_apis.png?branch=master)][travis]
5
+ [![Dependency Status](https://gemnasium.com/zywx/google_apis.png)][gemnasium]
6
+ [![Code Climate](https://codeclimate.com/github/zywx/google_apis.png)][codeclimate]
7
+ [![Coverage Status](https://coveralls.io/repos/zywx/google_apis/badge.png)][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
@@ -1 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ require 'rspec/core/rake_task'
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :test => :spec
7
+ task :default => :spec
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.description = %q{The un-official Google APIS SDK for Ruby.}
12
- spec.summary = %q{The un-official Google APIS SDK for Ruby.}
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.3"
22
- spec.add_development_dependency "rake"
21
+ spec.add_development_dependency "bundler", "~> 1.5"
23
22
  end
@@ -1,3 +1,3 @@
1
1
  module GoogleApis
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/google_apis.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "google_apis/version"
2
2
 
3
3
  module GoogleApis
4
- # Your code goes here...
4
+
5
5
  end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ module GoogleApis
4
+ describe 'VERSION' do
5
+
6
+ it 'is a semver compatible string' do
7
+ expect(VERSION).to match(/\d+\.\d+\.\d+/)
8
+ end
9
+
10
+ end
11
+ end
@@ -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.1
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: 2013-05-23 00:00:00.000000000 Z
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.3'
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.3'
27
- - !ruby/object:Gem::Dependency
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
- homepage: ''
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.0.3
65
+ rubygems_version: 2.2.1
77
66
  signing_key:
78
67
  specification_version: 4
79
- summary: The un-official Google APIS SDK for Ruby.
80
- test_files: []
81
- has_rdoc:
68
+ summary: Google APIs SDK.
69
+ test_files:
70
+ - spec/google_apis_spec.rb
71
+ - spec/spec_helper.rb