highstocks-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.markdown +35 -6
- data/highstocks-rails.gemspec +2 -1
- data/lib/highstocks/version.rb +1 -1
- metadata +7 -5
- data/LICENSE +0 -21
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGFkMmQ0NGQ4ZDk5MjUwMThjNTdmZjY0OWE1ODNjYTVkY2MyNDBmNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjgyNTEzYjE4MjlmOTk2MTQwOTlhOTU4NzQ3OGJhNGYyZmM0ZTkxYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzgyMGZiYzQ0MDhkYmQwZDUzN2VkMTI4MzkyYWY4OTU2YWRiNWVlZTJlMjcy
|
10
|
+
OTA4MTQwYTAwNTcwMWZhZGU3ZDgwMzg2MzRkYjExNmQyNzhiYzBiZGY5MjIx
|
11
|
+
ZmFiODE3NjI1ODcyMGVjOThmOWIwMTcxNTUxMDI1ZDdiNjAwOGY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTU0ODFhZDc5NGNlNmVjNTE1N2Y3YzE0YjRjYmJmYmY2MTk0MWU2MWMyNDYy
|
14
|
+
YzcwNTY4ZTMwMjFiOThiNDRkODA3ZDU1ZTUwMmQ1YmY2MzJmZTI1ZDA4MDhl
|
15
|
+
NzcyNWIyY2NmZjg3YzE5MzQ4MDVhMTA0ZDE3YjBiN2E0ZjI3MmM=
|
data/README.markdown
CHANGED
@@ -1,27 +1,56 @@
|
|
1
|
-
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/highstocks-rails.png)](http://badge.fury.io/rb/highstocks-rails)
|
2
2
|
|
3
|
-
|
3
|
+
[![Dependency Status](https://gemnasium.com/ankit8898/highstocks-rails.png)](https://gemnasium.com/ankit8898/highstocks-rails)
|
4
4
|
|
5
|
-
|
5
|
+
# Highstocks-Rails
|
6
6
|
|
7
|
-
|
7
|
+
This gem just includes [Highstocks](http://www.highcharts.com/products/highstock) as an asset in the Rails 3.1 (or newer) asset pipeline.
|
8
|
+
|
9
|
+
The gem currently uses **Highstock 1.3.7**
|
10
|
+
|
11
|
+
## What is Highstock?
|
12
|
+
|
13
|
+
Highstock lets you create stock or general timeline charts in pure JavaScript, including sophisticated navigation options like a small navigator series, preset date ranges, date picker, scrolling and panning.
|
14
|
+
|
15
|
+
HighStocks is not free for commercial use, so make sure you have a [valid license](http://shop.highsoft.com/highstock.html) to use Highstocks
|
16
|
+
|
17
|
+
## Will including this gem also give Higcharts features?
|
18
|
+
|
19
|
+
The answer is here [in this link](http://www.highcharts.com/errors/16),all features of Highcharts are included in Highstock.
|
20
|
+
|
21
|
+
Here is a [Sample Application](http://hidden-peak-3935.herokuapp.com) showing the usage and also plotting both highstocks and highcharts. :thumbsup:
|
8
22
|
|
9
23
|
## Installation
|
10
24
|
|
11
25
|
Add the gem to the Gemfile
|
12
26
|
|
13
|
-
gem "highstocks-rails"
|
14
|
-
|
27
|
+
gem "highstocks-rails"
|
15
28
|
|
16
29
|
## Usage
|
17
30
|
|
18
31
|
In your JavaScript manifest (e.g. `application.js`)
|
19
32
|
|
20
33
|
//= require highstocks-rails
|
34
|
+
|
35
|
+
for other themes
|
21
36
|
|
37
|
+
//= require highstocks/themes/dark-blue
|
38
|
+
//= require highstocks/themes/dark-green
|
39
|
+
//= require highstocks/themes/gray
|
40
|
+
//= require highstocks/themes/grid
|
41
|
+
//= require highstocks/themes/skies
|
42
|
+
|
43
|
+
### Supports both highstocks and highcharts :neckbeard:
|
44
|
+
|
45
|
+
![alt txt](https://raw.github.com/ankit8898/hs-rails/master/app/assets/images/ss1.jpg)
|
46
|
+
|
47
|
+
|
48
|
+
![alt txt](https://raw.github.com/ankit8898/hs-rails/master/app/assets/images/ss2.jpg)
|
22
49
|
|
23
50
|
## Licensing
|
24
51
|
|
25
52
|
HighStocks, has [its own, separate licensing](http://shop.highsoft.com/highstock.html).
|
26
53
|
|
27
54
|
The gem itself is released under the MIT license
|
55
|
+
|
56
|
+
:pray:
|
data/highstocks-rails.gemspec
CHANGED
@@ -9,12 +9,13 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.date = '2013-11-08'
|
10
10
|
s.email = ["ankit.gupta8898@gmail.com"]
|
11
11
|
s.summary = %q{Gem for easily adding Highstocks to the Rails Asset Pipeline}
|
12
|
-
s.description = %q{Gem that includes Highstocks (Interactive
|
12
|
+
s.description = %q{Gem that includes Highstocks (Interactive library to create stock or general timeline charts in pure JavaScript and including sophisticated navigation options), in the Rails Asset Pipeline introduced in Rails 3.1. Also have all the highcharts features with it.}
|
13
13
|
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
s.require_paths = ["lib"]
|
18
|
+
s.licenses = ['MIT']
|
18
19
|
s.homepage =
|
19
20
|
'https://github.com/ankit8898/highstocks-rails'
|
20
21
|
s.add_dependency "railties", ">= 3.1"
|
data/lib/highstocks/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highstocks-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ankit Gupta
|
@@ -52,8 +52,10 @@ dependencies:
|
|
52
52
|
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.1'
|
55
|
-
description: Gem that includes Highstocks (Interactive
|
56
|
-
|
55
|
+
description: Gem that includes Highstocks (Interactive library to create stock or
|
56
|
+
general timeline charts in pure JavaScript and including sophisticated navigation
|
57
|
+
options), in the Rails Asset Pipeline introduced in Rails 3.1. Also have all the
|
58
|
+
highcharts features with it.
|
57
59
|
email:
|
58
60
|
- ankit.gupta8898@gmail.com
|
59
61
|
executables: []
|
@@ -63,7 +65,6 @@ files:
|
|
63
65
|
- .gitignore
|
64
66
|
- CHANGELOG.markdown
|
65
67
|
- Gemfile
|
66
|
-
- LICENSE
|
67
68
|
- README.markdown
|
68
69
|
- Rakefile
|
69
70
|
- app/assets/graphics/skies.jpg
|
@@ -108,7 +109,8 @@ files:
|
|
108
109
|
- lib/highstocks/rails.rb
|
109
110
|
- lib/highstocks/version.rb
|
110
111
|
homepage: https://github.com/ankit8898/highstocks-rails
|
111
|
-
licenses:
|
112
|
+
licenses:
|
113
|
+
- MIT
|
112
114
|
metadata: {}
|
113
115
|
post_install_message:
|
114
116
|
rdoc_options: []
|
data/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT LICENSE
|
2
|
-
|
3
|
-
Copyright (c) 2011 Per Christian B. Viken <perchr@northblue.org>
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|