c3-rails 0.0.2.1 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -2
- data/lib/c3/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 321f3e5405a63bcac223438d9fabcea7a328d2a7
|
4
|
+
data.tar.gz: 103b1e24b76d8c0c7f096bf613e40cae9b0445b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7679f835462010ca60bcad1a7ebe6d6be80ac4a5208abc2da8b4cd8b4723d4171642c06fa6c592b4c5c274cb12c6b1c6a386c1e8f3527572a3ea6cedf263a510
|
7
|
+
data.tar.gz: 10bfe58026e7f9128c2e53220213f2a7b9270ffa5b89c65feb1eae7a0b61efa3040eaad59e0b2d66af0108b625e46cf2d1758784938055d7f37163ea52847bb9
|
data/README.md
CHANGED
@@ -5,11 +5,12 @@ that enables deeper integration of charts into web applications.
|
|
5
5
|
|
6
6
|
c3-rails provides c3 for Rails 4 (it might work with Rails 3)
|
7
7
|
|
8
|
+
|
8
9
|
## Installation
|
9
10
|
|
10
|
-
To install, add the following to your `Gemfile`:
|
11
|
+
To install, add the following line to your `Gemfile`:
|
11
12
|
|
12
|
-
gem 'c3-rails'
|
13
|
+
gem 'c3-rails'
|
13
14
|
|
14
15
|
Then add these to their respective file:
|
15
16
|
|
@@ -25,6 +26,7 @@ Now you've included `c3` into your rails project.
|
|
25
26
|
|
26
27
|
But wait, there's more!
|
27
28
|
|
29
|
+
|
28
30
|
## Dependency: D3
|
29
31
|
|
30
32
|
`c3` requires `D3` which `c3-rails` does not include,
|
@@ -42,6 +44,24 @@ having these gems in the first place...
|
|
42
44
|
Now you're ready to use `c3` in any page that load assets handled by
|
43
45
|
the asset pipeline.
|
44
46
|
|
47
|
+
|
48
|
+
## Alternative install
|
49
|
+
|
50
|
+
If you want to have access to all of `c3`'s source files you should add this line instead:
|
51
|
+
|
52
|
+
gem 'c3-rails', :git => 'https://github.com/SunnyLi/c3-rails', :submodules => true
|
53
|
+
|
54
|
+
Then you'll be able to include files like
|
55
|
+
|
56
|
+
```
|
57
|
+
//= require c3/c3
|
58
|
+
//= require c3/extensions/js/c3ext
|
59
|
+
|
60
|
+
*= require c3/c3
|
61
|
+
*= require c3/htdocs/css/bootstrap.min.css
|
62
|
+
```
|
63
|
+
|
64
|
+
|
45
65
|
## License
|
46
66
|
|
47
67
|
Both [c3](https://github.com/masayuki0812/c3/blob/master/LICENSE)
|
data/lib/c3/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: c3-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sunny Li
|
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
version: '0'
|
48
48
|
requirements: []
|
49
49
|
rubyforge_project:
|
50
|
-
rubygems_version: 2.
|
50
|
+
rubygems_version: 2.4.1
|
51
51
|
signing_key:
|
52
52
|
specification_version: 4
|
53
53
|
summary: c3 js chart library for Rails
|