pandoc-ruby 0.3.0 → 0.3.1

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.
@@ -9,11 +9,9 @@ Pandoc can read markdown and (subsets of) reStructuredText, HTML, and LaTeX, and
9
9
  First, make sure to [install Pandoc](http://johnmacfarlane.net/pandoc/#installing-pandoc).
10
10
 
11
11
  Next, install PandocRuby from [gemcutter](http://gemcutter.org/gems/pandoc-ruby).
12
-
13
- gem install gemcutter
14
- gem tumble # unless you've already run this.
12
+
15
13
  gem install pandoc-ruby
16
-
14
+
17
15
  ## Usage
18
16
 
19
17
  require 'pandoc-ruby'
data/Rakefile CHANGED
@@ -12,7 +12,6 @@ begin
12
12
  gem.authors = ["William Melody"]
13
13
  gem.add_development_dependency "shoulda"
14
14
  gem.add_development_dependency "mocha"
15
- gem.add_dependency "open4"
16
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
16
  end
18
17
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -1,4 +1,4 @@
1
- require 'open4'
1
+ require 'open3'
2
2
 
3
3
  class PandocRuby
4
4
  @@bin_path = nil
@@ -72,7 +72,7 @@ private
72
72
 
73
73
  def execute(command)
74
74
  output = ''
75
- Open4::popen4(command) do |pid, stdin, stdout, stderr|
75
+ Open3::popen3(command) do |stdin, stdout, stderr|
76
76
  stdin.puts @target
77
77
  stdin.close
78
78
  output = stdout.read.strip
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pandoc-ruby}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["William Melody"]
12
- s.date = %q{2009-11-20}
12
+ s.date = %q{2009-12-02}
13
13
  s.description = %q{Ruby wrapper for Pandoc}
14
14
  s.email = %q{wmelody@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -51,16 +51,13 @@ Gem::Specification.new do |s|
51
51
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
52
  s.add_development_dependency(%q<shoulda>, [">= 0"])
53
53
  s.add_development_dependency(%q<mocha>, [">= 0"])
54
- s.add_runtime_dependency(%q<open4>, [">= 0"])
55
54
  else
56
55
  s.add_dependency(%q<shoulda>, [">= 0"])
57
56
  s.add_dependency(%q<mocha>, [">= 0"])
58
- s.add_dependency(%q<open4>, [">= 0"])
59
57
  end
60
58
  else
61
59
  s.add_dependency(%q<shoulda>, [">= 0"])
62
60
  s.add_dependency(%q<mocha>, [">= 0"])
63
- s.add_dependency(%q<open4>, [">= 0"])
64
61
  end
65
62
  end
66
63
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandoc-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Melody
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-20 00:00:00 -06:00
12
+ date: 2009-12-02 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -32,16 +32,6 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: "0"
34
34
  version:
35
- - !ruby/object:Gem::Dependency
36
- name: open4
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: "0"
44
- version:
45
35
  description: Ruby wrapper for Pandoc
46
36
  email: wmelody@gmail.com
47
37
  executables: []