libdolt 0.28.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- libdolt (0.28.0)
4
+ libdolt (0.29.0)
5
5
  htmlentities (~> 4.3)
6
6
  json (~> 1.7)
7
7
  makeup (~> 0.4)
@@ -17,11 +17,11 @@ GEM
17
17
  ci_reporter (1.9.0)
18
18
  builder (>= 2.1.2)
19
19
  escape_utils (0.3.2)
20
- github-linguist (2.8.6)
20
+ github-linguist (2.8.8)
21
21
  charlock_holmes (~> 0.6.6)
22
22
  escape_utils (~> 0.3.1)
23
23
  mime-types (~> 1.19)
24
- pygments.rb (~> 0.4.2)
24
+ pygments.rb (~> 0.5.2)
25
25
  github-markup (0.7.5)
26
26
  htmlentities (4.3.1)
27
27
  json (1.8.0)
@@ -37,7 +37,7 @@ GEM
37
37
  metaclass (~> 0.0.1)
38
38
  multi_json (1.7.7)
39
39
  posix-spawn (0.3.6)
40
- pygments.rb (0.4.2)
40
+ pygments.rb (0.5.2)
41
41
  posix-spawn (~> 0.3.6)
42
42
  yajl-ruby (~> 1.1.0)
43
43
  rake (0.9.6)
data/lib/libdolt/git.rb CHANGED
@@ -22,8 +22,8 @@ require "shellwords"
22
22
  module Dolt
23
23
  module Git
24
24
  def self.shell(command)
25
- stdin, stdout, stderr = Open3.popen3(command)
26
- Dolt::Git::Process.new(stdin, stdout, stderr, $?)
25
+ stdin, stdout, stderr, wait_thread = Open3.popen3(command)
26
+ Dolt::Git::Process.new(stdin, stdout, stderr, wait_thread.value)
27
27
  end
28
28
 
29
29
  def self.git(git_dir, command)
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.28.0"
20
+ VERSION = "0.29.0"
21
21
  end
@@ -91,7 +91,7 @@ describe Dolt::Git::Archiver do
91
91
  FileUtils.expects(:mv).with("/work/gts-mainline-master.tar.gz",
92
92
  "/cache/gts-mainline-master.tar.gz")
93
93
  repo = StubRepository.new("gts/mainline")
94
- Dolt::Git.stubs(:open).returns(Dolt::FakeProcess.new(0))
94
+ Dolt::Git.stubs(:shell).returns(Dolt::FakeProcess.new(0))
95
95
 
96
96
  @archiver.archive(repo, "master", :tar)
97
97
  end
@@ -109,7 +109,7 @@ describe Dolt::Git::Archiver do
109
109
 
110
110
  it "returns generated filename" do
111
111
  FileUtils.stubs(:mv)
112
- Dolt::Git.stubs(:open).returns(Dolt::FakeProcess.new(0))
112
+ Dolt::Git.stubs(:shell).returns(Dolt::FakeProcess.new(0))
113
113
  repo = StubRepository.new("gts/mainline")
114
114
 
115
115
  filename = @archiver.archive(repo, "master", :tar)
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.28.0
4
+ version: 0.29.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-17 00:00:00.000000000 Z
12
+ date: 2013-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rugged