Skip to content

Commit 8298003

Browse files
committed
Initial commit
0 parents  commit 8298003

33 files changed

Lines changed: 1327 additions & 0 deletions

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Ruby
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
name: Ruby ${{ matrix.ruby }}
14+
strategy:
15+
matrix:
16+
ruby:
17+
- '4.0.1'
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
23+
- name: Set up Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ matrix.ruby }}
27+
bundler-cache: true
28+
- name: Run the default task
29+
run: bundle exec rake

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
10+
# rspec failure tracking
11+
.rspec_status

.rspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--format documentation
2+
--color
3+
--require spec_helper

.rubocop.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
inherit_gem:
2+
rubocop-rails-omakase: rubocop.yml
3+
4+
AllCops:
5+
TargetRubyVersion: 4.0
6+
7+
Layout/SpaceInsideArrayLiteralBrackets:
8+
Enabled: false
9+
10+
Style/StringLiterals:
11+
EnforcedStyle: double_quotes

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## [Unreleased]
2+
3+
### Changed
4+
5+
- Renamed gem to `view_component-scoped_styles` and module to `ViewComponent::ScopedStyles` (was `view_component-scoped_css` / `ViewComponent::ScopedCSS`).
6+
7+
## [0.1.0] - 2026-05-27
8+
9+
- Initial release

CODE_OF_CONDUCT.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Code of Conduct
2+
3+
"view_component-scoped_styles" follows [The Ruby Community Conduct Guideline](https://www.ruby-lang.org/en/conduct) in all "collaborative space", which is defined as community communications channels (such as mailing lists, submitted patches, commit comments, etc.):
4+
5+
* Participants will be tolerant of opposing views.
6+
* Participants must ensure that their language and actions are free of personal attacks and disparaging personal remarks.
7+
* When interpreting the words and actions of others, participants should always assume good intentions.
8+
* Behaviour which can be reasonably considered harassment will not be tolerated.
9+
10+
If you have any concerns about behaviour within this project, please contact us at ["chris@chrise.net"](mailto:"chris@chrise.net").

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
# Specify your gem's dependencies in view_component-scoped_styles.gemspec
6+
gemspec

0 commit comments

Comments
 (0)