omniauth-savvycal 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 945356c5202471eecef5412d1cfabcaf22a2028fb3304ed814feb44f25b28155
4
- data.tar.gz: aae7a807e55bb267d78f0f039e3b5037526adf67b5216abcf023edb0f55e3513
3
+ metadata.gz: 26e762dab663f7379affb753704e5643401cd7cb10e5ed43421b8edd7b03a428
4
+ data.tar.gz: dc85a507f77205fa75e95ed41cc72b6338111dc965ae9004e91ccca0f1adaf7d
5
5
  SHA512:
6
- metadata.gz: 397d8f5a5d18c5f167d8126a62a1150c53da7e9d12379f4672863a9ef0657e679bb75716cd1eec118276ae5730d59c04fb4e0a331139d00b5c9c010d9f6c849f
7
- data.tar.gz: 9ec37b463c26efab7a47017b20a8a72981321d0d42eb624e4bfdddb4cf8c49965429a09621916eae65773a2c988814d0bb607141589f45a88e7b9bbddc6fb95f
6
+ metadata.gz: 2e4da5f21e8872dbe5b365a044ce239ee664e3d0e987045e87d8e60dbee845ddfc7be21d70d6ce7d0b5f69489f73746ea8c08dd016d628128ba73655f6576f96
7
+ data.tar.gz: b4cfbcc5af16aa3be41b7148a9f93c6dc408359c2697363947854e9426c7e40e2a034d53f9e222f53493df75e31edd3483af935ec1493f59da793978187cbb3a
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Savvycal
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
@@ -3,7 +3,7 @@ require "omniauth-oauth2"
3
3
  module OmniAuth
4
4
  module Strategies
5
5
  class SavvyCal < OmniAuth::Strategies::OAuth2
6
- option :name, "savvycal"
6
+ option :name, "savvy_cal"
7
7
  option :client_options, {
8
8
  site: "https://api.savvycal.com/v1",
9
9
  authorize_url: "https://savvycal.com/oauth/authorize",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-savvycal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Rubisch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-12 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -66,7 +66,6 @@ files:
66
66
  - README.md
67
67
  - Rakefile
68
68
  - lib/omniauth/savvycal.rb
69
- - lib/omniauth/savvycal/strategy.rb
70
69
  - lib/omniauth/savvycal/version.rb
71
70
  - lib/omniauth/strategies/savvycal.rb
72
71
  - omniauth-savvycal.gemspec
@@ -92,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
91
  - !ruby/object:Gem::Version
93
92
  version: '0'
94
93
  requirements: []
95
- rubygems_version: 3.3.7
94
+ rubygems_version: 3.3.22
96
95
  signing_key:
97
96
  specification_version: 4
98
97
  summary: OmniAuth Strategy for SavvyCal
@@ -1,25 +0,0 @@
1
- require "omniauth-oauth2"
2
-
3
- module OmniAuth
4
- module Strategies
5
- class SavvyCal < OmniAuth::Strategies::OAuth2
6
- option :client_options, {
7
- site: "https://api.savvycal.com",
8
- authorize_url: "https://savvycal.com/oauth/authorize",
9
- token_url: "https://savvycal.com/oauth/token"
10
- }
11
-
12
- uid { raw_info["id"].to_s }
13
-
14
- extra do
15
- {raw_info: raw_info}
16
- end
17
-
18
- def raw_info
19
- @raw_info ||= access_token.get("user").parsed
20
- end
21
- end
22
- end
23
- end
24
-
25
- OmniAuth.config.add_camelization "savvycal", "SavvyCal"