chartnado 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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a2deb50132fdc707f83201e12dddf65b9d55de5
4
- data.tar.gz: 3875cfbbacb92a1fa6d3ac486abfa5f587a845f7
3
+ metadata.gz: d20a622c24b68dc7509075f867353d33152c65e1
4
+ data.tar.gz: decb376a8d05741a798f5c7f1453e42dabb4a22c
5
5
  SHA512:
6
- metadata.gz: 7b84dcfcff0a8df214eb2e8bd8c223eede3251e76764e34cce6bb9a5e738e9d029c517fac121e1615889b095c96e776b3aa8640d48c62de1d9b7ccfba31ee459
7
- data.tar.gz: 3d2944100f2ec9022764e004f12301489e951542ac7b02cd8cd145db6b1fdfb781ffa2fff52df9e203bc79c343bdc3aa964501871aaa60a003307f041108ad05
6
+ metadata.gz: f6dfd3ab61414c73b224eb0cb2284878366fc98869ca803fd91907528bc4ec0ab9849759183022d77064a299f1d42b42cc24f71aab4030b3687302509970b70b
7
+ data.tar.gz: 89bdfe18afa1e640d104e9a2fb10dbb51faf9926496f7c4211ca0d79b07fcdd0d919e3b17284bc6278561930fa1b80dbff71bdffc61b388c50bb750acb09520c
@@ -1,9 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.2
4
- - 2.0.0
5
- # uncomment this line if your project needs to run something other than `rake`:
6
- # script: bundle exec rspec spec
7
-
8
- script:
9
- CODECLIMATE_REPO_TOKEN= bundle exec rake
3
+ - 2.1.2
4
+ - 2.0.0
5
+ script: CODECLIMATE_REPO_TOKEN= bundle exec rake
6
+ env:
7
+ secure:
8
+ global:
9
+ secure: Fx4K8sFJuDs947c/xPbif4v1TEetRu5pqEVXBIjoa7JcddbfKKnNhQh8w8FRw/1LNJcWuHVK/S+C6U3Zj3zP0OcWS1OhZrZuqKJCvWkZ6QkhJxMI83smdwD9G7G0X6f5OefPBr2Mggz/KB9BppbeZGmsKp912Y+yzivUFGE4ByU=
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Chartnado [![Gem Version](https://badge.fury.io/rb/chartnado.svg)](http://badge.fury.io/rb/chartnado) [![Travis CI Status](https://travis-ci.org/dontfidget/chartnado.png?branch=master)](https://travis-ci.org/dontfidget/chartnado) [![Code Climate](https://codeclimate.com/github/dontfidget/chartnado.png)](https://codeclimate.com/github/dontfidget/chartnado) [![Code Climate](https://codeclimate.com/github/dontfidget/chartnado/coverage.png)](https://codeclimate.com/github/dontfidget/chartnado) [![Dependency Status](https://gemnasium.com/dontfidget/chartnado.svg)](https://gemnasium.com/dontfidget/chartnado)
1
+ # Chartnado [![Gem Version](https://badge.fury.io/rb/chartnado.svg)](http://badge.fury.io/rb/chartnado) [![Travis CI Status](https://travis-ci.org/dontfidget/chartnado.png?branch=master)](https://travis-ci.org/dontfidget/chartnado) [![Code Climate](https://codeclimate.com/github/dontfidget/chartnado.png)](https://codeclimate.com/github/dontfidget/chartnado) [![Code Climate](https://codeclimate.com/github/dontfidget/chartnado/coverage.png)](https://codeclimate.com/github/dontfidget/chartnado) [![Dependency Status](https://gemnasium.com/dontfidget/chartnado.svg)](https://gemnasium.com/dontfidget/chartnado)[![Coverage Status](https://coveralls.io/repos/dontfidget/chartnado/badge.png?branch=master)](https://coveralls.io/r/dontfidget/chartnado?branch=master)
2
2
 
3
3
  Chartnado layers on top of [`chartkick`](http://ankane.github.io/chartkick/) and [`chartkick-remote`](http://github.com/dontfidget/chartkick-remote) allowing basic vector-style operations directly on to make it easy to feed them into charts. It also provides some useful defaults and the ability to show totals on pie and stacked area charts when using google charts.
4
4
 
@@ -58,7 +58,7 @@ All series in an operation must use the same format.
58
58
 
59
59
  ## Remote Requests
60
60
 
61
- By default requests for data in blocks, will be fetched remotely, unless `remote: false` is passed as an option to *chartkick_remote*. Using this methodology, it's easy to write a page that makes many, many json requests, which may swamp your server and possibly even time out if you have a global `timeout` value set for your ajax requests. @maccman's jquery.ajax.queue.coffee script provides a basic queueing transport layer for ajax requests which I've modified to provide an option to set the maximum number of requests that can be made in parallel (see https://gist.github.com/dontfidget/1ad9ab33971b64fe6fef). This is provided as part of Chartnado and you can include it in your javascript manifest like this:
61
+ By default requests for data in blocks, will be fetched remotely, unless `remote: false` is passed as an option to *chartkick_remote*. Using this methodology, it's easy to write a page that makes many, many json requests, which may swamp your server and possibly even time out if you have a global `timeout` value set for your ajax requests. @maccman's jquery.ajax.queue.coffee script provides a basic queueing transport layer for ajax requests which I've modified to provide an option to set the maximum number of requests that can be made in parallel (see https://gist.github.com/dontfidget/1ad9ab33971b64fe6fef). This is provided as an asset as part of chartkick-remote and you can include it in your javascript manifest like this:
62
62
 
63
63
  ```
64
64
  //= require jquery.ajax.queue-concurrent
@@ -66,7 +66,6 @@ By default requests for data in blocks, will be fetched remotely, unless `remote
66
66
 
67
67
  Chartnado extends chartkick to accept an *ajaxOptions* hash, which can be passed via chartkick_remote, which means you can then specify the maximum number of allowable requests globally for your page as follows:
68
68
 
69
-
70
69
  ```
71
70
  chartkick_remote ajaxOptions: {queue: true, queueMaxConcurrency: 2}
72
71
  ```
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency "activesupport", '>= 3'
23
23
  spec.add_dependency "chartkick", '>= 1.0'
24
- spec.add_dependency "chartkick-remote", '>= 1.0'
24
+ spec.add_dependency "chartkick-remote", '>= 1.2'
25
25
  spec.add_dependency "railties", ">= 3.1"
26
26
  spec.add_development_dependency "bundler", '~> 1.3'
27
27
  spec.add_development_dependency "rake", '~> 10.3'
@@ -31,5 +31,6 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "rspec-rails", '~> 3.0'
32
32
  spec.add_development_dependency "travis-lint", '~> 1.8'
33
33
  spec.add_development_dependency "codeclimate-test-reporter", '~> 0.3'
34
+ spec.add_development_dependency "coveralls", '~> 0.3'
34
35
  # spec.add_development_dependency "rspec-html-matchers", '~> 0.6.1', '>= 0.6.1'
35
36
  end
@@ -1,3 +1,3 @@
1
1
  module Chartnado
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,4 +1,13 @@
1
1
  require 'codeclimate-test-reporter'
2
+
3
+ CodeClimate::TestReporter.start
4
+
5
+ begin
6
+ require 'coveralls'
7
+ Coveralls.wear!
8
+ rescue LoadError
9
+ end
10
+
2
11
  require 'chartnado'
3
12
  require 'rspec/mocks'
4
13
 
@@ -7,7 +16,6 @@ begin
7
16
  rescue LoadError
8
17
  end
9
18
 
10
- CodeClimate::TestReporter.start
11
19
 
12
20
  module Rails
13
21
  def self.application
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chartnado
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
  - Andrew S. Brown
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: '1.2'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: '1.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: railties
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -178,6 +178,20 @@ dependencies:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0.3'
181
+ - !ruby/object:Gem::Dependency
182
+ name: coveralls
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.3'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '0.3'
181
195
  description: Chartkick charts with extras
182
196
  email:
183
197
  - andrew@dontfidget.com