cuboid 0.1.8 → 0.1.9

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: 3b42624047576609e3109174ec397a7216906cb19c6f156bb8d5abb724ffc504
4
- data.tar.gz: a748b900b4ab7b4e3d62ea6003f5a764de5c71eba1896a261864ddfe2540ecb2
3
+ metadata.gz: 158cb01b64677a33fa59368e2de42de2fbc3a45e64ee18b01d6b3f8c53a62670
4
+ data.tar.gz: 6e3e227829e478b710d0f13fa4ce8d336ad00172904a49374fc92174b99a407b
5
5
  SHA512:
6
- metadata.gz: ecb56be8d5ccfc13ed583bfd3162a15a5375045216747f22961292c92b917d1adc64db9aa39335185f6954fd45f5a74a056320861c6cdd4da3c6b970707cb821
7
- data.tar.gz: ce236c9a3f3c1030ba60636d8933817c4b7481ce0f4945fa27e14ddd85e2a11011eaca754fac9c061ca49a03f8c16cb46e83a05d7eca7364bef951dd495f9163
6
+ metadata.gz: 51367184b6c2f7be4db5628c398ff96923be088bc35bc6bcb89a088cc909561e5875e4c55db205b4353025d1fbaf6dcdc3234c504a031e483e7ddd78a9ebfd07
7
+ data.tar.gz: e177d216b96b86cc4abd2fb63c6ae0163608a5b84ed335a4d3b83c8cb6a1ac2aeeff9f3f64c6ff594aa08820b8070e96779c27d481f1efdf72ac237b2d2fa59b
data/CHANGELOG.md CHANGED
@@ -1,8 +1,3 @@
1
- # 0.1.8
2
-
3
- * `Processes::Manager`
4
- * `#find_in_applications` -- Also include `PATH` search.
5
-
6
1
  # 0.1.7
7
2
 
8
3
  * `Application`
data/cuboid.gemspec CHANGED
@@ -43,14 +43,14 @@ Gem::Specification.new do |s|
43
43
  s.add_dependency 'msgpack', '1.1.0'
44
44
 
45
45
  # Web server
46
- s.add_dependency 'puma', '5.6.2'
46
+ s.add_dependency 'puma', '5.6.4'
47
47
 
48
48
  s.add_dependency 'rack', '2.2.3'
49
49
  s.add_dependency 'rack-test'
50
50
 
51
51
  # REST API
52
- s.add_dependency 'sinatra', '2.1.0'
53
- s.add_dependency 'sinatra-contrib', '2.1.0'
52
+ s.add_dependency 'sinatra', '2.2.0'
53
+ s.add_dependency 'sinatra-contrib', '2.2.0'
54
54
 
55
55
  # RPC client/server implementation.
56
56
  s.add_dependency 'toq', '~> 0.0.1'
@@ -86,12 +86,11 @@ class Manager
86
86
  @find_in_applications ||= {}
87
87
  return @find_in_applications[bin] if @find_in_applications.include?( bin )
88
88
 
89
- (
90
- ENV['PATH'].split( File::PATH_SEPARATOR ) |
91
- [
92
- '/Applications'
93
- ]
94
- ).each do |root|
89
+ paths = ENV['PATH'].split( File::PATH_SEPARATOR ) | [
90
+ '/Applications/'
91
+ ]
92
+
93
+ paths.each do |root|
95
94
  glob = File.join( "#{root}/*/Contents/MacOS", '**', bin )
96
95
 
97
96
  exe = Dir.glob( glob ).find { |f| File.executable?( f ) }
data/lib/version CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
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.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tasos Laskos
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-06 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 5.6.2
117
+ version: 5.6.4
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 5.6.2
124
+ version: 5.6.4
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rack
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -156,28 +156,28 @@ dependencies:
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 2.1.0
159
+ version: 2.2.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 2.1.0
166
+ version: 2.2.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: sinatra-contrib
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 2.1.0
173
+ version: 2.2.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 2.1.0
180
+ version: 2.2.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: toq
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -451,7 +451,7 @@ homepage: https://github.com/qadron/cuboid
451
451
  licenses:
452
452
  - MIT
453
453
  metadata: {}
454
- post_install_message:
454
+ post_install_message:
455
455
  rdoc_options:
456
456
  - "--charset=UTF-8"
457
457
  require_paths:
@@ -468,102 +468,102 @@ required_rubygems_version: !ruby/object:Gem::Requirement
468
468
  version: '0'
469
469
  requirements: []
470
470
  rubygems_version: 3.1.6
471
- signing_key:
471
+ signing_key:
472
472
  specification_version: 4
473
473
  summary: An application-centric, decentralised and distributed computing solution.
474
474
  test_files:
