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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31e782b9a67b967ad37abe80818b43aa445517aa99a4830e2ec158c67404922e
4
- data.tar.gz: 587d98f44af3c0a36198ffb76367bf30f0b8eb22b342d0d3d361c452452faf7a
3
+ metadata.gz: 1a40bdf794acecaa8233b909cc45182fe04d0992be02cc70f2829bbd8cef953e
4
+ data.tar.gz: d9fc127eb91356604e5ff6a36ab7260fee42f008e51a77ab51902ef81bc33394
5
5
  SHA512:
6
- metadata.gz: 4354d1137d8dfc1dae8570ccc6fb1324f2999d9b099c3f2a0e1da1fe4b93aa99b39692029d6169263736772e8eadce59376f0cd25d9812da38080f7309d06502
7
- data.tar.gz: a2875e4fd4b26027584f4c830befb94ea9dc799fbc70aacbe791d44a39fa679ff56817a22c25fa5816bb715a1d6555f9717332026410a6e1af3c66f7ae1282da
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
  [![Gem Version](https://badge.fury.io/rb/active_call.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/active_call)
4
4
 
5
- Active Call provides a standardized way to create service objects.
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/kobusjoubert/active_call.
248
+ Bug reports and pull requests are welcome on GitHub at https://github.com/activecall/active_call.
232
249
 
233
250
  ## License
234
251
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveCall
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.2'
5
5
  end
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.0
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-03-31 00:00:00.000000000 Z
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 create service objects.
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/kobusjoubert/active_call
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/kobusjoubert/active_call
68
- source_code_uri: https://github.com/kobusjoubert/active_call
69
- changelog_uri: https://github.com/kobusjoubert/active_call/blob/main/CHANGELOG.md
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: Active Call
92
+ summary: Standardized way to build service objects
89
93
  test_files: []