KroleoPhoto 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: 5455427cf8e5ea603470f25792ceb553bea11d26
4
- data.tar.gz: e18a90aeaa6a0887aa29f5101e4268f160534ba8
3
+ metadata.gz: 67c13fa78f57093a8d18b16b2675518ab437808c
4
+ data.tar.gz: 46793ea4195b077265d55e17203cf0682bec2133
5
5
  SHA512:
6
- metadata.gz: c5ee4732eee10ee47698f33b1d3e4bce01743106bb6bf7cf08e1a81841a65bafcd02c7ed4c82c1a9a47b4403495e501d32e3c7bca84f397966bfe5a0566850bf
7
- data.tar.gz: e0986839272f336bb14b6204b297977a7a05a1fd3d2d90fdaf112c99e28d8fc36cc9c7a1793f12ac4f9477f1d367e4392f92417dd7e4da8173caa60bd93e7959
6
+ metadata.gz: e10f71f0075207e6e42cc68da6e5da0d20d207ac41fcfe2cbb87e9c1b92b321b309610e0ad423b22330e68cc29b2121d9bfc9dfcba488b3383d2ff6c243a1ea3
7
+ data.tar.gz: 451471324d5325e68815445a67140ac8091676890a86ad8adbe86cc87cf3d3dd53720d5860b969ea84924c996ff0cffb5267cb9bbbe0e1b886d38086448abaa1
@@ -19,16 +19,14 @@ class KroleoPhoto
19
19
 
20
20
  #This will add the from information to the card
21
21
  def self.add_from_information(file, from)
22
- system(write_text(file,@@grav_nw,@@font,@@size,"+110","+170",from.name))
23
- system(write_text(file,@@grav_nw,@@font,@@size,"+110","+220",from.address))
24
- system(write_text(file,@@grav_nw, @@font, @@size, "+110","+270",from.city+" "+from.state+", "+from.zip))
22
+ system(write_text(file,@@grav_nw,@@font,@@size,"+110","+170",from.first_name+" "+from.last_name))
25
23
  return file
26
24
  end
27
25
 
28
26
  #This will add the information for the recipient
29
27
  def self.add_to_information(file, to)
30
- system(write_text(file,@@grav_sw,@@font, @@size,"+940","+380",to.name))
31
- system(write_text(file,@@grav_sw,@@font, @@size,"+940","+330",to.address))
28
+ system(write_text(file,@@grav_sw,@@font, @@size,"+940","+380",to.first_name+" "+to.last_name))
29
+ system(write_text(file,@@grav_sw,@@font, @@size,"+940","+330",to.street))
32
30
  system(write_text(file,@@grav_sw,@@font, @@size,"+940","+280",to.city+" "+to.state+", "+to.zip))
33
31
  return file
34
32
  end
@@ -1,3 +1,3 @@
1
1
  module KroleoPhoto
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: KroleoPhoto
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
  - Cole Alban