-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
12 changed files
with
115 additions
and
10 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,38 @@ | ||
name: Test superglue_rails | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Ruby ${{ matrix.ruby }}. Rails ${{ matrix.version }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: ["3.3", "3.2", "3.1"] | ||
version: ["70", "71", "72", "80"] | ||
exclude: | ||
- ruby: 3.1 | ||
version: 80 | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Which bundler? | ||
run: bundle -v | ||
- name: Using Gemfile | ||
run: | | ||
mv -f Gemfile.${{ matrix.version }} ./Gemfile | ||
- name: Bundle install | ||
run: bundle install | ||
- name: Run unit test | ||
run: bundle exec rake test | ||
- name: Run acceptance test | ||
run: BUNDLE_GEMFILE='' ruby -Ilib:test test/acceptance/superglue_installation_acceptance.rb |
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,19 @@ | ||
name: update-security | ||
|
||
on: | ||
push: | ||
paths: | ||
- SECURITY.md | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-security: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
pages: write | ||
uses: thoughtbot/templates/.github/workflows/dynamic-security.yaml@main | ||
secrets: | ||
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ breezy/build/**/*.js | |
props_template/performance/**/*.png | ||
.tool-versions | ||
testapp/ | ||
|
||
superglue/ |
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 |
---|---|---|
|
@@ -9,3 +9,6 @@ gem 'capybara' | |
gem 'minitest' | ||
gem 'rake' | ||
gem 'sqlite3', '~> 1.4' | ||
gem 'byebug' | ||
gem 'git' | ||
|
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ gem 'capybara' | |
gem 'minitest' | ||
gem 'rake' | ||
gem 'sqlite3', '~> 1.4' | ||
gem 'git' |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ gem 'capybara' | |
gem 'minitest' | ||
gem 'rake' | ||
gem 'sqlite3', '~> 1.4' | ||
gem 'git' |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ gem 'capybara' | |
gem 'minitest' | ||
gem 'rake' | ||
gem 'sqlite3', '~> 1.4' | ||
gem 'git' |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ gem 'capybara' | |
gem 'minitest' | ||
gem 'rake' | ||
gem 'sqlite3' | ||
gem 'git' |
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,32 @@ | ||
<div align="center" style="padding: 30px 0px 20px 0px;"> | ||
<img src="https://thoughtbot.github.io/superglue/images/superglue.svg" data-origin="images/superglue.svg" alt="Logo" width=250> | ||
</div> | ||
|
||
# Superglue Rails | ||
Use classic Rails to build rich React Redux applications with **NO APIs** and | ||
**NO client-side routing**. | ||
|
||
This is the officially supported Rails adapter to [Superglue]. This gem will | ||
add install and scaffold generators to your rails project. | ||
|
||
To get started, visit the [documentation] and add this to your Gemfile | ||
|
||
[documentation]: https://thoughtbot.github.io/superglue/ | ||
|
||
``` | ||
gem 'superglue' | ||
``` | ||
|
||
Then run `bundle` | ||
|
||
[![Test superglue_rails](https://github.com/thoughtbot/superglue_rails/actions/workflows/build_rails.yml/badge.svg)](https://github.com/thoughtbot/superglue_rails/actions/workflows/build_rails.yml) | ||
|
||
## Documentation | ||
|
||
Documentation is hosted on [Github pages](https://thoughtbot.github.io/superglue). | ||
|
||
## Contributing | ||
|
||
Thank you, [contributors]! | ||
|
||
[contributors]: https://github.com/thoughtbot/superglue_rails/graphs/contributors |
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 @@ | ||
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
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