persona-ruby 0.2.1 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c83a620ffb1e7bfed6edac0affc847168f0f52a832cf72522609eeb291c137d4
4
- data.tar.gz: f4cfcd4fbddad7e13e8aaa7cc23a3e064a10cf5e0f793d9a379483fd47419aba
3
+ metadata.gz: 6ff537d349201af4f1fded04859b1c459bc018ef9dfca323b621034578881eab
4
+ data.tar.gz: 1df3b034139a395591710c13211ec56e6622b3ae259fd29ee677debe72882e3a
5
5
  SHA512:
6
- metadata.gz: 8136939954c6d44eb84f879e3e14865cfd0e7186dbe85145d2a05825453e26e4511d0bfef4fb0d0fa3949ddcbf18b132c2382670615fe356d7494769ccdcb1b8
7
- data.tar.gz: cb43b946fdb09fc6c11d2fed17d65684660e79b0ba35380fc169013cd89a3e4d50cef75458e0eaed2bbe360add27572028f1e2c79380cd43f0fa16277ffa9763
6
+ metadata.gz: c50737bd088f497959e4a8dff031ed4c75b0676b4cf1f5582d72efd2489835914093fc3a2887f9996c24797f5ae75a9d3229e59ddcdc23a7309d88a643a7a1a6
7
+ data.tar.gz: efe617004f340dacddc4282c30a7d2754acb0b5995296a6085b720ddcca730cea5931433e92133023a8dfd7595fcd61e5457e7f61b0168562a1be7b2422e279a
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 4.0.9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.2.3] - 2026-11-03
2
+ - Upgraded json gem to 2.19.9
3
+
4
+ ## [0.2.2] - 2026-05-19
5
+ - Upgraded all gems to their latest versions
6
+
1
7
  ## [0.2.1] - 2025-05-14
2
8
 
3
9
  - Upgraded `rexml` gem
data/Gemfile CHANGED
@@ -5,10 +5,10 @@ source "https://rubygems.org"
5
5
  gem "faraday", ">= 2.0.1"
6
6
 
7
7
  group :development, :test do
8
- gem "rake", "~> 13.0.6"
9
- gem "rspec", "~> 3.12.0"
8
+ gem "rake", "~> 13.4.2"
9
+ gem "rspec", "~> 3.13.2"
10
10
  gem "rspec_junit_formatter", "~> 0.6.0"
11
- gem "rubocop", "~> 1.69.2"
12
- gem "rubocop-rspec", "~> 3.0.4"
13
- gem "webmock", "~> 3.18.1"
11
+ gem "rubocop", "~> 1.86.2"
12
+ gem "rubocop-rspec", "~> 3.9.0"
13
+ gem "webmock", "~> 3.26.2"
14
14
  end
data/Gemfile.lock CHANGED
@@ -1,68 +1,76 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- addressable (2.8.6)
5
- public_suffix (>= 2.0.2, < 6.0)
6
- ast (2.4.2)
7
- bigdecimal (3.1.7)
8
- crack (1.0.0)
4
+ addressable (2.9.0)
5
+ public_suffix (>= 2.0.2, < 8.0)
6
+ ast (2.4.3)
7
+ bigdecimal (4.1.2)
8
+ crack (1.0.1)
9
9
  bigdecimal
10
10
  rexml
11
- diff-lcs (1.5.1)
12
- faraday (2.9.0)
13
- faraday-net_http (>= 2.0, < 3.2)
14
- faraday-net_http (3.1.0)
15
- net-http
16
- hashdiff (1.1.0)
17
- json (2.9.1)
18
- language_server-protocol (3.17.0.3)
19
- net-http (0.4.1)
20
- uri
21
- parallel (1.26.3)
22
- parser (3.3.6.0)
11
+ diff-lcs (1.6.2)
12
+ faraday (2.14.2)
13
+ faraday-net_http (>= 2.0, < 3.5)
14
+ json
15
+ logger
16
+ faraday-net_http (3.4.2)
17
+ net-http (~> 0.5)
18
+ hashdiff (1.2.1)
19
+ json (2.19.9)
20
+ language_server-protocol (3.17.0.5)
21
+ lint_roller (1.1.0)
22
+ logger (1.7.0)
23
+ net-http (0.9.1)
24
+ uri (>= 0.11.1)
25
+ parallel (2.1.0)
26
+ parser (3.3.11.1)
23
27
  ast (~> 2.4.1)
24
28
  racc
25
- public_suffix (5.0.5)
29
+ prism (1.9.0)
30
+ public_suffix (7.0.5)
26
31
  racc (1.8.1)
27
32
  rainbow (3.1.1)
28
- rake (13.0.6)
29
- regexp_parser (2.10.0)
30
- rexml (3.4.1)
31
- rspec (3.12.0)
32
- rspec-core (~> 3.12.0)
33
- rspec-expectations (~> 3.12.0)
34
- rspec-mocks (~> 3.12.0)
35
- rspec-core (3.12.3)
36
- rspec-support (~> 3.12.0)
37
- rspec-expectations (3.12.4)
33
+ rake (13.4.2)
34
+ regexp_parser (2.12.0)
35
+ rexml (3.4.4)
36
+ rspec (3.13.2)
37
+ rspec-core (~> 3.13.0)
38
+ rspec-expectations (~> 3.13.0)
39
+ rspec-mocks (~> 3.13.0)
40
+ rspec-core (3.13.6)
41
+ rspec-support (~> 3.13.0)
42
+ rspec-expectations (3.13.5)
38
43
  diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.12.0)
