googlecharts 1.6.10 → 1.6.12

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: 94b69525f188994f1689d2ba5014ca625662eee0
4
- data.tar.gz: 856ca0857d23d0daf84a4bdbf9705a66963ff1ef
3
+ metadata.gz: fa6cc0f0e71b51d4dcc1583a1b0a14b4015a41e3
4
+ data.tar.gz: 083b34ae2a25223b6c56d8a0b9ceefb665e95597
5
5
  SHA512:
6
- metadata.gz: 81edf88de45d3c7ef7dcd3fb2b23ab969e37617c51b6437f12d8a200ef6f7b510fc3e05fa436639b74aae004208d6b5406d3268abcdf7c2755f3e45e77f4b940
7
- data.tar.gz: cda6cd7a28b7fdbe91f609fecd606c24acef7f4f355aa88feb6c4971a7fd0d5f888a08ae23b7f362931a41cfd8742c05e8fa4efe17b7e8139aacffffe1eb41e4
6
+ metadata.gz: f68d4956480164bcee5e66c5d3de359023e355e21a9079b5318f740b321706969040ecfd1236c778e365330da55dc65292fa1bf6774262dab66fff111d29f2c5
7
+ data.tar.gz: e972de17e3f51432b417394d83ab2dd4a715c958bf7bd9c50d2eb3cd43f18bcfd8d6cbd634a23c91377b5c4253923211b5edf5b39e1395e338fbcb12d519968b
@@ -1,3 +1,7 @@
1
+ == 1.6.12
2
+ * added license to gemspec
3
+ * added pie_c type for concentric pie charts
4
+
1
5
  == 1.6.10
2
6
  * added support for custom position on axis with label (parameter chxp)
3
7
  * refactored bar chart
@@ -7,11 +7,12 @@ Gem::Specification.new do |s|
7
7
  s.version = GchartInfo::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Matt Aimonetti", "Andrey Deryabin", "Pedro Pimentel"]
10
- s.date = %q{2014-12-15}
10
+ s.date = %q{2015-08-12}
11
11
  s.summary = %q{Generate charts using Google API & Ruby}
12
12
  s.description = %q{Generate charts using Google API & Ruby}
13
13
  s.email = %q{mattaimonetti@gmail.com deriabin@gmail.com zukunft@gmail.com}
14
14
  s.homepage = %q{http://googlecharts.rubyforge.org/}
15
+ s.license = 'MIT'
15
16
 
16
17
  s.files = `git ls-files`.split("\n")
17
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -19,7 +19,7 @@ class Gchart
19
19
  end
20
20
 
21
21
  def self.types
22
- @types ||= ['line', 'line_xy', 'scatter', 'bar', 'venn', 'pie', 'pie_3d', 'jstize', 'sparkline', 'meter', 'map', 'radar']
22
+ @types ||= ['line', 'line_xy', 'scatter', 'bar', 'venn', 'pie', 'pie_3d', 'pie_c', 'jstize', 'sparkline', 'meter', 'map', 'radar']
23
23
  end
24
24
 
25
25
  def self.simple_chars
@@ -528,6 +528,7 @@ class Gchart
528
528
  when 'line' then "lc"
529
529
  when 'line_xy' then "lxy"
530
530
  when 'pie_3d' then "p3"
531
+ when 'pie_c' then "pc"
531
532
  when 'pie' then "p"
532
533
  when 'venn' then "v"
533
534
  when 'scatter' then "s"
@@ -1,3 +1,3 @@
1
1
  module GchartInfo #:nodoc:
2
- VERSION = "1.6.10"
2
+ VERSION = "1.6.12"
3
3
  end
@@ -227,6 +227,12 @@ describe "generating different type of charts" do
227
227
  expect(Gchart.pie).to include('cht=p')
228
228
  end
229
229
 
230
+ it "should be able to generate a Concentric Pie Chart" do
231
+ expect(Gchart.pie_c).to be_an_instance_of(String)
232
+ expect(Gchart.pie_c).to include('cht=pc')
233
+ expect(Gchart.pie_c(size: '240x240', data: [[-1], [2,3]])).to include('-1|1,2,3')
234
+ end
235
+
230
236
  it "should be able to generate a Google-O-Meter" do
231
237
  expect(Gchart.meter).to be_an_instance_of(String)
232
238
  expect(Gchart.meter).to include('cht=gom')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googlecharts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.10
4
+ version: 1.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Aimonetti
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-15 00:00:00.000000000 Z
13
+ date: 2015-08-12 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Generate charts using Google API & Ruby
16
16
  email: mattaimonetti@gmail.com deriabin@gmail.com zukunft@gmail.com
@@ -40,7 +40,8 @@ files:
40
40
  - spec/spec_helper.rb
41
41
  - spec/theme_spec.rb
42
42
  homepage: http://googlecharts.rubyforge.org/
43
- licenses: []
43
+ licenses:
44
+ - MIT
44
45
  metadata: {}
45
46
  post_install_message:
46
47
  rdoc_options: []
@@ -58,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
59
  version: '0'
59
60
  requirements: []
60
61
  rubyforge_project:
61
- rubygems_version: 2.2.2
62
+ rubygems_version: 2.4.8
62
63
  signing_key:
63
64
  specification_version: 4
64
65
  summary: Generate charts using Google API & Ruby