active_call 0.3.0 → 0.3.2
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +19 -2
- data/lib/active_call/version.rb +1 -1
- metadata +12 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a40bdf794acecaa8233b909cc45182fe04d0992be02cc70f2829bbd8cef953e
|
4
|
+
data.tar.gz: d9fc127eb91356604e5ff6a36ab7260fee42f008e51a77ab51902ef81bc33394
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acfb226b57ad33dc69daacee5a14f03044a8e4c93f5629496dc8cd71c2676a704bc47d29a04318a6cd260e46b22c6801034cd1d73b6f0987cbbcfc93a0c7d5de
|
7
|
+
data.tar.gz: '059dded6b062c9002a5b9ec6e19de193d4ae71beed29af1d6e45d7293b3acfb0e14353383ecdc628164227629e2dbbd2d7de38997efa67029f11c4ee6e0adfff'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## [0.3.2] - 2025-05-09
|
2
|
+
|
3
|
+
- Gemspec description update.
|
4
|
+
|
5
|
+
## [0.3.1] - 2025-05-07
|
6
|
+
|
7
|
+
- Update repository urls to activecall organization.
|
8
|
+
|
1
9
|
## [0.3.0] - 2025-03-31
|
2
10
|
|
3
11
|
- Added `validate on: :request` which runs after `before_call` and before invoking `call`'.
|
data/README.md
CHANGED
@@ -2,7 +2,19 @@
|
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/active_call)
|
4
4
|
|
5
|
-
Active Call provides a standardized way to
|
5
|
+
Active Call provides a standardized way to build service objects.
|
6
|
+
|
7
|
+
It helps you extract complex business logic from models and controllers, and keeps your code clean and organized.
|
8
|
+
|
9
|
+
Encouraging single responsibility improves readability, testability, and long-term maintainability.
|
10
|
+
|
11
|
+
<div align="center">
|
12
|
+
<a href="https://platform45.com?utm_source=github&utm_content=active_call">
|
13
|
+
<picture>
|
14
|
+
<img src="https://github.com/user-attachments/assets/19fd40df-2ce9-4f30-8120-d53f3fbf9f07">
|
15
|
+
</picture>
|
16
|
+
</a>
|
17
|
+
</div>
|
6
18
|
|
7
19
|
## Installation
|
8
20
|
|
@@ -46,6 +58,10 @@ Each service object must define only one public method named `call`.
|
|
46
58
|
|
47
59
|
- Use the `after_call` hook to set up anything **after response validation** passes.
|
48
60
|
|
61
|
+
- Return the service object.
|
62
|
+
|
63
|
+
If any validations fail during this flow, the service object gets returned without continuing with the subsequent steps.
|
64
|
+
|
49
65
|
### Example Service Object
|
50
66
|
|
51
67
|
Define a service object with optional validations and callbacks.
|
@@ -219,6 +235,7 @@ Now start adding your service objects in the `lib` directory and make sure they
|
|
219
235
|
|
220
236
|
- [Active Call - nCino KYC DocFox](https://rubygems.org/gems/active_call-doc_fox)
|
221
237
|
- [Active Call - Zoho Sign](https://rubygems.org/gems/active_call-zoho_sign)
|
238
|
+
- [Active Call - Zoho CRM](https://rubygems.org/gems/active_call-zoho_crm)
|
222
239
|
|
223
240
|
## Development
|
224
241
|
|
@@ -228,7 +245,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
228
245
|
|
229
246
|
## Contributing
|
230
247
|
|
231
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
248
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/activecall/active_call.
|
232
249
|
|
233
250
|
## License
|
234
251
|
|
data/lib/active_call/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_call
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kobus Joubert
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -38,7 +38,11 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.6'
|
41
|
-
description: Active Call provides a standardized way to
|
41
|
+
description: '["Active", "Call", "provides", "a", "standardized", "way", "to", "build",
|
42
|
+
"service", "objects.", "It", "helps", "you", "extract", "complex", "business", "logic",
|
43
|
+
"from", "models", "and", "controllers,", "and", "keeps", "your", "code", "clean",
|
44
|
+
"and", "organized.", "Encouraging", "single", "responsibility", "improves", "readability,",
|
45
|
+
"testability,", "and", "long-term", "maintainability."]'
|
42
46
|
email:
|
43
47
|
- kobus@translate3d.com
|
44
48
|
executables: []
|
@@ -58,15 +62,15 @@ files:
|
|
58
62
|
- lib/active_call/error.rb
|
59
63
|
- lib/active_call/version.rb
|
60
64
|
- sig/active_call.rbs
|
61
|
-
homepage: https://github.com/
|
65
|
+
homepage: https://github.com/activecall/active_call
|
62
66
|
licenses:
|
63
67
|
- MIT
|
64
68
|
metadata:
|
65
69
|
allowed_push_host: https://rubygems.org
|
66
70
|
rubygems_mfa_required: 'true'
|
67
|
-
homepage_uri: https://github.com/
|
68
|
-
source_code_uri: https://github.com/
|
69
|
-
changelog_uri: https://github.com/
|
71
|
+
homepage_uri: https://github.com/activecall/active_call
|
72
|
+
source_code_uri: https://github.com/activecall/active_call
|
73
|
+
changelog_uri: https://github.com/activecall/active_call/blob/main/CHANGELOG.md
|
70
74
|
post_install_message:
|
71
75
|
rdoc_options: []
|
72
76
|
require_paths:
|
@@ -85,5 +89,5 @@ requirements: []
|
|
85
89
|
rubygems_version: 3.3.27
|
86
90
|
signing_key:
|
87
91
|
specification_version: 4
|
88
|
-
summary:
|
92
|
+
summary: Standardized way to build service objects
|
89
93
|
test_files: []
|