epuber 0.7.3 → 0.7.4

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
  SHA256:
3
- metadata.gz: 52fe047285b476bde13a682764c8a2040502e10d79511c007b4ce226a5284112
4
- data.tar.gz: 48d189ecceec30367c4a565fef7eca73728b2e620ac510d889be6ecd5aef4204
3
+ metadata.gz: af051eead00739e08c4b2aa7b4dcd418eee3c8dacbe4ba14f03d59eb0b0c5c9c
4
+ data.tar.gz: d5d6bac0ca3655ac9a121c9f259ea550015d4395ca39c7a403ea6937ba469809
5
5
  SHA512:
6
- metadata.gz: 28ab4f13842a57c0a62b4509dbc2ab352d857021045b831f6b7320fc432ba8272acd492ddbac9a449cd3c632885d513b3e30ccaf53116646cc734a2413e191af
7
- data.tar.gz: b97a62b37d26bf6577e21b46fe6a56918fc3bbc04f5563ff0bbd5d0c92f54a342a5128d0f070b33015f474ec40756eaf94ee64f587666f550748489424ccc5f1
6
+ metadata.gz: 49e6fd074fc50782e9227aac3ccd45997eb1760ca3e85acc3c14ac4f1660e8d77df877df1981993320ed432b5e9222fca02482813d25ec8e8464c6f6e0c93016
7
+ data.tar.gz: b26d34e7bbbb3903ab99d6f1b731854602e92a942aee598d2590fa44b9df292212eaa2242e6c8370f75f9d3fdd6d71310ed3a39684366aa29b7033d9bd5c36dd
data/epuber.gemspec CHANGED
@@ -27,15 +27,15 @@ Gem::Specification.new do |spec|
27
27
  spec.add_runtime_dependency 'listen', '~> 3.0'
28
28
  spec.add_runtime_dependency 'os', '~> 1.0'
29
29
 
30
- spec.add_runtime_dependency 'sinatra', '~> 2.0'
30
+ spec.add_runtime_dependency 'sinatra', '>= 2.0', '< 4.0'
31
31
  spec.add_runtime_dependency 'sinatra-websocket', '~> 0.3'
32
- spec.add_runtime_dependency 'sinatra-contrib', '~> 2.0'
32
+ spec.add_runtime_dependency 'sinatra-contrib', '>= 2.0', '< 4.0'
33
33
  spec.add_runtime_dependency 'thin', '~> 1.6'
34
34
 
35
- spec.add_runtime_dependency 'rmagick', '~> 4.2'
35
+ spec.add_runtime_dependency 'rmagick', '>= 4.2', '< 6.0'
36
36
  spec.add_runtime_dependency 'rubyzip', '~> 2.3'
37
37
 
38
- spec.add_runtime_dependency 'epubcheck-ruby', '~> 4.0'
38
+ spec.add_runtime_dependency 'epubcheck-ruby', '>= 4.0', '< 6.0'
39
39
 
40
40
  spec.add_runtime_dependency 'epuber-stylus', '~> 1.1', '>= 1.1.1'
41
41
  spec.add_runtime_dependency 'coffee-script', '~> 2.4'
@@ -44,5 +44,5 @@ Gem::Specification.new do |spec|
44
44
  spec.add_development_dependency 'rspec', '~> 3.2'
45
45
  spec.add_development_dependency 'rubocop', '~> 1.14'
46
46
  spec.add_development_dependency 'rake', '~> 13.0'
47
- spec.add_development_dependency 'fakefs', '~> 1.3'
47
+ spec.add_development_dependency 'fakefs', '>= 1.3', '< 3.0' # 2.0.0 is not compatible with Ruby 2.5
48
48
  end
@@ -44,6 +44,7 @@ module Epuber
44
44
  xhtml_content = UI.print_step_processing_time('rendering precompiled Bade') do
45
45
  renderer = Bade::Renderer.from_precompiled(precompiled)
46
46
  .with_locals(variables)
47
+ renderer.file_path = source_path
47
48
 
48
49
  renderer.render(new_line: '', indent: '')
49
50
  end
@@ -3,6 +3,7 @@
3
3
  require_relative 'attribute'
4
4
  require_relative 'attribute_support'
5
5
 
6
+ require 'active_support'
6
7
  require 'active_support/core_ext/string/inflections'
7
8
 
8
9
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Epuber
4
- VERSION = '0.7.3'
4
+ VERSION = '0.7.4'
5
5
 
6
6
  HOME_URL = 'https://github.com/epuber-io/epuber'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epuber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Kříž
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-25 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -124,16 +124,22 @@ dependencies:
124
124
  name: sinatra
125
125
  requirement: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - "~>"
127
+ - - ">="
128
128
  - !ruby/object:Gem::Version
129
129
  version: '2.0'
