vis-gem 4.20.0.1 → 4.20.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -3
- data/README.md +71 -71
- data/lib/vis/gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea1a5edc698313a72450a354842f3c1fce0b5f9e
|
|
4
|
+
data.tar.gz: 8c6cda4410ec9009058e175f5a97c2777e780996
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab0f98c8466fc309b7fdd9c40513cfcf5b19557a2dc8162df3e86c57936d45ddb6bcc1201d03297e7baba2429d6ab07d66be665cdc44293750f41db9e652032e
|
|
7
|
+
data.tar.gz: 57634622530f8d5172a823c457619df3d3f509e18e60a7cfe5186db158bcce17c4c146354db6d55b86f12b26e4d0e119c859ca2ae52376adb3f1d754e1c1f86e
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
# vis.js on RoR
|
|
2
|
-
|
|
3
|
-
[](https://badge.fury.io/rb/vis-gem)
|
|
4
|
-
[.
|
|
10
|
-
|
|
11
|
-
This gem wrap vis.js dependencies to assets pipeline in Rails (`=> 3.1`) project.
|
|
12
|
-
|
|
13
|
-
Thanks to [luciuschoi](https://github.com/luciuschoi/visjs-rails/) for the original idea.
|
|
14
|
-
|
|
15
|
-
## Installation
|
|
16
|
-
|
|
17
|
-
Add this line to your application's Gemfile:
|
|
18
|
-
|
|
19
|
-
```ruby
|
|
20
|
-
gem 'vis-gem'
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
And then execute:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
$ bundle
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Or install it yourself as:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
$ gem install vis-gem
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Usage
|
|
36
|
-
|
|
37
|
-
1. Add this to `application.js` (`assets/javascripts/application.js`):
|
|
38
|
-
|
|
39
|
-
```ruby
|
|
40
|
-
//= require ...
|
|
41
|
-
//= require vis
|
|
42
|
-
//= require ...
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
2. Add this to `application.scss` (`assets/stylesheets/application.scss`):
|
|
46
|
-
|
|
47
|
-
```css
|
|
48
|
-
...
|
|
49
|
-
@import "vis";
|
|
50
|
-
...
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
3. And this to `config/initializers/assets.rb` (for assets):
|
|
54
|
-
|
|
55
|
-
```ruby
|
|
56
|
-
Rails.application.config.assets.precompile += %w( network/* )
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
See [original vis.js documentation](http://visjs.org/) for properties and methods.
|
|
60
|
-
|
|
61
|
-
## Changelog
|
|
62
|
-
|
|
63
|
-
- v4.2.0
|
|
64
|
-
|
|
65
|
-
## Contributing
|
|
66
|
-
|
|
67
|
-
See [Contributing](CONTRIBUTING.md) doc.
|
|
68
|
-
|
|
69
|
-
## License
|
|
70
|
-
|
|
71
|
-
(C) Fabrizio Fallico 2017, released under the [MIT license](LICENSE.md).
|
|
1
|
+
# vis.js on RoR
|
|
2
|
+
|
|
3
|
+
[](https://badge.fury.io/rb/vis-gem)
|
|
4
|
+
[](https://travis-ci.org/sniperwolf/vis-gem)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
A dynamic, browser based visualization library. The library is designed to be easy to use, to handle large amounts of dynamic data, and to enable manipulation of and interaction with the data. The library consists of the components DataSet, Timeline, Network, Graph2d and Graph3d.
|
|
8
|
+
|
|
9
|
+
More info to [vis.js official website](http://visjs.org/).
|
|
10
|
+
|
|
11
|
+
This gem wrap vis.js dependencies to assets pipeline in Rails (`=> 3.1`) project.
|
|
12
|
+
|
|
13
|
+
Thanks to [luciuschoi](https://github.com/luciuschoi/visjs-rails/) for the original idea.
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
Add this line to your application's Gemfile:
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
gem 'vis-gem'
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
And then execute:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
$ bundle
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Or install it yourself as:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
$ gem install vis-gem
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
1. Add this to `application.js` (`assets/javascripts/application.js`):
|
|
38
|
+
|
|
39
|
+
```ruby
|
|
40
|
+
//= require ...
|
|
41
|
+
//= require vis
|
|
42
|
+
//= require ...
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
2. Add this to `application.scss` (`assets/stylesheets/application.scss`):
|
|
46
|
+
|
|
47
|
+
```css
|
|
48
|
+
...
|
|
49
|
+
@import "vis";
|
|
50
|
+
...
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
3. And this to `config/initializers/assets.rb` (for assets):
|
|
54
|
+
|
|
55
|
+
```ruby
|
|
56
|
+
Rails.application.config.assets.precompile += %w( network/* )
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
See [original vis.js documentation](http://visjs.org/) for properties and methods.
|
|
60
|
+
|
|
61
|
+
## Changelog
|
|
62
|
+
|
|
63
|
+
- `v4.2.0.2`: First Release;
|
|
64
|
+
|
|
65
|
+
## Contributing
|
|
66
|
+
|
|
67
|
+
See [Contributing](CONTRIBUTING.md) doc.
|
|
68
|
+
|
|
69
|
+
## License
|
|
70
|
+
|
|
71
|
+
(C) Fabrizio Fallico 2017, released under the [MIT license](LICENSE.md).
|
data/lib/vis/gem/version.rb
CHANGED