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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b57f3bd63c77b842f19479c0eb1827009595fb40
4
- data.tar.gz: bd04e02d0a9155dba182c274d084539bccbafa9c
3
+ metadata.gz: 3eb8bf07d391ef79fb234d7a597b55f039d09a14
4
+ data.tar.gz: 672677ab81f0de6bd2e2edc59f4c55092c1a3938
5
5
  SHA512:
6
- metadata.gz: 47352f6d93dc15529d52e3eef9bc1ba552146dd33d3430fe328d3c4b016f1fd5b92142d23641974ccb82ecac2d70ca7acdac11cdb68d97e6254fd154c12582bc
7
- data.tar.gz: ed82ef48aaba72732ddf9f4edaadde94df67b8aa420f2ea004d5e1822bae85c6a7baca930f0c3aa8d3b808bbe6cd0f41ffbf19c184fbe5d8c33c8eeaebaf0f7a
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
- ### ['hybook'] ## avoid circular dependency - do NOT include
28
+ ['hybook'], ## include props,logutils,textutils ?? already included w/ hybook ??
29
29
  ]
30
30
 
31
31
  self.spec_extras = {
@@ -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 $DEBUG || (defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG)
34
+ puts Bookfile.banner if defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG
@@ -9,11 +9,6 @@
9
9
  ## opts[:inline] == true ???? - why, why not???
10
10
 
11
11
 
12
- module HybookHelper
13
- ## note: "quickfix" - find a better way to forward declare (lives in hybook)???
14
- end
15
-
16
-
17
12
  module Bookfile
18
13
 
19
14
 
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Bookfile
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
 
6
6
  def self.banner
7
7
  "bookfile/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
@@ -4,10 +4,6 @@
4
4
  require 'minitest/autorun'
5
5
 
6
6
 
7
- require 'textutils'
8
-
9
7
  ## our own code
10
8
  require 'bookfile'
11
9
 
12
- ## more 3rd party/lib code
13
- ## require 'hybook'
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.0
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-01 00:00:00.000000000 Z
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