omniauth-cas 3.0.0 → 3.0.1

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: fd3e863e924ef181ec4a6bfdb1c64187258b78ffc8bd8857df7017607dc60a47
4
- data.tar.gz: 2dda8861195390b89ebaf60f74bd9e1985a44410abd91e7cc1a4608cd8cbaed9
3
+ metadata.gz: 2de73f37fbd84b39dfff1317a99f4d50a7dd756e09a2b2c6686f08f740055305
4
+ data.tar.gz: ac829cab419a5135fd8e57cc619e8290dac0002bdc55bcb1e1893e5ab8d2d115
5
5
  SHA512:
6
- metadata.gz: 181b83703819f127f099eb14455a4160f71810f04fc1ce3886a87968efe801cb951c49613726b50f0408f7f4ce69a42d56f7d3be0a42f6b61cbdfaefcf76a015
7
- data.tar.gz: 45f2a3b3b3a3827c3fb57c2e537a3b21adf6c04f8e3d5b33cf981400602407c9d6b1c33f89145210c1b700f300d6cb0a0dc54fb8f06bcc3ac8fa614d8be3af1f
6
+ metadata.gz: a627507ea0c508e238fa4e347b704fb496fe69f6a38ba617799849cc9a1eb78a673577768b77db49b9745a0d78ab450171a8e924f505a1175cf19c3e562c87ca
7
+ data.tar.gz: a2354812aea469f35a89ad1fe0f4f9462aa789418f839a82fb1246bf1b3dd40f797b5811a318f74917b4d224d2427e2131ef98c89eeaa89b1918dee5501b7f5d
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/) and this
6
6
  project adheres to [Semantic Versioning](https://semver.org/)
7
7
 
8
+ ## 3.0.1 - 2025-02-28
9
+
10
+ * Prefer `require_relative` over `require`
11
+ * Remove redundant require of `net/https`
12
+
8
13
  ## 3.0.0 - 2024-02-24
9
14
 
10
15
  ### Changed
data/README.md CHANGED
@@ -98,7 +98,7 @@ provider :cas,
98
98
  service_validate_url: '/cas/serviceValidate'
99
99
  ```
100
100
 
101
- If you encounter problems wih SSL certificates you may want to set the `ca_path` parameter or activate `disable_ssl_verification` (not recommended).
101
+ If you encounter problems with SSL certificates you may want to set the `ca_path` parameter or activate `disable_ssl_verification` (not recommended).
102
102
 
103
103
  ## Contributing
104
104
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Cas
5
- VERSION = '3.0.0'
5
+ VERSION = '3.0.1'
6
6
  end
7
7
  end
data/lib/omniauth/cas.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'omniauth/cas/version'
4
- require 'omniauth/strategies/cas'
3
+ require_relative 'cas/version'
4
+ require_relative 'strategies/cas'
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'net/http'
4
- require 'net/https'
5
4
  require 'nokogiri'
6
5
 
7
6
  module OmniAuth
@@ -152,7 +152,7 @@ module OmniAuth
152
152
  # +service+ and add it and the +ticket+ as paraemters to the
153
153
  # CAS serviceValidate URL.
154
154
  #
155
- # @param [String] service the service (a.k.a. return-to) URL
155
+ # @param [String] service_url the service (a.k.a. return-to) URL
156
156
  # @param [String] ticket the ticket to validate
157
157
  #
158
158
  # @return [String] a URL like `http://cas.mycompany.com/serviceValidate?service=...&ticket=...`
data/lib/omniauth-cas.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'omniauth/cas'
3
+ require_relative 'omniauth/cas'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-cas
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Lindahl
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-02-24 00:00:00.000000000 Z
10
+ date: 2025-02-28 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: addressable
@@ -78,7 +77,6 @@ metadata:
78
77
  rubygems_mfa_required: 'true'
79
78
  source_code_uri: https://github.com/dlindahl/omniauth-cas
80
79
  wiki_uri: https://github.com/dlindahl/omniauth-cas/wiki
81
- post_install_message:
82
80
  rdoc_options: []
83
81
  require_paths:
84
82
  - lib
@@ -93,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.5.5
97
- signing_key:
94
+ rubygems_version: 3.6.2
98
95
  specification_version: 4
99
96
  summary: CAS Strategy for OmniAuth
100
97
  test_files: []