yus 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/Gemfile.lock +31 -33
- data/History.txt +4 -0
- data/Rakefile +0 -0
- data/bin/yusd +3 -5
- data/data/yus_dump.yml +3 -3
- data/lib/yus/server.rb +0 -0
- data/lib/yus/session.rb +0 -0
- data/lib/yus/version.rb +1 -1
- data/sha256.rb +0 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58525f574ac756f75145de86797f797080aefad5e3a256b6b641bc7fbfacbe00
|
4
|
+
data.tar.gz: bd2c67d98ae8cd0444129c6bfe7e26fc7d23fd00c6ebe87aca9762453606c05c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdae72138101be68834d1f14f49ea9d412f78c67005214c12e9dd4abf741d4ac569710be7d588ff49d2c17fb7b9a84f85e427eb1caf86064431991d11302ba26
|
7
|
+
data.tar.gz: 5c7a3c14112eaa229a1e023b41ed2ef4c2b40b93d2e97ff12999457428dfcb98bf88566e3134fd487c5a85c42ee83c0967a5c64b4fe7302d369bc5bef1e7fdc5
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
yus (1.0.
|
4
|
+
yus (1.0.6)
|
5
5
|
deprecated (= 2.0.1)
|
6
6
|
highline
|
7
7
|
needle
|
@@ -11,49 +11,47 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
byebug (11.
|
15
|
-
coderay (1.1.
|
14
|
+
byebug (11.1.3)
|
15
|
+
coderay (1.1.3)
|
16
16
|
deprecated (2.0.1)
|
17
17
|
diff-lcs (1.3)
|
18
|
-
docile (1.3.
|
18
|
+
docile (1.3.2)
|
19
19
|
flexmock (1.3.3)
|
20
|
-
highline (2.0.
|
21
|
-
|
22
|
-
|
23
|
-
minitest (5.11.3)
|
20
|
+
highline (2.0.3)
|
21
|
+
method_source (1.0.0)
|
22
|
+
minitest (5.14.1)
|
24
23
|
needle (1.3.0)
|
25
24
|
odba (1.1.6)
|
26
25
|
ydbd-pg (>= 0.5.6)
|
27
26
|
ydbi (>= 0.5.6)
|
28
|
-
pg (1.
|
29
|
-
power_assert (1.
|
30
|
-
pry (0.
|
31
|
-
coderay (~> 1.1
|
32
|
-
method_source (~>
|
33
|
-
pry-byebug (3.
|
27
|
+
pg (1.2.3)
|
28
|
+
power_assert (1.2.0)
|
29
|
+
pry (0.13.1)
|
30
|
+
coderay (~> 1.1)
|
31
|
+
method_source (~> 1.0)
|
32
|
+
pry-byebug (3.9.0)
|
34
33
|
byebug (~> 11.0)
|
35
|
-
pry (~> 0.
|
36
|
-
rake (
|
34
|
+
pry (~> 0.13.0)
|
35
|
+
rake (13.0.1)
|
37
36
|
rclconf (1.0.0)
|
38
|
-
rspec (3.
|
39
|
-
rspec-core (~> 3.
|
40
|
-
rspec-expectations (~> 3.
|
41
|
-
rspec-mocks (~> 3.
|
42
|
-
rspec-core (3.
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-expectations (3.
|
37
|
+
rspec (3.9.0)
|
38
|
+
rspec-core (~> 3.9.0)
|
39
|
+
rspec-expectations (~> 3.9.0)
|
40
|
+
rspec-mocks (~> 3.9.0)
|
41
|
+
rspec-core (3.9.2)
|
42
|
+
rspec-support (~> 3.9.3)
|
43
|
+
rspec-expectations (3.9.2)
|
45
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-mocks (3.
|
45
|
+
rspec-support (~> 3.9.0)
|
46
|
+
rspec-mocks (3.9.1)
|
48
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-support (3.
|
51
|
-
simplecov (0.
|
48
|
+
rspec-support (~> 3.9.0)
|
49
|
+
rspec-support (3.9.3)
|
50
|
+
simplecov (0.18.5)
|
52
51
|
docile (~> 1.1)
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
test-unit (3.3.0)
|
52
|
+
simplecov-html (~> 0.11)
|
53
|
+
simplecov-html (0.12.2)
|
54
|
+
test-unit (3.3.6)
|
57
55
|
power_assert
|
58
56
|
ydbd-pg (0.5.6)
|
59
57
|
pg
|
@@ -76,4 +74,4 @@ DEPENDENCIES
|
|
76
74
|
yus!
|
77
75
|
|
78
76
|
BUNDLED WITH
|
79
|
-
2.
|
77
|
+
2.1.4
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
File without changes
|
data/bin/yusd
CHANGED
@@ -31,9 +31,9 @@ defaults = {
|
|
31
31
|
'root_pass' => nil,
|
32
32
|
'server_url' => 'drbssl://127.0.0.1:9997',
|
33
33
|
'session_timeout' => 300,
|
34
|
-
'ssl_key' => File.expand_path('../data/yus.key',
|
34
|
+
'ssl_key' => File.expand_path('../data/yus.key',
|
35
35
|
File.dirname(__FILE__)),
|
36
|
-
'ssl_cert' => File.expand_path('../data/yus.crt',
|
36
|
+
'ssl_cert' => File.expand_path('../data/yus.crt',
|
37
37
|
File.dirname(__FILE__)),
|
38
38
|
'token_lifetime' => 30,
|
39
39
|
'yus_dir' => default_dir,
|
@@ -84,14 +84,12 @@ begin
|
|
84
84
|
when /drbssl/
|
85
85
|
keypath = File.expand_path(config.ssl_key, config.yus_dir)
|
86
86
|
certpath = File.expand_path(config.ssl_cert, config.yus_dir)
|
87
|
-
drbconf.update({
|
87
|
+
drbconf.update({
|
88
88
|
:SSLPrivateKey => OpenSSL::PKey::RSA.new(File.read(keypath)),
|
89
89
|
:SSLCertificate => OpenSSL::X509::Certificate.new(File.read(certpath)),
|
90
90
|
})
|
91
91
|
end
|
92
|
-
url.untaint
|
93
92
|
DRb.start_service(url, server, drbconf)
|
94
|
-
$SAFE = 1
|
95
93
|
logger.info('start') { sprintf("starting yus-server on %s", url) }
|
96
94
|
DRb.thread.join
|
97
95
|
rescue Exception => error
|
data/data/yus_dump.yml
CHANGED
@@ -3,12 +3,12 @@ entities:
|
|
3
3
|
entity_name: !ruby/object:Yus::Entity
|
4
4
|
name: entity_name
|
5
5
|
valid_until: entity_pass
|
6
|
-
valid_from:
|
6
|
+
valid_from: 2020-06-17 09:42:09.633800037 +02:00
|
7
7
|
affiliations:
|
8
8
|
- &1 !ruby/object:Yus::Entity
|
9
9
|
name: a_yus_group
|
10
10
|
valid_until: entity_pass
|
11
|
-
valid_from:
|
11
|
+
valid_from: 2020-06-17 09:42:09.634001115 +02:00
|
12
12
|
affiliations: []
|
13
13
|
privileges:
|
14
14
|
set_password: !ruby/object:Yus::Privilege
|
@@ -30,7 +30,7 @@ entities:
|
|
30
30
|
second_name: !ruby/object:Yus::Entity
|
31
31
|
name: second_name
|
32
32
|
valid_until: entity_pass
|
33
|
-
valid_from:
|
33
|
+
valid_from: 2020-06-17 09:42:09.633903583 +02:00
|
34
34
|
affiliations: []
|
35
35
|
privileges:
|
36
36
|
set_password: !ruby/object:Yus::Privilege
|
data/lib/yus/server.rb
CHANGED
File without changes
|
data/lib/yus/session.rb
CHANGED
File without changes
|
data/lib/yus/version.rb
CHANGED
data/sha256.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yasuhiro Asaka, Zeno R.R. Davatz, Niklaus Giger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: needle
|
@@ -261,8 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
261
|
- !ruby/object:Gem::Version
|
262
262
|
version: '0'
|
263
263
|
requirements: []
|
264
|
-
|
265
|
-
rubygems_version: 2.7.3
|
264
|
+
rubygems_version: 3.1.2
|
266
265
|
signing_key:
|
267
266
|
specification_version: 4
|
268
267
|
summary: ywesee user server
|