commitshots 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/lib/commitshots/commits.rb +1 -4
- data/lib/commitshots/version.rb +1 -1
- metadata +2 -1
data/.gitignore
ADDED
data/lib/commitshots/commits.rb
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
module Commitshots
|
2
2
|
class Commits
|
3
3
|
def each
|
4
|
-
|
5
|
-
commit_ids.reverse!
|
6
|
-
|
7
|
-
commit_ids.each do |line|
|
4
|
+
`git rev-list --reverse --all --pretty=oneline`.split("\n").each do |line|
|
8
5
|
parts = line.split(' ')
|
9
6
|
id = parts[0]
|
10
7
|
msg = line.gsub(id, '')
|
data/lib/commitshots/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commitshots
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,6 +18,7 @@ executables:
|
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
+
- .gitignore
|
21
22
|
- Gemfile
|
22
23
|
- Gemfile.lock
|
23
24
|
- README.markdown
|