has_global_session 1.1.2 → 1.1.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.
- data/has_global_session.gemspec +2 -2
- data/lib/has_global_session/directory.rb +1 -1
- metadata +4 -4
data/has_global_session.gemspec
CHANGED
|
@@ -7,8 +7,8 @@ spec = Gem::Specification.new do |s|
|
|
|
7
7
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
|
8
8
|
|
|
9
9
|
s.name = 'has_global_session'
|
|
10
|
-
s.version = '1.1.
|
|
11
|
-
s.date = '2010-10
|
|
10
|
+
s.version = '1.1.3'
|
|
11
|
+
s.date = '2010-11-10'
|
|
12
12
|
|
|
13
13
|
s.authors = ['Tony Spataro']
|
|
14
14
|
s.email = 'code@tracker.xeger.net'
|
|
@@ -56,7 +56,7 @@ module HasGlobalSession
|
|
|
56
56
|
key_file = keys.detect { |kf| kf =~ /#{authority_name}.key$/ }
|
|
57
57
|
raise ConfigurationError, "Key file #{authority_name}.key not found" unless key_file
|
|
58
58
|
@private_key = OpenSSL::PKey::RSA.new(File.read(key_file))
|
|
59
|
-
raise ConfigurationError, "Expected #{
|
|
59
|
+
raise ConfigurationError, "Expected #{key_file} to contain an RSA private key" unless @private_key.private?
|
|
60
60
|
@local_authority_name = authority_name
|
|
61
61
|
end
|
|
62
62
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: has_global_session
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 1.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Tony Spataro
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-10
|
|
18
|
+
date: 2010-11-10 00:00:00 -08:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|