Skip to content

Commit 330a571

Browse files
2 parents 826c575 + 4a863eb commit 330a571

File tree

22 files changed

+111
-95
lines changed

22 files changed

+111
-95
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
updates:
3-
- directory: "/"
4-
package-ecosystem: github-actions
5-
schedule:
6-
interval: daily
7-
- directory: "/"
8-
package-ecosystem: npm
9-
schedule:
10-
interval: daily
11-
- directory: "/"
12-
package-ecosystem: bundler
13-
schedule:
14-
interval: daily
3+
- directory: "/"
4+
package-ecosystem: github-actions
5+
schedule:
6+
interval: daily
7+
- directory: "/"
8+
package-ecosystem: npm
9+
schedule:
10+
interval: daily
11+
- directory: "/"
12+
package-ecosystem: bundler
13+
schedule:
14+
interval: daily
1515
version: 2

.github/workflows/ci.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,35 @@ jobs:
44
name: Bundler Audit
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
8-
- uses: ruby/setup-ruby@v1
9-
with:
10-
bundler-cache: true
11-
- run: bin/bundler-audit check --update
7+
- uses: actions/checkout@v4
8+
- uses: ruby/setup-ruby@v1
9+
with:
10+
bundler-cache: true
11+
- run: bin/bundler-audit check --update
1212
npm-audit:
1313
name: npm Audit
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-node@v4
18-
- run: npm audit
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
- run: npm audit
1919
rspec:
2020
name: Test
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
24-
- uses: ruby/setup-ruby@v1
25-
with:
26-
bundler-cache: true
27-
- run: bin/test
23+
- uses: actions/checkout@v4
24+
- uses: ruby/setup-ruby@v1
25+
with:
26+
bundler-cache: true
27+
- run: bin/test
2828
rubocop:
2929
name: Rubocop
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v4
33-
- uses: ruby/setup-ruby@v1
34-
with:
35-
bundler-cache: true
36-
- run: bin/rubocop
32+
- uses: actions/checkout@v4
33+
- uses: ruby/setup-ruby@v1
34+
with:
35+
bundler-cache: true
36+
- run: bin/rubocop
3737
name: CI
38-
"on": push
38+
'on': push

.rubocop.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
AllCops:
33
Exclude:
4-
- "**/node_modules/**/*"
5-
- "**/vendor/**/*"
6-
- "**/db/schema.rb"
4+
- "**/node_modules/**/*"
5+
- "**/vendor/**/*"
6+
- "**/db/schema.rb"
77
NewCops: enable
88
TargetRubyVersion: 3.0
99
Layout/ClosingHeredocIndentation:
@@ -121,10 +121,10 @@ Style/StringLiterals:
121121
Style/StringLiteralsInInterpolation:
122122
Enabled: false
123123
plugins:
124-
- rubocop-factory_bot
125-
- rubocop-performance
126-
- rubocop-rails
127-
- rubocop-rake
128-
- rubocop-rspec
129-
- rubocop-capybara
130-
- rubocop-rspec_rails
124+
- rubocop-factory_bot
125+
- rubocop-performance
126+
- rubocop-rails
127+
- rubocop-rake
128+
- rubocop-rspec
129+
- rubocop-capybara
130+
- rubocop-rspec_rails

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
"npm": "11.4.2"
99
},
1010
"license": "MIT"
11-
}
11+
}

samples/books.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,32 @@
22
{
33
"author": "F. Scott Fitzgerald",
44
"available": true,
5-
"genres": ["Novel", "Historical"],
5+
"genres": [
6+
"Novel",
7+
"Historical"
8+
],
69
"published_year": 1925,
710
"title": "The Great Gatsby"
811
},
912
{
1013
"author": "Harper Lee",
1114
"available": false,
12-
"genres": ["Novel", "Southern Gothic", "Bildungsroman"],
15+
"genres": [
16+
"Novel",
17+
"Southern Gothic",
18+
"Bildungsroman"
19+
],
1320
"published_year": 1960,
1421
"title": "To Kill a Mockingbird"
1522
},
1623
{
1724
"author": "George Orwell",
1825
"available": true,
19-
"genres": ["Dystopian", "Political Fiction"],
26+
"genres": [
27+
"Dystopian",
28+
"Political Fiction"
29+
],
2030
"published_year": 1949,
2131
"title": "1984"
2232
}
23-
]
33+
]

samples/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
allowed_hosts:
3-
- localhost
4-
- example.com
5-
- api.example.com
3+
- localhost
4+
- example.com
5+
- api.example.com
66
app_config:
77
debug_mode: false
88
environment: production

samples/config_2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
allowed_hosts:
3-
- example.com
4-
- api.example.com
3+
- example.com
4+
- api.example.com
55
app_config:
66
debug_mode: false
77
environment: production

samples/people.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55
name: Alice Johnson
66
role: Software Engineer
77
skills:
8-
- Python
9-
- Ruby
10-
- JavaScript
8+
- Python
9+
- Ruby
10+
- JavaScript
1111
- department: Marketing
1212
full_time: false
1313
id: 102
1414
name: Bob Smith
1515
role: Marketing Specialist
1616
skills:
17-
- SEO
18-
- Content Writing
19-
- Social Media
17+
- SEO
18+
- Content Writing
19+
- Social Media
2020
- department: Human Resources
2121
full_time: true
2222
id: 103
2323
name: Charlie Brown
2424
role: HR Manager
2525
skills:
26-
- Recruitment
27-
- Employee Relations
28-
- Compliance
26+
- Recruitment
27+
- Employee Relations
28+
- Compliance

samples/user.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
"profile": {
2222
"age": 30,
2323
"gender": "male",
24-
"interests": ["reading", "coding", "hiking"]
24+
"interests": [
25+
"reading",
26+
"coding",
27+
"hiking"
28+
]
2529
}
2630
}
27-
}
31+
}

0 commit comments

Comments
 (0)