ruby-upwork-oauth2 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/lib/upwork/api/client.rb +2 -1
- data/lib/upwork/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 151abdfed5a0ee4bbcf75b201f9e8f14506404703019cd3e07da53f45b8277c6
|
4
|
+
data.tar.gz: 657291bb04f838c79dd3ff436c8bb340aab7c9422ad619f52bd70518f296b812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b662373b2c2b19d4b40350f121efc6ed4bf5b92a21f42d284552a041d97139cb59822615604a0f62f0eb70a3475ef82da63738ef5a1490c032a70f6b4e6a4862
|
7
|
+
data.tar.gz: 88b2e862c8c287b484f7ebdb77d6f491f92fc15bbc13a244a65e154b263db9049aeb6763a4e40cc3a60c654c09db9552f186917aae317d07705228c45e28c389
|
data/README.md
CHANGED
@@ -2,10 +2,10 @@ Ruby bindings for Upwork API (OAuth2)
|
|
2
2
|
============
|
3
3
|
|
4
4
|
[![License](http://img.shields.io/packagist/l/upwork/php-upwork.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
|
5
|
-
[![Gem Version](https://badge.fury.io/rb/upwork-
|
6
|
-
[![GitHub release](https://img.shields.io/github/release/upwork/ruby-upwork.svg)](https://github.com/upwork/ruby-upwork/releases)
|
7
|
-
[![Build Status](https://travis-ci.org/upwork/ruby-upwork.svg)](https://travis-ci.org/upwork/ruby-upwork)
|
8
|
-
[![Stories in Ready](http://badge.waffle.io/upwork/ruby-upwork.png)](http://waffle.io/upwork/ruby-upwork)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/ruby-upwork-oauth2.svg)](http://badge.fury.io/rb/ruby-upwork-oauth2)
|
6
|
+
[![GitHub release](https://img.shields.io/github/release/upwork/ruby-upwork-oauth2.svg)](https://github.com/upwork/ruby-upwork-oauth2/releases)
|
7
|
+
[![Build Status](https://travis-ci.org/upwork/ruby-upwork-oauth2.svg)](https://travis-ci.org/upwork/ruby-upwork-oauth2)
|
8
|
+
[![Stories in Ready](http://badge.waffle.io/upwork/ruby-upwork-oauth2.png)](http://waffle.io/upwork/ruby-upwork-oauth2)
|
9
9
|
|
10
10
|
# Upwork::Api
|
11
11
|
|
@@ -60,7 +60,7 @@ To integrate this library you need to have:
|
|
60
60
|
|
61
61
|
Add this line to your application's Gemfile:
|
62
62
|
|
63
|
-
gem 'upwork-
|
63
|
+
gem 'ruby-upwork-oauth2'
|
64
64
|
|
65
65
|
And then execute:
|
66
66
|
|
@@ -68,7 +68,7 @@ And then execute:
|
|
68
68
|
|
69
69
|
Or install it yourself as:
|
70
70
|
|
71
|
-
$ gem install upwork-
|
71
|
+
$ gem install ruby-upwork-oauth2
|
72
72
|
|
73
73
|
## Usage
|
74
74
|
|
data/lib/upwork/api/client.rb
CHANGED
@@ -43,7 +43,8 @@ module Upwork
|
|
43
43
|
@config.client_secret,
|
44
44
|
:site => Upwork::Api::BASE_HOST,
|
45
45
|
:authorize_url => @url_auth,
|
46
|
-
:token_url => @url_atoken
|
46
|
+
:token_url => @url_atoken,
|
47
|
+
:connection_opts => { :headers => {'User-Agent' => 'Github Upwork API Ruby Client' }}
|
47
48
|
)
|
48
49
|
end
|
49
50
|
|
data/lib/upwork/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-upwork-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maksym Novozhylov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|