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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTk5MjhlZWI5ZjNmMGE1NDU3YmE3MjA0OTRkZWZhOTIxYWI4YmM5YQ==
4
+ NGFkMmQ0NGQ4ZDk5MjUwMThjNTdmZjY0OWE1ODNjYTVkY2MyNDBmNQ==
5
5
  data.tar.gz: !binary |-
6
- ZmMwYjk1MjExMmU5YTAxYjY0YjJlYzlmNTJhNmE0NDljYmFhZWZkNg==
6
+ ZjgyNTEzYjE4MjlmOTk2MTQwOTlhOTU4NzQ3OGJhNGYyZmM0ZTkxYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2I3MmY1ZTJkOTNiYjM0ODg1N2U4M2Q3N2JmMDdmODdiYTQ2YjA3MzdmOTFi
10
- ZDM0NDRkYzBkY2I2Mjg0OTc5M2VlODVjZmU2MjIyNmEyM2Q4YzJlODAwMGQ1
11
- MGU1MTAwMzU3NGZmNzc4ZmZmNWUyMThhOWQ4YTcxMTZmODNmODc=
9
+ NzgyMGZiYzQ0MDhkYmQwZDUzN2VkMTI4MzkyYWY4OTU2YWRiNWVlZTJlMjcy
10
+ OTA4MTQwYTAwNTcwMWZhZGU3ZDgwMzg2MzRkYjExNmQyNzhiYzBiZGY5MjIx
11
+ ZmFiODE3NjI1ODcyMGVjOThmOWIwMTcxNTUxMDI1ZDdiNjAwOGY=
12
12
  data.tar.gz: !binary |-
13
- YjI2OWZkODc1ZDNmZDRhNWQ5OTkxZDY3MzNmYTMxMzIyNzk4OWQ0MjMxODFi
14
- NWJjZTg3ZTU5ZGMwNTlmMThiYzAyYjFhNTNiNTI3MmZhYjViZGI5ZGYzYTdk
15
- MGQ0ZTk0YzZmNzBhODJhNzc0YTgzNDc1N2ZmMjcwZjNkZDQyZjg=
13
+ OTU0ODFhZDc5NGNlNmVjNTE1N2Y3YzE0YjRjYmJmYmY2MTk0MWU2MWMyNDYy
14
+ YzcwNTY4ZTMwMjFiOThiNDRkODA3ZDU1ZTUwMmQ1YmY2MzJmZTI1ZDA4MDhl
15
+ NzcyNWIyY2NmZjg3YzE5MzQ4MDVhMTA0ZDE3YjBiN2E0ZjI3MmM=
data/README.markdown CHANGED
@@ -1,27 +1,56 @@
1
- # HighStocks-Rails
1
+ [![Gem Version](https://badge.fury.io/rb/highstocks-rails.png)](http://badge.fury.io/rb/highstocks-rails)
2
2
 
3
- This gem just includes [HighStocks](http://www.highcharts.com/products/highstock) as an asset in the Rails 3.1 (or newer) asset pipeline.
3
+ [![Dependency Status](https://gemnasium.com/ankit8898/highstocks-rails.png)](https://gemnasium.com/ankit8898/highstocks-rails)
4
4
 
5
- HighStocks is not free for commercial use, so make sure you have a [valid license](http://shop.highsoft.com/highstock.html) to use Highcharts.
5
+ # Highstocks-Rails
6
6
 
7
- **Note**: Including Highstocks-rails will give you the Highcharts features also. Here is a [Sample Application](http://hidden-peak-3935.herokuapp.com) creating both highcharts and highstocks charts
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:
@@ -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 JavaScript charts for your web projects), in the Rails Asset Pipeline introduced in Rails 3.1}
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"
@@ -1,3 +1,3 @@
1
1
  module HighStocks
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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 JavaScript charts for your
56
- web projects), in the Rails Asset Pipeline introduced in Rails 3.1
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.