async-service 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 863ac83703c8c6a2abca7b9457344dbd723f90062e7b157f2d62837dd35899ee
4
- data.tar.gz: 35343238d803b20259eba0bdbbcec35742ac32316c29d8db0d0b58ff70039fc6
3
+ metadata.gz: 89fe1d184a09d9ded720abd6de21db5b499eb60aa50f24401264dc65213e0e1a
4
+ data.tar.gz: '0208be218dd12d5ad922cd830a304b53086494eb66f9dd2cda984758589677b4'
5
5
  SHA512:
6
- metadata.gz: fd7daa08dfc0e693082dac4912011bee7e170130bd3415176013a0d1020b3b801dd99a62b385fb95e7b37f49c256e458b11143d27e63d22282f8d682fb26822f
7
- data.tar.gz: a3d084807fcd460c8dd4c21e8909eed769e1b344356c0b9b2e4a69b29d5134faeee69e2f9c5a01c24b6b8c54c1a1305a477356d080b700533f7c16bac6a82c3e
6
+ metadata.gz: df3091625c43fff8e041d194fe64c0068e5e907b896ecd882f1682506890d05f04e7cb8606a0de13fa3bcdae28f89356c6720b31d0de195370c06bc952fd8680
7
+ data.tar.gz: c1a424f264717708460ab5216c6328d3fe946a0ea8ab56022a0b6a18c57afc8cac7872211dd836f260ba5e53460297a6be5dce4d56b43edc7911dbb437c88060
checksums.yaml.gz.sig CHANGED
Binary file
@@ -4,7 +4,7 @@ This guide outlines recommended patterns and practices for building robust, main
4
4
 
5
5
  ## Application Structure
6
6
 
7
- If you are creating an application that runs services, you should define a top level `services.rb` file:
7
+ If you are creating an application that runs services, you should define a top level `services.rb` file that includes all your service configurations. This file serves as the main entry point for your services. If you are specifically working with the Falcon web server, this file is typically called `falcon.rb` for historical reasons.
8
8
 
9
9
  ### Service Configuration
10
10
 
@@ -13,7 +13,7 @@ This guide explains the key architectural components of `async-service` and how
13
13
 
14
14
  ## Environment
15
15
 
16
- The {ruby Async::Service::Environment} represents a lazy-evaluated chain of key-value pairs. It handles:
16
+ The {ruby Async::Service::Environment} represents a lazy-evaluated chain of key-value pairs. It handles configuration storage, lazy evaluation of computed values, and composition through module inclusion to create flexible, reusable service configurations.
17
17
 
18
18
  ### Configuration Storage
19
19
 
@@ -82,7 +82,7 @@ end
82
82
 
83
83
  ## Service
84
84
 
85
- The {ruby Async::Service::Generic} represents the service implementation layer. It handles:
85
+ The {ruby Async::Service::Generic} represents the service implementation layer. It handles the actual business logic of your services, provides access to configuration through environment evaluators, and manages the service lifecycle including startup, execution, and shutdown phases.
86
86
 
87
87
  ### Business Logic
88
88
 
@@ -172,7 +172,7 @@ end
172
172
 
173
173
  ## Configuration
174
174
 
175
- The {ruby Async::Service::Configuration} represents the top-level orchestration layer. It handles:
175
+ The {ruby Async::Service::Configuration} represents the top-level orchestration layer. It handles service definition and registration, provides service discovery and management capabilities, supports loading configurations from files, and enables introspection of defined services and their settings.
176
176
 
177
177
  ### Service Definitions
178
178
 
@@ -38,8 +38,6 @@ module Async
38
38
  loader.instance_eval(File.read(path), path)
39
39
  end
40
40
 
41
- # Load a file relative to the loader's root directory.
42
- # @parameter path [String] The path to the file to load.
43
41
  def load_file(path)
44
42
  Loader.load_file(@configuration, File.expand_path(path, @root))
45
43
  end
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module Service
8
- VERSION = "0.14.0"
8
+ VERSION = "0.14.1"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file