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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4936c99089af48f7096225e8f9a320978a52152d7650644099f1c2e79bfdb212
4
- data.tar.gz: 246fc9e55eeb72aabcdba418cf7fa9df8b29f02fc5e6079fa0ed32979b6c5c37
3
+ metadata.gz: f632433079ba387f1037c51886031d325ec39f23f65aca1f1c93c9b1ff989271
4
+ data.tar.gz: 3ffbd9fdaa6be7aa57cd91157da6015cb26cd9e3eae1dce6f48e91c35a7771b5
5
5
  SHA512:
6
- metadata.gz: 16a268a0383fff569797929ad3fe90bcf46d38897b1aed760bfe878f5e0dd22b7d9ce126e725c59b76a43d5d96fe571e0d46ffab083af008cabc35bf5a05228e
7
- data.tar.gz: d1700910090cd61c35438dafb6050f6d3bdaf8dace92b3d790741f13f6a21e5b2b6e7237d3f4575e469c9f501b44a17e48e4f0981a12e5fc8969f83726efafff
6
+ metadata.gz: 184c9a8a24c23fccc5fb00d0a7135ddaaeab9b96eb21a3793b181f83deec6d1e10c8ed8b6e2c9451de9e297f3d25e29298adcc0acea52db52434db289fa8ff33
7
+ data.tar.gz: 15c29586e4891345061259307097aa0216a2be67f90e6098a6ff47847e17ed7130bd33bb7bd7bb5107393b167d8fe3615ea7147df3d570aea3448e30a015b313
@@ -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
  [![Gem Version](https://badge.fury.io/rb/bitly.svg)](https://rubygems.org/gems/bitly) [![Build Status](https://travis-ci.org/philnash/bitly.svg?branch=master)](https://travis-ci.org/philnash/bitly) [![Maintainability](https://api.codeclimate.com/v1/badges/f8e078b468c1f2aeca53/maintainability)](https://codeclimate.com/github/philnash/bitly/maintainability) [![Inline docs](https://inch-ci.org/github/philnash/bitly.svg?branch=master)](https://inch-ci.org/github/philnash/bitly)
6
6
 
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)
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
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require "uri"
2
3
 
3
4
  module Bitly
4
5
  module API
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require "time"
2
3
 
3
4
  module Bitly
4
5
  module API
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require "time"
2
3
  require_relative "../base"
3
4
  require_relative '../list'
4
5
 
@@ -1,5 +1,6 @@
1
-
2
1
  # frozen_string_literal: true
2
+ require "cgi"
3
+ require "uri"
3
4
 
4
5
  module Bitly
5
6
  module API
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require "time"
2
3
  require_relative "./base"
3
4
  require_relative './list'
4
5
 
@@ -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>]
@@ -1,4 +1,6 @@
1
1
  # frozen_string_literal: true
2
+ require "json"
3
+ require "uri"
2
4
 
3
5
  module Bitly
4
6
  module HTTP
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require "json"
2
3
 
3
4
  module Bitly
4
5
  module HTTP
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitly
4
- VERSION = "2.0.0.beta.2"
4
+ VERSION = "2.0.0"
5
5
  end
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.beta.2
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-02 00:00:00.000000000 Z
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: 1.3.1
199
+ version: '0'
200
200
  requirements: []
201
201
  rubygems_version: 3.0.3
202
202
  signing_key: