gotsha 0.1.0 → 0.1.1
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 +4 -1
- data/lib/gotsha/action_dispatcher.rb +2 -2
- data/lib/gotsha/actions/test.rb +1 -1
- data/lib/gotsha/templates/config.toml +1 -1
- data/lib/gotsha/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: 2f2f8e413b08cc4c531c60d42c0a94d8d2bae874faca37d425fe60812463717d
|
|
4
|
+
data.tar.gz: 4be2788036a8dd4c6521d760628e121a4f71225a40a846c597e7c5c9f12d269d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fab24bd0facf01de5495f87287b71c15467d4eff740a39eeb4481915f54ca03fa4524202413d4387cae19204f4275e8288f14403df117b4dff1049019b607ef7
|
|
7
|
+
data.tar.gz: dfb3901e72631f08e605926b8c76000cb1965c01c6898b333194f3c63944ea4585cf2e2236708e553cf28c102f640a7a4c0a726894d9be07804f6688b386d4ec
|
data/CHANGELOG.md
CHANGED
|
@@ -26,12 +26,12 @@ module Gotsha
|
|
|
26
26
|
def verify_configuration!
|
|
27
27
|
return if action_name.to_s == INIT_SETUP_ACTION
|
|
28
28
|
|
|
29
|
-
raise(Errors::HardFail, "config files not found, please run `
|
|
29
|
+
raise(Errors::HardFail, "config files not found, please run `gotsha init` first") if UserConfig.blank?
|
|
30
30
|
|
|
31
31
|
hooks_dir = BashCommand.run!("git config core.hooksPath").text_output
|
|
32
32
|
|
|
33
33
|
unless hooks_dir == Config::HOOKS_DIR
|
|
34
|
-
raise(Errors::HardFail, "Git hooks not configured, please run `
|
|
34
|
+
raise(Errors::HardFail, "Git hooks not configured, please run `gotsha init`")
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
return unless UserConfig.get(:autogenerated)
|
data/lib/gotsha/actions/test.rb
CHANGED
|
@@ -40,7 +40,7 @@ module Gotsha
|
|
|
40
40
|
create_git_note!(TESTS_FAILED_NOTE_PREFIX)
|
|
41
41
|
puts command_result.text_output.split("\n").last(20).join("\n")
|
|
42
42
|
|
|
43
|
-
raise fail_exception, "tests failed (run `
|
|
43
|
+
raise fail_exception, "tests failed (run `gotsha show` for full output)"
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
data/lib/gotsha/version.rb
CHANGED