Skip to content
Browse files

try to use standard structure to ease loading

  • Loading branch information...
1 parent 2a94b75 commit 603b7100960051ca32cca8d9c25a472f6cf78139 @zetaben committed Feb 23, 2012
View
4 html2fb.gemspec → Html2Feedbooks.gemspec
@@ -1,10 +1,10 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
-require "html2fb/version"
+require "Html2Feedbooks/version"
Gem::Specification.new do |s|
s.name = "Html2Feedbooks"
- s.version = Html2fb::VERSION
+ s.version = HTML2FB::VERSION
s.authors = ["Benoit Larroque"]
s.email = ["benoit dot larroque at feedbooks dot com"]
s.summary = %q{Html2Feedbooks is script to automate basic publishing on feedbooks.com}
View
3 bin/html2fb.rb
@@ -1,11 +1,12 @@
#!/usr/bin/env ruby
require 'rubygems'
+
require 'optparse'
require 'open-uri'
require 'tmpdir'
require 'launchy'
require 'digest/md5'
-require 'lib/html2fb'
+require 'Html2Feedbooks'
include HTML2FB
View
7 lib/Html2Feedbooks.rb
@@ -0,0 +1,7 @@
+require 'Html2Feedbooks/version'
+
+require 'Html2Feedbooks/conf'
+require 'Html2Feedbooks/downloader'
+require 'Html2Feedbooks/document'
+require 'Html2Feedbooks/parser'
+require 'Html2Feedbooks/feedbooks'
View
0 lib/html2fb/app.rb → lib/Html2Feedbooks/app.rb
File renamed without changes.
View
0 lib/html2fb/conf.rb → lib/Html2Feedbooks/conf.rb
File renamed without changes.
View
0 lib/html2fb/document.rb → lib/Html2Feedbooks/document.rb
File renamed without changes.
View
0 lib/html2fb/downloader.rb → lib/Html2Feedbooks/downloader.rb
File renamed without changes.
View
2 lib/html2fb/feedbooks.rb → lib/Html2Feedbooks/feedbooks.rb
@@ -1,4 +1,4 @@
-require 'html2fb/app.rb'
+require 'Html2Feedbooks/app'
require 'nokogiri'
require 'digest/md5'
View
2 lib/html2fb/parser.rb → lib/Html2Feedbooks/parser.rb
@@ -1,5 +1,5 @@
require 'nokogiri'
-require 'html2fb/document.rb'
+require 'Html2Feedbooks/document'
require 'progressbar'
#require 'ruby-prof'
#require 'term/ansicolor'
View
3 lib/Html2Feedbooks/version.rb
@@ -0,0 +1,3 @@
+module HTML2FB
+ VERSION = "1.3.2"
+end
View
7 lib/html2fb.rb
@@ -1,7 +0,0 @@
-require "html2fb/version"
-
-require 'html2fb/conf.rb'
-require 'html2fb/downloader.rb'
-require 'html2fb/document.rb'
-require 'html2fb/parser.rb'
-require 'html2fb/feedbooks.rb'
View
3 lib/html2fb/version.rb
@@ -1,3 +0,0 @@
-module Html2fb
- VERSION = "1.3.1"
-end

0 comments on commit 603b710

Please sign in to comment.
Something went wrong with that request. Please try again.