bitly 2.0.0.beta.2 → 2.0.0
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 +4 -4
- data/History.txt +7 -1
- data/README.md +19 -19
- data/lib/bitly/api.rb +1 -0
- data/lib/bitly/api/base.rb +1 -0
- data/lib/bitly/api/bitlink/link_click.rb +1 -0
- data/lib/bitly/api/bitlink/paginated_list.rb +2 -1
- data/lib/bitly/api/click_metric.rb +1 -0
- data/lib/bitly/api/client.rb +1 -1
- data/lib/bitly/http/request.rb +2 -0
- data/lib/bitly/http/response.rb +1 -0
- data/lib/bitly/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f632433079ba387f1037c51886031d325ec39f23f65aca1f1c93c9b1ff989271
|
|
4
|
+
data.tar.gz: 3ffbd9fdaa6be7aa57cd91157da6015cb26cd9e3eae1dce6f48e91c35a7771b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 184c9a8a24c23fccc5fb00d0a7135ddaaeab9b96eb21a3793b181f83deec6d1e10c8ed8b6e2c9451de9e297f3d25e29298adcc0acea52db52434db289fa8ff33
|
|
7
|
+
data.tar.gz: 15c29586e4891345061259307097aa0216a2be67f90e6098a6ff47847e17ed7130bd33bb7bd7bb5107393b167d8fe3615ea7147df3d570aea3448e30a015b313
|
data/History.txt
CHANGED
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
...
|
|
4
4
|
|
|
5
|
+
=== 2.0.0 / 2020-03-12
|
|
6
|
+
|
|
7
|
+
* Complete overhaul of the gem
|
|
8
|
+
* Supports version 4 of the Bitly API
|
|
9
|
+
* See the README and documentation for more details
|
|
10
|
+
|
|
5
11
|
=== 2.0.0.beta.2 / 2020-03-02
|
|
6
12
|
|
|
7
13
|
* Uses autoload to improve memory consumption
|
|
8
14
|
|
|
9
15
|
=== 2.0.0.beta.1 / 2020-02-15
|
|
10
16
|
|
|
11
|
-
* Complete overhaul of the gem
|
|
17
|
+
* Complete overhaul of the gem
|
|
12
18
|
* Supports version 4 of the Bitly API
|
|
13
19
|
|
|
14
20
|
=== 1.1.2
|
data/README.md
CHANGED
|
@@ -4,25 +4,25 @@ A Ruby gem for using the version 4 [Bitly API](https://dev.bitly.com/) to shorte
|
|
|
4
4
|
|
|
5
5
|
[](https://rubygems.org/gems/bitly) [](https://travis-ci.org/philnash/bitly) [](https://codeclimate.com/github/philnash/bitly/maintainability) [](https://inch-ci.org/github/philnash/bitly)
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
7
|
+
* [Installation](#installation)
|
|
8
|
+
* [Usage](#usage)
|
|
9
|
+
* [Authentication](#authentication)
|
|
10
|
+
* [Creating an API client](#creating-an-api-client)
|
|
11
|
+
* [Shorten a link](#shorten-a-link)
|
|
12
|
+
* [Expand a link](#expand-a-link)
|
|
13
|
+
* [Available API Endpoints](#available-api-endpoints)
|
|
14
|
+
* [Groups](#groups)
|
|
15
|
+
* [Organizations](#organizations)
|
|
16
|
+
* [Users](#users)
|
|
17
|
+
* [Bitlinks](#bitlinks)
|
|
18
|
+
* [Custom Bitlinks](#custom-bitlinks)
|
|
19
|
+
* [Campaigns](#campaigns)
|
|
20
|
+
* [BSDs (Branded Short Domains)](#bsds-branded-short-domains)
|
|
21
|
+
* [OAuth Apps](#oauth-apps)
|
|
22
|
+
* [Development](#development)
|
|
23
|
+
* [Contributing](#contributing)
|
|
24
|
+
* [License](#license)
|
|
25
|
+
* [Code of Conduct](#code-of-conduct)
|
|
26
26
|
|
|
27
27
|
## Installation
|
|
28
28
|
|
data/lib/bitly/api.rb
CHANGED
data/lib/bitly/api/base.rb
CHANGED
data/lib/bitly/api/client.rb
CHANGED
|
@@ -175,7 +175,7 @@ module Bitly
|
|
|
175
175
|
# if you have a Bitly Pro account.
|
|
176
176
|
#
|
|
177
177
|
# @example
|
|
178
|
-
# client.update_bitlink(title: "New title")
|
|
178
|
+
# client.update_bitlink(bitlink: bitlink, title: "New title")
|
|
179
179
|
#
|
|
180
180
|
# @param archived [Boolean]
|
|
181
181
|
# @param tags [Array<String>]
|
data/lib/bitly/http/request.rb
CHANGED
data/lib/bitly/http/response.rb
CHANGED
data/lib/bitly/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bitly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Phil Nash
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oauth2
|
|
@@ -194,9 +194,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
194
194
|
version: 2.3.0
|
|
195
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
requirements:
|
|
197
|
-
- - "
|
|
197
|
+
- - ">="
|
|
198
198
|
- !ruby/object:Gem::Version
|
|
199
|
-
version:
|
|
199
|
+
version: '0'
|
|
200
200
|
requirements: []
|
|
201
201
|
rubygems_version: 3.0.3
|
|
202
202
|
signing_key:
|