├── .gitignore ├── .travis.yml ├── Gemfile ├── MIT-LICENSE ├── README.markdown ├── Rakefile ├── VERSION ├── googl.gemspec ├── lib ├── googl.rb └── googl │ ├── base.rb │ ├── client_login.rb │ ├── error.rb │ ├── expand.rb │ ├── oauth2 │ ├── native.rb │ ├── server.rb │ └── utils.rb │ ├── request.rb │ ├── ruby_extensions.rb │ ├── shorten.rb │ └── utils.rb └── spec ├── fixtures ├── client_login_invalid.json ├── client_login_valid.json ├── expand.json ├── expand_404.json ├── expand_projection_clicks.json ├── expand_projection_full.json ├── expand_projection_strings.json ├── expand_removed.json ├── history.json ├── history_projection_clicks.json ├── oauth2 │ ├── native.json │ ├── native_invalid.json │ ├── native_token_expires.json │ ├── server.json │ ├── server_invalid.json │ └── server_token_expires.json ├── shorten.json ├── shorten_authenticated.json └── shorten_invalid_content_type.json ├── googl ├── client_spec.rb ├── expand_spec.rb ├── oauth2 │ ├── native_spec.rb │ └── server_spec.rb ├── request_spec.rb └── shorten_spec.rb ├── shared_examples.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/Gemfile -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/README.markdown -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/Rakefile -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.7.1 -------------------------------------------------------------------------------- /googl.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/googl.gemspec -------------------------------------------------------------------------------- /lib/googl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl.rb -------------------------------------------------------------------------------- /lib/googl/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/base.rb -------------------------------------------------------------------------------- /lib/googl/client_login.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/client_login.rb -------------------------------------------------------------------------------- /lib/googl/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/error.rb -------------------------------------------------------------------------------- /lib/googl/expand.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/expand.rb -------------------------------------------------------------------------------- /lib/googl/oauth2/native.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/oauth2/native.rb -------------------------------------------------------------------------------- /lib/googl/oauth2/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/oauth2/server.rb -------------------------------------------------------------------------------- /lib/googl/oauth2/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/oauth2/utils.rb -------------------------------------------------------------------------------- /lib/googl/request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/request.rb -------------------------------------------------------------------------------- /lib/googl/ruby_extensions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/ruby_extensions.rb -------------------------------------------------------------------------------- /lib/googl/shorten.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/shorten.rb -------------------------------------------------------------------------------- /lib/googl/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/lib/googl/utils.rb -------------------------------------------------------------------------------- /spec/fixtures/client_login_invalid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/client_login_invalid.json -------------------------------------------------------------------------------- /spec/fixtures/client_login_valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/client_login_valid.json -------------------------------------------------------------------------------- /spec/fixtures/expand.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/expand.json -------------------------------------------------------------------------------- /spec/fixtures/expand_404.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/expand_404.json -------------------------------------------------------------------------------- /spec/fixtures/expand_projection_clicks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/expand_projection_clicks.json -------------------------------------------------------------------------------- /spec/fixtures/expand_projection_full.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/expand_projection_full.json -------------------------------------------------------------------------------- /spec/fixtures/expand_projection_strings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/expand_projection_strings.json -------------------------------------------------------------------------------- /spec/fixtures/expand_removed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/expand_removed.json -------------------------------------------------------------------------------- /spec/fixtures/history.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/history.json -------------------------------------------------------------------------------- /spec/fixtures/history_projection_clicks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/history_projection_clicks.json -------------------------------------------------------------------------------- /spec/fixtures/oauth2/native.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/oauth2/native.json -------------------------------------------------------------------------------- /spec/fixtures/oauth2/native_invalid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/oauth2/native_invalid.json -------------------------------------------------------------------------------- /spec/fixtures/oauth2/native_token_expires.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/oauth2/native_token_expires.json -------------------------------------------------------------------------------- /spec/fixtures/oauth2/server.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/oauth2/server.json -------------------------------------------------------------------------------- /spec/fixtures/oauth2/server_invalid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/oauth2/server_invalid.json -------------------------------------------------------------------------------- /spec/fixtures/oauth2/server_token_expires.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/oauth2/server_token_expires.json -------------------------------------------------------------------------------- /spec/fixtures/shorten.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/shorten.json -------------------------------------------------------------------------------- /spec/fixtures/shorten_authenticated.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/shorten_authenticated.json -------------------------------------------------------------------------------- /spec/fixtures/shorten_invalid_content_type.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/fixtures/shorten_invalid_content_type.json -------------------------------------------------------------------------------- /spec/googl/client_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/googl/client_spec.rb -------------------------------------------------------------------------------- /spec/googl/expand_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/googl/expand_spec.rb -------------------------------------------------------------------------------- /spec/googl/oauth2/native_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/googl/oauth2/native_spec.rb -------------------------------------------------------------------------------- /spec/googl/oauth2/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/googl/oauth2/server_spec.rb -------------------------------------------------------------------------------- /spec/googl/request_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Googl::Request do 4 | end 5 | -------------------------------------------------------------------------------- /spec/googl/shorten_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/googl/shorten_spec.rb -------------------------------------------------------------------------------- /spec/shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/shared_examples.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zigotto/googl/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------