ish_models 0.0.33.284 → 0.0.33.285

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ish/invoice.rb +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a4d957982b07fa1d853042019a04a184a7f29b72714c6cdf7a1004f280eb40f
4
- data.tar.gz: 7e146b62cb7fc0f4a355a411ae4179da424df030c13a3c51c3290f4a7a5b829c
3
+ metadata.gz: e325a01ece3aab8dacd0f932b072d971e54df0e27c0000d905b19f77d51d985b
4
+ data.tar.gz: 61d00470b14d3cd5a2ab0007f1f2fc7161b1dc1ea162f17adac43f8e5377f58a
5
5
  SHA512:
6
- metadata.gz: d17aebb57121789518229f7a1c2dbaf5779a7fe0ea9814cceb11f8a6d4434e0ec71564678a3b5f15c6d15870cb77b9301a2b23f6d7743507482da553a79ae96b
7
- data.tar.gz: 9aeb3776194c1bbac334a18c493a14b85ed3eed5fa46c0456b6f7ecb6db063b7ef98ee3d8fb00bbbef69cd75f2007f804bc80bd5d365f3fc535139e475283f04
6
+ metadata.gz: 96807c7322acdb1068115b5ab73c95233b53cc1eea325da5fa4a854a018f86bc30d6dbba2c696d6c16805abddeae6024008d962161b65660f1ae9fcff20e0123
7
+ data.tar.gz: b23cdb716dfe54f09e7798aad1a33e637783ef1952922867f698dcacb0033f76d0bfdd3d79c3d2525b426405706037157dcb04fb3fd031315ddbfc368c760e0c
data/lib/ish/invoice.rb CHANGED
@@ -42,8 +42,13 @@ class Ish::Invoice
42
42
 
43
43
  ## Prawn/pdf unit of measure is 1/72"
44
44
  ## Canvas width: 612, height: 792
45
+ ##
46
+ ## tree image: 896 x 1159
47
+ ## tree image: 791 x 1024
48
+ ## tree image: 964 x 1248
49
+ ##
45
50
  def generate_monthly_invoice
46
- tree_img_url = "#{Rails.root.join('public')}/tree-1.jpg"
51
+ tree_img_url = "#{Rails.root.join('public')}/tree-#{number}.jpg"
47
52
  wasya_co_logo_url = "#{Rails.root.join('public')}/259x66-WasyaCo-logo.png"
48
53
 
49
54
  ## canvas width: 612, height: 792
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.284
4
+ version: 0.0.33.285
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox