petit-felix 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b82f613c07ac215219d350be885afff66876e67b094d3358d5f2598785b370e9
4
- data.tar.gz: 53dc26d5fa3834c38317f6632c16d8c99bae7ab8af77660c77fdb420be625f41
3
+ metadata.gz: 97cba85bae835c95a94b3143517e5e7276772f287ad58a41047f5562dd6d746b
4
+ data.tar.gz: 69d0d789487e81046db93826ed0481f613b4fa70d3e13fdc6fde5e063422f973
5
5
  SHA512:
6
- metadata.gz: c054afc66ad63700938463e5d081deba54f3a9b064c9fdd82201d3a315b99c338cc70390873b557f780ea20e832c01f46e7d689830e9eb07d0340a64f42c2fb5
7
- data.tar.gz: ef7cd3f1724ac05f70fd9d73675b72a2246bfcd2978ea0329ed4c5d73c92bda02d56a4f5dacb5bde2a3804f2001375ca752887dce029edf805521b2528201236
6
+ metadata.gz: cbbce50a26a2351b24c17d092995fa9d5c7bfa5dac8afa51b5e93eb88c9e83182d1b5770a1a793c2967d2623f5c93a6abfa2965b710c042a94a6c513ea34653b
7
+ data.tar.gz: 289b9746a5c0129fa8b8aab09c38b06fdb05bd9e3e279371edac4f7d9ad927ab34225e8946c165de6b898e52d9024b54e39aaea055dde03b66ee1ff093f79617
@@ -25,7 +25,7 @@ module PetitFelix
25
25
  if set.count(":") >= 1
26
26
  data = set.split(":")
27
27
  index = data[0].strip.downcase
28
- metadata[index] = data[1].strip
28
+ metadata[index] = data[1].strip.gsub("\\\"", "\"")
29
29
  end
30
30
  end
31
31
  metadata
data/lib/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PetitFelix
4
4
  module Felix
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
@@ -357,19 +357,22 @@ module PetitFelix
357
357
  font_size(@options["default_font_size"].to_i)
358
358
 
359
359
  if columns == 1
360
+
360
361
  bounding_box([half_margin, cursor - half_margin],
361
362
  width: bounds.width-margin,
362
363
  height: [bounds.height - 20 - margin, bounds.height - margin].min) do
363
-
364
364
  markdown(content, options: @options)
365
365
  end
366
+
366
367
  else
368
+
367
369
  column_box([half_margin, cursor - half_margin],
368
370
  columns: columns,
369
371
  width: bounds.width-margin,
370
372
  height: [bounds.height - 20 - margin, bounds.height - margin].min) do
371
-
373
+
372
374
  markdown(content, options: @options)
375
+
373
376
  end
374
377
  end
375
378
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: petit-felix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - PunishedFelix
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: 0.1.10
38
+ version: 0.1.12
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: 0.1.10
45
+ version: 0.1.12
46
46
  description: Converts markdown files into PDF documents using options passed in a
47
47
  hash.
48
48
  email:
@@ -61,7 +61,7 @@ files:
61
61
  - lib/task/default_task.rb
62
62
  - lib/version.rb
63
63
  - lib/worker/basic_pdf_writer.rb
64
- homepage: https://github.com/badgernested/petitfelix
64
+ homepage: https://github.com/badgernested/petit-felix
65
65
  licenses:
66
66
  - MIT
67
67
  metadata: {}