omniauth-cas 3.0.0.beta.1 → 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: 2600fefe7682305731ccd7117312c394c148c9d3d2812da453ebbb3a3c0a294a
4
- data.tar.gz: 96b0f898f502ff223c5b3430ad308daec92914152a8ffead39e09d597f1cac02
3
+ metadata.gz: 2de73f37fbd84b39dfff1317a99f4d50a7dd756e09a2b2c6686f08f740055305
4
+ data.tar.gz: ac829cab419a5135fd8e57cc619e8290dac0002bdc55bcb1e1893e5ab8d2d115
5
5
  SHA512:
6
- metadata.gz: a35c9f0cbb2d2d061d9de0497156b8565eef5994cb59a4ef97e72ed3722558d205d2d329b7b1cb206ff16774ef0109488b5ac2e079b53f87f574fb2c5804a84a
7
- data.tar.gz: 7016220b6d2dabeb565a5a90d2b2a008bcbeb36c68c256cba6d2b549295477bf3aa42a442ff11d893c1f8eaa088e69965831122bd2ce2015acf67986c37027a7
6
+ metadata.gz: a627507ea0c508e238fa4e347b704fb496fe69f6a38ba617799849cc9a1eb78a673577768b77db49b9745a0d78ab450171a8e924f505a1175cf19c3e562c87ca
7
+ data.tar.gz: a2354812aea469f35a89ad1fe0f4f9462aa789418f839a82fb1246bf1b3dd40f797b5811a318f74917b4d224d2427e2131ef98c89eeaa89b1918dee5501b7f5d
data/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ 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
+
13
+ ## 3.0.0 - 2024-02-24
14
+
15
+ ### Changed
16
+
17
+ * There are no changes between 3.0.0 and 3.0.0.beta.1
18
+
8
19
  ## 3.0.0.beta.1 - 2024-01-12
9
20
 
10
21
  ### Changed
data/README.md CHANGED
@@ -1,10 +1,4 @@
1
- # OmniAuth CAS Strategy [![Gem Version][version_badge]][version] [![Build Status][github_actions_status]][github_actions]
2
-
3
- [version_badge]: https://badge.fury.io/rb/omniauth-cas.svg
4
- [version]: https://badge.fury.io/rb/omniauth-cas
5
- [github_actions]: https://github.com/dlindahl/omniauth-cas/actions
6
- [github_actions_status]: https://github.com/dlindahl/omniauth-cas/actions/workflows/ci.yml/badge.svg
7
- [releases]: https://github.com/dlindahl/omniauth-cas/releases
1
+ # OmniAuth CAS Strategy [![Gem Version][version_badge]][version] [![Build Status][github_actions_ci_status]][github_actions_ci] [![RuboCop][github_actions_rubocop_status]][github_actions_rubocop]
8
2
 
9
3
  This is a [OmniAuth][omniauth] 2.1+ compatible port of the previously available
10
4
  [OmniAuth CAS strategy][old_omniauth_cas] that was bundled with OmniAuth 0.3.
@@ -104,7 +98,7 @@ provider :cas,
104
98
  service_validate_url: '/cas/serviceValidate'
105
99
  ```
106
100
 
107
- 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).
108
102
 
109
103
  ## Contributing
110
104
 
@@ -122,8 +116,15 @@ Special thanks go out to the following people
122
116
  * Elber Ribeiro (@dynaum) for Ubuntu SSL configuration support
123
117
  * @rbq for README updates and OmniAuth 0.3 migration guide
124
118
 
125
- [omniauth]: https://github.com/omniauth/omniauth
126
- [old_omniauth_cas]: https://github.com/intridea/omniauth/blob/0-3-stable/oa-enterprise/lib/omniauth/strategies/cas.rb
127
119
  [document_up]: https://dlindahl.github.io/omniauth-cas/
120
+ [github_actions_ci]: https://github.com/dlindahl/omniauth-cas/actions/workflows/ci.yml
121
+ [github_actions_ci_status]: https://github.com/dlindahl/omniauth-cas/actions/workflows/ci.yml/badge.svg
122
+ [github_actions_rubocop]: https://github.com/dlindahl/omniauth-cas/actions/workflows/rubocop.yml
123
+ [github_actions_rubocop_status]: https://github.com/dlindahl/omniauth-cas/actions/workflows/rubocop.yml/badge.svg
128
124
  [net_http]: https://ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html
125
+ [old_omniauth_cas]: https://github.com/intridea/omniauth/blob/0-3-stable/oa-enterprise/lib/omniauth/strategies/cas.rb
126
+ [omniauth]: https://github.com/omniauth/omniauth
127
+ [releases]: https://github.com/dlindahl/omniauth-cas/releases
129
128
  [sso]: https://wiki.jasig.org/display/CASUM/Single+Sign+Out
129
+ [version]: https://badge.fury.io/rb/omniauth-cas
130
+ [version_badge]: https://badge.fury.io/rb/omniauth-cas.svg
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Cas
5
- VERSION = '3.0.0.beta.1'
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.beta.1
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-01-12 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.3
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: []