omniauth-sageone 0.4.0 → 0.5.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: 196b0252cc0f01190baa64c0c6da2e309a098ff4c3efe55580f2a1c2c474e5db
4
- data.tar.gz: d207a0bb4dd3f2c704aee331b3ac0ed5c153d91b922d27be33e1731da68ce698
3
+ metadata.gz: '0912ca0f1705240f0e8469e3f428fb26a5448bffdc1eba75ea95aa30ef770367'
4
+ data.tar.gz: 03051eacff1a4a93c9dcb592461b4b9de2d99174c314ad2c0b915bf023ba7122
5
5
  SHA512:
6
- metadata.gz: a4d4d150040f642fa60534918e67d161d66325d223964984527751f5803cdfffc365cf5ed1db1cb7c1af0194d3d3112a5913e7e5f0e915184109ee7823677f2a
7
- data.tar.gz: f17b7493cc18a5c8403289ce9be4784ccdf6de55152b0dad737847da84080bb79e48167bf44285f70a97950c1a8a156deec5cd7bbef654ab73a806922bd44c0d
6
+ metadata.gz: fcb3bf76e057bbdde96a4b9ce5cfa5bdb9f074c37040cee31f54b191f8c6915f17a6a85d899b42beedef92e74833f71704c0a044439907b1d9158d3fecfb6aa8
7
+ data.tar.gz: aee4ea3b26ab27bb3840ef2f4d9e1cdc34ba1619347699726e1ce7987bb38e12280cadfdc6a1cfa0127f37680d0903d5c6e2653f1156d12eacdb02f200d95ab5
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: weekly
7
+ timezone: America/Los_Angeles
8
+ open-pull-requests-limit: 99
9
+ versioning-strategy: lockfile-only
10
+ rebase-strategy: disabled
@@ -0,0 +1,23 @@
1
+ name: CI
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ ruby-version: ['3.0', '3.1', '3.2', '3.3']
11
+
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Set up Ruby ${{ matrix.ruby-version }}
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: ${{ matrix.ruby-version }}
18
+ bundler-cache: true # 'bundle install' and cache
19
+ - name: Rubocop
20
+ run: bundle exec rubocop
21
+
22
+ - name: RSpec
23
+ run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -1,13 +1,12 @@
1
- require: rubocop-rspec
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
2
4
 
3
5
  AllCops:
4
- TargetRubyVersion: 2.3
6
+ NewCops: enable
7
+ TargetRubyVersion: 3.0
5
8
 
6
- Metrics/BlockLength:
7
- ExcludedMethods:
8
- - 'describe'
9
-
10
- Metrics/LineLength:
9
+ Layout/LineLength:
11
10
  Max: 100
12
11
 
13
12
  Style/Documentation:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6
1
+ 3.0.6
data/.travis.yml CHANGED
@@ -1,9 +1,6 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.3
5
- - 2.4
6
- - 2.5
7
4
  - 2.6
8
5
  - 2.7
9
6
 
data/Gemfile CHANGED
@@ -10,7 +10,13 @@ group :development, :test do
10
10
  gem 'guard-bundler'
11
11
  gem 'guard-rspec'
12
12
  gem 'guard-rubocop'
13
+ gem 'rack-test'
14
+ gem 'rake', '~> 13.0'
13
15
  gem 'rb-fsevent'
