bookify 2.8.0 → 2.8.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
  SHA256:
3
- metadata.gz: 23a677a6b7a9b17f6d796c2e592ecd6a257e64567453830317304937e222b478
4
- data.tar.gz: 7ccbcdfab8abd3606dd5959af91bd931488513f301fe0bc1ecf5da3aa50d4b23
3
+ metadata.gz: efbeffbc6c3488a34543d74ac6bb445dddf71a44420de140ad0e0417e16739fa
4
+ data.tar.gz: 7bbb0a5e39b6a7c0d4a857745cd201e97981bc24cfb4abad183cca450131c241
5
5
  SHA512:
6
- metadata.gz: fa7ca38229470047590911625ec13963746cc6cf01b49e3a8bd6fcfeb6ec5eb556d7897dac641579b7ea68b1be0a72cd1a92e9ebc221eb90145e30bf690e210b
7
- data.tar.gz: 0a2792823adcb885befd77f217d3fcd560f7ce0a0b28c2d40758e989eab6336b8c0dafa2c14aa44f03c150bf3ce1a1c4057c8add247a39c89057e5049d727b66
6
+ metadata.gz: b66e47ce4e36e9cb57676e5e66f65fa4ba45a4a63fbea482254132f5bef7e656d23c02af2602a6a14c2ec85e8409449a7b6153e5ebff53aca60e920bae521306
7
+ data.tar.gz: 7ebfb329b36c4064aa2bfe88ca0fa998540907d8b99e24519d24f75fdb68d74da3ec468d725eb5f41ed835e32d04bdd36fc601ee6c02953da3e4f1a9fbf29dbb
@@ -42,5 +42,9 @@ module Bookify::Node
42
42
  def break_if_close_to_bottom(tolerance = 125)
43
43
  bounds.move_past_bottom if pdf.y <= tolerance
44
44
  end
45
+
46
+ def page_top
47
+ pdf.bounds.parent.height + 50
48
+ end
45
49
  end
46
50
  end
@@ -18,9 +18,5 @@ module Bookify::Node
18
18
 
19
19
  move_down 30
20
20
  end
21
-
22
- def page_top
23
- pdf.bounds.parent.height + 50
24
- end
25
21
  end
26
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookify
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joey Schoblaska