c3-rails 0.0.1 → 0.0.2.1

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: d6ab371d7d464e11721788e35d233946f5ae3c69
4
- data.tar.gz: 791250c450a91947e352bb9addb4aca9bdd9246f
3
+ metadata.gz: 6b184ba086c18a01d30830850e6f3aceb13e77d9
4
+ data.tar.gz: a5f8438ec81ce2bd94b46d41e3cbb8a9056bf7cb
5
5
  SHA512:
6
- metadata.gz: d72f15483dc29b4e5975ee072c5288830306c0aa657ce229e2860a5c8d91477a7edafe7207d49a1cacca5be60857c145c70bfd368da8b338a86b2056d527af86
7
- data.tar.gz: 5ab7dba70d59d9a75a2fb3613fc0e901367d21f3a6dce8e3a3bc77dd0224297c7f6220fc3cac3b269e7d0c6e8c8bcd2982643dbef943b9967a6194d4fbce0e54
6
+ metadata.gz: 904a2907066d022574dcce8ae97edfafd959a26c4edd7c264cb1343e9b8cbcf798b75ae83938c8fe7c890d81197d04488c5f64d747f2146ef87ca802c5b2764a
7
+ data.tar.gz: d2e5fc558caa51ad54c5b5937df5eaaf256a13e434fca8fae3bc2b3e294a3f7b6ed04cc439a2cba0f1874c45163d9f6431ee42b75f32a367ea9baabce4bcb206
data/.gitmodules CHANGED
File without changes
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
@@ -1,43 +1,49 @@
1
- # c3-rails
2
-
3
- [c3](https://github.com/masayuki0812/c3) is a D3-based reusable chart library
4
- that enables deeper integration of charts into web applications.
5
-
6
- c3-rails provides c3 for Rails 4 (it might work with Rails 3)
7
-
8
- ## Installation
9
-
10
- To install, add the following to your `Gemfile`:
11
-
12
- gem 'c3-rails', :submodules => true
13
-
14
- Then add these to their respective file:
15
-
16
- `app/assets/javascripts/applications.js`:
17
-
18
- //= require c3
19
-
20
- `app/assets/stylesheets/applications.css`:
21
-
22
- *= require c3
23
-
24
- Now you've included `c3` into your rails project.
25
-
26
- But wait, there's more!
27
-
28
- ## Dependency: D3
29
-
30
- `c3` requires `D3` which `c3-rails` does not include,
31
- to get `D3` installed try one of the following gems:
32
-
33
- - [d3_rails](https://github.com/logical42/d3_rails)
34
- - [d3-rails](https://github.com/iblue/d3-rails)
35
- - [d3js-rails](https://github.com/emilford/d3js-rails)
36
-
37
- or you could copy [d3.js](https://github.com/mbostock/d3/blob/master/d3.js)
38
- to your `assets/javascripts` manually which would defeat the purpose of
39
- having these gems in the first place...
40
-
41
-
42
- Now you're ready to use `c3` in any page that load assets handled by
43
- the asset pipeline.
1
+ # c3-rails
2
+
3
+ [c3](https://github.com/masayuki0812/c3) is a D3-based reusable chart library
4
+ that enables deeper integration of charts into web applications.
5
+
6
+ c3-rails provides c3 for Rails 4 (it might work with Rails 3)
7
+
8
+ ## Installation
9
+
10
+ To install, add the following to your `Gemfile`:
11
+
12
+ gem 'c3-rails', :git => 'https://github.com/SunnyLi/c3-rails', :submodules => true
13
+
14
+ Then add these to their respective file:
15
+
16
+ `app/assets/javascripts/applications.js`:
17
+
18
+ //= require c3
19
+
20
+ `app/assets/stylesheets/applications.css`:
21
+
22
+ *= require c3
23
+
24
+ Now you've included `c3` into your rails project.
25
+
26
+ But wait, there's more!
27
+
28
+ ## Dependency: D3
29
+
30
+ `c3` requires `D3` which `c3-rails` does not include,
31
+ to get `D3` installed try one of the following gems:
32
+
33
+ - [d3_rails](https://github.com/logical42/d3_rails)
34
+ - [d3-rails](https://github.com/iblue/d3-rails)
35
+ - [d3js-rails](https://github.com/emilford/d3js-rails)
36
+
37
+ or you could copy [d3.js](https://github.com/mbostock/d3/blob/master/d3.js)
38
+ to your `assets/javascripts` manually which would defeat the purpose of
39
+ having these gems in the first place...
40
+
41
+
42
+ Now you're ready to use `c3` in any page that load assets handled by
43
+ the asset pipeline.
44
+
45
+ ## License
46
+
47
+ Both [c3](https://github.com/masayuki0812/c3/blob/master/LICENSE)
48
+ and [c3-rails](https://github.com/SunnyLi/c3-rails/blob/master/LICENSE)
49
+ are licensed under the MIT license
data/c3-rails.gemspec CHANGED
@@ -1,15 +1,15 @@
1
- require File.expand_path("../lib/c3/rails/version", __FILE__)
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "c3-rails"
5
- s.version = C3::Rails::VERSION
6
- s.authors = ["Sunny Li"]
7
- s.email = ["thatbaka@gmail.com"]
8
- s.homepage = "https://github.com/SunnyLi/c3-rails"
9
- s.summary = "c3 js chart library for Rails"
10
- s.description = %q{This gem provides "c3 - A D3-based reusable chart library" for Rails}
11
- s.license = "MIT"
12
-
13
- s.files = `git ls-files`.split("\n")
14
- s.require_path = 'lib'
15
- end
1
+ require File.expand_path("../lib/c3/rails/version", __FILE__)
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "c3-rails"
5
+ s.version = C3::Rails::VERSION
6
+ s.authors = ["Sunny Li"]
7
+ s.email = ["thatbaka@gmail.com"]
8
+ s.homepage = "https://github.com/SunnyLi/c3-rails"
9
+ s.summary = "c3 js chart library for Rails"
10
+ s.description = %q{This gem provides "c3 - A D3-based reusable chart library" for Rails}
11
+ s.license = "MIT"
12
+
13
+ s.files = `git ls-files`.split("\n")
14
+ s.require_path = 'lib'
15
+ end
@@ -1,6 +1,6 @@
1
- module C3
2
- module Rails
3
- class Engine < ::Rails::Engine
4
- end
5
- end
6
- end
1
+ module C3
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -1,5 +1,5 @@
1
- module C3
2
- module Rails
3
- VERSION = "0.0.1"
4
- end
5
- end
1
+ module C3
2
+ module Rails
3
+ VERSION = "0.0.2.1"
4
+ end
5
+ end
data/lib/c3/rails.rb CHANGED
@@ -1,2 +1,2 @@
1
- require 'c3/rails/engine'
2
- require 'c3/rails/version'
1
+ require 'c3/rails/engine'
2
+ require 'c3/rails/version'
data/lib/c3-rails.rb CHANGED
@@ -1 +1 @@
1
- require 'c3/rails'
1
+ require 'c3/rails'