rgraph-rails 4.67 → 6.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish-geml.yaml +46 -0
- data/.gitignore +1 -0
- data/README.md +5 -6
- data/lib/rgraph-rails/version.rb +1 -1
- data/license.txt +1 -1
- data/rgraph-rails.gemspec +4 -4
- data/vendor/assets/javascripts/RGraph.activity.js +1691 -0
- data/vendor/assets/javascripts/RGraph.bar.js +4253 -240
- data/vendor/assets/javascripts/RGraph.bipolar.js +3958 -165
- data/vendor/assets/javascripts/RGraph.common.annotate.js +414 -35
- data/vendor/assets/javascripts/RGraph.common.context.js +635 -30
- data/vendor/assets/javascripts/RGraph.common.core.js +10485 -418
- data/vendor/assets/javascripts/RGraph.common.csv.js +508 -20
- data/vendor/assets/javascripts/RGraph.common.dynamic.js +1693 -90
- data/vendor/assets/javascripts/RGraph.common.effects.js +1629 -90
- data/vendor/assets/javascripts/RGraph.common.key.js +1003 -52
- data/vendor/assets/javascripts/RGraph.common.moment.js +5670 -0
- data/vendor/assets/javascripts/RGraph.common.sheets.js +541 -31
- data/vendor/assets/javascripts/RGraph.common.sheets.php +351 -0
- data/vendor/assets/javascripts/RGraph.common.starburst.js +382 -0
- data/vendor/assets/javascripts/RGraph.common.table.js +386 -0
- data/vendor/assets/javascripts/RGraph.common.tooltips.js +1433 -32
- data/vendor/assets/javascripts/RGraph.drawing.background.js +660 -34
- data/vendor/assets/javascripts/RGraph.drawing.circle.js +618 -33
- data/vendor/assets/javascripts/RGraph.drawing.image.js +857 -51
- data/vendor/assets/javascripts/RGraph.drawing.line.js +712 -0
- data/vendor/assets/javascripts/RGraph.drawing.marker1.js +760 -37
- data/vendor/assets/javascripts/RGraph.drawing.marker2.js +740 -36
- data/vendor/assets/javascripts/RGraph.drawing.marker3.js +573 -35
- data/vendor/assets/javascripts/RGraph.drawing.poly.js +667 -35
- data/vendor/assets/javascripts/RGraph.drawing.rect.js +638 -33
- data/vendor/assets/javascripts/RGraph.drawing.text.js +672 -36
- data/vendor/assets/javascripts/RGraph.drawing.xaxis.js +653 -50
- data/vendor/assets/javascripts/RGraph.drawing.yaxis.js +714 -51
- data/vendor/assets/javascripts/RGraph.fuel.js +1149 -58
- data/vendor/assets/javascripts/RGraph.funnel.js +1277 -55
- data/vendor/assets/javascripts/RGraph.gantt.js +1646 -77
- data/vendor/assets/javascripts/RGraph.gauge.js +1773 -85
- data/vendor/assets/javascripts/RGraph.hbar.js +3869 -162
- data/vendor/assets/javascripts/RGraph.horseshoe.js +970 -0
- data/vendor/assets/javascripts/RGraph.hprogress.js +1829 -80
- data/vendor/assets/javascripts/RGraph.line.js +5293 -249
- data/vendor/assets/javascripts/RGraph.meter.js +1570 -72
- data/vendor/assets/javascripts/RGraph.modaldialog.js +300 -19
- data/vendor/assets/javascripts/RGraph.odo.js +1553 -71
- data/vendor/assets/javascripts/RGraph.pie.js +3273 -137
- data/vendor/assets/javascripts/RGraph.radar.js +2333 -110
- data/vendor/assets/javascripts/RGraph.rose.js +2685 -108
- data/vendor/assets/javascripts/RGraph.rscatter.js +1920 -80
- data/vendor/assets/javascripts/RGraph.scatter.js +4215 -172
- data/vendor/assets/javascripts/RGraph.segmented.js +1006 -0
- data/vendor/assets/javascripts/RGraph.semicircularprogress.js +1980 -60
- data/vendor/assets/javascripts/RGraph.svg.activity.js +1696 -0
- data/vendor/assets/javascripts/RGraph.svg.bar.js +2575 -75
- data/vendor/assets/javascripts/RGraph.svg.bipolar.js +3533 -103
- data/vendor/assets/javascripts/RGraph.svg.common.ajax.js +240 -21
- data/vendor/assets/javascripts/RGraph.svg.common.core.js +7105 -296
- data/vendor/assets/javascripts/RGraph.svg.common.csv.js +408 -20
- data/vendor/assets/javascripts/RGraph.svg.common.fx.js +1291 -68
- data/vendor/assets/javascripts/RGraph.svg.common.key.js +451 -20
- data/vendor/assets/javascripts/RGraph.svg.common.sheets.js +543 -31
- data/vendor/assets/javascripts/RGraph.svg.common.table.js +391 -0
- data/vendor/assets/javascripts/RGraph.svg.common.tooltips.js +1072 -23
- data/vendor/assets/javascripts/RGraph.svg.funnel.js +1151 -31
- data/vendor/assets/javascripts/RGraph.svg.gauge.js +1429 -32
- data/vendor/assets/javascripts/RGraph.svg.hbar.js +2692 -62
- data/vendor/assets/javascripts/RGraph.svg.horseshoe.js +969 -0
- data/vendor/assets/javascripts/RGraph.svg.line.js +2855 -84
- data/vendor/assets/javascripts/RGraph.svg.pie.js +1630 -57
- data/vendor/assets/javascripts/RGraph.svg.radar.js +1772 -57
- data/vendor/assets/javascripts/RGraph.svg.rose.js +2419 -66
- data/vendor/assets/javascripts/RGraph.svg.scatter.js +2280 -64
- data/vendor/assets/javascripts/RGraph.svg.segmented.js +930 -0
- data/vendor/assets/javascripts/RGraph.svg.semicircularprogress.js +1612 -28
- data/vendor/assets/javascripts/RGraph.svg.waterfall.js +1525 -48
- data/vendor/assets/javascripts/RGraph.thermometer.js +1411 -63
- data/vendor/assets/javascripts/RGraph.vprogress.js +1915 -83
- data/vendor/assets/javascripts/RGraph.waterfall.js +1896 -83
- data/vendor/assets/javascripts/financial-data.js +1067 -0
- metadata +37 -17
- data/.travis.yml +0 -11
- data/vendor/assets/javascripts/RGraph.common.deprecated.js +0 -36
- data/vendor/assets/javascripts/RGraph.common.resizing.js +0 -38
- data/vendor/assets/javascripts/RGraph.common.zoom.js +0 -15
- data/vendor/assets/javascripts/RGraph.cornergauge.js +0 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cd76b8898ed22b03a0a10b16861a66ec4f0f65adcae1af74fcb35c579d1446d
|
4
|
+
data.tar.gz: f711148479cf3da2c307bddf82ccb249cebfa1177d94c0d1330142ba432e1c8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47d721bdb1a085553726c239342297edc03aa5f9c90e2106d44b05b56ac1ee1b294494aaf3ececfc4adade5f7d450ce927cc002d92be3c20bd4383f5f52b4ac9
|
7
|
+
data.tar.gz: 0f48909dee30780d72c3fce07901b916c35746f31c216bf6ac64cddf352b4472439b5782d1b5cf632db32d8187a5b4cfe1e30d50e4335760037d8205b4d07b7a
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
|
6
|
+
# GitHub recommends pinning actions to a commit SHA.
|
7
|
+
# To get a newer version, you will need to update the SHA.
|
8
|
+
# You can also reference a tag or branch, but the action may change without warning.
|
9
|
+
|
10
|
+
name: Ruby Gem
|
11
|
+
|
12
|
+
on:
|
13
|
+
# Manually publish
|
14
|
+
workflow_dispatch:
|
15
|
+
# Alternatively, publish whenever changes are merged to the `master` branch.
|
16
|
+
push:
|
17
|
+
branches: [ master ]
|
18
|
+
pull_request:
|
19
|
+
branches: [ master ]
|
20
|
+
|
21
|
+
jobs:
|
22
|
+
build:
|
23
|
+
name: Build + Publish
|
24
|
+
runs-on: ubuntu-latest
|
25
|
+
permissions:
|
26
|
+
packages: write
|
27
|
+
contents: read
|
28
|
+
|
29
|
+
steps:
|
30
|
+
- uses: actions/checkout@v4
|
31
|
+
- name: Set up Ruby 2.7
|
32
|
+
uses: ruby/setup-ruby@v1
|
33
|
+
with:
|
34
|
+
ruby-version: '2.7'
|
35
|
+
- run: bundle install
|
36
|
+
|
37
|
+
- name: Publish to RubyGems
|
38
|
+
run: |
|
39
|
+
mkdir -p $HOME/.gem
|
40
|
+
touch $HOME/.gem/credentials
|
41
|
+
chmod 0600 $HOME/.gem/credentials
|
42
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
43
|
+
gem build *.gemspec
|
44
|
+
gem push *.gem
|
45
|
+
env:
|
46
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
![Logo](http://dsgriffin.github.io/images/logos/rgraph-rails.png)
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/dsgriffin/rgraph-rails.svg?branch=master)](https://travis-ci.org/dsgriffin/rgraph-rails)
|
4
3
|
[![Gem Version](https://badge.fury.io/rb/rgraph-rails.svg)](https://badge.fury.io/rb/rgraph-rails)
|
5
|
-
![](https://img.shields.io/badge/rgraph-
|
4
|
+
![](https://img.shields.io/badge/rgraph-6.14-red.svg)
|
6
5
|
|
7
6
|
Use the [rgraph](http://www.rgraph.net/) chart/graph library with the Rails asset pipeline.
|
8
7
|
|
@@ -11,7 +10,7 @@ Use the [rgraph](http://www.rgraph.net/) chart/graph library with the Rails asse
|
|
11
10
|
Include the gem in your application's Gemfile:
|
12
11
|
|
13
12
|
```ruby
|
14
|
-
gem 'rgraph-rails', '~>
|
13
|
+
gem 'rgraph-rails', '~> 6.14'
|
15
14
|
```
|
16
15
|
|
17
16
|
And then execute:
|
@@ -59,7 +58,7 @@ And finally the canvas that will contain the graph
|
|
59
58
|
|
60
59
|
For detailed documentation concerning the types of graphs/charts and all other available options, [please see the official docs](http://www.rgraph.net/docs/charts-index.html).
|
61
60
|
|
62
|
-
##
|
61
|
+
## Run locally
|
63
62
|
|
64
63
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
65
64
|
|
@@ -67,7 +66,7 @@ To install this gem onto your local machine, run `bundle exec rake install`.
|
|
67
66
|
|
68
67
|
## Versioning
|
69
68
|
|
70
|
-
rgraph itself doesn't use semantic versioning (and therefore neither does this gem; it keeps the same version as it's less confusing) -
|
69
|
+
rgraph itself doesn't use semantic versioning (and therefore neither does this gem; it keeps the same version as the library so that it's less confusing) - you can find out about breaking changes by release on the [Backwards Compatibility section on the official site](http://www.rgraph.net/docs/backwards-compatibility.html).
|
71
70
|
|
72
71
|
## Issues
|
73
72
|
|
@@ -75,7 +74,7 @@ If your query concerns the library itself, see the [official support forum](http
|
|
75
74
|
|
76
75
|
## Contributing
|
77
76
|
|
78
|
-
Bug reports and pull requests are welcome.
|
77
|
+
Bug reports and pull requests are welcome. Contributors are expected to adhere to the [Contributor Covenant](https://github.com/dsgriffin/rgraph-rails/blob/master/CODE_OF_CONDUCT.md) code of conduct.
|
79
78
|
|
80
79
|
## License
|
81
80
|
|
data/lib/rgraph-rails/version.rb
CHANGED
data/license.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2019 Daniel Griffin
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
4
|
|
data/rgraph-rails.gemspec
CHANGED
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency
|
23
|
-
spec.add_development_dependency
|
24
|
-
spec.add_development_dependency
|
25
|
-
spec.add_development_dependency
|
22
|
+
spec.add_dependency 'railties', '~> 7.1', '>= 7.1.2'
|
23
|
+
spec.add_development_dependency 'bundler', '~> 2.4', '>= 2.4.22'
|
24
|
+
spec.add_development_dependency 'rake', '~> 13.1'
|
25
|
+
spec.add_development_dependency 'rspec', '~> 3.12'
|
26
26
|
end
|