active_call-api 0.1.1 → 0.1.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 +4 -0
- data/lib/active_call/api/attributes.rb +7 -0
- data/lib/active_call/api/version.rb +1 -1
- data/lib/active_call/api.rb +9 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d23874a9558d000decbf108d6b788a55b6828f708e803ec00b94c529e87bec29
|
4
|
+
data.tar.gz: eb9ee3ac6d81af702a00baebb7c08396f2f119a58877ece7a7ff4362a0cd9cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04ec1dab25deb138924d7afedbe3109e7fde959e9acec589b48cced78be931540319ffd748253645a8cf9037c77aa94f6ae0f76d2ca6c2220d21b66b3b14b9d3
|
7
|
+
data.tar.gz: e193076a2823202d9275d54d4af2313f8c1969167b11370781827c0e4caa0423368a981ae2de2375e8ae00bac88fdfd22a585cea647ac6ef97bcfda5c93050b4
|
data/CHANGELOG.md
CHANGED
data/lib/active_call/api.rb
CHANGED
@@ -302,3 +302,12 @@ end
|
|
302
302
|
ActiveSupport.on_load(:i18n) do
|
303
303
|
I18n.load_path << File.expand_path('api/locale/en.yml', __dir__)
|
304
304
|
end
|
305
|
+
|
306
|
+
ActiveSupport.on_load(:active_record) do
|
307
|
+
# Getting the following error when the gem is included in a Rails application with ActiveRecord.
|
308
|
+
#
|
309
|
+
# <NoMethodError: undefined method `attributes' for an instance of YourGem::SomeResource::UpdateService>
|
310
|
+
#
|
311
|
+
# Struggling to get to the root of the issue, but this seems to help ¯\(°_o)/¯
|
312
|
+
ActiveCall::Api.include(ActiveCall::Api::Attributes)
|
313
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_call-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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-
|
11
|
+
date: 2025-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_call
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- README.md
|
82
82
|
- Rakefile
|
83
83
|
- lib/active_call/api.rb
|
84
|
+
- lib/active_call/api/attributes.rb
|
84
85
|
- lib/active_call/api/locale/en.yml
|
85
86
|
- lib/active_call/api/version.rb
|
86
87
|
- lib/active_call/error.rb
|