gotsha 0.2.7 → 0.2.8
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/.gotsha/hooks/pre-push +2 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/gotsha/templates/git_hooks/pre-push +1 -3
- data/lib/gotsha/templates/github_action_example.yml +1 -1
- data/lib/gotsha/version.rb +1 -1
- data/web/index.html +14 -8
- 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: c141f44322e5b490f725002cfeb08b78c6fdac86bd596311fdb9a80a553d2119
|
4
|
+
data.tar.gz: 8061d31df2234c3911c827bdf5592e9d25281187d36605ec5ab8a64c98a5a7f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b52ac1560058e39dbe268e04fac7f0f9cf7b031c11fe448da1fc825d7a6b3b10611d7cacbdddad2d768848998a23c8467a3eef51662d51d05d4b919710b2e70
|
7
|
+
data.tar.gz: 2d574789ad564b58d86fa3de9dd647e449a5c8925cf715531b31cc22c20f64491f051f51b0e34c687b6ed4a4e5443f73cbc5f85d65db0dc1bfb788265c0f4398
|
data/.gotsha/hooks/pre-push
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
#!/usr/bin/env bash
|
2
2
|
set -euo pipefail
|
3
3
|
|
4
|
-
grep -qE 'pre_push_tests\s*=\s*true' .gotsha/config.toml ||
|
5
|
-
|
6
|
-
exe/gotsha status || exe/gotsha test
|
7
|
-
exe/gotsha push
|
4
|
+
grep -qE 'pre_push_tests\s*=\s*true' .gotsha/config.toml && (gotsha status || gotsha test)
|
5
|
+
gotsha push
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -5,9 +5,9 @@ Pushing untested commits? Gotsha!
|
|
5
5
|
```bash
|
6
6
|
gem install gotsha # or add `gem "gotsha"` to you Gemfile
|
7
7
|
|
8
|
-
gotsha
|
8
|
+
gotsha init
|
9
|
+
gotsha configure # this will open the config file; it's short and very important, so please, read it :-)
|
9
10
|
```
|
10
|
-
Then just follow the prompts — Gotsha will guide you through the setup. It won't take more than 3 minutes!
|
11
11
|
|
12
12
|
If you got stuck somewhere, you can always use `gotsha help`.
|
13
13
|
|
data/lib/gotsha/version.rb
CHANGED
data/web/index.html
CHANGED
@@ -61,6 +61,14 @@
|
|
61
61
|
.card{
|
62
62
|
border:1px solid var(--border);border-radius:14px;padding:16px;background:#0b111b75
|
63
63
|
}
|
64
|
+
pre {
|
65
|
+
overflow-x: auto;
|
66
|
+
white-space: pre; /* don't wrap */
|
67
|
+
font-size: 14px;
|
68
|
+
padding: 12px;
|
69
|
+
border-radius: 8px;
|
70
|
+
background: #0b111b;
|
71
|
+
}
|
64
72
|
.card h3{margin:0 0 6px 0;font-size:18px}
|
65
73
|
.foot{margin-top:24px;color:var(--muted);font-size:13px}
|
66
74
|
/* subtle animations */
|
@@ -106,17 +114,15 @@
|
|
106
114
|
|
107
115
|
<section class="card" id="install" aria-labelledby="install-title">
|
108
116
|
<h2 id="install-title">Install</h3>
|
109
|
-
<
|
117
|
+
<o>Gotsha is distrubuted as a Ruby gem, so you need to
|
110
118
|
have <strong>Ruby</strong> working in your system. Apart from that, the only
|
111
119
|
other dependency is <strong>Git</strong>.</p>
|
112
|
-
|
113
|
-
gem install gotsha
|
114
|
-
|
115
|
-
|
116
|
-
gem 'gotsha'
|
120
|
+
<p>Set it up by following commands:</p>
|
121
|
+
<pre><code style="font-weight: lighter;">gem install gotsha <span style="color: gray;"># or add `gem "gotsha"` to you Gemfile</span>
|
122
|
+
gotsha init
|
123
|
+
gotsha configure <span style="color: gray;"># this will open the config file; it's short and very important, so please, read it :-)</span>
|
117
124
|
</code></pre>
|
118
|
-
<p>
|
119
|
-
<p>If you got stuck somewhere, you can always use <code>gotsha help</code>.</p>
|
125
|
+
<p>Gotsha will guide you through the setup — it won't take more than 3 minutes. If you still got stuck somewhere, you can always use <code>gotsha help</code>.</p>
|
120
126
|
</section>
|
121
127
|
|
122
128
|
<section class="card">
|