475
+ - spec/support/shared/application.rb
476
+ - spec/support/shared/support/cache.rb
477
+ - spec/support/shared/support/filter.rb
478
+ - spec/support/shared/component/options/base.rb
479
+ - spec/support/shared/component.rb
480
+ - spec/support/shared/option_group.rb
481
+ - spec/support/shared/system/platforms/base.rb
482
+ - spec/support/shared/system/platforms/mixins/unix.rb
483
+ - spec/support/lib/web_server_manager.rb
484
+ - spec/support/lib/web_server_dispatcher.rb
485
+ - spec/support/lib/factory.rb
486
+ - spec/support/lib/web_server_client.rb
487
+ - spec/support/pems/cacert.pem
488
+ - spec/support/pems/server/cert.pem
489
+ - spec/support/pems/server/key.pem
490
+ - spec/support/pems/client/foo-cert.pem
491
+ - spec/support/pems/client/cert.pem
492
+ - spec/support/pems/client/foo-key.pem
493
+ - spec/support/pems/client/key.pem
494
+ - spec/support/factories/scan_report.rb
495
+ - spec/support/factories/placeholder
496
+ - spec/support/fixtures/mock_app.rb
497
+ - spec/support/fixtures/mock_app/test_service.rb
498
+ - spec/support/fixtures/empty/placeholder
499
+ - spec/support/fixtures/executables/node.rb
500
+ - spec/support/fixtures/services/echo.rb
501
+ - spec/support/reports/placeholder
502
+ - spec/support/logs/placeholder
503
+ - spec/support/helpers/matchers.rb
504
+ - spec/support/helpers/framework.rb
505
+ - spec/support/helpers/paths.rb
506
+ - spec/support/helpers/requires.rb
507
+ - spec/support/helpers/resets.rb
508
+ - spec/support/helpers/request_helpers.rb
509
+ - spec/support/helpers/misc.rb
510
+ - spec/support/helpers/web_server.rb
511
+ - spec/support/snapshots/placeholder
475
512
  - spec/spec_helper.rb
513
+ - spec/cuboid/data/application_spec.rb
476
514
  - spec/cuboid/error_spec.rb
477
- - spec/cuboid/report_spec.rb
478
- - spec/cuboid/system_spec.rb
479
- - spec/cuboid/snapshot_spec.rb
480
- - spec/cuboid/options_spec.rb
515
+ - spec/cuboid/option_groups/snapshot_spec.rb
516
+ - spec/cuboid/option_groups/report_spec.rb
517
+ - spec/cuboid/option_groups/datastore_spec.rb
518
+ - spec/cuboid/option_groups/output_spec.rb
519
+ - spec/cuboid/option_groups/paths_spec.rb
520
+ - spec/cuboid/option_groups/rpc_spec.rb
521
+ - spec/cuboid/option_groups/dispatcher_spec.rb
522
+ - spec/cuboid/option_groups/system.rb
481
523
  - spec/cuboid/state_spec.rb
482
- - spec/cuboid/state/options_spec.rb
483
- - spec/cuboid/state/application_spec.rb
484
- - spec/cuboid/data_spec.rb
485
- - spec/cuboid/utilities_spec.rb
486
- - spec/cuboid/system/platforms/linux_spec.rb
487
- - spec/cuboid/system/platforms/windows_spec.rb
488
- - spec/cuboid/system/platforms/osx_spec.rb
489
- - spec/cuboid/system/slots_spec.rb
490
- - spec/cuboid/support/database/hash_spec.rb
491
524
  - spec/cuboid/support/database/categorized_queue_spec.rb
525
+ - spec/cuboid/support/database/hash_spec.rb
492
526
  - spec/cuboid/support/database/scheduler_spec.rb
493
- - spec/cuboid/support/crypto/rsa_aes_cbc_spec.rb
494
- - spec/cuboid/support/cache/least_cost_replacement_spec.rb
495
527
  - spec/cuboid/support/cache/least_recently_pushed_spec.rb
496
528
  - spec/cuboid/support/cache/preference_spec.rb
497
529
  - spec/cuboid/support/cache/least_recently_used_spec.rb
498
530
  - spec/cuboid/support/cache/random_replacement_spec.rb
531
+ - spec/cuboid/support/cache/least_cost_replacement_spec.rb
532
+ - spec/cuboid/support/buffer/base_spec.rb
533
+ - spec/cuboid/support/buffer/autoflush_spec.rb
499
534
  - spec/cuboid/support/mixins/observable_spec.rb
500
- - spec/cuboid/support/glob_spec.rb
501
535
  - spec/cuboid/support/filter/set_spec.rb
502
- - spec/cuboid/support/buffer/autoflush_spec.rb
503
- - spec/cuboid/support/buffer/base_spec.rb
504
- - spec/cuboid/application/runtime_spec.rb
505
- - spec/cuboid/application/parts/report_spec.rb
536
+ - spec/cuboid/support/glob_spec.rb
537
+ - spec/cuboid/support/crypto/rsa_aes_cbc_spec.rb
538
+ - spec/cuboid/application_spec.rb
506
539
  - spec/cuboid/application/parts/state_spec.rb
