gepub 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source :rubygems
2
2
 
3
3
  gem 'bundler', '>= 1.0.7', :require => 'bundle', :group => [:test, :development]
4
- gem 'rspec', '< 2', '>= 1.2.9', :require => 'spec', :group => :test
4
+ gem 'rspec', '>= 2', :group => :test
5
5
  gem 'epubcheck', '>= 0.1.0', :group => :test
6
6
  gem 'jeweler', '>= 1.5.1', :group => :development
7
7
  gem 'libxml-ruby', '>= 1.1.4'
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ begin
10
10
  gem.email = "skoji@skoji.jp"
11
11
  gem.homepage = "http://github.com/skoji/gepub"
12
12
  gem.authors = ["KOJIMA Satoshi"]
13
- gem.add_development_dependency "rspec", ">= 1.2.9", "< 2"
13
+ gem.add_development_dependency "rspec", ">= 2"
14
14
  gem.add_development_dependency "epubcheck", ">= 0.1.0"
15
15
  gem.add_development_dependency "bundler", ">= 1.0.7"
16
16
  gem.add_development_dependency "jeweler", ">= 1.5.1"
@@ -23,14 +23,14 @@ rescue LoadError
23
23
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
24
24
  end
25
25
 
26
- require 'spec/rake/spectask'
27
- Spec::Rake::SpecTask.new(:spec) do |spec|
28
- spec.libs << 'lib' << 'spec'
29
- spec.spec_files = FileList['spec/**/*_spec.rb']
26
+ require 'rspec/core/rake_task'
27
+ RSpec::Core::RakeTask.new(:spec) do |spec|
28
+ spec.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
29
+ spec.pattern = 'spec/**/*_spec.rb'
30
30
  end
31
31
 
32
- Spec::Rake::SpecTask.new(:rcov) do |spec|
33
- spec.libs << 'lib' << 'spec'
32
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
33
+ spec.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
34
34
  spec.pattern = 'spec/**/*_spec.rb'
35
35
  spec.rcov = true
36
36
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/gepub.gemspec CHANGED
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gepub}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["KOJIMA Satoshi"]
12
- s.date = %q{2011-01-01}
12
+ s.date = %q{2011-01-06}
13
13
  s.description = %q{an easy-to-use (and easy-to-implement) EPUB generator.}
14
14
  s.email = %q{skoji@skoji.jp}
15
15
  s.extra_rdoc_files = [
@@ -17,30 +17,27 @@ Gem::Specification.new do |s|
17
17
  ]
18
18
  s.files = [
19
19
  ".document",
20
- ".gitignore",
21
- "Gemfile",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION",
25
- "examples/example.rb",
26
- "gepub.gemspec",
27
- "lib/gepub.rb",
28
- "lib/gepub/book.rb",
29
- "lib/gepub/generator.rb",
30
- "lib/gepub/item.rb",
31
- "spec/gepub_spec.rb",
32
- "spec/spec.opts",
33
- "spec/spec_helper.rb"
20
+ "Gemfile",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "examples/example.rb",
25
+ "gepub.gemspec",
26
+ "lib/gepub.rb",
27
+ "lib/gepub/book.rb",
28
+ "lib/gepub/generator.rb",
29
+ "lib/gepub/item.rb",
30
+ "spec/gepub_spec.rb",
31
+ "spec/spec_helper.rb"
34
32
  ]
