au 0.2.2 → 0.2.3
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/bin/au +8 -4
- data/lib/au/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: 3c887e57c864ce6b7ba438d75b02abcff5fac7ec169fe620cbd9b0cbcde97fb0
|
4
|
+
data.tar.gz: 5274a3ae886c455de17b72ec24d7ff4a158ea77e2364ad13963dc02a4a10ef7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bd410ab8f4d26920750423c2d4808fd26eac8cc75ccf7f79adebe14d3537b780a75f0068d06cf19e550a39b2af733f4ea175c4361e7decfaea83734ba88e602
|
7
|
+
data.tar.gz: b7612b9814730869872fa9b20c249ee16eb41d76fd3c79e2660d1478ecd8ab47012a3d67f9fa3b2d52865c5c7e0d88e198f37fbf2b08e7e3ac32eba5bfd2f897
|
data/Gemfile.lock
CHANGED
data/bin/au
CHANGED
@@ -128,10 +128,14 @@ module Au
|
|
128
128
|
|
129
129
|
desc "log", "Display parent commits"
|
130
130
|
def log
|
131
|
-
Repository.head
|
132
|
-
|
133
|
-
|
134
|
-
|
131
|
+
if Repository.head
|
132
|
+
Repository.head.log.each do |commit|
|
133
|
+
commit.id == Repository.head.id ? puts("#{commit.id}".green) : puts(commit.id)
|
134
|
+
puts commit.message
|
135
|
+
puts
|
136
|
+
end
|
137
|
+
else
|
138
|
+
puts 'There is no commit in the repo yet.'
|
135
139
|
end
|
136
140
|
end
|
137
141
|
|
data/lib/au/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: au
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edward Du
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-12-
|
13
|
+
date: 2018-12-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|