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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -2
  3. data/lib/c3/rails/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b184ba086c18a01d30830850e6f3aceb13e77d9
4
- data.tar.gz: a5f8438ec81ce2bd94b46d41e3cbb8a9056bf7cb
3
+ metadata.gz: 321f3e5405a63bcac223438d9fabcea7a328d2a7
4
+ data.tar.gz: 103b1e24b76d8c0c7f096bf613e40cae9b0445b5
5
5
  SHA512:
6
- metadata.gz: 904a2907066d022574dcce8ae97edfafd959a26c4edd7c264cb1343e9b8cbcf798b75ae83938c8fe7c890d81197d04488c5f64d747f2146ef87ca802c5b2764a
7
- data.tar.gz: d2e5fc558caa51ad54c5b5937df5eaaf256a13e434fca8fae3bc2b3e294a3f7b6ed04cc439a2cba0f1874c45163d9f6431ee42b75f32a367ea9baabce4bcb206
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', :git => 'https://github.com/SunnyLi/c3-rails', :submodules => true
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)
@@ -1,5 +1,5 @@
1
1
  module C3
2
2
  module Rails
3
- VERSION = "0.0.2.1"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
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.2.1
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.2.0
50
+ rubygems_version: 2.4.1
51
51
  signing_key:
52
52
  specification_version: 4
53
53
  summary: c3 js chart library for Rails