hubssolib 4.0.1 → 4.0.2
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/CHANGELOG.md +2 -2
- data/Gemfile.lock +1 -1
- data/hubssolib.gemspec +1 -1
- data/lib/hub_sso_lib.rb +21 -0
- metadata +1 -2
- data/hubssolib-4.0.0.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f56f69bd23843c0ff1575651e4a01eb111f121363ad046c0e3356ec14bdb5dcf
|
|
4
|
+
data.tar.gz: f05e756267b131d91d3e3d71752781a33050cbd8b903cbe61d213614d229fe3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3fb0fe6bd80d59959116218cddb8d328e0cfeddd1de858ad352eb7fa3bf439237510a63695a057dd5d488bfd2a8027921f683b50ea7161343daf3983cd75fa8
|
|
7
|
+
data.tar.gz: e637ddc3a7d73ad9892d8d17176d464485a501c6c60a045bb54551fb6bb2d5bc2c32dca9f80bceccba7c51b76216d664e40efcbc94a3116427f46e33f5854441
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
## 4.0.0 and 4.0.
|
|
1
|
+
## 4.0.0, 4.0.1 and 4.0.2, 24-Jul-2026
|
|
2
2
|
|
|
3
3
|
* Despite the major version bump, this is a maintenance release for client apps. Integration for all Hub features including the Hub Trust mechanism is unchanged.
|
|
4
4
|
* If you do not use Hub Trust features at all, then this is also only a maintenance release for the Hub app itself and nothing more is needed to run the entire Hub assembly.
|
|
5
5
|
* If you do use Hub Trust features, then note that the way in which you launch the Trust Server, which previously auto-launched with the Hub app but was prone to being killed or otherwise terminating without warning, has changed. In a manner similar to the separately-launched and reliable Session server, the Trust server must be separately launched. This is done with a Rake task so that the Trust server has full access to the Hub app environment.
|
|
6
6
|
|
|
7
|
-
4.0.1 just updated Gemspec metadata without any other changes
|
|
7
|
+
4.0.1 just updated Gemspec metadata without any other changes. In the spirit of "third time lucky", 4.0.2 fixes a last minute bug that crept in due to a rogue Undo.
|
|
8
8
|
|
|
9
9
|
## 3.8.2, 17-May-2025
|
|
10
10
|
|
data/Gemfile.lock
CHANGED
data/hubssolib.gemspec
CHANGED
data/lib/hub_sso_lib.rb
CHANGED
|
@@ -927,6 +927,27 @@ module HubSsoLib
|
|
|
927
927
|
return File.exist?(path)
|
|
928
928
|
end
|
|
929
929
|
|
|
930
|
+
# Obtain a connection to the trust server. This is called by any client
|
|
931
|
+
# code that needs to talk to the server which must, at the time called, be
|
|
932
|
+
# running via startup within the Hub Rails application.
|
|
933
|
+
#
|
|
934
|
+
# The returned object is an instance of ::HubSsoLib::Trust::ActionManager,
|
|
935
|
+
# which is defined inside the Hub Rails application. See there for details.
|
|
936
|
+
#
|
|
937
|
+
def self.get_trust_object
|
|
938
|
+
HUB_MUTEX.synchronize do
|
|
939
|
+
begin
|
|
940
|
+
DRb.current_server
|
|
941
|
+
rescue DRb::DRbServerNotFound
|
|
942
|
+
DRb.start_service()
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
@@trust_object ||= DRbObject.new_with_uri(self.get_trust_server_connection_uri())
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
return @@trust_object
|
|
949
|
+
end
|
|
950
|
+
|
|
930
951
|
module Server
|
|
931
952
|
def hubssolib_launch_trust_server
|
|
932
953
|
::HubSsoLib::Trust::Server::Runner.run
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hubssolib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Hodgkinson and others
|
|
@@ -138,7 +138,6 @@ files:
|
|
|
138
138
|
- Gemfile
|
|
139
139
|
- Gemfile.lock
|
|
140
140
|
- README.md
|
|
141
|
-
- hubssolib-4.0.0.gem
|
|
142
141
|
- hubssolib.gemspec
|
|
143
142
|
- lib/hub_sso_lib.rb
|
|
144
143
|
homepage: http://pond.org.uk/
|
data/hubssolib-4.0.0.gem
DELETED
|
Binary file
|