service_record 1.4.1 → 1.4.3
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: 1e3d9b8524c630d0705f40faa6c00ba54ab1abc2c5f45a244d0042538f0f5401
|
4
|
+
data.tar.gz: f377e41731968202feeb8637ccb10ce2c0047ee2b9a7889c98d47f0c0b1a9226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e693ac83d7d53d41fdc7c6bdf5df6cc545663d75e6fd575bdc9fc03dcf8934fd574b617ec84ff7960f46d96e33c3fd2744e14d5f902d114ebb5411df6967e7
|
7
|
+
data.tar.gz: 94671e35c3136ab172c05b304d395847c9d5da30715fb6a5a0c974b513ed33787eff869ad7f0aa9963d4011a4cda9e95b24efbfad5587cb316109c4ec2c9c395
|
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.3
|
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-08-17 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.11
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Service objects for rails
|