gotsha 0.2.5 → 0.2.7

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: 91171467c8757fdfc1daa7d26824b5282a3273bc25649f67d907a24da5ed4b6b
4
- data.tar.gz: 2c8892e5129b38130dd7f3bb4f8b8a31330627754883c0e6fcf10d3191306e7a
3
+ metadata.gz: 07ff11747b5826264e7e769a5fc54060e5dada3ee863486845ade8a494582e77
4
+ data.tar.gz: 7adf1726a9918a61df23672bb8fc61de58cdc721b65962759280012256b0fc40
5
5
  SHA512:
6
- metadata.gz: 2f05012248c5e815491ff5418a8a7fa09d736c6d9b103a6b083a80ddb1e9546897ce7e8e3d0b2b3d1c3acddd6369b3e5e4eb4755044aa7d3a4e25851c7e00eb3
7
- data.tar.gz: cb17994999f70a0600a3c9fbea42197a5054c7e7a5031e7960849e8d67e24d289df5faca6396e356ab3f5bcbffc7fa076558b282ccf3657d907a8352e188fea4
6
+ metadata.gz: 27e90c032e3907111be9a5ca668afbbf10cf79e0494e139348e764a5adecc49b217f158269e95e97822aa29ad30d1257e6cb43f2a98715617fca6e3c7065dff8
7
+ data.tar.gz: ce208e256b534d47e02414cc09d0d2765df5ad4cc2e7ab20a15740dcfbd154586bb287e8263ee64b77ee7486d76f0f576a5070dea5f2c4486ca4b58e07a29e9e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.2.7] - 2025-10-14
2
+
3
+ - Ensure notes fetching always works by using `--force`
4
+ - Better text output when invalid command passed
5
+
6
+ ## [0.2.6] - 2025-10-14
7
+
8
+ - Make the GH action faster by avoiding `bundle install` (we need to install just the Gotsha gem)
9
+
1
10
  ## [0.2.5] - 2025-10-14
2
11
 
3
12
  - Introduce `push` and `fetch` commands
@@ -49,7 +49,7 @@ module Gotsha
49
49
  def action_class
50
50
  Kernel.const_get("Gotsha::Actions::#{action_name.capitalize}")
51
51
  rescue NameError
52
- raise Errors::HardFail, "unknown command `#{action_name}`. #{Actions::Help.new.call}"
52
+ raise Errors::HardFail, "unknown command `#{action_name}`. See available commands via `gotsha help`."
53
53
  end
54
54
  end
55
55
  end
@@ -6,7 +6,7 @@ module Gotsha
6
6
  DESCRIPTION = "fetches Gotsha test results from remote"
7
7
 
8
8
  def call
9
- command = BashCommand.silent_run!("git fetch origin 'refs/notes/gotsha:refs/notes/gotsha'")
9
+ command = BashCommand.silent_run!("git fetch --force origin 'refs/notes/gotsha:refs/notes/gotsha'")
10
10
 
11
11
  raise(Errors::HardFail, "something went wrong") unless command.success?
12
12
 
@@ -15,7 +15,6 @@ jobs:
15
15
  - uses: ruby/setup-ruby@v1
16
16
  with:
17
17
  ruby-version: '3.3'
18
- bundler-cache: true
19
18
 
20
19
  - name: Install Gotsha
21
20
  run: gem install gotsha
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gotsha
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotsha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitek Meloun