repub 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,4 +6,8 @@
6
6
 
7
7
  * Switched to Nokogiri for HTML parsing
8
8
  * Better parsing for hierarchical TOCs
9
- * Many bug fixes
9
+ * Many bug fixes
10
+
11
+ == 0.3.1 / 2009-06-28
12
+
13
+ * Fixed App.data_path bug
@@ -1,7 +1,7 @@
1
1
  module Repub
2
2
 
3
3
  # :stopdoc:
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  LIBPATH = File.expand_path(File.dirname(__FILE__)) + File::SEPARATOR
6
6
  PATH = File.dirname(LIBPATH) + File::SEPARATOR
7
7
  # :startdoc:
@@ -21,7 +21,9 @@ module Repub
21
21
  end
22
22
 
23
23
  def self.data_path
24
- File.join(File.expand_path('~'), '.repub')
24
+ data_path = File.join(File.expand_path('~'), '.repub')
25
+ FileUtils.mkdir_p(data_path) unless File.exist?(data_path)
26
+ data_path
25
27
  end
26
28
 
27
29
  def run(args)
@@ -2,13 +2,13 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{repub}
5
- s.version = "0.3.0"
5
+ s.version = "0.3.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Dmitri Goutnik"]
9
9
  s.date = %q{2009-06-28}
10
10
  s.default_executable = %q{repub}
11
- s.description = %q{}
11
+ s.description = %q{Simple HTML to ePub converter.}
12
12
  s.email = %q{dg@invisiblellama.net}
13
13
  s.executables = ["repub"]
14
14
  s.extra_rdoc_files = ["History.txt", "README.txt", "SAMPLES.txt", "bin/repub"]
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
  s.rubyforge_project = %q{repub}
20
20
  s.rubygems_version = %q{1.3.4}
21
- s.summary = nil
21
+ s.summary = %q{Simple HTML to ePub converter}
22
22
  s.test_files = ["test/epub/test_container.rb", "test/epub/test_content.rb", "test/epub/test_toc.rb", "test/test_builder.rb", "test/test_fetcher.rb", "test/test_logger.rb", "test/test_parser.rb"]
23
23
 
24
24
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repub
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
  - Dmitri Goutnik