obf 0.2.8 → 0.2.9

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/obf/pdf.rb +10 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd14606792d2167ee379b1350f895a10544f8ade
4
- data.tar.gz: cf2c60064c88bcb3416522194d269a4fff9ec25b
3
+ metadata.gz: 368ad009533dd8a70b513b9cffc3d8237ef3819d
4
+ data.tar.gz: d3ff6264d754fc2a6acfb5af1b524a2adc84f632
5
5
  SHA512:
6
- metadata.gz: ff23f4727217c9de507be569fc47b77c5764d87cc4efd563419e1ac30dfab6be833c070d93816b30aa298e710a7d4a1ba95fb04307c13c3fbda08071c6868c10
7
- data.tar.gz: 86ddfe73ba066d966263e463152c9f20d4f42d2fb8e97ccb0e13072c2b7a22f898ca948ad8207b8051834ae4e75760c6c660aa0d0872f699c4a99b5f9b44f3ef
6
+ metadata.gz: 7cef727a163b99d897cbe8dda35c21694525d17c66f9437b73d1610b004b22c5df85b78316d86f7333d1b095ac728ca0a819af3ab1e873842960820efc110c0e
7
+ data.tar.gz: bb0284122c5e6b8f8ea9bef4713e4e888a636b7f6525da8409a46a4bb15b230d0a36adf203576c363a568ea449d30c6a938c80a73bdfd09893dbe0431d23beb4
data/lib/obf/pdf.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  module OBF::PDF
2
2
  @@footer_text ||= nil
3
+ @@footer_url ||= nil
4
+
3
5
  def self.footer_text
4
6
  @@footer_text
5
7
  end
@@ -7,6 +9,14 @@ module OBF::PDF
7
9
  def self.footer_text=(text)
8
10
  @@footer_text = text
9
11
  end
12
+
13
+ def self.footer_url
14
+ @@footer_url
15
+ end
16
+
17
+ def self.footer_url=(url)
18
+ @@footer_url = url
19
+ end
10
20
 
11
21
  def self.from_obf(obf_json_or_path, dest_path, zipper=nil)
12
22
  obj = obf_json_or_path
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-01 00:00:00.000000000 Z
11
+ date: 2014-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json