chart-js-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,6 +16,9 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install chart-js-rails
18
18
 
19
+ In your application.js file, add
20
+ $ //= require chart
21
+
19
22
  ## Usage
20
23
 
21
24
  Visit: http://www.chartjs.org/docs/ for general Chart.js usage
@@ -14,4 +14,6 @@ Gem::Specification.new do |gem|
14
14
  gem.name = "chart-js-rails"
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Chart::Js::Rails::VERSION
17
+
18
+ gem.add_dependency "railties", "~> 3.1"
17
19
  end
@@ -1,6 +1,8 @@
1
- require "chart-js-rails/version"
1
+ require 'chart-js-rails/version'
2
2
 
3
3
  module Chart
4
- class Engine < Rails::Engine
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
5
7
  end
6
8
  end
@@ -1,7 +1,7 @@
1
1
  module Chart
2
2
  module Js
3
3
  module Rails
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,18 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2013-03-19 00:00:00.000000000 -04:00
13
13
  default_executable:
14
- dependencies: []
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: railties
17
+ requirement: &70271470155980 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: '3.1'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *70271470155980
15
26
  description: Chart.js for use in Rails asset pipeline
16
27
  email:
17
28
  - walsh1kt@gmail.com
@@ -27,7 +38,7 @@ files:
27
38
  - chart-js-rails.gemspec
28
39
  - lib/chart-js-rails.rb
29
40
  - lib/chart-js-rails/version.rb
30
- - vendor/assets/javascripts/Chart.js
41
+ - vendor/assets/javascripts/chart.js
31
42
  has_rdoc: true
32
43
  homepage: ''
33
44
  licenses: []
@@ -41,9 +52,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
41
52
  - - ! '>='
42
53
  - !ruby/object:Gem::Version
43
54
  version: '0'
44
- segments:
45
- - 0
46
- hash: -3259133194814990899
47
55
  required_rubygems_version: !ruby/object:Gem::Requirement
48
56
  none: false
49
57
  requirements: