odf 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/lib/odf.rb +5 -1
  4. data/lib/odf/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c618b4ea9d37d5b03a96097f0de0e3b9abc3056c
4
- data.tar.gz: 4f2517bbd3c2db27744ccec7dfcf9cf9cef02f9a
3
+ metadata.gz: a6cbf3c9cd35f6b0dcdb39b5cc13cf2a9dc53aff
4
+ data.tar.gz: 6d430ba33215357ba6e4f3ff3acac8d50fb9f0ec
5
5
  SHA512:
6
- metadata.gz: 6cd614592cc7f05e84bfcadc5432195f14f044b930f47f3062b5eb790c7b8e6f1c3f76415c42c24719876b164fcc191e9b41280e9edbc125a66b8092a086f3b7
7
- data.tar.gz: 4b7230485ef33647135a49dd09843d8dfe9839d43fa25ea983765d28f46d6d9f6c7bd32e623e3d80bd553d0ad8fbeea4307e2fc006b0373cb29a00ad5cd5457c
6
+ metadata.gz: 44836fc5121e96d01b3fed7703cf10b0a504761c1e216153d994bf00e9563edc926fe5a26da96f3f6593eca4843884b6bac5fe54bd9b2859e4177f42363c0a64
7
+ data.tar.gz: db58d24992c85b3bdf144e2136383732b50e26692e48f4011bb2d5422c54f2cdc70fa1f9164cbad6628757610fa8cdffdbd5d13f655f3d6f6330e28362d0ce82
data/.gitignore CHANGED
@@ -7,3 +7,5 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
11
+ *.DS_Store
data/lib/odf.rb CHANGED
@@ -47,7 +47,7 @@ module Odf
47
47
  DEFAULT_STYLE = "#{TEMPLATE_PATH}/default_style.xml".freeze
48
48
 
49
49
  def self.configure(&block)
50
- block.call
50
+ block.call(self)
51
51
  end
52
52
 
53
53
  def self.styles=(val)
@@ -62,4 +62,8 @@ module Odf
62
62
  @creator
63
63
  end
64
64
 
65
+ def self.creator=(val)
66
+ @creator = val
67
+ end
68
+
65
69
  end
@@ -1,3 +1,3 @@
1
1
  module Odf
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Emin İNAÇ
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-26 00:00:00.000000000 Z
11
+ date: 2016-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri