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 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 chart
21
+ //= require Chart
22
22
 
23
23
  ## Usage
24
24
 
@@ -47,7 +47,7 @@ app.js.coffee:
47
47
  ]
48
48
  }
49
49
 
50
- myNewChart = new Chart($("#canvas").get(0).getContext("2d")).Line(data)
50
+ myNewChart = new Chart($("#canvas").get(0).getContext("2d")).Line(data)
51
51
 
52
52
  index.haml.html:
53
53
 
@@ -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 = Chart::Js::Rails::VERSION
16
+ gem.version = ChartJs::Rails::VERSION
17
17
 
18
- gem.add_dependency "railties", "~> 3.1"
18
+ gem.add_dependency "railties", "> 3.1"
19
19
  end
@@ -1,6 +1,6 @@
1
1
  require 'chart-js-rails/version'
2
2
 
3
- module Chart
3
+ module ChartJs
4
4
  module Rails
5
5
  class Engine < ::Rails::Engine
6
6
  end
@@ -1,7 +1,5 @@
1
- module Chart
2
- module Js
3
- module Rails
4
- VERSION = "0.0.4"
5
- end
6
- end
1
+ module ChartJs
2
+ module Rails
3
+ VERSION = "0.0.5"
4
+ end
7
5
  end
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
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-04-15 00:00:00.000000000 -04:00
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: &70272322155920 !ruby/object:Gem::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: *70272322155920
25
+ version_requirements: *70274942922960
26
26
  description: Chart.js for use in Rails asset pipeline
27
27
  email:
28
28
  - walsh1kt@gmail.com