gotsha 1.1.1 → 1.1.2

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: ed625986aebeeabaea7689b5947bd0620f5d1ffddc4be82ad382186b2dfe8675
4
- data.tar.gz: 673479b9ab6161d9e15c714921a4d3d08d93315e03e9f27c08cf38ca6f6609d8
3
+ metadata.gz: c3a4f52cfc935cebef5d7ef1b3c8b5d7a47cfd1ab8e1c19a8da7f99e367f3d53
4
+ data.tar.gz: a071da5be867b95a3eb8ab8c7462e75b45f87435ce2417213e07cc4a105ebf52
5
5
  SHA512:
6
- metadata.gz: 770b572970ce1a40ead09fad29fbddb3d318984f36d3b5151a96081b57af7004b3b7e0fa9c9e7b67fc7a23295f1fb138b83fe1edf90ea6b4e2c385b205cfdb8b
7
- data.tar.gz: ca4db01a5327aac3d4b48bd3f7ede37c08c3ed5ebb899c8cfd350db057ca47e8f44190f983c2fdaf8d9198237baef7bfd8a4612d94977c9732ef70d7ac2031bb
6
+ metadata.gz: 312c71aa07da097887c161131fbaaa7da9050a2f925e335847f02fb3bbfd24114fff4eb5d2cf55fdac0bceb7ea1e4cb03f9d6d84b9b1e11325a9eb60b13e06f7
7
+ data.tar.gz: d1bd26abb492627fca22a620e64df2d4dde4223cedc06dbf186c2ed3dbfa9537a68d57022a8b7eb76e97e4ea180c118636b04a33d35e512ba5ba1d2c680bbab2
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [1.1.1] - 2025-10-22
1
+ ## [1.1.2] - 2025-10-25
2
+
3
+ - Add less intrusive GitLab CI config file generation (to not overwrite existing one)
4
+
5
+ ## [1.1.1] - 2025-10-25
2
6
 
3
7
  - Fix a GitLab support related bug (the CI file was not created on init)
4
8
 
data/lib/gotsha/config.rb CHANGED
@@ -7,7 +7,7 @@ module Gotsha
7
7
  CONFIG_TEMPLATE_PATH = File.expand_path("templates/config.toml", __dir__)
8
8
  GH_CONFIG_FILE = File.join(".github", "workflows", "gotsha.yml")
9
9
  GH_CONFIG_TEMPLATE_PATH = File.expand_path("templates/github_action_example.yml", __dir__)
10
- GL_CONFIG_FILE = ".gitlab-ci.yml"
10
+ GL_CONFIG_FILE = ".gitlab-ci.gotsha.yml"
11
11
  GL_CONFIG_TEMPLATE_PATH = File.expand_path("templates/gitlab_action_example.yml", __dir__)
12
12
  HOOKS_TEMPLATES_DIR = File.expand_path("templates", __dir__)
13
13
  HOOKS_DIR = File.join(CONFIG_DIR, "hooks")
@@ -1,3 +1,10 @@
1
+ # Start using Gotsha in GitLab by renaming this file to `.gitlab-ci.yml`.
2
+ #
3
+ # If it already exists, append this to its end:
4
+ #
5
+ #include:
6
+ # - local: '.gitlab-ci.gotsha.yml'
7
+
1
8
  stages: [verify]
2
9
 
3
10
  verify_gotsha:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gotsha
4
- VERSION = "1.1.1"
4
+ VERSION = "1.1.2"
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: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitek Meloun