40
- rspec-mocks (3.12.7)
44
+ rspec-support (~> 3.13.0)
45
+ rspec-mocks (3.13.8)
41
46
  diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.12.0)
43
- rspec-support (3.12.2)
47
+ rspec-support (~> 3.13.0)
48
+ rspec-support (3.13.7)
44
49
  rspec_junit_formatter (0.6.0)
45
50
  rspec-core (>= 2, < 4, != 2.12.0)
46
- rubocop (1.69.2)
51
+ rubocop (1.86.2)
47
52
  json (~> 2.3)
48
- language_server-protocol (>= 3.17.0)
49
- parallel (~> 1.10)
53
+ language_server-protocol (~> 3.17.0.2)
54
+ lint_roller (~> 1.1.0)
55
+ parallel (>= 1.10)
50
56
  parser (>= 3.3.0.2)
51
57
  rainbow (>= 2.2.2, < 4.0)
52
58
  regexp_parser (>= 2.9.3, < 3.0)
53
- rubocop-ast (>= 1.36.2, < 2.0)
59
+ rubocop-ast (>= 1.49.0, < 2.0)
54
60
  ruby-progressbar (~> 1.7)
55
61
  unicode-display_width (>= 2.4.0, < 4.0)
56
- rubocop-ast (1.37.0)
57
- parser (>= 3.3.1.0)
58
- rubocop-rspec (3.0.4)
59
- rubocop (~> 1.61)
62
+ rubocop-ast (1.49.1)
63
+ parser (>= 3.3.7.2)
64
+ prism (~> 1.7)
65
+ rubocop-rspec (3.9.0)
66
+ lint_roller (~> 1.1)
67
+ rubocop (~> 1.81)
60
68
  ruby-progressbar (1.13.0)
61
- unicode-display_width (3.1.3)
62
- unicode-emoji (~> 4.0, >= 4.0.4)
63
- unicode-emoji (4.0.4)
64
- uri (1.0.3)
65
- webmock (3.18.1)
69
+ unicode-display_width (3.2.0)
70
+ unicode-emoji (~> 4.1)
71
+ unicode-emoji (4.2.0)
72
+ uri (1.1.1)
73
+ webmock (3.26.2)
66
74
  addressable (>= 2.8.0)
67
75
  crack (>= 0.3.2)
68
76
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -73,12 +81,12 @@ PLATFORMS
73
81
 
74
82
  DEPENDENCIES
75
83
  faraday (>= 2.0.1)
76
- rake (~> 13.0.6)
77
- rspec (~> 3.12.0)
84
+ rake (~> 13.4.2)
85
+ rspec (~> 3.13.2)
78
86
  rspec_junit_formatter (~> 0.6.0)
79
- rubocop (~> 1.69.2)
80
- rubocop-rspec (~> 3.0.4)
81
- webmock (~> 3.18.1)
87
+ rubocop (~> 1.86.2)
88
+ rubocop-rspec (~> 3.9.0)
89
+ webmock (~> 3.26.2)
82
90
 
83
91
  BUNDLED WITH
84
92
  2.5.3
@@ -3,6 +3,7 @@
3
3
  module Persona
4
4
  class Client
5
5
  include Persona::Actions::Inquiries
6
+
6
7
  attr_reader :url
7
8
 
8
9
  BASE_URL = "https://withpersona.com/api/v1"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Persona
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.3"
5
5
  end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/persona-ruby/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "persona-ruby"
7
+ spec.version = Persona::VERSION
8
+ spec.authors = ["Ravi Trivedi", "Stephen Tredger"]
9
+ spec.email = ["stephen.tredger@riipen.com"]
10
+
11
+ spec.summary = "An API client for Persona in ruby."
12
+ spec.description = "Access the Persona REST API."
13
+ spec.homepage = "https://github.com/riipen/persona-ruby"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 3.3.0"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["changelog_uri"] = "https://github.com/riipen/persona-ruby/blob/master/CHANGELOG.md"
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0").reject do |f|
24
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25
+ end
26
+ end
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ spec.add_dependency "faraday", "~> 2.0", ">= 2.0.1"
32
+
33
+ spec.metadata["rubygems_mfa_required"] = "true"
34
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: persona-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Trivedi
@@ -39,6 +39,7 @@ extra_rdoc_files: []
39
39
  files:
40
40
  - ".rspec"
41
41
  - ".rubocop.yml"
42
+ - ".tool-versions"
42
43
  - CHANGELOG.md
43
44
  - CODE_OF_CONDUCT.md
44
45
  - Gemfile
@@ -52,6 +53,7 @@ files:
52
53
  - lib/persona-ruby/connection.rb
53
54
  - lib/persona-ruby/error.rb
54
55
  - lib/persona-ruby/version.rb
56
+ - persona-ruby.gemspec
55
57
  homepage: https://github.com/riipen/persona-ruby
56
58
  licenses:
57
59
  - MIT
@@ -73,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
75
  - !ruby/object:Gem::Version
74
76
  version: '0'
75
77
  requirements: []
76
- rubygems_version: 3.6.8
78
+ rubygems_version: 4.0.23
77
79
  specification_version: 4
78
80
  summary: An API client for Persona in ruby.
79
81
  test_files: []