rails-kompot 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/exe/rails-kompot +11 -11
- data/lib/rails/kompot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b933ce1f943b6a44b2db2761daaef58bd92e047b1d6c50f87f82c6e6d286bdc0
|
|
4
|
+
data.tar.gz: d956a04dc6e4e2b17d95d63d779ee1235647b82bce215b3818387db65e4191e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65cc517d514201894e63482b8f4c308eff2618696e37ec1513c11f0238b0cf0d6d67939a64b30b800a21a7c918e1bcdd45a088b7423ddb6b9c3eb99568317523
|
|
7
|
+
data.tar.gz: 44da1cb5e71e9772d9891002f7635faacdc663a791eb0aaf2c7192a208239c7a44fd6503c6beebcd08d6deaf2cb254d8672e049dd5df812e7ce58774deed9866
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.3] - 2026-03-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Print `cd <app_dir>` instead of trying to `system("cd ...")` (child process cannot change parent shell directory)
|
|
13
|
+
|
|
8
14
|
## [0.1.2] - 2026-03-02
|
|
9
15
|
|
|
10
16
|
### Added
|
data/exe/rails-kompot
CHANGED
|
@@ -77,7 +77,7 @@ File.open(gemfile_path, "a") do |f|
|
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
puts "Running: rails db:prepare"
|
|
80
|
-
system("bundle", "exec", "rails", "db:prepare",
|
|
80
|
+
system("bundle", "exec", "rails", "db:prepare", chdir: app_dir) || abort("rails db:prepare failed")
|
|
81
81
|
|
|
82
82
|
puts "Running: bundle install"
|
|
83
83
|
system("bundle", "install", chdir: app_dir) || abort("bundle install failed")
|
|
@@ -92,13 +92,13 @@ if File.exist?(spec_helper_path)
|
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
puts "Running: bundle exec rails g bullet:install"
|
|
95
|
-
system('printf "y\n" | bundle exec rails g bullet:install', chdir: app_dir) || abort("rails g bullet:install failed")
|
|
96
|
-
|
|
97
|
-
puts "Running: bundle exec rubocop -A"
|
|
98
|
-
system("bundle", "exec", "rubocop", "-A", chdir: app_dir)
|
|
99
|
-
|
|
100
|
-
puts "Running: bundle exec rspec"
|
|
101
|
-
system("bundle", "exec", "rspec", chdir: app_dir)
|
|
102
|
-
|
|
103
|
-
puts "\nDone!"
|
|
104
|
-
|
|
95
|
+
system('printf "y\n" | bundle exec rails g bullet:install', chdir: app_dir) || abort("rails g bullet:install failed")
|
|
96
|
+
|
|
97
|
+
puts "Running: bundle exec rubocop -A"
|
|
98
|
+
system("bundle", "exec", "rubocop", "-A", chdir: app_dir)
|
|
99
|
+
|
|
100
|
+
puts "Running: bundle exec rspec"
|
|
101
|
+
system("bundle", "exec", "rspec", chdir: app_dir)
|
|
102
|
+
|
|
103
|
+
puts "\nDone! cd into your app:"
|
|
104
|
+
puts " cd #{app_dir}"
|
data/lib/rails/kompot/version.rb
CHANGED