-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a66e4b3
Showing
80 changed files
with
1,758 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: bundler | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.3.6 | ||
bundler-cache: true | ||
|
||
- name: Lint code for consistent style | ||
run: bin/rubocop -f github | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
||
# services: | ||
# redis: | ||
# image: redis | ||
# ports: | ||
# - 6379:6379 | ||
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | ||
steps: | ||
- name: Install packages | ||
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libvips sqlite3 | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.3.6 | ||
bundler-cache: true | ||
|
||
- name: Run tests | ||
env: | ||
RAILS_ENV: test | ||
# REDIS_URL: redis://localhost:6379/0 | ||
run: bin/rails db:test:prepare test | ||
|
||
- name: Keep screenshots from failed system tests | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: screenshots | ||
path: ${{ github.workspace }}/tmp/screenshots | ||
if-no-files-found: ignore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/.bundle/ | ||
/doc/ | ||
/log/*.log | ||
/pkg/ | ||
/tmp/ | ||
/test/dummy/db/*.sqlite3 | ||
/test/dummy/db/*.sqlite3-* | ||
/test/dummy/log/*.log | ||
/test/dummy/storage/ | ||
/test/dummy/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Omakase Ruby styling for Rails | ||
inherit_gem: { rubocop-rails-omakase: rubocop.yml } | ||
|
||
# Overwrite or add rules to create your own house style | ||
# | ||
# # Use `[a, [b, c]]` not `[ a, [ b, c ] ]` | ||
# Layout/SpaceInsideArrayLiteralBrackets: | ||
# Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in pulse_wire.gemspec. | ||
gemspec | ||
|
||
gem "puma" | ||
|
||
gem "sqlite3" | ||
|
||
gem "propshaft" | ||
|
||
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/] | ||
gem "rubocop-rails-omakase", require: false | ||
|
||
# Start debugger with binding.b [https://github.com/ruby/debug] | ||
# gem "debug", ">= 1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,238 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
pulse_wire (0.1.0) | ||
rails (>= 8.0.0) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (8.0.0) | ||
actionpack (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
zeitwerk (~> 2.6) | ||
actionmailbox (8.0.0) | ||
actionpack (= 8.0.0) | ||
activejob (= 8.0.0) | ||
activerecord (= 8.0.0) | ||
activestorage (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
mail (>= 2.8.0) | ||
actionmailer (8.0.0) | ||
actionpack (= 8.0.0) | ||
actionview (= 8.0.0) | ||
activejob (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
mail (>= 2.8.0) | ||
rails-dom-testing (~> 2.2) | ||
actionpack (8.0.0) | ||
actionview (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
nokogiri (>= 1.8.5) | ||
rack (>= 2.2.4) | ||
rack-session (>= 1.0.1) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
useragent (~> 0.16) | ||
actiontext (8.0.0) | ||
actionpack (= 8.0.0) | ||
activerecord (= 8.0.0) | ||
activestorage (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
globalid (>= 0.6.0) | ||
nokogiri (>= 1.8.5) | ||
actionview (8.0.0) | ||
activesupport (= 8.0.0) | ||
builder (~> 3.1) | ||
erubi (~> 1.11) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
activejob (8.0.0) | ||
activesupport (= 8.0.0) | ||
globalid (>= 0.3.6) | ||
activemodel (8.0.0) | ||
activesupport (= 8.0.0) | ||
activerecord (8.0.0) | ||
activemodel (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
timeout (>= 0.4.0) | ||
activestorage (8.0.0) | ||
actionpack (= 8.0.0) | ||
activejob (= 8.0.0) | ||
activerecord (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
marcel (~> 1.0) | ||
activesupport (8.0.0) | ||
base64 | ||
benchmark (>= 0.3) | ||
bigdecimal | ||
concurrent-ruby (~> 1.0, >= 1.3.1) | ||
connection_pool (>= 2.2.5) | ||
drb | ||
i18n (>= 1.6, < 2) | ||
logger (>= 1.4.2) | ||
minitest (>= 5.1) | ||
securerandom (>= 0.3) | ||
tzinfo (~> 2.0, >= 2.0.5) | ||
uri (>= 0.13.1) | ||
ast (2.4.2) | ||
base64 (0.2.0) | ||
benchmark (0.4.0) | ||
bigdecimal (3.1.8) | ||
builder (3.3.0) | ||
concurrent-ruby (1.3.4) | ||
connection_pool (2.4.1) | ||
crass (1.0.6) | ||
date (3.4.0) | ||
drb (2.2.1) | ||
erubi (1.13.0) | ||
globalid (1.2.1) | ||
activesupport (>= 6.1) | ||
i18n (1.14.6) | ||
concurrent-ruby (~> 1.0) | ||
io-console (0.7.2) | ||
irb (1.14.1) | ||
rdoc (>= 4.0.0) | ||
reline (>= 0.4.2) | ||
json (2.8.2) | ||
language_server-protocol (3.17.0.3) | ||
logger (1.6.1) | ||
loofah (2.23.1) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.12.0) | ||
mail (2.8.1) | ||
mini_mime (>= 0.1.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
marcel (1.0.4) | ||
mini_mime (1.1.5) | ||
minitest (5.25.1) | ||
net-imap (0.5.1) | ||
date | ||
net-protocol | ||
net-pop (0.1.2) | ||
net-protocol | ||
net-protocol (0.2.2) | ||
timeout | ||
net-smtp (0.5.0) | ||
net-protocol | ||
nio4r (2.7.4) | ||
nokogiri (1.16.7-arm64-darwin) | ||
racc (~> 1.4) | ||
parallel (1.26.3) | ||
parser (3.3.6.0) | ||
ast (~> 2.4.1) | ||
racc | ||
propshaft (1.1.0) | ||
actionpack (>= 7.0.0) | ||
activesupport (>= 7.0.0) | ||
rack | ||
railties (>= 7.0.0) | ||
psych (5.2.0) | ||
stringio | ||
puma (6.4.3) | ||
nio4r (~> 2.0) | ||
racc (1.8.1) | ||
rack (3.1.8) | ||
rack-session (2.0.0) | ||
rack (>= 3.0.0) | ||
rack-test (2.1.0) | ||
rack (>= 1.3) | ||
rackup (2.2.1) | ||
rack (>= 3) | ||
rails (8.0.0) | ||
actioncable (= 8.0.0) | ||
actionmailbox (= 8.0.0) | ||
actionmailer (= 8.0.0) | ||
actionpack (= 8.0.0) | ||
actiontext (= 8.0.0) | ||
actionview (= 8.0.0) | ||
activejob (= 8.0.0) | ||
activemodel (= 8.0.0) | ||
activerecord (= 8.0.0) | ||
activestorage (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
bundler (>= 1.15.0) | ||
railties (= 8.0.0) | ||
rails-dom-testing (2.2.0) | ||
activesupport (>= 5.0.0) | ||
minitest | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.6.0) | ||
loofah (~> 2.21) | ||
nokogiri (~> 1.14) | ||
railties (8.0.0) | ||
actionpack (= 8.0.0) | ||
activesupport (= 8.0.0) | ||
irb (~> 1.13) | ||
rackup (>= 1.0.0) | ||
rake (>= 12.2) | ||
thor (~> 1.0, >= 1.2.2) | ||
zeitwerk (~> 2.6) | ||
rainbow (3.1.1) | ||
rake (13.2.1) | ||
rdoc (6.8.1) | ||
psych (>= 4.0.0) | ||
regexp_parser (2.9.2) | ||
reline (0.5.11) | ||
io-console (~> 0.5) | ||
rubocop (1.68.0) | ||
json (~> 2.3) | ||
language_server-protocol (>= 3.17.0) | ||
parallel (~> 1.10) | ||
parser (>= 3.3.0.2) | ||
rainbow (>= 2.2.2, < 4.0) | ||
regexp_parser (>= 2.4, < 3.0) | ||
rubocop-ast (>= 1.32.2, < 2.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 2.4.0, < 3.0) | ||
rubocop-ast (1.36.1) | ||
parser (>= 3.3.1.0) | ||
rubocop-minitest (0.36.0) | ||
rubocop (>= 1.61, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
rubocop-performance (1.23.0) | ||
rubocop (>= 1.48.1, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
rubocop-rails (2.27.0) | ||
activesupport (>= 4.2.0) | ||
rack (>= 1.1) | ||
rubocop (>= 1.52.0, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
rubocop-rails-omakase (1.0.0) | ||
rubocop | ||
rubocop-minitest | ||
rubocop-performance | ||
rubocop-rails | ||
ruby-progressbar (1.13.0) | ||
securerandom (0.3.2) | ||
sqlite3 (2.2.0-arm64-darwin) | ||
stringio (3.1.2) | ||
thor (1.3.2) | ||
timeout (0.4.2) | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
unicode-display_width (2.6.0) | ||
uri (1.0.2) | ||
useragent (0.16.10) | ||
websocket-driver (0.7.6) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
zeitwerk (2.7.1) | ||
|
||
PLATFORMS | ||
arm64-darwin | ||
|
||
DEPENDENCIES | ||
propshaft | ||
pulse_wire! | ||
puma | ||
rubocop-rails-omakase | ||
sqlite3 | ||
|
||
BUNDLED WITH | ||
2.5.23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Copyright Jorge Manrubia | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# PulseWire | ||
Short description and motivation. | ||
|
||
## Usage | ||
How to use my plugin. | ||
|
||
## Installation | ||
Add this line to your application's Gemfile: | ||
|
||
```ruby | ||
gem "pulse_wire" | ||
``` | ||
|
||
And then execute: | ||
```bash | ||
$ bundle | ||
``` | ||
|
||
Or install it yourself as: | ||
```bash | ||
$ gem install pulse_wire | ||
``` | ||
|
||
## Contributing | ||
Contribution directions go here. | ||
|
||
## License | ||
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). |
Oops, something went wrong.