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 ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
@@ -1,10 +1,7 @@
1
1
  module Commitshots
2
2
  class Commits
3
3
  def each
4
- commit_ids = `git rev-list --all --pretty=oneline`.split("\n")
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, '')
@@ -1,4 +1,4 @@
1
1
  module Commitshots
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
4
4
 
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.7
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