cuboid 0.2.6 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/cuboid/rest/server/instance_helpers.rb +1 -1
- data/lib/cuboid/rest/server.rb +1 -1
- data/lib/cuboid/rpc/server/agent/node.rb +2 -2
- data/lib/cuboid/support/database/base.rb +1 -1
- data/lib/version +1 -1
- data/spec/cuboid/option_groups/paths_spec.rb +1 -1
- data/spec/cuboid/rest/server_spec.rb +1 -1
- data/spec/cuboid/rpc/server/instance_spec.rb +1 -1
- data/spec/cuboid/support/database/scheduler_spec.rb +1 -1
- metadata +82 -82
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b237755aebb4be309f39a1f9d313a87dc51a289b1b03bc79c039ab8c3e8f23f2
|
4
|
+
data.tar.gz: 3b3c5ce7a0437d4f9cfc98f1e358829189f64a3e7b9e238cbc5ca77ff40ce6af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8a3160ef72009ff4646879464b45212d74f54f93e3fcaa5adf70b2d824a4a31a5dadc77eab05a060538058c4273a9bfa3eaf58c36dc3a685ca7b500e637cbd4
|
7
|
+
data.tar.gz: e2bdf10828b0f11ddc35f33b4b5b64b856b70c2759004f23c380cf58a5e3782191c0440871825e8951895af0c02a6777d776ed210facf6add05434b9c05e59a1
|
data/CHANGELOG.md
CHANGED
data/lib/cuboid/rest/server.rb
CHANGED
@@ -76,8 +76,8 @@ class Server::Agent::Node
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def unplug
|
79
|
-
@peers.each do |peer|
|
80
|
-
connect_to_peer( peer ).remove_peer( @url ) {}
|
79
|
+
Raktr.global.create_iterator( @peers, 20 ).each do |peer, iterator|
|
80
|
+
connect_to_peer( peer ).remove_peer( @url ) { iterator.next }
|
81
81
|
end
|
82
82
|
|
83
83
|
@peers.clear
|
data/lib/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.8
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuboid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tasos Laskos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -469,103 +469,103 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
469
469
|
- !ruby/object:Gem::Version
|
470
470
|
version: '0'
|
471
471
|
requirements: []
|
472
|
-
rubygems_version: 3.4.
|
472
|
+
rubygems_version: 3.4.22
|
473
473
|
signing_key:
|
474
474
|
specification_version: 4
|
475
475
|
summary: An application-centric, decentralised and distributed computing solution.
|
476
476
|
test_files:
|
477
|
-
- spec/
|
478
|
-
- spec/
|
479
|
-
- spec/
|
480
|
-
- spec/
|
481
|
-
- spec/
|
482
|
-
- spec/support/helpers/requires.rb
|
483
|
-
- spec/support/helpers/resets.rb
|
484
|
-
- spec/support/helpers/request_helpers.rb
|
485
|
-
- spec/support/helpers/web_server.rb
|
486
|
-
- spec/support/helpers/paths.rb
|
487
|
-
- spec/support/fixtures/services/echo.rb
|
488
|
-
- spec/support/fixtures/mock_app/test_service.rb
|
489
|
-
- spec/support/fixtures/executables/node.rb
|
490
|
-
- spec/support/fixtures/empty/placeholder
|
491
|
-
- spec/support/fixtures/mock_app.rb
|
492
|
-
- spec/support/shared/application.rb
|
493
|
-
- spec/support/shared/component/options/base.rb
|
494
|
-
- spec/support/shared/component.rb
|
495
|
-
- spec/support/shared/support/filter.rb
|
496
|
-
- spec/support/shared/support/cache.rb
|
497
|
-
- spec/support/shared/system/platforms/base.rb
|
498
|
-
- spec/support/shared/system/platforms/mixins/unix.rb
|
499
|
-
- spec/support/shared/option_group.rb
|
500
|
-
- spec/support/factories/scan_report.rb
|
501
|
-
- spec/support/factories/placeholder
|
502
|
-
- spec/support/lib/web_server_dispatcher.rb
|
503
|
-
- spec/support/lib/web_server_client.rb
|
504
|
-
- spec/support/lib/factory.rb
|
505
|
-
- spec/support/lib/web_server_manager.rb
|
506
|
-
- spec/support/logs/placeholder
|
507
|
-
- spec/support/reports/placeholder
|
508
|
-
- spec/support/pems/cacert.pem
|
509
|
-
- spec/support/pems/server/cert.pem
|
510
|
-
- spec/support/pems/server/key.pem
|
511
|
-
- spec/support/pems/client/foo-key.pem
|
512
|
-
- spec/support/pems/client/foo-cert.pem
|
513
|
-
- spec/support/pems/client/cert.pem
|
514
|
-
- spec/support/pems/client/key.pem
|
515
|
-
- spec/cuboid/ruby/array_spec.rb
|
516
|
-
- spec/cuboid/ruby/hash_spec.rb
|
517
|
-
- spec/cuboid/ruby/object_spec.rb
|
518
|
-
- spec/cuboid/snapshot_spec.rb
|
519
|
-
- spec/cuboid/rest/server_spec.rb
|
520
|
-
- spec/cuboid/data_spec.rb
|
477
|
+
- spec/cuboid/application/parts/data_spec.rb
|
478
|
+
- spec/cuboid/application/parts/report_spec.rb
|
479
|
+
- spec/cuboid/application/parts/state_spec.rb
|
480
|
+
- spec/cuboid/application/runtime_spec.rb
|
481
|
+
- spec/cuboid/application_spec.rb
|
521
482
|
- spec/cuboid/data/application_spec.rb
|
522
|
-
- spec/cuboid/
|
483
|
+
- spec/cuboid/data_spec.rb
|
484
|
+
- spec/cuboid/error_spec.rb
|
485
|
+
- spec/cuboid/option_groups/datastore_spec.rb
|
486
|
+
- spec/cuboid/option_groups/dispatcher_spec.rb
|
487
|
+
- spec/cuboid/option_groups/output_spec.rb
|
488
|
+
- spec/cuboid/option_groups/paths_spec.rb
|
489
|
+
- spec/cuboid/option_groups/report_spec.rb
|
490
|
+
- spec/cuboid/option_groups/rpc_spec.rb
|
491
|
+
- spec/cuboid/option_groups/snapshot_spec.rb
|
492
|
+
- spec/cuboid/option_groups/system.rb
|
523
493
|
- spec/cuboid/options_spec.rb
|
524
494
|
- spec/cuboid/report_spec.rb
|
525
|
-
- spec/cuboid/
|
526
|
-
- spec/cuboid/
|
527
|
-
- spec/cuboid/
|
528
|
-
- spec/cuboid/rpc/
|
495
|
+
- spec/cuboid/rest/server_spec.rb
|
496
|
+
- spec/cuboid/rpc/client/base_spec.rb
|
497
|
+
- spec/cuboid/rpc/client/dispatcher_spec.rb
|
498
|
+
- spec/cuboid/rpc/client/instance_spec.rb
|
499
|
+
- spec/cuboid/rpc/server/active_options_spec.rb
|
529
500
|
- spec/cuboid/rpc/server/agent/node_spec.rb
|
530
501
|
- spec/cuboid/rpc/server/agent/service_spec.rb
|
531
502
|
- spec/cuboid/rpc/server/agent_spec.rb
|
503
|
+
- spec/cuboid/rpc/server/base_spec.rb
|
532
504
|
- spec/cuboid/rpc/server/instance_spec.rb
|
505
|
+
- spec/cuboid/rpc/server/output_spec.rb
|
533
506
|
- spec/cuboid/rpc/server/scheduler_spec.rb
|
534
|
-
- spec/cuboid/
|
535
|
-
- spec/cuboid/
|
536
|
-
- spec/cuboid/
|
537
|
-
- spec/cuboid/
|
538
|
-
- spec/cuboid/
|
539
|
-
- spec/cuboid/
|
540
|
-
- spec/cuboid/
|
541
|
-
- spec/cuboid/
|
542
|
-
- spec/cuboid/
|
543
|
-
- spec/cuboid/application/parts/report_spec.rb
|
544
|
-
- spec/cuboid/application/runtime_spec.rb
|
545
|
-
- spec/cuboid/support/cache/random_replacement_spec.rb
|
507
|
+
- spec/cuboid/ruby/array_spec.rb
|
508
|
+
- spec/cuboid/ruby/hash_spec.rb
|
509
|
+
- spec/cuboid/ruby/object_spec.rb
|
510
|
+
- spec/cuboid/snapshot_spec.rb
|
511
|
+
- spec/cuboid/state/application_spec.rb
|
512
|
+
- spec/cuboid/state/options_spec.rb
|
513
|
+
- spec/cuboid/state_spec.rb
|
514
|
+
- spec/cuboid/support/buffer/autoflush_spec.rb
|
515
|
+
- spec/cuboid/support/buffer/base_spec.rb
|
546
516
|
- spec/cuboid/support/cache/least_cost_replacement_spec.rb
|
547
517
|
- spec/cuboid/support/cache/least_recently_pushed_spec.rb
|
548
|
-
- spec/cuboid/support/cache/preference_spec.rb
|
549
518
|
- spec/cuboid/support/cache/least_recently_used_spec.rb
|
550
|
-
- spec/cuboid/support/
|
551
|
-
- spec/cuboid/support/
|
552
|
-
- spec/cuboid/support/
|
519
|
+
- spec/cuboid/support/cache/preference_spec.rb
|
520
|
+
- spec/cuboid/support/cache/random_replacement_spec.rb
|
521
|
+
- spec/cuboid/support/crypto/rsa_aes_cbc_spec.rb
|
553
522
|
- spec/cuboid/support/database/categorized_queue_spec.rb
|
554
|
-
- spec/cuboid/support/
|
555
|
-
- spec/cuboid/support/
|
556
|
-
- spec/cuboid/support/buffer/base_spec.rb
|
523
|
+
- spec/cuboid/support/database/hash_spec.rb
|
524
|
+
- spec/cuboid/support/database/scheduler_spec.rb
|
557
525
|
- spec/cuboid/support/filter/set_spec.rb
|
558
|
-
- spec/cuboid/support/
|
559
|
-
- spec/cuboid/
|
560
|
-
- spec/cuboid/option_groups/output_spec.rb
|
561
|
-
- spec/cuboid/option_groups/snapshot_spec.rb
|
562
|
-
- spec/cuboid/option_groups/datastore_spec.rb
|
563
|
-
- spec/cuboid/option_groups/system.rb
|
564
|
-
- spec/cuboid/option_groups/report_spec.rb
|
565
|
-
- spec/cuboid/option_groups/rpc_spec.rb
|
566
|
-
- spec/cuboid/option_groups/dispatcher_spec.rb
|
567
|
-
- spec/cuboid/option_groups/paths_spec.rb
|
568
|
-
- spec/cuboid/system/platforms/osx_spec.rb
|
526
|
+
- spec/cuboid/support/glob_spec.rb
|
527
|
+
- spec/cuboid/support/mixins/observable_spec.rb
|
569
528
|
- spec/cuboid/system/platforms/linux_spec.rb
|
529
|
+
- spec/cuboid/system/platforms/osx_spec.rb
|
570
530
|
- spec/cuboid/system/platforms/windows_spec.rb
|
571
531
|
- spec/cuboid/system/slots_spec.rb
|
532
|
+
- spec/cuboid/system_spec.rb
|
533
|
+
- spec/cuboid/utilities_spec.rb
|
534
|
+
- spec/spec_helper.rb
|
535
|
+
- spec/support/factories/placeholder
|
536
|
+
- spec/support/factories/scan_report.rb
|
537
|
+
- spec/support/fixtures/empty/placeholder
|
538
|
+
- spec/support/fixtures/executables/node.rb
|
539
|
+
- spec/support/fixtures/mock_app/test_service.rb
|
540
|
+
- spec/support/fixtures/mock_app.rb
|
541
|
+
- spec/support/fixtures/services/echo.rb
|
542
|
+
- spec/support/helpers/framework.rb
|
543
|
+
- spec/support/helpers/matchers.rb
|
544
|
+
- spec/support/helpers/misc.rb
|
545
|
+
- spec/support/helpers/paths.rb
|
546
|
+
- spec/support/helpers/request_helpers.rb
|
547
|
+
- spec/support/helpers/requires.rb
|
548
|
+
- spec/support/helpers/resets.rb
|
549
|
+
- spec/support/helpers/web_server.rb
|
550
|
+
- spec/support/lib/factory.rb
|
551
|
+
- spec/support/lib/web_server_client.rb
|
552
|
+
- spec/support/lib/web_server_dispatcher.rb
|
553
|
+
- spec/support/lib/web_server_manager.rb
|
554
|
+
- spec/support/logs/placeholder
|
555
|
+
- spec/support/pems/cacert.pem
|
556
|
+
- spec/support/pems/client/cert.pem
|
557
|
+
- spec/support/pems/client/foo-cert.pem
|
558
|
+
- spec/support/pems/client/foo-key.pem
|
559
|
+
- spec/support/pems/client/key.pem
|
560
|
+
- spec/support/pems/server/cert.pem
|
561
|
+
- spec/support/pems/server/key.pem
|
562
|
+
- spec/support/reports/placeholder
|
563
|
+
- spec/support/shared/application.rb
|
564
|
+
- spec/support/shared/component/options/base.rb
|
565
|
+
- spec/support/shared/component.rb
|
566
|
+
- spec/support/shared/option_group.rb
|
567
|
+
- spec/support/shared/support/cache.rb
|
568
|
+
- spec/support/shared/support/filter.rb
|
569
|
+
- spec/support/shared/system/platforms/base.rb
|
570
|
+
- spec/support/shared/system/platforms/mixins/unix.rb
|
571
|
+
- spec/support/snapshots/placeholder
|