chart-js-rails 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/chart-js-rails.gemspec +2 -2
- data/lib/chart-js-rails.rb +1 -1
- data/lib/chart-js-rails/version.rb +4 -6
- metadata +5 -5
data/README.md
CHANGED
@@ -18,7 +18,7 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
Add this to your application.js file:
|
20
20
|
|
21
|
-
//= require
|
21
|
+
//= require Chart
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
@@ -47,7 +47,7 @@ app.js.coffee:
|
|
47
47
|
]
|
48
48
|
}
|
49
49
|
|
50
|
-
|
50
|
+
myNewChart = new Chart($("#canvas").get(0).getContext("2d")).Line(data)
|
51
51
|
|
52
52
|
index.haml.html:
|
53
53
|
|
data/chart-js-rails.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.name = "chart-js-rails"
|
15
15
|
gem.require_paths = ["lib"]
|
16
|
-
gem.version =
|
16
|
+
gem.version = ChartJs::Rails::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency "railties", "
|
18
|
+
gem.add_dependency "railties", "> 3.1"
|
19
19
|
end
|
data/lib/chart-js-rails.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chart-js-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,20 +9,20 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-03 00:00:00.000000000 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
17
|
-
requirement: &
|
17
|
+
requirement: &70274942922960 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - ! '>'
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '3.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70274942922960
|
26
26
|
description: Chart.js for use in Rails asset pipeline
|
27
27
|
email:
|
28
28
|
- walsh1kt@gmail.com
|