130
+ - - "<"
131
+ - !ruby/object:Gem::Version
132
+ version: '4.0'
130
133
  type: :runtime
131
134
  prerelease: false
132
135
  version_requirements: !ruby/object:Gem::Requirement
133
136
  requirements:
134
- - - "~>"
137
+ - - ">="
135
138
  - !ruby/object:Gem::Version
136
139
  version: '2.0'
140
+ - - "<"
141
+ - !ruby/object:Gem::Version
142
+ version: '4.0'
137
143
  - !ruby/object:Gem::Dependency
138
144
  name: sinatra-websocket
139
145
  requirement: !ruby/object:Gem::Requirement
@@ -152,16 +158,22 @@ dependencies:
152
158
  name: sinatra-contrib
153
159
  requirement: !ruby/object:Gem::Requirement
154
160
  requirements:
155
- - - "~>"
161
+ - - ">="
156
162
  - !ruby/object:Gem::Version
157
163
  version: '2.0'
164
+ - - "<"
165
+ - !ruby/object:Gem::Version
166
+ version: '4.0'
158
167
  type: :runtime
159
168
  prerelease: false
160
169
  version_requirements: !ruby/object:Gem::Requirement
161
170
  requirements:
162
- - - "~>"
171
+ - - ">="
163
172
  - !ruby/object:Gem::Version
164
173
  version: '2.0'
174
+ - - "<"
175
+ - !ruby/object:Gem::Version
176
+ version: '4.0'
165
177
  - !ruby/object:Gem::Dependency
166
178
  name: thin
167
179
  requirement: !ruby/object:Gem::Requirement
@@ -180,16 +192,22 @@ dependencies:
180
192
  name: rmagick
181
193
  requirement: !ruby/object:Gem::Requirement
182
194
  requirements:
183
- - - "~>"
195
+ - - ">="
184
196
  - !ruby/object:Gem::Version
185
197
  version: '4.2'
198
+ - - "<"
199
+ - !ruby/object:Gem::Version
200
+ version: '6.0'
186
201
  type: :runtime
187
202
  prerelease: false
188
203
  version_requirements: !ruby/object:Gem::Requirement
189
204
  requirements:
190
- - - "~>"
205
+ - - ">="
191
206
  - !ruby/object:Gem::Version
192
207
  version: '4.2'
208
+ - - "<"
209
+ - !ruby/object:Gem::Version
210
+ version: '6.0'
193
211
  - !ruby/object:Gem::Dependency
194
212
  name: rubyzip
195
213
  requirement: !ruby/object:Gem::Requirement
@@ -208,16 +226,22 @@ dependencies:
208
226
  name: epubcheck-ruby
209
227
  requirement: !ruby/object:Gem::Requirement
210
228
  requirements:
211
- - - "~>"
229
+ - - ">="
212
230
  - !ruby/object:Gem::Version
213
231
  version: '4.0'
232
+ - - "<"
233
+ - !ruby/object:Gem::Version
234
+ version: '6.0'
214
235
  type: :runtime
215
236
  prerelease: false
216
237
  version_requirements: !ruby/object:Gem::Requirement
217
238
  requirements:
218
- - - "~>"
239
+ - - ">="
219
240
  - !ruby/object:Gem::Version
220
241
  version: '4.0'
242
+ - - "<"
243
+ - !ruby/object:Gem::Version
244
+ version: '6.0'
221
245
  - !ruby/object:Gem::Dependency
222
246
  name: epuber-stylus
223
247
  requirement: !ruby/object:Gem::Requirement
@@ -318,16 +342,22 @@ dependencies:
318
342
  name: fakefs
319
343
  requirement: !ruby/object:Gem::Requirement
320
344
  requirements:
321
- - - "~>"
345
+ - - ">="
322
346
  - !ruby/object:Gem::Version
323
347
  version: '1.3'
348
+ - - "<"
349
+ - !ruby/object:Gem::Version
350
+ version: '3.0'
324
351
  type: :development
325
352
  prerelease: false
326
353
  version_requirements: !ruby/object:Gem::Requirement
327
354
  requirements:
328
- - - "~>"
355
+ - - ">="
329
356
  - !ruby/object:Gem::Version
330
357
  version: '1.3'
358
+ - - "<"
359
+ - !ruby/object:Gem::Version
360
+ version: '3.0'
331
361
  description:
332
362
  email:
333
363
  - samnung@gmail.com
@@ -585,7 +615,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
585
615
  - !ruby/object:Gem::Version
586
616
  version: '0'
587
617
  requirements: []
588
- rubygems_version: 3.4.3
618
+ rubygems_version: 3.4.21
589
619
  signing_key:
590
620
  specification_version: 4
591
621
  summary: Epuber is simple tool to compile and pack source files into EPUB format.