Skip to content

Commit c502e94

Browse files
committed
Initial commit
0 parents  commit c502e94

54 files changed

Lines changed: 4401 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Steps to reproduce
2+
3+
## Expected behavior
4+
5+
<!-- Tell us what should happen -->
6+
7+
## Actual behavior
8+
9+
<!-- Tell us what happens instead -->
10+
11+
## System configuration
12+
13+
**importmap-update version**:
14+
15+
**importmap-rails version**:
16+
17+
**Ruby version**:

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
ruby: ["3.2", "3.3", "3.4", "4.0"]
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: ${{ matrix.ruby }}
19+
bundler-cache: true
20+
- run: bundle exec rake test
21+
22+
lint:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: ruby/setup-ruby@v1
27+
with:
28+
bundler-cache: true
29+
- run: bundle exec standardrb

.gitignore

Whitespace-only changes.

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby 4.0.1

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @neilvcarvalho

CODE_OF_CONDUCT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Code of conduct
2+
3+
By participating in this project, you agree to abide by the
4+
[thoughtbot code of conduct][1].
5+
6+
[1]: https://thoughtbot.com/open-source-code-of-conduct

CONTRIBUTING.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Contributing
2+
3+
We love contributions from everyone.
4+
By participating in this project,
5+
you agree to abide by the thoughtbot [code of conduct].
6+
7+
[code of conduct]: https://thoughtbot.com/open-source-code-of-conduct
8+
9+
We expect everyone to follow the code of conduct
10+
anywhere in thoughtbot's project codebases,
11+
issue trackers, chatrooms, and mailing lists.
12+
13+
## Contributing Code
14+
15+
Install dependencies
16+
17+
bundle install
18+
19+
Fork the repo.
20+
21+
Make sure the tests pass:
22+
23+
bundle exec rake
24+
25+
Make your change, with new passing tests. Follow the [style guide][style].
26+
27+
[style]: https://github.com/thoughtbot/guides/tree/master/style
28+
29+
Mention how your changes affect the project to other developers and users in the
30+
`NEWS.md` file.
31+
32+
Push to your fork. Write a [good commit message][commit]. Submit a pull request.
33+
34+
[commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
35+
36+
Others will give constructive feedback.
37+
This is a time for discussion and improvements,
38+
and making the necessary changes will be required before we can
39+
merge the contribution.

Gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
source "https://rubygems.org"
2+
ruby ">= 3.2"
3+
4+
group :development, :test do
5+
gem "rake"
6+
gem "minitest"
7+
end
8+
9+
group :development do
10+
gem "standardrb"
11+
end

Gemfile.lock

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
ast (2.4.3)
5+
drb (2.2.3)
6+
json (2.19.5)
7+
language_server-protocol (3.17.0.5)
8+
lint_roller (1.1.0)
9+
minitest (6.0.6)
10+
drb (~> 2.0)
11+
prism (~> 1.5)
12+
parallel (1.28.0)
13+
parser (3.3.11.1)
14+
ast (~> 2.4.1)
15+
racc
16+
prism (1.9.0)
17+
racc (1.8.1)
18+
rainbow (3.1.1)
19+
rake (13.4.2)
20+
regexp_parser (2.12.0)
21+
rubocop (1.84.2)
22+
json (~> 2.3)
23+
language_server-protocol (~> 3.17.0.2)
24+
lint_roller (~> 1.1.0)
25+
parallel (~> 1.10)
26+
parser (>= 3.3.0.2)
27+
rainbow (>= 2.2.2, < 4.0)
28+
regexp_parser (>= 2.9.3, < 3.0)
29+
rubocop-ast (>= 1.49.0, < 2.0)
30+
ruby-progressbar (~> 1.7)
31+
unicode-display_width (>= 2.4.0, < 4.0)
32+
rubocop-ast (1.49.1)
33+
parser (>= 3.3.7.2)
34+
prism (~> 1.7)
35+
rubocop-performance (1.26.1)
36+
lint_roller (~> 1.1)
37+
rubocop (>= 1.75.0, < 2.0)
38+
rubocop-ast (>= 1.47.1, < 2.0)
39+
ruby-progressbar (1.13.0)
40+
standard (1.54.0)
41+
language_server-protocol (~> 3.17.0.2)
42+
lint_roller (~> 1.0)
43+
rubocop (~> 1.84.0)
44+
standard-custom (~> 1.0.0)
45+
standard-performance (~> 1.8)
46+
standard-custom (1.0.2)
47+
lint_roller (~> 1.0)
48+
rubocop (~> 1.50)
49+
standard-performance (1.9.0)
50+
lint_roller (~> 1.1)
51+
rubocop-performance (~> 1.26.0)
52+
standardrb (1.0.1)
53+
standard
54+
unicode-display_width (3.2.0)
55+
unicode-emoji (~> 4.1)
56+
unicode-emoji (4.2.0)
57+
58+
PLATFORMS
59+
arm64-darwin-25
60+
ruby
61+
62+
DEPENDENCIES
63+
minitest
64+
rake
65+
standardrb
66+
67+
CHECKSUMS
68+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
69+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
70+
json (2.19.5) sha256=218a18553e4801d579ca7e0f5bc72bafd776d7397238a1fb4e74db5b0a812c59
71+
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
72+
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
73+
minitest (6.0.6) sha256=153ea36d1d987a62942382b61075745042a2b3123b1cd48f4c3675af9cc7d6f1
74+
parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970
75+
parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54
76+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
77+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
78+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
79+
rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
80+
regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
81+
rubocop (1.84.2) sha256=5692cea54168f3dc8cb79a6fe95c5424b7ea893c707ad7a4307b0585e88dbf5f
82+
rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
83+
rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
84+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
85+
standard (1.54.0) sha256=7a4b08f83d9893083c8f03bc486f0feeb6a84d48233b40829c03ef4767ea0100
86+
standard-custom (1.0.2) sha256=424adc84179a074f1a2a309bb9cf7cd6bfdb2b6541f20c6bf9436c0ba22a652b
87+
standard-performance (1.9.0) sha256=49483d31be448292951d80e5e67cdcb576c2502103c7b40aec6f1b6e9c88e3f2
88+
standardrb (1.0.1) sha256=7a1328be429f4e97a97e357e2446f3509e80164a59ff00bc6a4daa78e3351f2c
89+
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
90+
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
91+
92+
RUBY VERSION
93+
ruby 4.0.1
94+
95+
BUNDLED WITH
96+
4.0.7

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) Neil Carvalho and thoughtbot, inc.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

0 commit comments

Comments
 (0)