oktakit 0.3.3 → 1.1.0
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 +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/ci.yml +5 -5
- data/.github/workflows/cla.yml +22 -0
- data/.github/workflows/release.yml +70 -0
- data/.rubocop.yml +0 -1
- data/.ruby-version +1 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +75 -69
- data/README.md +5 -1
- data/dev.yml +1 -1
- data/lib/oktakit/client/admin_roles.rb +13 -9
- data/lib/oktakit/client/apps.rb +28 -21
- data/lib/oktakit/client/factors.rb +14 -13
- data/lib/oktakit/client/group_rules.rb +5 -5
- data/lib/oktakit/client/groups.rb +7 -7
- data/lib/oktakit/client/identity_providers.rb +13 -13
- data/lib/oktakit/client/schemas.rb +4 -4
- data/lib/oktakit/client/templates.rb +4 -4
- data/lib/oktakit/client/users.rb +20 -20
- data/lib/oktakit/client.rb +52 -5
- data/lib/oktakit/response/raise_error.rb +1 -1
- data/lib/oktakit/version.rb +1 -1
- data/oktakit.gemspec +6 -4
- metadata +15 -19
- data/.github/probots.yml +0 -2
- data/CHANGELOG.md +0 -19
data/lib/oktakit/version.rb
CHANGED
data/oktakit.gemspec
CHANGED
|
@@ -5,21 +5,23 @@ require 'oktakit/version'
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'oktakit'
|
|
7
7
|
spec.version = Oktakit::VERSION
|
|
8
|
-
spec.authors = ['
|
|
9
|
-
spec.email = ['
|
|
8
|
+
spec.authors = ['Shopify']
|
|
9
|
+
spec.email = ['ruby@shopify.com']
|
|
10
10
|
|
|
11
11
|
spec.summary = 'Ruby toolkit for working with the Okta API'
|
|
12
12
|
spec.homepage = 'https://github.com/Shopify/oktakit'
|
|
13
13
|
spec.license = 'MIT'
|
|
14
14
|
|
|
15
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
16
|
+
|
|
15
17
|
spec.files = %x(git ls-files -z).split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
16
18
|
spec.bindir = 'exe'
|
|
17
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
18
20
|
spec.require_paths = ['lib']
|
|
19
21
|
|
|
20
|
-
spec.required_ruby_version = '>=
|
|
22
|
+
spec.required_ruby_version = '>= 3.3'
|
|
21
23
|
|
|
22
24
|
spec.add_dependency('sawyer', '>= 0.8.1', '< 0.10')
|
|
23
|
-
spec.add_dependency('faraday', '>= 0.
|
|
25
|
+
spec.add_dependency('faraday', '>= 2.0.1', '< 3')
|
|
24
26
|
spec.add_development_dependency('bundler')
|
|
25
27
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oktakit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
- Julian Nadeau
|
|
9
|
-
autorequire:
|
|
7
|
+
- Shopify
|
|
10
8
|
bindir: exe
|
|
11
9
|
cert_chain: []
|
|
12
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
11
|
dependencies:
|
|
14
12
|
- !ruby/object:Gem::Dependency
|
|
15
13
|
name: sawyer
|
|
@@ -37,20 +35,20 @@ dependencies:
|
|
|
37
35
|
requirements:
|
|
38
36
|
- - ">="
|
|
39
37
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.
|
|
38
|
+
version: 2.0.1
|
|
41
39
|
- - "<"
|
|
42
40
|
- !ruby/object:Gem::Version
|
|
43
|
-
version: '
|
|
41
|
+
version: '3'
|
|
44
42
|
type: :runtime
|
|
45
43
|
prerelease: false
|
|
46
44
|
version_requirements: !ruby/object:Gem::Requirement
|
|
47
45
|
requirements:
|
|
48
46
|
- - ">="
|
|
49
47
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: 0.
|
|
48
|
+
version: 2.0.1
|
|
51
49
|
- - "<"
|
|
52
50
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
51
|
+
version: '3'
|
|
54
52
|
- !ruby/object:Gem::Dependency
|
|
55
53
|
name: bundler
|
|
56
54
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -65,22 +63,21 @@ dependencies:
|
|
|
65
63
|
- - ">="
|
|
66
64
|
- !ruby/object:Gem::Version
|
|
67
65
|
version: '0'
|
|
68
|
-
description:
|
|
69
66
|
email:
|
|
70
|
-
-
|
|
71
|
-
- julian@shopify.com
|
|
67
|
+
- ruby@shopify.com
|
|
72
68
|
executables: []
|
|
73
69
|
extensions: []
|
|
74
70
|
extra_rdoc_files: []
|
|
75
71
|
files:
|
|
76
|
-
- ".github/
|
|
72
|
+
- ".github/dependabot.yml"
|
|
77
73
|
- ".github/workflows/ci.yml"
|
|
74
|
+
- ".github/workflows/cla.yml"
|
|
75
|
+
- ".github/workflows/release.yml"
|
|
78
76
|
- ".gitignore"
|
|
79
77
|
- ".rspec"
|
|
80
78
|
- ".rubocop.yml"
|
|
81
79
|
- ".ruby-version"
|
|
82
80
|
- ".travis.yml"
|
|
83
|
-
- CHANGELOG.md
|
|
84
81
|
- CODE_OF_CONDUCT.md
|
|
85
82
|
- Gemfile
|
|
86
83
|
- Gemfile.lock
|
|
@@ -109,8 +106,8 @@ files:
|
|
|
109
106
|
homepage: https://github.com/Shopify/oktakit
|
|
110
107
|
licenses:
|
|
111
108
|
- MIT
|
|
112
|
-
metadata:
|
|
113
|
-
|
|
109
|
+
metadata:
|
|
110
|
+
allowed_push_host: https://rubygems.org
|
|
114
111
|
rdoc_options: []
|
|
115
112
|
require_paths:
|
|
116
113
|
- lib
|
|
@@ -118,15 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
118
115
|
requirements:
|
|
119
116
|
- - ">="
|
|
120
117
|
- !ruby/object:Gem::Version
|
|
121
|
-
version: '
|
|
118
|
+
version: '3.3'
|
|
122
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
120
|
requirements:
|
|
124
121
|
- - ">="
|
|
125
122
|
- !ruby/object:Gem::Version
|
|
126
123
|
version: '0'
|
|
127
124
|
requirements: []
|
|
128
|
-
rubygems_version:
|
|
129
|
-
signing_key:
|
|
125
|
+
rubygems_version: 4.0.20
|
|
130
126
|
specification_version: 4
|
|
131
127
|
summary: Ruby toolkit for working with the Okta API
|
|
132
128
|
test_files: []
|
data/.github/probots.yml
DELETED
data/CHANGELOG.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [v0.3.3] - 2022-07-20
|
|
4
|
-
- [Loosen sawyer dependency to allow 0.9.1](https://github.com/Shopify/oktakit/pull/61)
|
|
5
|
-
|
|
6
|
-
## [v0.3.2] - 2022-06-30
|
|
7
|
-
- [Fix 'Faraday::Connection#authorization' deprecation warning](https://github.com/Shopify/oktakit/pull/56)
|
|
8
|
-
|
|
9
|
-
## [v0.3.1] - 2022-01-20
|
|
10
|
-
- [Reverts a breaking change that caused errors to be raised for non-2xx responses](https://github.com/Shopify/oktakit/pull/54)
|
|
11
|
-
|
|
12
|
-
## [v0.3.0] - 2022-01-20
|
|
13
|
-
- [Adds support for Ruby 3](https://github.com/Shopify/oktakit/pull/42)
|
|
14
|
-
- [Adds support for user reactivation endpoint](https://github.com/Shopify/oktakit/pull/47)
|
|
15
|
-
- [Adds support for app user schema operations endpoint](https://github.com/Shopify/oktakit/pull/32)
|
|
16
|
-
- [Makes custom error details available](https://github.com/Shopify/oktakit/pull/48)
|
|
17
|
-
|
|
18
|
-
## [v0.2.1] - 2021-10-14
|
|
19
|
-
- Adds support for [Group Rule operations](https://developer.okta.com/docs/reference/api/groups/#group-rule-operations)
|