eternity 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eternity/commit.rb +2 -2
- data/lib/eternity/version.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: 6a63e70964889425618e513c2b015c4dab49df29
|
4
|
+
data.tar.gz: 9469a0aaef5ade727668538d82037bf6b37e2df7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ef8f7b20359f19675244b29e75d72fcd994af5c87bad10db3a1557177a460684d70295a0a173f1edabf12693ae7697f9beb557f88540a7c3c139627e86ed6e
|
7
|
+
data.tar.gz: 0a7f43754360afb66f62dc9c7486baa455cb7c6513fee2c5ec62096f702bcd6a19bf19ca0cf31a9a4bc42c594447896a9583571168cff4b658d7dc455eae6acb
|
data/lib/eternity/commit.rb
CHANGED
@@ -61,8 +61,8 @@ module Eternity
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def fast_forward?(commit)
|
64
|
-
return commit.nil?
|
65
|
-
|
64
|
+
return true if commit.nil?
|
65
|
+
history_times.key? commit.id
|
66
66
|
end
|
67
67
|
|
68
68
|
def base_history_at(commit)
|
data/lib/eternity/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eternity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Naiman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redic
|