bookfile 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/bookfile.rb +2 -15
- data/lib/bookfile/book/book.rb +0 -5
- data/lib/bookfile/version.rb +1 -1
- data/test/helper.rb +0 -4
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eb8bf07d391ef79fb234d7a597b55f039d09a14
|
4
|
+
data.tar.gz: 672677ab81f0de6bd2e2edc59f4c55092c1a3938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87febc62a02b5501e3b4ed5f27951335261b7b5ef0671d7f1d5e95e198a99f2594f51c6910d02f704ee25808810640a65c16089a4daaa8e99453740d7f33e99
|
7
|
+
data.tar.gz: 859e7c379a265f0b94c1c5b8d22d98e3c4291e84a1571a6f2edd9619a50004b4cfd8a9762551c78b17686dd6d82ecf7aacb7b814dbb62c7f2462b2ba3262f32b
|
data/Rakefile
CHANGED
@@ -25,7 +25,7 @@ Hoe.spec 'bookfile' do
|
|
25
25
|
['textutils'], # e.g. >= 0.6 && <= 1.0 ## will include logutils, props
|
26
26
|
['fetcher'], ## todo: check if included in ??
|
27
27
|
['rubyzip'], ## todo: check if included in ??
|
28
|
-
|
28
|
+
['hybook'], ## include props,logutils,textutils ?? already included w/ hybook ??
|
29
29
|
]
|
30
30
|
|
31
31
|
self.spec_extras = {
|
data/lib/bookfile.rb
CHANGED
@@ -10,20 +10,7 @@ require 'ostruct'
|
|
10
10
|
##############
|
11
11
|
# 3rd party gems
|
12
12
|
|
13
|
-
|
14
|
-
#########################################
|
15
|
-
# "standalone" version - pull in hybook
|
16
|
-
# - todo/check - possible to use bookfile w/o hybook?? why, why not??
|
17
|
-
|
18
|
-
=begin
|
19
|
-
unless defined?(Hybook)
|
20
|
-
require 'logutils' # uses Logging etc. -- todo: get required by hybook - remove??
|
21
|
-
require 'textutils' # uses File.read_utf8 -- todo: get required by hybook - remove??
|
22
|
-
require 'hybook' # todo/fix: check if hybook required/needed for now??
|
23
|
-
end
|
24
|
-
=end
|
25
|
-
## else assumes hybook gem aready required (avoid circular require)
|
26
|
-
|
13
|
+
require 'hybook'
|
27
14
|
|
28
15
|
require 'fetcher'
|
29
16
|
require 'zip' # use $ gem install rubyzip
|
@@ -44,4 +31,4 @@ require 'bookfile/builder'
|
|
44
31
|
|
45
32
|
|
46
33
|
# say hello
|
47
|
-
puts Bookfile.banner if
|
34
|
+
puts Bookfile.banner if defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG
|
data/lib/bookfile/book/book.rb
CHANGED
data/lib/bookfile/version.rb
CHANGED
data/test/helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookfile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: props
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: hybook
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rdoc
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|