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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 442907344ce850e6023700ca3df6a5a5d957ba627f4d67f913ef3b109ab3813d
4
- data.tar.gz: 067c51a776094c1e442aa016be52cb0249f72337fddec8e2fc2942a7dfe4dff0
3
+ metadata.gz: b933ce1f943b6a44b2db2761daaef58bd92e047b1d6c50f87f82c6e6d286bdc0
4
+ data.tar.gz: d956a04dc6e4e2b17d95d63d779ee1235647b82bce215b3818387db65e4191e8
5
5
  SHA512:
6
- metadata.gz: 004a79a802077b351b826578db9c6b349bca82718cdfce75a1f41d43f516b5c6f97695d0aa43b3ec9a6c7a954a086b4b067fb0f582f217dcd7c9bc695b653ddc
7
- data.tar.gz: 9bf20bdfa02f165145c5acbcc53f3d6adeb23df96d1f8cc88b45f3581771b2856b409df47c97ea37a98a47dda4a38b0ddac7a2c2cdf93470f87ec6a936305916
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", chdir: app_dir) || abort("rails db:prepare failed")
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
- system("cd #{app_dir}")
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}"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rails
4
4
  module Kompot
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-kompot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatolii Kryvishyn