google_visualr 2.3.0 → 2.4.0

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: c619ef5e478b69cae31b6633f12bd0538ae28d1f
4
- data.tar.gz: c8b933d1ab6b6fd1f8d6ffee52d510b4f63ff5d8
3
+ metadata.gz: b7c88fe21d2f73a9ff8649ebed58f1d4fa3f0fed
4
+ data.tar.gz: af80bbfdd2a8fd5c2010808539eacab84075c02b
5
5
  SHA512:
6
- metadata.gz: 0709add89f814b1af09c975333cfe3beacda8dd989e300388d341d5c7a14de18198265c55cdf8e7d85b50dc8636cb9909b4bd786f5dbfaf49f7e44e116ce0e63
7
- data.tar.gz: b19ad8a044a5a91916d51c745d4f1b42b54e6dfb1851b1f59be2c9aef924f64d5d775929754e9d0e5c2ce898f87c92c576f9d0efa78e95009439cf211a501239
6
+ metadata.gz: e13dce7e588c8bbb3c301f4f37aec87ac4515b05b3fbfbf8a5372897df9340c029a194b0c2654ceeb8ff1da59a7c187aee432070baa70bb61eec2695b4ceb90f
7
+ data.tar.gz: 386981a3b3e7c448fa9842d1430ad43af1204366dc1131aceb7372fbcd2741b1eb7388c0a2105e37c2b88b4ad6a445ef4770152b9d379a3592be3925c37dfd8e
data/README.markdown CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [<img src="https://secure.travis-ci.org/winston/google_visualr.png?branch=master" alt="Build Status" />](http://travis-ci.org/winston/google_visualr)
4
4
 
5
- GoogleVisualr, is a wrapper around the [Google Chart Tools](http://code.google.com/apis/chart/interactive/docs/index.html) that allows anyone to create beautiful charts with just plain Ruby. You don't have to write any JavaScript at all.
5
+ GoogleVisualr, is a wrapper around the [Google Chart Tools](http://code.google.com/apis/chart/interactive/docs/) that allows anyone to create beautiful charts with just plain Ruby. You don't have to write any JavaScript at all.
6
6
 
7
7
  It's good for any Ruby (Rails/Sinatra) setup, and you can handle the entire charting logic in Ruby.
8
8
 
@@ -88,9 +88,13 @@ I would like to collect some data about who's using this Gem. [Please drop me a
88
88
 
89
89
  ## Change Log
90
90
 
91
+ <em>Version 2.4.0</em>
92
+
93
+ * [Pull Request 75](https://github.com/winston/google_visualr/pull/75) Add Histogram chart.
94
+
91
95
  <em>Version 2.3.0</em>
92
96
 
93
- * [Issue 69](https://github.com/winston/google_visualr/pull/69) Support generating chart Javascript without <script> tag
97
+ * [Issue 69](https://github.com/winston/google_visualr/pull/69) Support generating chart Javascript without `<script>` tag
94
98
  * Split `base_chart#to_js` into 3 methods - `to_js`, `load_js` and `draw_js` which can be used on their own.
95
99
 
96
100
  <em>Version 2.2.0</em>
@@ -23,6 +23,7 @@ require "#{lib_path}/google_visualr/interactive/combo_chart"
23
23
  require "#{lib_path}/google_visualr/interactive/gauge"
24
24
  require "#{lib_path}/google_visualr/interactive/geo_chart"
25
25
  require "#{lib_path}/google_visualr/interactive/geo_map"
26
+ require "#{lib_path}/google_visualr/interactive/histogram"
26
27
  require "#{lib_path}/google_visualr/interactive/line_chart"
27
28
  require "#{lib_path}/google_visualr/interactive/pie_chart"
28
29
  require "#{lib_path}/google_visualr/interactive/scatter_chart"
@@ -0,0 +1,14 @@
1
+ module GoogleVisualr
2
+ module Interactive
3
+
4
+ # https://developers.google.com/chart/interactive/docs/gallery/histogram
5
+ class Histogram < BaseChart
6
+ include GoogleVisualr::Packages::CoreChart
7
+
8
+ # For Configuration Options, please refer to:
9
+ # https://developers.google.com/chart/interactive/docs/gallery/histogram#Configuration_Options
10
+ end
11
+
12
+ end
13
+ end
14
+
@@ -1,3 +1,3 @@
1
1
  module GoogleVisualr
2
- VERSION = "2.3.0"
2
+ VERSION = "2.4.0"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_visualr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winston Teo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-08 00:00:00.000000000 Z
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.3.5
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.3.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.14.1
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.14.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.2'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.2'
55
55
  description: This Ruby gem, GoogleVisualr, is a wrapper around the Google Chart Tools
@@ -61,6 +61,10 @@ executables: []
61
61
  extensions: []
62
62
  extra_rdoc_files: []
63
63
  files:
64
+ - MIT-LICENSE
65
+ - README.markdown
66
+ - Rakefile
67
+ - lib/google_visualr.rb
64
68
  - lib/google_visualr/app/helpers/view_helper.rb
65
69
  - lib/google_visualr/app/railtie.rb
66
70
  - lib/google_visualr/base_chart.rb
@@ -80,6 +84,7 @@ files:
80
84
  - lib/google_visualr/interactive/gauge.rb
81
85
  - lib/google_visualr/interactive/geo_chart.rb
82
86
  - lib/google_visualr/interactive/geo_map.rb
87
+ - lib/google_visualr/interactive/histogram.rb
83
88
  - lib/google_visualr/interactive/intensity_map.rb
84
89
  - lib/google_visualr/interactive/line_chart.rb
85
90
  - lib/google_visualr/interactive/map.rb
@@ -94,13 +99,13 @@ files:
94
99
  - lib/google_visualr/packages.rb
95
100
  - lib/google_visualr/param_helpers.rb
96
101
  - lib/google_visualr/version.rb
97
- - lib/google_visualr.rb
98
- - MIT-LICENSE
99
- - Rakefile
100
- - README.markdown
102
+ - spec/dummy/Gemfile
103
+ - spec/dummy/Gemfile.lock
104
+ - spec/dummy/Rakefile
101
105
  - spec/dummy/app/controllers/application_controller.rb
102
106
  - spec/dummy/app/helpers/application_helper.rb
103
107
  - spec/dummy/app/views/layouts/application.html.erb
108
+ - spec/dummy/config.ru
104
109
  - spec/dummy/config/application.rb
105
110
  - spec/dummy/config/boot.rb
106
111
  - spec/dummy/config/database.yml
@@ -115,11 +120,8 @@ files:
115
120
  - spec/dummy/config/initializers/session_store.rb
116
121
  - spec/dummy/config/locales/en.yml
117
122
  - spec/dummy/config/routes.rb
118
- - spec/dummy/config.ru
119
123
  - spec/dummy/db/seeds.rb
120
124
  - spec/dummy/doc/README_FOR_APP
121
- - spec/dummy/Gemfile
122
- - spec/dummy/Gemfile.lock
123
125
  - spec/dummy/log/development.log
124
126
  - spec/dummy/log/production.log
125
127
  - spec/dummy/log/server.log
@@ -137,7 +139,6 @@ files:
137
139
  - spec/dummy/public/javascripts/prototype.js
138
140
  - spec/dummy/public/javascripts/rails.js
139
141
  - spec/dummy/public/robots.txt
140
- - spec/dummy/Rakefile
141
142
  - spec/dummy/script/rails
142
143
  - spec/dummy/test/performance/browsing_test.rb
143
144
  - spec/dummy/test/test_helper.rb
@@ -164,17 +165,17 @@ require_paths:
164
165
  - lib
165
166
  required_ruby_version: !ruby/object:Gem::Requirement
166
167
  requirements:
167
- - - '>='
168
+ - - ">="
168
169
  - !ruby/object:Gem::Version
169
170
  version: '0'
170
171
  required_rubygems_version: !ruby/object:Gem::Requirement
171
172
  requirements:
172
- - - '>='
173
+ - - ">="
173
174
  - !ruby/object:Gem::Version
174
175
  version: '0'
175
176
  requirements: []
176
177
  rubyforge_project:
177
- rubygems_version: 2.1.9
178
+ rubygems_version: 2.2.2
178
179
  signing_key:
179
180
  specification_version: 4
180
181
  summary: A Ruby wrapper around the Google Chart Tools that allows anyone to create