dngg 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dngg/hook/commit-msg +3 -0
- data/lib/dngg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 536740e8f6ec1c466c0e89e86f6ae018838567078e83a694649895a4146e8e14
|
4
|
+
data.tar.gz: a9024ad1877be60d8ce1c193bd6d75dcdc76ce31ccaaa95a21dbc8f4a86b20c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55e30407957768302ab371429d73d8084bba07677425259ccfddcaefcb074094a95bd9e67b7ddb9c72ba51a1ebf94579f04d35cf8e821139a56ba3731f4e168c
|
7
|
+
data.tar.gz: f7e1ca15f3421095b6cfc0f3cc5cf682e65e851d5988ee8d9a55e7862550e97ebe7bf85ebffe0acda1375f4175f3487a301abdeeb7ba13806e0a42f8316f8f37
|
data/Gemfile.lock
CHANGED
data/lib/dngg/hook/commit-msg
CHANGED
@@ -8,6 +8,7 @@ def commit_check
|
|
8
8
|
standards.each do |standard|
|
9
9
|
check(standard)
|
10
10
|
end
|
11
|
+
puts @msg.red
|
11
12
|
puts '====> commit message不符合规范,请查看规范 https://naxg5qz90v.feishu.cn/wiki/wikcnGAC0ayqRw5SSyj6QFQESKb'.red
|
12
13
|
exit 1
|
13
14
|
end
|
@@ -15,6 +16,8 @@ end
|
|
15
16
|
def check(keyword)
|
16
17
|
if @msg.start_with? keyword
|
17
18
|
exit 0
|
19
|
+
else
|
20
|
+
puts keyword
|
18
21
|
end
|
19
22
|
end
|
20
23
|
|
data/lib/dngg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dngg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iSnow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|