service_record 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/service_record/callbacks.rb +6 -6
- data/lib/service_record/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f992dc522f3753b3ac315494c4f62201a3fe132c5b0ae0925c25a4d3c67751a4
|
4
|
+
data.tar.gz: ce53a6ca0424f9a2923edcfbd4d283ab2aa7e191a501f6a3fee546caf8fddee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c16110b86a576dbc16401aa2e50f5b762cae36a9ae29725f52cb2e5edd9be882c1627b19bbf0e6d688c619c711f1e797f439c0a9e681cc53166c8e2adbaa8677
|
7
|
+
data.tar.gz: 010c85ab785258813a4c150852d96e3e156de34cc64b4e0963b135d33e0ea81764c8af1552f0de0ec2af6c3d3b705ae2d17a49603fc26c1f9abefeff80d39761
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# ServiceRecord
|
2
2
|
|
3
3
|
[![Gem](https://img.shields.io/gem/v/service_record)](https://rubygems.org/gems/service_record)
|
4
|
-
[![GitHub Workflow Status](https://
|
4
|
+
[![GitHub Workflow Status](https://github.com/uxxman/service_record/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/uxxman/service_record/actions/workflows/ci.yml)
|
5
5
|
[![Code Climate coverage](https://img.shields.io/codeclimate/coverage/uxxman/service_record)](https://codeclimate.com/github/uxxman/service_record)
|
6
6
|
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/uxxman/service_record)](https://codeclimate.com/github/uxxman/service_record)
|
7
7
|
|
@@ -12,16 +12,16 @@ module ServiceRecord
|
|
12
12
|
end
|
13
13
|
|
14
14
|
class_methods do
|
15
|
-
def before_perform(
|
16
|
-
set_callback(:perform, :before,
|
15
|
+
def before_perform(...)
|
16
|
+
set_callback(:perform, :before, ...)
|
17
17
|
end
|
18
18
|
|
19
|
-
def after_perform(
|
20
|
-
set_callback(:perform, :after,
|
19
|
+
def after_perform(...)
|
20
|
+
set_callback(:perform, :after, ...)
|
21
21
|
end
|
22
22
|
|
23
|
-
def around_perform(
|
24
|
-
set_callback(:perform, :around,
|
23
|
+
def around_perform(...)
|
24
|
+
set_callback(:perform, :around, ...)
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: service_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Muhammad Usman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
|
-
rubygems_version: 3.
|
200
|
+
rubygems_version: 3.5.3
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Service objects for rails
|