-
Notifications
You must be signed in to change notification settings - Fork 1
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 33fbd38
Showing
71 changed files
with
1,585 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,9 @@ | ||
# See https://git-scm.com/docs/gitattributes for more about git attribute files. | ||
|
||
# Mark the database schema as having been generated. | ||
db/schema.rb linguist-generated | ||
|
||
# Mark any vendored files as having been vendored. | ||
vendor/* linguist-vendored | ||
config/credentials/*.yml.enc diff=rails_credentials | ||
config/credentials.yml.enc diff=rails_credentials |
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,45 @@ | ||
|
||
name: Check & deploy API documentation | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
deploy-doc: | ||
if: ${{ github.event_name == 'push' }} | ||
name: Deploy API documentation on Bump.sh | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Deploy API documentation | ||
uses: bump-sh/github-action@v1 | ||
with: | ||
doc: rails-hello-openapi | ||
token: ${{secrets.BUMP_TOKEN}} | ||
file: doc/api-documentation.yml | ||
api-diff: | ||
if: ${{ github.event_name == 'pull_request' }} | ||
name: Check API diff on Bump.sh | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Comment pull request with API diff | ||
uses: bump-sh/github-action@v1 | ||
with: | ||
doc: rails-hello-openapi | ||
token: ${{secrets.BUMP_TOKEN}} | ||
file: doc/api-documentation.yml | ||
command: diff | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
|
||
|
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,33 @@ | ||
# See https://help.github.com/articles/ignoring-files for more about ignoring files. | ||
# | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# git config --global core.excludesfile '~/.gitignore_global' | ||
|
||
# Ignore bundler config. | ||
/.bundle | ||
|
||
# Ignore all environment files (except templates). | ||
/.env* | ||
!/.env*.erb | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/* | ||
/tmp/* | ||
!/log/.keep | ||
!/tmp/.keep | ||
|
||
# Ignore pidfiles, but keep the directory. | ||
/tmp/pids/* | ||
!/tmp/pids/ | ||
!/tmp/pids/.keep | ||
|
||
# Ignore storage (uploaded files in development and any SQLite databases). | ||
/storage/* | ||
!/storage/.keep | ||
/tmp/storage/* | ||
!/tmp/storage/ | ||
!/tmp/storage/.keep | ||
|
||
# Ignore master key for decrypting credentials and more. | ||
/config/master.key |
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 @@ | ||
--require spec_helper |
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 @@ | ||
ruby-3.3.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 @@ | ||
ruby 2.7.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,16 @@ | ||
source "https://rubygems.org" | ||
|
||
ruby "2.7.0" | ||
|
||
gem "rails", "~> 7.1.2" | ||
gem "sqlite3", "~> 1.4" | ||
gem "puma", ">= 5.0" | ||
|
||
gem 'rspec-rails', '~> 6.0.0' | ||
gem 'rswag' | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem "tzinfo-data", platforms: %i[ mswin jruby ] | ||
|
||
# Reduces boot times through caching; required in config/boot.rb | ||
gem "bootsnap", require: 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,258 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (7.1.2) | ||
actionpack (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
zeitwerk (~> 2.6) | ||
actionmailbox (7.1.2) | ||
actionpack (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activestorage (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
mail (>= 2.7.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
actionmailer (7.1.2) | ||
actionpack (= 7.1.2) | ||
actionview (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
mail (~> 2.5, >= 2.5.4) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
rails-dom-testing (~> 2.2) | ||
actionpack (7.1.2) | ||
actionview (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
nokogiri (>= 1.8.5) | ||
racc | ||
rack (>= 2.2.4) | ||
rack-session (>= 1.0.1) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
actiontext (7.1.2) | ||
actionpack (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activestorage (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
globalid (>= 0.6.0) | ||
nokogiri (>= 1.8.5) | ||
actionview (7.1.2) | ||
activesupport (= 7.1.2) | ||
builder (~> 3.1) | ||
erubi (~> 1.11) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
activejob (7.1.2) | ||
activesupport (= 7.1.2) | ||
globalid (>= 0.3.6) | ||
activemodel (7.1.2) | ||
activesupport (= 7.1.2) | ||
activerecord (7.1.2) | ||
activemodel (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
timeout (>= 0.4.0) | ||
activestorage (7.1.2) | ||
actionpack (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
marcel (~> 1.0) | ||
activesupport (7.1.2) | ||
base64 | ||
bigdecimal | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
connection_pool (>= 2.2.5) | ||
drb | ||
i18n (>= 1.6, < 2) | ||
minitest (>= 5.1) | ||
mutex_m | ||
tzinfo (~> 2.0) | ||
addressable (2.8.6) | ||
public_suffix (>= 2.0.2, < 6.0) | ||
base64 (0.2.0) | ||
bigdecimal (3.1.5) | ||
bootsnap (1.17.0) | ||
msgpack (~> 1.2) | ||
builder (3.2.4) | ||
concurrent-ruby (1.2.2) | ||
connection_pool (2.4.1) | ||
crass (1.0.6) | ||
date (3.3.4) | ||
diff-lcs (1.5.0) | ||
drb (2.2.0) | ||
ruby2_keywords | ||
erubi (1.12.0) | ||
globalid (1.2.1) | ||
activesupport (>= 6.1) | ||
i18n (1.14.1) | ||
concurrent-ruby (~> 1.0) | ||
io-console (0.7.1) | ||
irb (1.11.0) | ||
rdoc | ||
reline (>= 0.3.8) | ||
json-schema (4.1.1) | ||
addressable (>= 2.8) | ||
loofah (2.22.0) | ||
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.2) | ||
mini_mime (1.1.5) | ||
mini_portile2 (2.8.5) | ||
minitest (5.20.0) | ||
msgpack (1.7.2) | ||
mutex_m (0.2.0) | ||
net-imap (0.3.7) | ||
date | ||
net-protocol | ||
net-pop (0.1.2) | ||
net-protocol | ||
net-protocol (0.2.2) | ||
timeout | ||
net-smtp (0.4.0) | ||
net-protocol | ||
nio4r (2.7.0) | ||
nokogiri (1.15.5) | ||
mini_portile2 (~> 2.8.2) | ||
racc (~> 1.4) | ||
nokogiri (1.15.5-aarch64-linux) | ||
racc (~> 1.4) | ||
nokogiri (1.15.5-arm-linux) | ||
racc (~> 1.4) | ||
nokogiri (1.15.5-arm64-darwin) | ||
racc (~> 1.4) | ||
nokogiri (1.15.5-x86-linux) | ||
racc (~> 1.4) | ||
nokogiri (1.15.5-x86_64-darwin) | ||
racc (~> 1.4) | ||
nokogiri (1.15.5-x86_64-linux) | ||
racc (~> 1.4) | ||
psych (5.1.2) | ||
stringio | ||
public_suffix (5.0.4) | ||
puma (6.4.0) | ||
nio4r (~> 2.0) | ||
racc (1.7.3) | ||
rack (3.0.8) | ||
rack-session (2.0.0) | ||
rack (>= 3.0.0) | ||
rack-test (2.1.0) | ||
rack (>= 1.3) | ||
rackup (2.1.0) | ||
rack (>= 3) | ||
webrick (~> 1.8) | ||
rails (7.1.2) | ||
actioncable (= 7.1.2) | ||
actionmailbox (= 7.1.2) | ||
actionmailer (= 7.1.2) | ||
actionpack (= 7.1.2) | ||
actiontext (= 7.1.2) | ||
actionview (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activemodel (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activestorage (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
bundler (>= 1.15.0) | ||
railties (= 7.1.2) | ||
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 (7.1.2) | ||
actionpack (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
irb | ||
rackup (>= 1.0.0) | ||
rake (>= 12.2) | ||
thor (~> 1.0, >= 1.2.2) | ||
zeitwerk (~> 2.6) | ||
rake (13.1.0) | ||
rdoc (6.6.2) | ||
psych (>= 4.0.0) | ||
reline (0.4.1) | ||
io-console (~> 0.5) | ||
rspec-core (3.12.2) | ||
rspec-support (~> 3.12.0) | ||
rspec-expectations (3.12.3) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.12.0) | ||
rspec-mocks (3.12.6) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.12.0) | ||
rspec-rails (6.0.4) | ||
actionpack (>= 6.1) | ||
activesupport (>= 6.1) | ||
railties (>= 6.1) | ||
rspec-core (~> 3.12) | ||
rspec-expectations (~> 3.12) | ||
rspec-mocks (~> 3.12) | ||
rspec-support (~> 3.12) | ||
rspec-support (3.12.1) | ||
rswag (2.13.0) | ||
rswag-api (= 2.13.0) | ||
rswag-specs (= 2.13.0) | ||
rswag-ui (= 2.13.0) | ||
rswag-api (2.13.0) | ||
activesupport (>= 3.1, < 7.2) | ||
railties (>= 3.1, < 7.2) | ||
rswag-specs (2.13.0) | ||
activesupport (>= 3.1, < 7.2) | ||
json-schema (>= 2.2, < 5.0) | ||
railties (>= 3.1, < 7.2) | ||
rspec-core (>= 2.14) | ||
rswag-ui (2.13.0) | ||
actionpack (>= 3.1, < 7.2) | ||
railties (>= 3.1, < 7.2) | ||
ruby2_keywords (0.0.5) | ||
sqlite3 (1.7.0) | ||
mini_portile2 (~> 2.8.0) | ||
stringio (3.1.0) | ||
thor (1.3.0) | ||
timeout (0.4.1) | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
webrick (1.8.1) | ||
websocket-driver (0.7.6) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
zeitwerk (2.6.12) | ||
|
||
PLATFORMS | ||
aarch64-linux | ||
arm-linux | ||
arm64-darwin | ||
ruby | ||
x86-linux | ||
x86_64-darwin | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
bootsnap | ||
puma (>= 5.0) | ||
rails (~> 7.1.2) | ||
rspec-rails (~> 6.0.0) | ||
rswag | ||
sqlite3 (~> 1.4) | ||
tzinfo-data | ||
|
||
RUBY VERSION | ||
ruby 2.7.0p0 | ||
|
||
BUNDLED WITH | ||
2.4.22 |
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,24 @@ | ||
# README | ||
|
||
This README would normally document whatever steps are necessary to get the | ||
application up and running. | ||
|
||
Things you may want to cover: | ||
|
||
* Ruby version | ||
|
||
* System dependencies | ||
|
||
* Configuration | ||
|
||
* Database creation | ||
|
||
* Database initialization | ||
|
||
* How to run the test suite | ||
|
||
* Services (job queues, cache servers, search engines, etc.) | ||
|
||
* Deployment instructions | ||
|
||
* ... |
Oops, something went wrong.