google-oauth-cli 1.0.0 → 1.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: bffecd24e1ea120d71d977463a0c5d565d6593c42fdf309a487e116247f2b875
4
- data.tar.gz: b2a135fc1b77aef5e02e98be0f134eea03a53e6e7d17ded4cde361133aec0f17
3
+ metadata.gz: b14a297ba73b80d63d5c040aa2af7fc39f85dad7703b2d935ea524dc93905f1c
4
+ data.tar.gz: cef4ecf15195ec67dfc772573a29729594e439c064a78f3801b036b7f8fa46d2
5
5
  SHA512:
6
- metadata.gz: 98f4f410ba41b741ca929a568b387f8f071f8e7f458908df029b70539ebc784bdc041271f088944b69cd7ea6b7ee5d949a7b730ba91f6f772d9145a57842f799
7
- data.tar.gz: '080c4c42513f5afe05c6dcdc3523062bc1b012c9c09144e53bf3401bcca0651f5aeeab6ef72dea14f319497176b91b11e89fe454e60b31c2ddae45ea37d09423'
6
+ metadata.gz: bdf2a3fefb40491d71bfabed1f6b3237afa207f89510fdc1d77d1ee3ac088724675c5928b7b1540b9c72f9596887be7128953c69065b93d9b602899cb3c59fa8
7
+ data.tar.gz: 68d77c04d54ac47ebc06155e9cbc80f53e117e5c7cbed14359e8480879c285b0184f48172dadc80ef377d32f3dfd1d7affe60720ef0f5d5ad1e73277c7c1009f
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google-oauth-cli (1.0.0)
5
- googleauth (~> 1.5)
4
+ google-oauth-cli (1.0.1)
5
+ googleauth (>= 0.5.0, < 2.0.0)
6
6
  launchy (~> 2.5)
7
7
 
8
8
  GEM
@@ -12,23 +12,23 @@ GEM
12
12
  public_suffix (>= 2.0.2, < 6.0)
13
13
  ast (2.4.2)
14
14
  diff-lcs (1.5.0)
15
- faraday (2.7.4)
16
- faraday-net_http (>= 2.0, < 3.1)
17
- ruby2_keywords (>= 0.0.4)
18
- faraday-net_http (3.0.2)
19
- googleauth (1.5.0)
20
- faraday (>= 0.17.3, < 3.a)
15
+ faraday (1.2.0)
16
+ multipart-post (>= 1.2, < 3)
17
+ ruby2_keywords
18
+ googleauth (0.17.1)
19
+ faraday (>= 0.17.3, < 2.0)
21
20
  jwt (>= 1.4, < 3.0)
22
21
  memoist (~> 0.16)
23
22
  multi_json (~> 1.11)
24
23
  os (>= 0.9, < 2.0)
25
- signet (>= 0.16, < 2.a)
24
+ signet (~> 0.15)
26
25
  json (2.6.3)
27
26
  jwt (2.7.0)
28
27
  launchy (2.5.2)
29
28
  addressable (~> 2.8)
30
29
  memoist (0.16.2)
31
30
  multi_json (1.15.0)
31
+ multipart-post (2.3.0)
32
32
  os (1.1.4)
33
33
  parallel (1.22.1)
34
34
  parser (3.2.2.0)
data/README.md CHANGED
@@ -3,17 +3,17 @@
3
3
  [![gem version](https://badge.fury.io/rb/google-oauth-cli.svg)](https://badge.fury.io/rb/google-oauth-cli)
4
4
  ![test](https://github.com/fujikky/google-oauth-cli/actions/workflows/test.yml/badge.svg?branch=main)
5
5
 
6
- google-oauth-cli is a RubyGems library that allows you to perform OAuth authentication with Google from the CLI.
6
+ `google-oauth-cli` is a RubyGems library that allows you to perform OAuth authentication with Google from the CLI.
7
7
 
8
8
  ## Features
9
9
 
10
- - Authenticates with Google using OAuth from CLI.
11
- - Spins up a simple web server to receive the authorization code.
12
- - Supports passing a file path as an optional argument to persist the refresh token, making it easier to handle token refreshing in subsequent requests.
10
+ - Authenticate with Google using OAuth from the CLI.
11
+ - Start a simple web server to receive authentication codes.
12
+ - You can persist a refresh token by passing a file path as an optional argument. If a refresh token is present, the authentication flow is skipped and the access token refresh process is performed.
13
13
 
14
14
  ## Motivation
15
15
 
16
- Google deprecates to the OOB flow by Google in February 2022.
16
+ [Google deprecates to the OOB flow by Google in February 2022](https://developers.google.com/identity/protocols/oauth2/resources/oob-migration).
17
17
 
18
18
  ## Usage
19
19
 
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.require_paths = ["lib"]
35
35
 
36
36
  # Uncomment to register a new dependency of your gem
37
- spec.add_dependency "googleauth", "~> 1.5"
37
+ spec.add_dependency "googleauth", [">= 0.5.0", "< 2.0.0"]
38
38
  spec.add_dependency "launchy", "~> 2.5"
39
39
 
40
40
  # For more information and examples about making a new gem, check out our
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GoogleOAuthCli
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-oauth-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke Fujiki
@@ -14,16 +14,22 @@ dependencies:
14
14
  name: googleauth
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.5.0
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '1.5'
22
+ version: 2.0.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.5.0
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '1.5'
32
+ version: 2.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: launchy
29
35
  requirement: !ruby/object:Gem::Requirement