omniauth-pandadoc 1.0.0rc4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +24 -6
- data/.travis.yml +2 -2
- data/lib/omniauth/pandadoc/version.rb +1 -1
- data/lib/omniauth/strategies/pandadoc.rb +3 -1
- data/omniauth-pandadoc.gemspec +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 654da62000d95813eddba5c6b707c998bf0f09e8b2e20b4afdff85317b5d445e
|
4
|
+
data.tar.gz: 6c318b417c6e53530ac2405046c140635bea920fb54d2c087589fd10043bec7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d133966ccabdde81ba39ae0f35d1864672cc4d9a323f31d950f2c7790ffbd432774876b9a263f47457dfa3f980c4b1409496a8ebf9841763b1ade9398ee80b3
|
7
|
+
data.tar.gz: 8f733f2fadcba4bf559c73e36cfb6df025458068d8d3d8e1b7acaad3688b6c84bd76353fa5118e9d265c242b6d13c104193adf075e81a4b2b37a559860ffa229
|
data/.rubocop.yml
CHANGED
@@ -1,14 +1,24 @@
|
|
1
|
-
|
1
|
+
Gemspec/RequiredRubyVersion:
|
2
|
+
Enabled: false
|
3
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
4
|
+
Enabled: true
|
5
|
+
Layout/HeredocIndentation:
|
2
6
|
Enabled: false
|
3
|
-
Layout/
|
7
|
+
Layout/LineLength:
|
4
8
|
Enabled: false
|
9
|
+
Lint/RaiseException:
|
10
|
+
Enabled: true
|
11
|
+
Layout/SpaceAroundMethodCallOperator:
|
12
|
+
Enabled: true
|
13
|
+
Lint/StructNewOverride:
|
14
|
+
Enabled: true
|
5
15
|
Metrics/AbcSize:
|
6
16
|
Enabled: false
|
7
17
|
Metrics/BlockLength:
|
8
18
|
ExcludedMethods: ['describe', 'context']
|
9
|
-
Metrics/
|
19
|
+
Metrics/ClassLength:
|
10
20
|
Enabled: false
|
11
|
-
Metrics/
|
21
|
+
Metrics/CyclomaticComplexity:
|
12
22
|
Enabled: false
|
13
23
|
Metrics/MethodLength:
|
14
24
|
Enabled: false
|
@@ -16,8 +26,16 @@ Metrics/PerceivedComplexity:
|
|
16
26
|
Enabled: false
|
17
27
|
Naming:
|
18
28
|
Enabled: false
|
29
|
+
Style/ExponentialNotation:
|
30
|
+
Enabled: true
|
31
|
+
Style/HashEachMethods:
|
32
|
+
Enabled: true
|
33
|
+
Style/HashTransformKeys:
|
34
|
+
Enabled: true
|
35
|
+
Style/HashTransformValues:
|
36
|
+
Enabled: true
|
19
37
|
Style/MutableConstant:
|
20
38
|
Enabled: false
|
21
|
-
|
22
|
-
Enabled:
|
39
|
+
Style/SlicingWithRange:
|
40
|
+
Enabled: true
|
23
41
|
|
data/.travis.yml
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'omniauth'
|
2
4
|
require 'omniauth-oauth2'
|
3
5
|
|
@@ -5,7 +7,7 @@ module OmniAuth
|
|
5
7
|
module Strategies
|
6
8
|
# Main class for Pandadoc OAuth2 strategy.
|
7
9
|
class Pandadoc < OmniAuth::Strategies::OAuth2
|
8
|
-
DEFAULT_SCOPE = 'read+write'
|
10
|
+
DEFAULT_SCOPE = 'read+write'
|
9
11
|
|
10
12
|
option :client_options,
|
11
13
|
site: 'https://api.pandadoc.com/public/v1',
|
data/omniauth-pandadoc.gemspec
CHANGED
@@ -19,11 +19,11 @@ Gem::Specification.new do |gem|
|
|
19
19
|
|
20
20
|
gem.required_ruby_version = '>= 2.2'
|
21
21
|
|
22
|
-
gem.add_runtime_dependency 'jwt', '~>
|
22
|
+
gem.add_runtime_dependency 'jwt', '~> 2'
|
23
23
|
gem.add_runtime_dependency 'omniauth', '~> 1.2'
|
24
24
|
gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.3'
|
25
25
|
|
26
26
|
gem.add_development_dependency 'rake', '~> 12.0'
|
27
|
-
gem.add_development_dependency 'rspec', '~> 3
|
27
|
+
gem.add_development_dependency 'rspec', '~> 3'
|
28
28
|
gem.add_development_dependency 'rubocop', '~> 0.58'
|
29
29
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-pandadoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Carey
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-05-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jwt
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '
|
28
|
+
version: '2'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: omniauth
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,14 +74,14 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: '3
|
77
|
+
version: '3'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '3
|
84
|
+
version: '3'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: rubocop
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,11 +134,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '2.2'
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
141
|
+
rubygems_version: 3.1.3
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Pandadoc Strategy for OmniAuth
|