appraisermetrics_report_service 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
  SHA1:
3
- metadata.gz: 6c1943150bf8449feab4a3a0c0b491de2dc1b9af
4
- data.tar.gz: 69ad532b4a0c36300e2657f1443909c9d305e154
3
+ metadata.gz: ca3a0dda01212b11238a9258b0a6a51841a1f08b
4
+ data.tar.gz: 7dbccd5dfd28c81f0aeed144302bb5d2b3990321
5
5
  SHA512:
6
- metadata.gz: 5176424d1dac01ddaea2b9a36b31b8f19fb83813384c98af5614b3e95880202532244eb2f878c9606386ae206293695ba0d82f25f9dc4e941d339b7d349673a2
7
- data.tar.gz: d12e1d8e29e46dcc5490f04bc8bb9ffeed386af49d8a5e333136c4953e98d630d87c419e2b200a9ae89de455ed1df58baead2968279361f97116c7f27729a074
6
+ metadata.gz: 7d9ed06fc12e3e6f3790c4874a6a5dee330adc9873146856835a86905d73f3c3cbab340cb56ea05393d42781c04eddebe86ac5564a1c53591790bddcddd4c93a
7
+ data.tar.gz: c695fbc41fd45c8468bd97be78a6774b661adb559ec30026882e79ae81c30a3edc8cafe19c35dc86b9188b3ff2fc51749166cb7a285969ff7bf9bb5199f7e5e4
@@ -1,3 +1,3 @@
1
1
  module AppraisermetricsReportService
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/closed_sale.rb CHANGED
@@ -75,16 +75,22 @@ class ClosedSale < Prawn::Document
75
75
  stroke_horizontal_rule
76
76
  stroke_bounds
77
77
  move_down 5
78
+
78
79
  float do
79
80
  comments
81
+ @comments_cursor = cursor
80
82
  end
81
83
 
82
84
  indent(270) do
83
85
  legal_transaction
86
+ @legal_cursor = cursor
84
87
  end
85
88
 
89
+ # comments might be long or short, make sure they don't overrun the next section
90
+ move_cursor_amount = @legal_cursor - @comments_cursor
91
+ move_down move_cursor_amount unless move_cursor_amount < 0
92
+
86
93
  # stroke boundary line
87
- move_down 30
88
94
  stroke_line [270, 720], [270, cursor]
89
95
  stroke_horizontal_rule
90
96
  move_down 5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appraisermetrics_report_service
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
  - StackPoint
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ttfunk