gergich 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gergich.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07fde95880fbf7f7195ce8f7ca43cdfd47005d8c
|
4
|
+
data.tar.gz: 8c6f1be4ab8bb1e4ea565da45087cfa6a85d1f11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 976fbe4fe6a0dff8babf88f8994206a31ce2cceef84ed06ffc828a0efc77da806272aebb07e4ee514f6341bd79f2eed63bb388c2dea98418b0feb2390605f2e2
|
7
|
+
data.tar.gz: f2b3b77e61633b7eb00b44a11679e77dcd98d6851d190d105879888d4b8c4832b97d0ce104882530a283ac7e1fb54efc13bcbe2f895fe1e6b369e7fb4f3907b8
|
data/lib/gergich.rb
CHANGED
@@ -222,6 +222,7 @@ module Gergich
|
|
222
222
|
# however, we can match the label timestamp w/ one of our comment timestamps,
|
223
223
|
# then grab the comment's revision.
|
224
224
|
def current_label_revision
|
225
|
+
return nil if my_messages.empty?
|
225
226
|
@current_label_revision ||= begin
|
226
227
|
date = current_label_date
|
227
228
|
comment_for_current_label = my_messages.find { |message| message["date"] == date } ||
|
@@ -231,7 +232,6 @@ module Gergich
|
|
231
232
|
end
|
232
233
|
|
233
234
|
def current_label_is_for_current_revision?
|
234
|
-
return false unless current_label
|
235
235
|
current_label_revision == commit.revision_number
|
236
236
|
end
|
237
237
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gergich
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Jensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sqlite3
|