signal 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +3 -0
- data/.rubocop.yml +4 -4
- data/.travis.yml +8 -5
- data/README.md +3 -1
- data/Rakefile +4 -1
- data/lib/signal/extensions/call.rb +2 -2
- data/lib/signal/mock.rb +1 -1
- data/lib/signal/version.rb +1 -1
- data/signal.gemspec +2 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9b02225af7234c06c7bdca60c54ca2bc5bd7b56760350fb52c603dcfcd9c6fc
|
4
|
+
data.tar.gz: 6ae6ad7189173f3eef745a12b0bba61444a00b6ed6da7680848d8fdfa26c9214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aba54da3377c2f2eb8eca0d87edc44599dccb195259bf75949008cd17b780f7d2ad9fbce0e54aac6b3e2fd63e0bf61e86f02ad1e02e4bd4b5ba9c6a96baa74c9
|
7
|
+
data.tar.gz: b7be39534802b24399c9d732c7af050447b66ac5fff04abd6ee66f46f54324e6e6f636c2d84b62c0f20c490fc471484d3ee86e6f5faca3b833d5a8d17761fcdf
|
data/.github/FUNDING.yml
ADDED
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -3,13 +3,16 @@ cache: bundler
|
|
3
3
|
sudo: false
|
4
4
|
script: bundle exec rake
|
5
5
|
rvm:
|
6
|
-
- 2.
|
6
|
+
- 2.7.1
|
7
|
+
- 2.6.2
|
7
8
|
before_script:
|
8
|
-
- curl -L
|
9
|
-
-
|
10
|
-
|
9
|
+
- "curl -L
|
10
|
+
https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
|
11
|
+
> ./cc-test-reporter"
|
12
|
+
- chmod +x ./cc-test-reporter
|
13
|
+
- "./cc-test-reporter before-build"
|
11
14
|
after_script:
|
12
|
-
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|
15
|
+
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|
13
16
|
notifications:
|
14
17
|
email: false
|
15
18
|
env:
|
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
# Signal
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/fnando/signal.svg?branch=
|
3
|
+
[![Build Status](https://travis-ci.org/fnando/signal.svg?branch=main)](https://travis-ci.org/fnando/signal)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/fnando/signal/badges/gpa.svg)](https://codeclimate.com/github/fnando/signal)
|
5
5
|
[![Test Coverage](https://codeclimate.com/github/fnando/signal/badges/coverage.svg)](https://codeclimate.com/github/fnando/signal)
|
6
|
+
[![Gem](https://img.shields.io/gem/v/signal.svg)](https://rubygems.org/gems/signal)
|
7
|
+
[![Gem](https://img.shields.io/gem/dt/signal.svg)](https://rubygems.org/gems/signal)
|
6
8
|
|
7
9
|
A simple observer implementation on POROs (Plain Old Ruby Object) and
|
8
10
|
ActiveRecord objects.
|
data/Rakefile
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require "bundler/gem_tasks"
|
4
4
|
require "rake/testtask"
|
5
|
+
require "rubocop/rake_task"
|
5
6
|
|
6
7
|
Rake::TestTask.new(:test) do |t|
|
7
8
|
t.libs << "test"
|
@@ -9,4 +10,6 @@ Rake::TestTask.new(:test) do |t|
|
|
9
10
|
t.warning = false
|
10
11
|
end
|
11
12
|
|
12
|
-
|
13
|
+
RuboCop::RakeTask.new
|
14
|
+
|
15
|
+
task default: %i[test rubocop]
|
data/lib/signal/mock.rb
CHANGED
data/lib/signal/version.rb
CHANGED
data/signal.gemspec
CHANGED
@@ -13,8 +13,9 @@ Gem::Specification.new do |spec|
|
|
13
13
|
].join(" ")
|
14
14
|
spec.summary = spec.description
|
15
15
|
spec.homepage = "http://github.com/fnando/signal"
|
16
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
16
17
|
|
17
|
-
spec.files
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
19
|
f.match(%r{^(test|spec|features)/})
|
19
20
|
end
|
20
21
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: signal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -130,6 +130,7 @@ executables: []
|
|
130
130
|
extensions: []
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
|
+
- ".github/FUNDING.yml"
|
133
134
|
- ".gitignore"
|
134
135
|
- ".rubocop.yml"
|
135
136
|
- ".travis.yml"
|
@@ -154,7 +155,7 @@ files:
|
|
154
155
|
homepage: http://github.com/fnando/signal
|
155
156
|
licenses: []
|
156
157
|
metadata: {}
|
157
|
-
post_install_message:
|
158
|
+
post_install_message:
|
158
159
|
rdoc_options: []
|
159
160
|
require_paths:
|
160
161
|
- lib
|
@@ -162,15 +163,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
163
|
requirements:
|
163
164
|
- - ">="
|
164
165
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
166
|
+
version: 2.7.0
|
166
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
168
|
requirements:
|
168
169
|
- - ">="
|
169
170
|
- !ruby/object:Gem::Version
|
170
171
|
version: '0'
|
171
172
|
requirements: []
|
172
|
-
rubygems_version: 3.
|
173
|
-
signing_key:
|
173
|
+
rubygems_version: 3.2.32
|
174
|
+
signing_key:
|
174
175
|
specification_version: 4
|
175
176
|
summary: A simple observer implementation for POROs (Plain Old Ruby Object) and ActiveRecord
|
176
177
|
objects.
|