highcharts_on_rails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/highcharts_on_rails/line_chart.rb +2 -2
- data/lib/highcharts_on_rails/version.rb +1 -1
- metadata +11 -17
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6b95e04ce69cde4f160442159ee6558c7b202bc1
|
4
|
+
data.tar.gz: 5478f1794267ef1a7476ea580f9e46255808bf4e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ef1e677cfc7ec84205bbb3a2651d042730e895db1bf2ae068b0764d29ef3e9904280451289a408b423f74bf8a443a9593a31a1c847c2b11da816627d4733b645
|
7
|
+
data.tar.gz: 4b48e5c7905dc1c05dcc4799383519ea07ed5f0a38bc2c3e68dcd8b5bd8d0d2de34412a00c356735fb7d67a038847085011824084b12fe9b3697f98e7429f6a4
|
@@ -26,10 +26,10 @@ class HighchartsOnRails::LineChart < HighchartsOnRails::BaseChart
|
|
26
26
|
|
27
27
|
def add_series(label, data, options={})
|
28
28
|
@_series ||= []
|
29
|
-
@_series += [{name: label, data: data}]
|
29
|
+
@_series += [{name: label, data: data}.merge(options)]
|
30
30
|
end
|
31
31
|
|
32
32
|
def color(color)
|
33
33
|
add_json({plotOptions: {series: {color: color}}})
|
34
34
|
end
|
35
|
-
end
|
35
|
+
end
|
metadata
CHANGED
@@ -1,22 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highcharts_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- stevo
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.2.12
|
22
20
|
- - <
|
@@ -25,9 +23,8 @@ dependencies:
|
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
|
-
- -
|
27
|
+
- - '>='
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 3.2.12
|
33
30
|
- - <
|
@@ -36,17 +33,15 @@ dependencies:
|
|
36
33
|
- !ruby/object:Gem::Dependency
|
37
34
|
name: sqlite3
|
38
35
|
requirement: !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
36
|
requirements:
|
41
|
-
- -
|
37
|
+
- - '>='
|
42
38
|
- !ruby/object:Gem::Version
|
43
39
|
version: '0'
|
44
40
|
type: :development
|
45
41
|
prerelease: false
|
46
42
|
version_requirements: !ruby/object:Gem::Requirement
|
47
|
-
none: false
|
48
43
|
requirements:
|
49
|
-
- -
|
44
|
+
- - '>='
|
50
45
|
- !ruby/object:Gem::Version
|
51
46
|
version: '0'
|
52
47
|
description: Create highcharts in rails with ease!
|
@@ -110,27 +105,26 @@ files:
|
|
110
105
|
- test/test_helper.rb
|
111
106
|
homepage: https://github.com/stevo/highcharts_on_rails
|
112
107
|
licenses: []
|
108
|
+
metadata: {}
|
113
109
|
post_install_message:
|
114
110
|
rdoc_options: []
|
115
111
|
require_paths:
|
116
112
|
- lib
|
117
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
119
114
|
requirements:
|
120
|
-
- -
|
115
|
+
- - '>='
|
121
116
|
- !ruby/object:Gem::Version
|
122
117
|
version: '0'
|
123
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
119
|
requirements:
|
126
|
-
- -
|
120
|
+
- - '>='
|
127
121
|
- !ruby/object:Gem::Version
|
128
122
|
version: '0'
|
129
123
|
requirements: []
|
130
124
|
rubyforge_project:
|
131
|
-
rubygems_version: 1.
|
125
|
+
rubygems_version: 2.1.10
|
132
126
|
signing_key:
|
133
|
-
specification_version:
|
127
|
+
specification_version: 4
|
134
128
|
summary: Highcharts on steroids
|
135
129
|
test_files:
|
136
130
|
- test/dummy/app/assets/javascripts/application.js
|