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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d43bc8a6f4a00ef618c88d62c157415007be21d2c46ce56ab4e07db10df6306a
4
- data.tar.gz: 6d7ab1099b288920b5406250d98da96b2c55ef696c4d788cda516bed9de9d1ef
3
+ metadata.gz: 654da62000d95813eddba5c6b707c998bf0f09e8b2e20b4afdff85317b5d445e
4
+ data.tar.gz: 6c318b417c6e53530ac2405046c140635bea920fb54d2c087589fd10043bec7c
5
5
  SHA512:
6
- metadata.gz: 95836da0ac0c2b2403df9e66ffa7754d5e4a4557e774f9bf56ed0885ef32af06bb164a8a303e5242443f55cea998dadc81de18283002306e7179bfee483d03fd
7
- data.tar.gz: 6d19b2b4619e7dfb8cacfbf9617157678c411d87aee3892620f07450b901daf68bafd1defccf5ffd22c3184146f3195b83d96fb9e358b23f9805e363d1562204
6
+ metadata.gz: 7d133966ccabdde81ba39ae0f35d1864672cc4d9a323f31d950f2c7790ffbd432774876b9a263f47457dfa3f980c4b1409496a8ebf9841763b1ade9398ee80b3
7
+ data.tar.gz: 8f733f2fadcba4bf559c73e36cfb6df025458068d8d3d8e1b7acaad3688b6c84bd76353fa5118e9d265c242b6d13c104193adf075e81a4b2b37a559860ffa229
@@ -1,14 +1,24 @@
1
- ClassLength:
1
+ Gemspec/RequiredRubyVersion:
2
+ Enabled: false
3
+ Layout/EmptyLinesAroundAttributeAccessor:
4
+ Enabled: true
5
+ Layout/HeredocIndentation:
2
6
  Enabled: false
3
- Layout/IndentHeredoc:
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/CyclomaticComplexity:
19
+ Metrics/ClassLength:
10
20
  Enabled: false
11
- Metrics/LineLength:
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
- Gemspec/RequiredRubyVersion:
22
- Enabled: false
39
+ Style/SlicingWithRange:
40
+ Enabled: true
23
41
 
@@ -5,7 +5,7 @@ before_install:
5
5
  - gem update --system
6
6
  - gem --version
7
7
  rvm:
8
+ - 2.7
9
+ - 2.6
8
10
  - 2.5
9
11
  - 2.4
10
- - 2.3
11
- - 2.2
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Pandadoc
5
- VERSION = '1.0.0rc4'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
@@ -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'.freeze
10
+ DEFAULT_SCOPE = 'read+write'
9
11
 
10
12
  option :client_options,
11
13
  site: 'https://api.pandadoc.com/public/v1',
@@ -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', '~> 1.5'
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.7'
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.0rc4
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: 2019-03-07 00:00:00.000000000 Z
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: '1.5'
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: '1.5'
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.7'
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.7'
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: 1.3.1
139
+ version: '0'
140
140
  requirements: []
141
- rubygems_version: 3.0.1
141
+ rubygems_version: 3.1.3
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Pandadoc Strategy for OmniAuth