507
540
  - spec/cuboid/application/parts/data_spec.rb
508
- - spec/cuboid/rpc/server/output_spec.rb
541
+ - spec/cuboid/application/parts/report_spec.rb
542
+ - spec/cuboid/application/runtime_spec.rb
543
+ - spec/cuboid/rpc/server/scheduler_spec.rb
509
544
  - spec/cuboid/rpc/server/active_options_spec.rb
510
- - spec/cuboid/rpc/server/instance_spec.rb
545
+ - spec/cuboid/rpc/server/output_spec.rb
546
+ - spec/cuboid/rpc/server/base_spec.rb
511
547
  - spec/cuboid/rpc/server/agent_spec.rb
512
- - spec/cuboid/rpc/server/agent/node_spec.rb
548
+ - spec/cuboid/rpc/server/instance_spec.rb
513
549
  - spec/cuboid/rpc/server/agent/service_spec.rb
514
- - spec/cuboid/rpc/server/scheduler_spec.rb
515
- - spec/cuboid/rpc/server/base_spec.rb
516
- - spec/cuboid/rpc/client/instance_spec.rb
550
+ - spec/cuboid/rpc/server/agent/node_spec.rb
517
551
  - spec/cuboid/rpc/client/base_spec.rb
552
+ - spec/cuboid/rpc/client/instance_spec.rb
518
553
  - spec/cuboid/rpc/client/dispatcher_spec.rb
519
- - spec/cuboid/data/application_spec.rb
520
- - spec/cuboid/application_spec.rb
554
+ - spec/cuboid/options_spec.rb
555
+ - spec/cuboid/data_spec.rb
556
+ - spec/cuboid/snapshot_spec.rb
557
+ - spec/cuboid/report_spec.rb
558
+ - spec/cuboid/system_spec.rb
559
+ - spec/cuboid/ruby/hash_spec.rb
521
560
  - spec/cuboid/ruby/object_spec.rb
522
561
  - spec/cuboid/ruby/array_spec.rb
523
- - spec/cuboid/ruby/hash_spec.rb
562
+ - spec/cuboid/state/application_spec.rb
563
+ - spec/cuboid/state/options_spec.rb
564
+ - spec/cuboid/system/slots_spec.rb
565
+ - spec/cuboid/system/platforms/linux_spec.rb
566
+ - spec/cuboid/system/platforms/osx_spec.rb
567
+ - spec/cuboid/system/platforms/windows_spec.rb
524
568
  - spec/cuboid/rest/server_spec.rb
525
- - spec/cuboid/option_groups/paths_spec.rb
526
- - spec/cuboid/option_groups/output_spec.rb
527
- - spec/cuboid/option_groups/report_spec.rb
528
- - spec/cuboid/option_groups/snapshot_spec.rb
529
- - spec/cuboid/option_groups/rpc_spec.rb
530
- - spec/cuboid/option_groups/datastore_spec.rb
531
- - spec/cuboid/option_groups/system.rb
532
- - spec/cuboid/option_groups/dispatcher_spec.rb
533
- - spec/support/snapshots/placeholder
534
- - spec/support/shared/component.rb
535
- - spec/support/shared/component/options/base.rb
536
- - spec/support/shared/application.rb
537
- - spec/support/shared/option_group.rb
538
- - spec/support/shared/system/platforms/base.rb
539
- - spec/support/shared/system/platforms/mixins/unix.rb
540
- - spec/support/shared/support/filter.rb
541
- - spec/support/shared/support/cache.rb
542
- - spec/support/pems/server/key.pem
543
- - spec/support/pems/server/cert.pem
544
- - spec/support/pems/cacert.pem
545
- - spec/support/pems/client/key.pem
546
- - spec/support/pems/client/cert.pem
547
- - spec/support/pems/client/foo-key.pem
548
- - spec/support/pems/client/foo-cert.pem
549
- - spec/support/logs/placeholder
550
- - spec/support/factories/placeholder
551
- - spec/support/factories/scan_report.rb
552
- - spec/support/lib/web_server_client.rb
553
- - spec/support/lib/web_server_dispatcher.rb
554
- - spec/support/lib/factory.rb
555
- - spec/support/lib/web_server_manager.rb
556
- - spec/support/fixtures/mock_app/test_service.rb
557
- - spec/support/fixtures/empty/placeholder
558
- - spec/support/fixtures/executables/node.rb
559
- - spec/support/fixtures/mock_app.rb
560
- - spec/support/fixtures/services/echo.rb
561
- - spec/support/helpers/matchers.rb
562
- - spec/support/helpers/framework.rb
563
- - spec/support/helpers/web_server.rb
564
- - spec/support/helpers/request_helpers.rb
565
- - spec/support/helpers/requires.rb
566
- - spec/support/helpers/resets.rb
567
- - spec/support/helpers/paths.rb
568
- - spec/support/helpers/misc.rb
569
- - spec/support/reports/placeholder
569
+ - spec/cuboid/utilities_spec.rb