35
33
  s.homepage = %q{http://github.com/skoji/gepub}
36
- s.rdoc_options = ["--charset=UTF-8"]
37
34
  s.require_paths = ["lib"]
38
35
  s.rubygems_version = %q{1.3.7}
39
36
  s.summary = %q{a good-enough EPUB generator.}
40
37
  s.test_files = [
38
+ "examples/example.rb",
41
39
  "spec/gepub_spec.rb",
42
- "spec/spec_helper.rb",
43
- "examples/example.rb"
40
+ "spec/spec_helper.rb"
44
41
  ]
45
42
 
46
43
  if s.respond_to? :specification_version then
@@ -48,14 +45,22 @@ Gem::Specification.new do |s|
48
45
  s.specification_version = 3
49
46
 
50
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_development_dependency(%q<rspec>, [">= 1.2.9", "< 2"])
48
+ s.add_runtime_dependency(%q<libxml-ruby>, [">= 1.1.4"])
49
+ s.add_runtime_dependency(%q<rubyzip>, [">= 0.9.4"])
50
+ s.add_development_dependency(%q<bundler>, [">= 1.0.7"])
51
+ s.add_development_dependency(%q<jeweler>, [">= 1.5.1"])
52
+ s.add_development_dependency(%q<rspec>, [">= 2"])
52
53
  s.add_development_dependency(%q<epubcheck>, [">= 0.1.0"])
53
54
  s.add_development_dependency(%q<bundler>, [">= 1.0.7"])
54
55
  s.add_development_dependency(%q<jeweler>, [">= 1.5.1"])
55
56
  s.add_runtime_dependency(%q<libxml-ruby>, [">= 1.1.4"])
56
57
  s.add_runtime_dependency(%q<rubyzip>, [">= 0.9.4"])
57
58
  else
58
- s.add_dependency(%q<rspec>, [">= 1.2.9", "< 2"])
59
+ s.add_dependency(%q<libxml-ruby>, [">= 1.1.4"])
60
+ s.add_dependency(%q<rubyzip>, [">= 0.9.4"])
61
+ s.add_dependency(%q<bundler>, [">= 1.0.7"])
62
+ s.add_dependency(%q<jeweler>, [">= 1.5.1"])
63
+ s.add_dependency(%q<rspec>, [">= 2"])
59
64
  s.add_dependency(%q<epubcheck>, [">= 0.1.0"])
60
65
  s.add_dependency(%q<bundler>, [">= 1.0.7"])
61
66
  s.add_dependency(%q<jeweler>, [">= 1.5.1"])
@@ -63,7 +68,11 @@ Gem::Specification.new do |s|
63
68
  s.add_dependency(%q<rubyzip>, [">= 0.9.4"])
64
69
  end
65
70
  else
66
- s.add_dependency(%q<rspec>, [">= 1.2.9", "< 2"])
71
+ s.add_dependency(%q<libxml-ruby>, [">= 1.1.4"])
72
+ s.add_dependency(%q<rubyzip>, [">= 0.9.4"])
73
+ s.add_dependency(%q<bundler>, [">= 1.0.7"])
74
+ s.add_dependency(%q<jeweler>, [">= 1.5.1"])
75
+ s.add_dependency(%q<rspec>, [">= 2"])
67
76
  s.add_dependency(%q<epubcheck>, [">= 0.1.0"])
68
77
  s.add_dependency(%q<bundler>, [">= 1.0.7"])
69
78
  s.add_dependency(%q<jeweler>, [">= 1.5.1"])
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  begin
2
- require 'spec'
2
+ require 'rspec'
3
3
  rescue LoadError
4
4
  require 'rubygems' unless ENV['NO_RUBYGEMS']
5
5
  gem 'rspec'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gepub
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - KOJIMA Satoshi
@@ -15,35 +15,89 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-01 00:00:00 +09:00
18
+ date: 2011-01-06 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: rspec
23
- prerelease: false
24
22
  requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 13
27
+ hash: 27
30
28
  segments:
31
29
  - 1
32
- - 2
30
+ - 1
31
+ - 4
32
+ version: 1.1.4
33
+ type: :runtime
34
+ name: libxml-ruby
35
+ prerelease: false
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 51
44
+ segments:
45
+ - 0
33
46
  - 9
34
- version: 1.2.9
35
- - - <
47
+ - 4
48
+ version: 0.9.4
49
+ type: :runtime
50
+ name: rubyzip
51
+ prerelease: false
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 25
60
+ segments:
61
+ - 1
62
+ - 0
63
+ - 7
64
+ version: 1.0.7
65
+ type: :development
66
+ name: bundler
67
+ prerelease: false
68
+ version_requirements: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 1
76
+ segments:
77
+ - 1
78
+ - 5
79
+ - 1
80
+ version: 1.5.1
81
+ type: :development
82
+ name: jeweler
83
+ prerelease: false
84
+ version_requirements: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ">="
36
90
  - !ruby/object:Gem::Version
37
91
  hash: 7
38
92
  segments:
39
93
  - 2
40
94
  version: "2"
41
95
  type: :development
42
- version_requirements: *id001
43
- - !ruby/object:Gem::Dependency
44
- name: epubcheck
96
+ name: rspec
45
97
  prerelease: false
46
- requirement: &id002 !ruby/object:Gem::Requirement
98
+ version_requirements: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ requirement: &id006 !ruby/object:Gem::Requirement
47
101
  none: false
48
102
  requirements:
49
103
  - - ">="
@@ -55,11 +109,11 @@ dependencies:
55
109
  - 0
56
110
  version: 0.1.0
57
111
  type: :development
58
- version_requirements: *id002
59
- - !ruby/object:Gem::Dependency
60
- name: bundler
112
+ name: epubcheck
61
113
  prerelease: false
62
- requirement: &id003 !ruby/object:Gem::Requirement
114
+ version_requirements: *id006
115
+ - !ruby/object:Gem::Dependency
116
+ requirement: &id007 !ruby/object:Gem::Requirement
63
117
  none: false
64
118
  requirements:
65
119
  - - ">="
@@ -71,11 +125,11 @@ dependencies:
71
125
  - 7
72
126
  version: 1.0.7
73
127
  type: :development
74
- version_requirements: *id003
75
- - !ruby/object:Gem::Dependency
76
- name: jeweler
128
+ name: bundler
77
129
  prerelease: false
78
- requirement: &id004 !ruby/object:Gem::Requirement
130
+ version_requirements: *id007
131
+ - !ruby/object:Gem::Dependency
132
+ requirement: &id008 !ruby/object:Gem::Requirement
79
133
  none: false
80
134
  requirements:
81
135
  - - ">="
@@ -87,11 +141,11 @@ dependencies:
87
141
  - 1
88
142
  version: 1.5.1
89
143
  type: :development
90
- version_requirements: *id004
91
- - !ruby/object:Gem::Dependency
92
- name: libxml-ruby
144
+ name: jeweler
93
145
  prerelease: false
94
- requirement: &id005 !ruby/object:Gem::Requirement
146
+ version_requirements: *id008
147
+ - !ruby/object:Gem::Dependency
148
+ requirement: &id009 !ruby/object:Gem::Requirement
95
149
  none: false
96
150
  requirements:
97
151
  - - ">="
@@ -103,11 +157,11 @@ dependencies:
103
157
  - 4
104
158
  version: 1.1.4
105
159
  type: :runtime
106
- version_requirements: *id005
107
- - !ruby/object:Gem::Dependency
108
- name: rubyzip
160
+ name: libxml-ruby
109
161
  prerelease: false
110
- requirement: &id006 !ruby/object:Gem::Requirement
162
+ version_requirements: *id009
163
+ - !ruby/object:Gem::Dependency
164
+ requirement: &id010 !ruby/object:Gem::Requirement
111
165
  none: false
112
166
  requirements:
113
167
  - - ">="
@@ -119,7 +173,9 @@ dependencies:
119
173
  - 4
120
174
  version: 0.9.4
121
175
  type: :runtime
122
- version_requirements: *id006
176
+ name: rubyzip
177
+ prerelease: false
178
+ version_requirements: *id010
123
179
  description: an easy-to-use (and easy-to-implement) EPUB generator.
124
180
  email: skoji@skoji.jp
125
181
  executables: []
@@ -130,7 +186,6 @@ extra_rdoc_files:
130
186
  - README.rdoc
131
187
  files:
132
188
  - .document
133
- - .gitignore
134
189
  - Gemfile
135
190
  - README.rdoc
136
191
  - Rakefile
@@ -142,15 +197,14 @@ files:
142
197
  - lib/gepub/generator.rb
143
198
  - lib/gepub/item.rb
144
199
  - spec/gepub_spec.rb
145
- - spec/spec.opts
146
200
  - spec/spec_helper.rb
147
201
  has_rdoc: true
148
202
  homepage: http://github.com/skoji/gepub
149
203
  licenses: []
150
204
 
151
205
  post_install_message:
152
- rdoc_options:
153
- - --charset=UTF-8
206
+ rdoc_options: []
207
+
154
208
  require_paths:
155
209
  - lib
156
210
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -179,6 +233,6 @@ signing_key:
179
233
  specification_version: 3
180
234
  summary: a good-enough EPUB generator.
181
235
  test_files:
236
+ - examples/example.rb
182
237
  - spec/gepub_spec.rb
183
238
  - spec/spec_helper.rb
184
- - examples/example.rb
data/.gitignore DELETED
@@ -1,25 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
- *.epub
23
-
24
- ## BUNDLER
25
- Gemfile.lock
data/spec/spec.opts DELETED
@@ -1 +0,0 @@
1
- --colour