vesr 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,16 +21,6 @@ module Prawn
21
21
  draw_address sender.vcard
22
22
  end
23
23
 
24
- # Draws the full address of a vcard
25
- def draw_address(vcard)
26
- lines = [vcard.full_name, vcard.extended_address, vcard.street_address, vcard.post_office_box, "#{vcard.postal_code} #{vcard.locality}"]
27
- lines = lines.map {|line| line.strip unless (line.nil? or line.strip.empty?)}.compact
28
-
29
- lines.each do |line|
30
- text line
31
- end
32
- end
33
-
34
24
  def draw_account(account)
35
25
  bounding_box [cm2pt(2.6), bounds.top - cm2pt(3.4)], :width => cm2pt(2.5) do
36
26
  font_size 9 do
data/lib/vesr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vesr
2
- VERSION = "0.12.1"
2
+ VERSION = "0.12.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vesr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 45
4
+ hash: 43
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 12
9
- - 1
10
- version: 0.12.1
9
+ - 2
10
+ version: 0.12.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Simecek
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-04-12 00:00:00 Z
19
+ date: 2012-04-19 00:00:00 Z
20
20
  dependencies: []
21
21
 
22
22
  description: VESR provides support for ESR number calculations and gives ready to use Rails components.