prawn-graph 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b4ef08ce19955ddfb4f13cfdd5ea16dc32f43ce
4
- data.tar.gz: 5596f850626b686869af45159666b45cb92261c3
3
+ metadata.gz: 80ad7abc296f5bb88b6db6362c49492cda04fe82
4
+ data.tar.gz: d8420fe5b8f60871ddc56ad9c88281d93f69db6a
5
5
  SHA512:
6
- metadata.gz: caa5f449c651cda707d11796dcd688aaa3e4cd3fbcd3220b1c8b8c69301c634dfd39d6a583a3c739312ba4470151c42332f68d007515dd603511a7b5b0744724
7
- data.tar.gz: 8d5d19afcc85fd66106062fbb2c3db5868699376c315b25a71739bfee1347ec5fa439c3198570a42c2a16fc446af148845c2c0a8d6256471159ef1a87d9f0792
6
+ metadata.gz: b4f0e8b4ab4325980a14c3f573a1eebff61b0b51c5a17a886d2bb0474ee4b3b3515047f4807d8cf931549b168b0ed153178af6196448538f26ff809802936c33
7
+ data.tar.gz: 84cd359abed5708e2f23035a2b43cb6525bdf0602ca67a708ca412fdccf7354443b361b0488c119f98875b4784f76ddada25200891ad8e3053ba8368e7e5b755
@@ -1,3 +1,5 @@
1
+ require "securerandom"
2
+
1
3
  module Prawn
2
4
  module Graph
3
5
 
@@ -13,7 +13,7 @@ module Prawn
13
13
  def initialize(arg)
14
14
  @series_map = {}
15
15
  @current_series_color = 0
16
- @theme = OpenStruct.new(arg)
16
+ @theme = OpenStruct.new(Prawn::Graph::Theme::Default.merge(arg))
17
17
  end
18
18
 
19
19
  def number_of_colors
@@ -1,5 +1,5 @@
1
1
  module Prawn
2
2
  module Graph
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawn-graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stenhouse
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-12-13 00:00:00.000000000 Z
12
+ date: 2016-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler