cuboid 0.2.3 → 0.2.4

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: ca74705ed31ac31d5e2dc69901fe2815df25e6fbcf30337d242ca2d1059624af
4
- data.tar.gz: fc01ac528305655c7369cbe5af27fe5b2ffb8b03969c8f2b1d45df842d082c4d
3
+ metadata.gz: 62a4b753db00386ea4858bd2ed61f9ccff0e89cd1aa7fb6c8d7e561e8cda87c3
4
+ data.tar.gz: 127005ff2cd7f621f80006f5b75d962ec6b32fb9cfa94f0e4ff86a63e63c7351
5
5
  SHA512:
6
- metadata.gz: 618a9ac640b379063ea2710688c82345088043db0b0975467cd99ae363b3f376c08bb9d6116e0b77f2018510bda0a154e0ef53c1c2e795748cb692203da81d01
7
- data.tar.gz: 92aab5e52a4477ceaf6ce48a4689bd86fa61f27a0c2a2243b0e4f6c1d812fb736bdeeb9d82cebf89ae058e92478301d2586f7a4ca355bf7f8268ebf8dc179110
6
+ metadata.gz: 1e70d2d49b40ab668091b8d70edb50ccdce6b2ce2b19be8b85a38293e88bb3537355c89cd671e2c12ca5a8bce9b143557771c24e7e509dfc43e8319f51ea0ece
7
+ data.tar.gz: 72df9cb0de101c88229fc96f526fd50499b109611048c603bc1c61aaeadb5d6d60d601665749d9eb37ee91a83b3dd33acc15449c7c16e689a662de92a7eba99a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.2.4
2
+
3
+ * Made `Server::Instance` services accessible from `Application`.
4
+
1
5
  # 0.2.3
2
6
 
3
7
  * Simplified convergence of P2P mesh network.
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # License
2
2
 
3
- Copyright (c) 2021 Tasos Laskos \<tasos.laskos@gmail.com\>.
3
+ Copyright (c) 2023 Ecsypno Single Member P.C. <http://ecsypno.com>.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -260,6 +260,10 @@ sleep 0.1 while sleepers.map(&:busy?).include?( true )
260
260
 
261
261
  _You can replace `host1` with `localhost` and run all examples on the same machine._
262
262
 
263
+ ## Users
264
+
265
+ * [QMap](https://github.com/qadron/qmap) -- A distributed network mapper/security scanner.
266
+
263
267
  ## License
264
268
 
265
269
  Please see the _LICENSE.md_ file.
@@ -332,7 +332,12 @@ class Instance
332
332
  server.add_handler( 'options', @active_options )
333
333
 
334
334
  Cuboid::Application.application.instance_services.each do |name, service|
335
- server.add_handler( name.to_s, service.new )
335
+ si = service.new
336
+
337
+ Cuboid::Application.application.send :attr_reader, name
338
+ @application.application.instance_variable_set( "@#{name}".to_sym, si )
339
+
340
+ server.add_handler( name.to_s, si )
336
341
  end
337
342
  end
338
343
 
data/lib/version CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tasos Laskos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-21 00:00:00.000000000 Z
11
+ date: 2023-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print