14
- gem 'rubocop', '~> 0.73'
15
- gem 'rubocop-rspec', '~> 1.34'
16
+ gem 'rspec', '~> 3.8'
17
+ gem 'rubocop', '~> 1.54.0'
18
+ gem 'rubocop-rake', '~> 0.6.0'
19
+ gem 'rubocop-rspec', '~> 2.22.0'
20
+ gem 'simplecov'
21
+ gem 'webmock'
16
22
  end
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # OmniAuth SageOne
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/omniauth-sageone.svg)](https://badge.fury.io/rb/omniauth-sageone)
4
+ ![CI](https://img.shields.io/github/actions/workflow/status/Jetbuilt/omniauth-sageone/ci.yml?branch=main)
4
5
 
5
6
  This is an unofficial OmniAuth strategy for authenticating to SageOne. To use it, you'll need to sign up for a Sage One OAuth2 Application ID and Secret.
6
7
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module SageOne
5
- VERSION = '0.4.0'
5
+ VERSION = '0.5.0'
6
6
  end
7
7
  end
@@ -10,19 +10,15 @@ Gem::Specification.new do |gem|
10
10
  gem.homepage = 'https://github.com/jetbuilt/omniauth-sageone'
11
11
  gem.licenses = 'MIT'
12
12
 
13
- gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
14
13
  gem.files = `git ls-files`.split("\n")
15
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
14
  gem.name = 'omniauth-sageone'
17
15
  gem.require_paths = ['lib']
18
16
  gem.version = OmniAuth::SageOne::VERSION
19
17
 
18
+ gem.metadata['rubygems_mfa_required'] = 'true'
19
+
20
+ gem.required_ruby_version = '>= 3.0'
21
+
20
22
  gem.add_dependency 'omniauth', '~> 1.0'
21
23
  gem.add_dependency 'omniauth-oauth2', '~> 1.0'
22
-
23
- gem.add_development_dependency 'rack-test'
24
- gem.add_development_dependency 'rake', '~> 10.0'
25
- gem.add_development_dependency 'rspec', '~> 3.8'
26
- gem.add_development_dependency 'simplecov'
27
- gem.add_development_dependency 'webmock'
28
24
  end
@@ -3,7 +3,7 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe OmniAuth::Strategies::SageOne do
6
- let(:access_token) { instance_double('AccessToken', options: {}) }
6
+ let(:access_token) { instance_double(OAuth2::AccessToken, options: {}) }
7
7
 
8
8
  let(:sageone) { OmniAuth::Strategies::SageOne.new({}) }
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-sageone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Moody
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-31 00:00:00.000000000 Z
11
+ date: 2023-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -38,88 +38,15 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rack-test
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '10.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '10.0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '3.8'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.8'
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: webmock
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
41
  description: OmniAuth strategy for SageOne.
112
42
  email:
113
43
  - jared@jetbuilt.com
114
- executables:
115
- - _guard-core
116
- - autospec
117
- - guard
118
- - rspec
119
- - rubocop
44
+ executables: []
120
45
  extensions: []
121
46
  extra_rdoc_files: []
122
47
  files:
48
+ - ".github/dependabot.yml"
49
+ - ".github/workflows/ci.yml"
123
50
  - ".gitignore"
124
51
  - ".rspec"
125
52
  - ".rubocop.yml"
@@ -144,8 +71,9 @@ files:
144
71
  homepage: https://github.com/jetbuilt/omniauth-sageone
145
72
  licenses:
146
73
  - MIT
147
- metadata: {}
148
- post_install_message:
74
+ metadata:
75
+ rubygems_mfa_required: 'true'
76
+ post_install_message:
149
77
  rdoc_options: []
150
78
  require_paths:
151
79
  - lib
@@ -153,17 +81,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
81
  requirements:
154
82
  - - ">="
155
83
  - !ruby/object:Gem::Version
156
- version: '0'
84
+ version: '3.0'
157
85
  required_rubygems_version: !ruby/object:Gem::Requirement
158
86
  requirements:
159
87
  - - ">="
160
88
  - !ruby/object:Gem::Version
161
89
  version: '0'
162
90
  requirements: []
163
- rubygems_version: 3.0.3
164
- signing_key:
91
+ rubygems_version: 3.2.33
92
+ signing_key:
165
93
  specification_version: 4
166
94
  summary: OmniAuth strategy for SageOne.
167
- test_files:
168
- - spec/omniauth/strategies/sage_one_spec.rb
169
- - spec/spec_helper.rb
95
+ test_files: []