ruby-upwork-oauth2 2.0.0 → 2.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f950287c9a08d380f4911c57feb1ed858341264e52f34037f2d9f83223f02af
4
- data.tar.gz: 39ea135cbab5433dcbee0febcd68a90dc49fa4b5cf9ad7c0e314b990e77f61b6
3
+ metadata.gz: 151abdfed5a0ee4bbcf75b201f9e8f14506404703019cd3e07da53f45b8277c6
4
+ data.tar.gz: 657291bb04f838c79dd3ff436c8bb340aab7c9422ad619f52bd70518f296b812
5
5
  SHA512:
6
- metadata.gz: 02a09a90a058d02cb7aaf06e111355dcf469aab4884f9c98f6f243d50aad5dfb74ac480da327677cbbcb8b68726a4829f3e7eec13eb3f3bf07238b1c3da5e56a
7
- data.tar.gz: da5e2095a70f08564f10126b901fb98a3336bf8135806e0ba5bd08e8ab2a112a38d996b182404b12a018976e942e465d5934fe66fd254ea2108fab573da55a46
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-api.svg)](http://badge.fury.io/rb/upwork-api)
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-api'
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-api
71
+ $ gem install ruby-upwork-oauth2
72
72
 
73
73
  ## Usage
74
74
 
@@ -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
 
@@ -13,6 +13,6 @@
13
13
 
14
14
  module Upwork # :nodoc:
15
15
  module Api
16
- VERSION = "2.0.0"
16
+ VERSION = "2.0.1"
17
17
  end
18
18
  end
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.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-06 00:00:00.000000000 Z
11
+ date: 2018-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2