libdolt 0.33.15 → 0.33.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- M2MyMjdmMmIzNDFmNzkwOTA1NjRjYjZjZGFjOTg2NDkwNmM1N2Y4OQ==
4
+ ZjkzMzNkNTM2NGRiZTRhOGI1MzEyMWQ0MDNhNzI2MGI0YThiMzkxMg==
5
5
  data.tar.gz: !binary |-
6
- ZmQyYmJmNjcyMjM3NjE1MjYwOGZjNDQ0MTJmOTZlZmY5ODNhMzFjNg==
6
+ ODE3ODE1YjdkNTQ4ZWNlMzYxY2EyOGU0ODNiZTUzOWZiZDY2NDE5Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTE1MzVhNTE4ZDk1YzFiNmVhMWVmOTNhMWJiNDUzNWNlZWQ0NjYyMzQ3MzIy
10
- YzczMWUxMDJhMThlMzhjOTNjNjA3YWRhMDI0NTM5Njc1NzM0MmE0NTUzYzEx
11
- NDI4YjVkNjkyNTk1YzExYzc2ZDFiZTM0YjBkZmVmZGQwZDc1Nzc=
9
+ YTgwMTFiYTAyYWY2MmQyMjY1MzM4NzM3NmJiMmVkMjA3M2MxMzEzZmQzOWYw
10
+ OWE0YjdhNTM2MzMxNTZiMzUxZTFkYTA3NGQ1YmNlZmYwZmE5NDU4MjEzNTYw
11
+ M2M5MzEzNWY1M2UzMDAzY2ExNDc0ZDBjMWU3MDIzZDAwNmQ5NDE=
12
12
  data.tar.gz: !binary |-
13
- ZTQyZWQxMDFkMGZkOTNiNGYyMDJmYWY1YTBjZGY0ZGUzYjg5ZGU5Y2VmMWJk
14
- ZTZjNjRmZDlhMjVjNmUyN2EyZGJmYTkxZTk2ODhlMGZiYjYzOWM0NDczNGIx
15
- ODNiNjhkNDIyNjM2ZjE5ZDY2NGI4ZGRmNWEwOTVmMWNjMTMwZjc=
13
+ MDIyNDRmM2E4ZjE5Y2NiZDdhOTIzNDljMzVmMjdhY2M5YjYwM2JiZTUwMWJi
14
+ NDExZjdkYzY5MTJlNjIzODA1OWJiMDI3MTQ2MDdjMzhiYzYxY2Q1Zjk5ZTRl
15
+ N2YxMjQyYWY4ZGJjZjIwNjAyYzMyM2IxNGY1YzJiNWYwODIzZWE=
@@ -29,7 +29,7 @@ module Dolt
29
29
 
30
30
  def self.extract_commit(lines)
31
31
  commit = { :oid => lines.shift.split(" ")[1] }
32
- while (line = lines.shift) != ""
32
+ while (line = lines.shift) && line != ""
33
33
  pieces = line.split(": ")
34
34
  extract_property(commit, pieces[0], pieces[1])
35
35
  end
@@ -56,7 +56,7 @@ module Dolt
56
56
  end
57
57
 
58
58
  def self.extract_commit_summary(lines)
59
- return "" if commit_start?(lines.first)
59
+ return "" if commit_end?(lines.first)
60
60
  summary = lines.shift
61
61
  lines.shift if lines.first == ""
62
62
  summary = summary.sub(/^ /, "")
@@ -66,14 +66,15 @@ module Dolt
66
66
  def self.extract_commit_message(lines)
67
67
  message = ""
68
68
 
69
- while !lines.first.nil? && !commit_start?(lines.first)
69
+ while !lines.first.nil? && !commit_end?(lines.first)
70
70
  message << lines.shift
71
71
  end
72
72
 
73
73
  HTMLEscape.entityfy(message)
74
74
  end
75
75
 
76
- def self.commit_start?(line)
76
+ def self.commit_end?(line)
77
+ return true unless line
77
78
  line =~ /^commit [a-z0-9]{40}$/
78
79
  end
79
80
  end
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.33.15"
20
+ VERSION = "0.33.16"
21
21
  end
@@ -50,9 +50,6 @@ Date: Tue Sep 11 19:57:22 2012 +0200
50
50
  commit eabcd577e921d01aeaf777d2daac565f88ab174c
51
51
  Author: Christian Johansen <christian@gitorious.com>
52
52
  Date: Tue Sep 11 15:25:50 2012 +0200
53
-
54
- Moron was taken, going with Addlepate
55
-
56
53
  GIT
57
54
 
58
55
  @commits = Dolt::Git::Commit.parse_log(@log)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libdolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.15
4
+ version: 0.33.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Johansen