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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfb977cd1ed1ebb151cef54ef6133614d8827535f6398df0457608c8584f8665
4
- data.tar.gz: 0c227d6c747fdebc0eb557eb884c0993966a3531dadd9d3bd9afd81296828b5a
3
+ metadata.gz: 58525f574ac756f75145de86797f797080aefad5e3a256b6b641bc7fbfacbe00
4
+ data.tar.gz: bd2c67d98ae8cd0444129c6bfe7e26fc7d23fd00c6ebe87aca9762453606c05c
5
5
  SHA512:
6
- metadata.gz: 362f4218ef3115d734a2d32ef9b7525615b8c445e7cc5ed970bbb99ccdcf17b3ce81761170a2c606a815ecb892e59527d7d93cc930c9b0f1ac7ed069984f370a
7
- data.tar.gz: 725a1056b531b20e2e21172e306bbfd982e463d7a1819d576fbb60434bc7bb4c20e12e20a94808b999cd6c4402fc54bb734e81aeed040fffc3845c995515a3cf
6
+ metadata.gz: cdae72138101be68834d1f14f49ea9d412f78c67005214c12e9dd4abf741d4ac569710be7d588ff49d2c17fb7b9a84f85e427eb1caf86064431991d11302ba26
7
+ data.tar.gz: 5c7a3c14112eaa229a1e023b41ed2ef4c2b40b93d2e97ff12999457428dfcb98bf88566e3134fd487c5a85c42ee83c0967a5c64b4fe7302d369bc5bef1e7fdc5
@@ -11,9 +11,10 @@ notifications:
11
11
  email:
12
12
  - ngiger@ywesee.com
13
13
  rvm:
14
- - ruby-head
15
- - 2.3.0
14
+ - 2.7.1
16
15
  - 2.5.0
16
+ - ruby-head
17
+
17
18
  matrix:
18
19
  allow_failures:
19
20
  - rvm: ruby-head
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yus (1.0.5)
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.0.1)
15
- coderay (1.1.2)
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.1)
18
+ docile (1.3.2)
19
19
  flexmock (1.3.3)
20
- highline (2.0.1)
21
- json (2.2.0)
22
- method_source (0.9.2)
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.1.4)
29
- power_assert (1.1.3)
30
- pry (0.12.2)
31
- coderay (~> 1.1.0)
32
- method_source (~> 0.9.0)
33
- pry-byebug (3.7.0)
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.10)
36
- rake (12.3.2)
34
+ pry (~> 0.13.0)
35
+ rake (13.0.1)
37
36
  rclconf (1.0.0)
38
- rspec (3.8.0)
39
- rspec-core (~> 3.8.0)
40
- rspec-expectations (~> 3.8.0)
41
- rspec-mocks (~> 3.8.0)
42
- rspec-core (3.8.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-expectations (3.8.2)
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.8.0)
47
- rspec-mocks (3.8.0)
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.8.0)
50
- rspec-support (3.8.0)
51
- simplecov (0.16.1)
48
+ rspec-support (~> 3.9.0)
49
+ rspec-support (3.9.3)
50
+ simplecov (0.18.5)
52
51
  docile (~> 1.1)
53
- json (>= 1.8, < 3)
54
- simplecov-html (~> 0.10.0)
55
- simplecov-html (0.10.2)
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.0.1
77
+ 2.1.4
@@ -1,3 +1,7 @@
1
+ === 1.0.6 / 17.06.2020
2
+
3
+ * Update for Ruby 2.7.1, remove obsolete calls to untaint/SAFE
4
+
1
5
  === 1.0.5 / 21.03.2019
2
6
 
3
7
  * Requires at least ruby 2.3 and bundler 2.0
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
@@ -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: 2016-05-23 17:41:00.786953476 +02:00
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: 2016-05-23 17:41:00.787118766 +02:00
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: 2016-05-23 17:41:00.787038968 +02:00
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
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Yus
2
- VERSION = '1.0.5'
2
+ VERSION = '1.0.6'
3
3
  end
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.5
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: 2019-03-21 00:00:00.000000000 Z
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
- rubyforge_project:
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