signal 1.3.0 → 1.3.1
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/.github/CODEOWNERS +4 -0
- data/.github/FUNDING.yml +2 -1
- data/.github/ISSUE_TEMPLATE/bug_report.md +41 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +23 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +38 -0
- data/.github/dependabot.yml +15 -0
- data/.github/workflows/ruby-tests.yml +53 -0
- data/README.md +2 -4
- data/lib/signal/version.rb +1 -1
- data/signal.gemspec +9 -0
- metadata +31 -4
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42c616e824230754896cad89c03eec41fc73d84743d93d0f869291a4f9a0305f
|
|
4
|
+
data.tar.gz: f87c40855eac4f158c70a76441e02dc7e3f28c1d2c3a81ede9d0a008013b1fcf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0fa93fccec13f76eb3b3b47a19c5cf24bcd18a3c8a5c185615c6119c4e65241daf3939198e32489973a4e807d14ee80829d3e43a14c42fd9fd8a813cebf3558
|
|
7
|
+
data.tar.gz: b8ea8d8a3e015ce73f57b337b83df1a27584c439cf92c0c65fdf5a06f0c3cf477362d7d8c05c1a01e1769402d5245b778c523b63debd35a2c6c8c73e3c67d26b
|
data/.github/CODEOWNERS
ADDED
data/.github/FUNDING.yml
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "🐛 Bug Report"
|
|
3
|
+
about: Report a reproducible bug or regression.
|
|
4
|
+
title: 'Bug: '
|
|
5
|
+
labels: 'Status: Unconfirmed'
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!--
|
|
10
|
+
- Please provide a clear and concise description of what the bug is.
|
|
11
|
+
- If possible, add an example reproducing your issue.
|
|
12
|
+
- Please test using the latest version of rails_env
|
|
13
|
+
to make sure your issue has not already been fixed.
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
## Description
|
|
17
|
+
|
|
18
|
+
[Add bug description here]
|
|
19
|
+
|
|
20
|
+
## How to reproduce
|
|
21
|
+
|
|
22
|
+
[Add steps on how to reproduce this issue]
|
|
23
|
+
|
|
24
|
+
## What do you expect
|
|
25
|
+
|
|
26
|
+
[Describe what do you expect to happen]
|
|
27
|
+
|
|
28
|
+
## What happened instead
|
|
29
|
+
|
|
30
|
+
[Describe the actual results]
|
|
31
|
+
|
|
32
|
+
## Software:
|
|
33
|
+
|
|
34
|
+
- Gem version: [Add gem version here]
|
|
35
|
+
- Ruby version: [Add version here]
|
|
36
|
+
|
|
37
|
+
## Full backtrace
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
[Paste full backtrace here]
|
|
41
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "💡 Feature request"
|
|
3
|
+
about: Have an idea that may be useful? Make a suggestion!
|
|
4
|
+
title: 'Feature Request: '
|
|
5
|
+
labels: 'Feature request'
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Description
|
|
10
|
+
|
|
11
|
+
_A clear and concise description of what the problem is._
|
|
12
|
+
|
|
13
|
+
## Describe the solution
|
|
14
|
+
|
|
15
|
+
_A clear and concise description of what you want to happen._
|
|
16
|
+
|
|
17
|
+
## Alternatives you considered
|
|
18
|
+
|
|
19
|
+
_A clear and concise description of any alternative solutions or features you've considered._
|
|
20
|
+
|
|
21
|
+
## Additional context
|
|
22
|
+
|
|
23
|
+
_Add any other context, screenshots, links, etc about the feature request here._
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
If you're making a doc PR or something tiny where the below is irrelevant,
|
|
3
|
+
delete this template and use a short description, but in your description aim to
|
|
4
|
+
include both what the change is, and why it is being made, with enough context
|
|
5
|
+
for anyone to understand.
|
|
6
|
+
-->
|
|
7
|
+
|
|
8
|
+
<details>
|
|
9
|
+
<summary>PR Checklist</summary>
|
|
10
|
+
|
|
11
|
+
### PR Structure
|
|
12
|
+
|
|
13
|
+
- [ ] This PR has reasonably narrow scope (if not, break it down into smaller
|
|
14
|
+
PRs).
|
|
15
|
+
- [ ] This PR avoids mixing refactoring changes with feature changes (split into
|
|
16
|
+
two PRs otherwise).
|
|
17
|
+
- [ ] This PR's title starts is concise and descriptive.
|
|
18
|
+
|
|
19
|
+
### Thoroughness
|
|
20
|
+
|
|
21
|
+
- [ ] This PR adds tests for the most critical parts of the new functionality or
|
|
22
|
+
fixes.
|
|
23
|
+
- [ ] I've updated any docs, `.md` files, etc… affected by this change.
|
|
24
|
+
|
|
25
|
+
</details>
|
|
26
|
+
|
|
27
|
+
### What
|
|
28
|
+
|
|
29
|
+
[TODO: Short statement about what is changing.]
|
|
30
|
+
|
|
31
|
+
### Why
|
|
32
|
+
|
|
33
|
+
[TODO: Why this change is being made. Include any context required to understand
|
|
34
|
+
the why.]
|
|
35
|
+
|
|
36
|
+
### Known limitations
|
|
37
|
+
|
|
38
|
+
[TODO or N/A]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
# Documentation:
|
|
3
|
+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
4
|
+
|
|
5
|
+
version: 2
|
|
6
|
+
updates:
|
|
7
|
+
- package-ecosystem: "github-actions"
|
|
8
|
+
directory: "/"
|
|
9
|
+
schedule:
|
|
10
|
+
interval: "daily"
|
|
11
|
+
|
|
12
|
+
- package-ecosystem: "bundler"
|
|
13
|
+
directory: "/"
|
|
14
|
+
schedule:
|
|
15
|
+
interval: "daily"
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ruby-tests
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
pull_request:
|
|
6
|
+
push:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
inputs: {}
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }}
|
|
13
|
+
runs-on: "ubuntu-latest"
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
ruby: ["2.7", "3.0"]
|
|
18
|
+
gemfile:
|
|
19
|
+
- Gemfile
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v2.4.0
|
|
23
|
+
|
|
24
|
+
- uses: actions/cache@v2.1.7
|
|
25
|
+
with:
|
|
26
|
+
path: vendor/bundle
|
|
27
|
+
key: >
|
|
28
|
+
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
|
|
29
|
+
hashFiles(matrix.gemfile) }}
|
|
30
|
+
restore-keys: >
|
|
31
|
+
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
|
|
32
|
+
hashFiles(matrix.gemfile) }}
|
|
33
|
+
|
|
34
|
+
- name: Set up Ruby
|
|
35
|
+
uses: ruby/setup-ruby@v1
|
|
36
|
+
with:
|
|
37
|
+
ruby-version: ${{ matrix.ruby }}
|
|
38
|
+
|
|
39
|
+
- name: Install gem dependencies
|
|
40
|
+
env:
|
|
41
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
42
|
+
run: |
|
|
43
|
+
gem install bundler
|
|
44
|
+
bundle config path vendor/bundle
|
|
45
|
+
bundle update --jobs 4 --retry 3
|
|
46
|
+
|
|
47
|
+
- name: Run Tests
|
|
48
|
+
env:
|
|
49
|
+
PGHOST: localhost
|
|
50
|
+
PGUSER: postgres
|
|
51
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
52
|
+
run: |
|
|
53
|
+
bundle exec rake
|
data/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# Signal
|
|
2
2
|
|
|
3
|
-
[](https://codeclimate.com/github/fnando/signal)
|
|
5
|
-
[](https://codeclimate.com/github/fnando/signal)
|
|
3
|
+
[](https://github.com/fnando/signal/actions/workflows/ruby-tests.yml)
|
|
6
4
|
[](https://rubygems.org/gems/signal)
|
|
7
5
|
[](https://rubygems.org/gems/signal)
|
|
8
6
|
|
|
@@ -14,7 +12,7 @@ ActiveRecord objects.
|
|
|
14
12
|
Add this line to your application's Gemfile:
|
|
15
13
|
|
|
16
14
|
```ruby
|
|
17
|
-
gem
|
|
15
|
+
gem "signal"
|
|
18
16
|
```
|
|
19
17
|
|
|
20
18
|
And then execute:
|
data/lib/signal/version.rb
CHANGED
data/signal.gemspec
CHANGED
|
@@ -23,6 +23,15 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
24
24
|
spec.require_paths = ["lib"]
|
|
25
25
|
|
|
26
|
+
spec.post_install_message =
|
|
27
|
+
"\n====================================================================\n" \
|
|
28
|
+
"`signal` has been deprecated in favor of `voltage`.\n" \
|
|
29
|
+
"To install it, use `gem install voltage` or add it to your gemfile.\n" \
|
|
30
|
+
"For details, please visit https://github.com/fnando/signal/issues/6" \
|
|
31
|
+
"\n====================================================================\n\n"
|
|
32
|
+
|
|
33
|
+
spec.add_dependency "voltage"
|
|
34
|
+
|
|
26
35
|
spec.add_development_dependency "activerecord"
|
|
27
36
|
spec.add_development_dependency "minitest-utils"
|
|
28
37
|
spec.add_development_dependency "pry-meta"
|
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: signal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nando Vieira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-12-
|
|
11
|
+
date: 2021-12-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: voltage
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: activerecord
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -130,10 +144,15 @@ executables: []
|
|
|
130
144
|
extensions: []
|
|
131
145
|
extra_rdoc_files: []
|
|
132
146
|
files:
|
|
147
|
+
- ".github/CODEOWNERS"
|
|
133
148
|
- ".github/FUNDING.yml"
|
|
149
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
150
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
151
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
152
|
+
- ".github/dependabot.yml"
|
|
153
|
+
- ".github/workflows/ruby-tests.yml"
|
|
134
154
|
- ".gitignore"
|
|
135
155
|
- ".rubocop.yml"
|
|
136
|
-
- ".travis.yml"
|
|
137
156
|
- Gemfile
|
|
138
157
|
- LICENSE.txt
|
|
139
158
|
- README.md
|
|
@@ -155,7 +174,14 @@ files:
|
|
|
155
174
|
homepage: http://github.com/fnando/signal
|
|
156
175
|
licenses: []
|
|
157
176
|
metadata: {}
|
|
158
|
-
post_install_message:
|
|
177
|
+
post_install_message: |2+
|
|
178
|
+
|
|
179
|
+
====================================================================
|
|
180
|
+
`signal` has been deprecated in favor of `voltage`.
|
|
181
|
+
To install it, use `gem install voltage` or add it to your gemfile.
|
|
182
|
+
For details, please visit https://github.com/fnando/signal/issues/6
|
|
183
|
+
====================================================================
|
|
184
|
+
|
|
159
185
|
rdoc_options: []
|
|
160
186
|
require_paths:
|
|
161
187
|
- lib
|
|
@@ -176,3 +202,4 @@ specification_version: 4
|
|
|
176
202
|
summary: A simple observer implementation for POROs (Plain Old Ruby Object) and ActiveRecord
|
|
177
203
|
objects.
|
|
178
204
|
test_files: []
|
|
205
|
+
...
|
data/.travis.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
cache: bundler
|
|
3
|
-
sudo: false
|
|
4
|
-
script: bundle exec rake
|
|
5
|
-
rvm:
|
|
6
|
-
- 2.7.1
|
|
7
|
-
- 2.6.2
|
|
8
|
-
before_script:
|
|
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"
|
|
14
|
-
after_script:
|
|
15
|
-
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|
|
16
|
-
notifications:
|
|
17
|
-
email: false
|
|
18
|
-
env:
|
|
19
|
-
global:
|
|
20
|
-
secure: EmzkOnefLJlsAbh4tKzcdfX9PiwQMNSmWz1aTaieA1C9GJryT2JswBa/eVgU3jDKPhFFdZ5X8K6bf0ArAdDXFMW5+DPQ9nWDOCUH3QuuFTOicyTi16W8HCozbLTg49CdB0kP4iQlA3rdpje/T9zgsTvdNDuBevB90JplHy5Lu6o=
|