databox 0.0.3 → 0.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b35f81369b4cdc7ba2b9abff91729aecdec96818
4
- data.tar.gz: 6da7f16169fc7f16deaefc6796b192bbfacbe789
3
+ metadata.gz: ebc311f8414ee0dd1a0cf856a578bcf289c2d58a
4
+ data.tar.gz: a8ec62fdd9426a618aa08d12e539f7256842ee9a
5
5
  SHA512:
6
- metadata.gz: 546f51c0c865a0caaf9af5e016d5ab952fdd6a1a52c945f1ddea16d431b68c15497e6d6cd662c9df127f5f6a42a068960411ab2475bc2e38cc4577301af60ed6
7
- data.tar.gz: a2c4927156b9da8155de87d9d4e03fbca9042e9640174a02f06ad4283173e2d0ebc238c7a77a9479d90aa52d1fe3c095068538942ee2373adbd8a06ddcd7718e
6
+ metadata.gz: 6c34368d669eb3d88fad6f36feab65492dd3e31841a31b6a2a8edfdde0d44e9194b2d8383c49fc82cc9a8420bd3c0d96303fdd320d289af633e00bdaea270c0d
7
+ data.tar.gz: 6171690938429e91d87b0ebd6dc2872f13e28bb7cda917d6f7debedc0e32df271f7235b21933e0ddfdbf9c16760310e8f3b4bc8c07dbef4bd5a664ce4d832d00
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  *.sh
2
+ !*test_*sh
2
3
  *.gem
3
4
  *.rbc
4
5
  .bundle
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Databox
2
2
 
3
- [![Gem Version][fury-badge]][fury] [![Build Status][travis-badge]][travis] [![Coverage Status](https://coveralls.io/repos/otobrglez/databox/badge.png)](https://coveralls.io/r/otobrglez/databox)
3
+ [![Gem Version][fury-badge]][fury] [![Build Status][travis-badge]][travis] [![Coverage Status](https://coveralls.io/repos/otobrglez/databox/badge.png?branch=master)](https://coveralls.io/r/otobrglez/databox?branch=master)
4
4
 
5
5
  Ruby Gem for [Databox](http://databox.com/) - Mobile Executive Dashboard.
6
6
 
@@ -22,26 +22,96 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- You can use Databox::Client directly to insert raw KPIs. This is done by invoking Databox::Client and pushing Hash or Array of Hashes to it.
25
+ Before using Databox gem you have to initialize it with key and token. There are 3 ways how you can do initialization.
26
26
 
27
+ - Within simple initializer
28
+
29
+ ```ruby
30
+ Databox.configure do |c|
31
+ c.token = "YOUR_TOKEN"
32
+ c.key = "YOUR_KEY"
33
+ end
34
+ ```
35
+
36
+ - By setting system ```ENV``` variables ```DATABOX_KEY``` and ```DATABOX_TOKEN```
37
+
38
+ - If your are using custom integration with different key please use ```id```.
39
+
40
+ ```ruby
41
+ chart = Databox::LineChart.new "my_line", id: "OTHER_KEY"
42
+ ```
43
+
44
+ Databox gem support following widgets
45
+
46
+ | Widget | Implemented | Example | Databox Documentation
47
+ | --------------- | :-----------: | ------------------------------ | ----------------------
48
+ | Big Number | Yes | [Example](#big-number) | [Basic Widgets / Big Number](https://developers.databox.com/push/v1/widgets/main/#big-number)
49
+ | Compare | Yes | [Example](#compare) | [Basic Widgets / Compare](https://developers.databox.com/push/v1/widgets/main/#compare)
50
+ | Internal | Yes | [Example](#interval) | [Basic Widgets / Interval Values](https://developers.databox.com/push/v1/widgets/main/#interval-values)
51
+ | Line Chart | Yes | [Example](#line-chart) | [Basic Widgets / Line Chart](https://developers.databox.com/push/v1/widgets/main/#line-chart-and-bar-chart)
52
+ | Bar Chart | Yes | [Example](#bar-chart) | [Basic Widgets / Bar Chart](https://developers.databox.com/push/v1/widgets/main/#line-chart-and-bar-chart)
53
+ | Pipeline | Yes | [Example](#pipeline) | [Pipeline](https://developers.databox.com/push/v1/widgets/pipeline/)
54
+ | Funnel | Yes | [Example](#funnel) | [Funnel](https://developers.databox.com/push/v1/widgets/funnel/)
55
+ | Pie | Yes | [Example](#pie) | [Pie](https://developers.databox.com/push/v1/widgets/pie/)
56
+ | Progress | Yes | [Example](#progress) | [Progress](https://developers.databox.com/push/v1/widgets/progress/)
57
+ | Table | No | |
58
+ | Messages | Yes | [Example](#messages) | [Messages](https://developers.databox.com/push/v1/widgets/messages/)
59
+
60
+
61
+ ### Big Number
27
62
  ```ruby
28
- client = Databox.client
63
+ number = Databox::BigNumber.new "just_number"
64
+ number.set 5000
65
+ number.save
29
66
 
30
- client.push([{
31
- key: "name",
32
- date: "2014-01-22T12:00:00",
33
- value: 1
34
- }])
67
+ # You can set date on initialize
68
+ number_dated = Databox::BigNumber.new "just_number", date: "2014-02-03"
69
+ # Or when setting number
70
+ number_dated.set 10_000, "2014-02-03"
71
+ number_dated.save
35
72
 
36
- puts client.logs
37
73
  ```
38
74
 
39
- Databox gem support following widgets
75
+ ### Line Chart
76
+ ```ruby
77
+ chart = Databox::LineChart.new "my_line"
78
+ chart.add 40, "2014-01-29"
79
+ chart.add 100, "2014-02-01"
80
+ chart.add 500, "2014-02-02"
81
+ chart.add 20, "2014-02-03"
82
+ chart.save
83
+
84
+ ```
85
+
86
+ ### Bar Chart
87
+ ```ruby
88
+ chart = Databox::BarChart.new "my_bar"
89
+ chart.add 40, "2014-01-29"
90
+ chart.add 100, "2014-02-01"
91
+ chart.add 500, "2014-02-02"
92
+ chart.add 20, "2014-02-03"
93
+ chart.save
94
+ ```
95
+
96
+ ### Compare
97
+ ```ruby
98
+ compare = Databox::BarChart.new "my_compare"
99
+ compare.add 40, "2014-01-29"
100
+ compare.add 100, "2014-02-01"
101
+ compare.add 500, "2014-02-02"
102
+ compare.add 20, "2014-02-03"
103
+ compare.save
104
+ ```
40
105
 
41
- - [Pipeline](https://developers.databox.com/push/v1/widgets/pipeline)
42
- - [Funnel](https://developers.databox.com/push/v1/widgets/funnel)
43
- - [Pie](https://developers.databox.com/push/v1/widgets/pie)
44
- - [Messages](https://developers.databox.com/push/v1/widgets/messages)
106
+ ### Interval
107
+ ```ruby
108
+ interval = Databox::BarChart.new "my_interval"
109
+ interval.add 40, "2014-01-29"
110
+ interval.add 100, "2014-02-01"
111
+ interval.add 500, "2014-02-02"
112
+ interval.add 20, "2014-02-03"
113
+ interval.save
114
+ ```
45
115
 
46
116
  ### Pipeline
47
117
  ```ruby
@@ -73,6 +143,13 @@ pie.add "E", 7_423
73
143
  pie.save
74
144
  ```
75
145
 
146
+ ### Progress
147
+ ```ruby
148
+ progress = Databox::Progress.new "my_progress"
149
+ progress.set "33% done", 100, 33
150
+ pie.save
151
+ ```
152
+
76
153
  ### Messages
77
154
 
78
155
  ```ruby
@@ -82,6 +159,22 @@ messages.add "Second message"
82
159
  messages.save
83
160
  ```
84
161
 
162
+ ## Using client directly
163
+
164
+ You can also use Databox::Client directly to insert raw KPIs. This is done by invoking Databox::Client and pushing Hash or Array of Hashes to it.
165
+
166
+ ```ruby
167
+ client = Databox.client
168
+
169
+ client.push([{
170
+ key: "name",
171
+ date: "2014-01-22T12:00:00",
172
+ value: 1
173
+ }])
174
+
175
+ puts client.logs
176
+ ```
177
+
85
178
  ## Versions
86
179
 
87
180
  [Databox](https://github.com/otobrglez/databox) is tested on following Ruby versions
@@ -6,9 +6,16 @@ module Databox
6
6
  autoload :Configuration, "databox/configuration"
7
7
  autoload :Integration, "databox/integration"
8
8
 
9
+ autoload :BigNumber, "databox/integration"
10
+ autoload :LineChart, "databox/integration"
11
+ autoload :BarChart, "databox/integration"
12
+ autoload :Compare, "databox/integration"
13
+ autoload :Interval, "databox/integration"
14
+
9
15
  autoload :Pipeline, "databox/integration"
10
16
  autoload :Funnel, "databox/integration"
11
17
  autoload :Pie, "databox/integration"
18
+ autoload :Progress, "databox/integration"
12
19
  autoload :Messages, "databox/integration"
13
20
 
14
21
 
@@ -1,6 +1,6 @@
1
1
  class Databox::Integration < Databox::Client
2
2
 
3
- attr_accessor :name, :list, :date
3
+ attr_accessor :name, :list, :set_item, :date
4
4
 
5
5
  def initialize name, options={date: nil, id: nil}
6
6
  super()
@@ -10,11 +10,13 @@ class Databox::Integration < Databox::Client
10
10
  @token = options[:id] unless options[:id].nil?
11
11
 
12
12
  @list = []
13
+ @set_item = nil
13
14
  end
14
15
 
15
16
  def save
16
17
  if push(to_data).success?
17
18
  @list = []
19
+ @set_item = nil
18
20
  true
19
21
  else
20
22
  false
@@ -53,8 +55,71 @@ class Databox::Pipeline < Databox::Integration
53
55
 
54
56
  end
55
57
 
58
+
59
+
60
+
56
61
  #TODO: Add support for icons
57
62
  #TODO: Add support for changes
58
63
  class Databox::Funnel < Databox::Pipeline; end;
59
64
  class Databox::Pie < Databox:: Pipeline; end;
60
65
 
66
+
67
+
68
+ class Databox::Progress < Databox::Integration
69
+
70
+ def add *args
71
+ raise "Progress does not support add!"
72
+ end
73
+
74
+ def set message, max, value
75
+ @set_item = [message, max, value]
76
+ end
77
+
78
+ def to_data
79
+ [
80
+ { key: "#{name}@label", value: @set_item.first },
81
+ { key: "#{name}@max_value", value: @set_item[1] },
82
+ { key: "#{name}", value: @set_item.last },
83
+ ]
84
+ end
85
+
86
+ end
87
+
88
+
89
+
90
+ class Databox::BigNumber < Databox::Integration
91
+ def set number, date=nil
92
+ date ||= @date
93
+ @set_item = [number, date]
94
+ end
95
+
96
+ def to_data
97
+ out = {key: name, value: @set_item.first}
98
+ out.merge!({date: @set_item[1]}) unless @set_item[1].nil?
99
+ out
100
+ end
101
+ end
102
+
103
+
104
+
105
+ class Databox::LineChart < Databox::Integration
106
+
107
+ def add value, date=nil
108
+ date ||= @date
109
+ @list.push [value, date]
110
+ end
111
+
112
+ def to_data
113
+ @list.map do |i|
114
+ out = {key: name, value: i.first}
115
+ out.merge!({date: i[1]}) unless i[1].nil?
116
+ out
117
+ end
118
+ end
119
+ end
120
+
121
+ class Databox::BarChart < Databox::LineChart; end;
122
+
123
+ class Databox::Compare < Databox::LineChart; end;
124
+
125
+ class Databox::Interval < Databox::LineChart; end;
@@ -1,3 +1,3 @@
1
1
  module Databox
2
- VERSION = "0.0.3"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -0,0 +1,23 @@
1
+ require "spec_helper"
2
+
3
+ describe Databox::BarChart do
4
+
5
+ let(:chart){ Databox::BarChart.new "my_bar" }
6
+
7
+ context "simple" do
8
+ before {
9
+ stub_request(:post, /push/)
10
+ .to_return { request_from "bar_chart_simple" }
11
+ }
12
+
13
+ before do
14
+ chart.add 2000, "2014-01-29"
15
+ chart.add 1600, "2014-02-01"
16
+ chart.add 999, "2014-02-03"
17
+ end
18
+
19
+ it { expect(chart.save).to be_true }
20
+
21
+ end
22
+
23
+ end
@@ -0,0 +1,29 @@
1
+ require "spec_helper"
2
+
3
+ describe Databox::BigNumber do
4
+
5
+ let(:number){ Databox::BigNumber.new "just_number" }
6
+
7
+ context "simple" do
8
+ before {
9
+ stub_request(:post, /push/)
10
+ .to_return { request_from "big_number_simple" }
11
+ }
12
+
13
+ before { number.set 5000, "2014-02-03T00:00:00" }
14
+ it { expect(number.to_data[:date]).not_to be_nil }
15
+ it { expect(number.save).to be_true }
16
+ end
17
+
18
+ context "without date" do
19
+ before { number.set 5000 }
20
+ it { expect(number.to_data[:date]).to be_nil }
21
+ end
22
+
23
+ context "with constructor" do
24
+ let(:number_2){ Databox::BigNumber.new "just_number", date: "2014-01-26T00:00:00" }
25
+ before{ number_2.set 60000 }
26
+ it { expect(number_2.to_data[:date]).not_to be_nil }
27
+ end
28
+
29
+ end
@@ -0,0 +1,22 @@
1
+ require "spec_helper"
2
+
3
+ describe Databox::Compare do
4
+
5
+ let(:compare){ Databox::Compare.new "my_compare" }
6
+
7
+ context "simple" do
8
+ before {
9
+ stub_request(:post, /push/)
10
+ .to_return { request_from "compare_simple" }
11
+ }
12
+
13
+ before do
14
+ compare.add 2000, "2014-01-25"
15
+ compare.add 1600, "2014-01-26"
16
+ end
17
+
18
+ it { expect(compare.save).to be_true }
19
+
20
+ end
21
+
22
+ end
@@ -0,0 +1,23 @@
1
+ require "spec_helper"
2
+
3
+ describe Databox::Interval do
4
+
5
+ let(:interval){ Databox::Interval.new "my_interval" }
6
+
7
+ context "simple" do
8
+ before {
9
+ stub_request(:post, /push/)
10
+ .to_return { request_from "interval_simple" }
11
+ }
12
+
13
+ before do
14
+ interval.add 2000, "2014-01-25"
15
+ interval.add 1600, "2014-01-26"
16
+ interval.add 2200, "2014-01-27"
17
+ end
18
+
19
+ it { expect(interval.save).to be_true }
20
+
21
+ end
22
+
23
+ end
@@ -0,0 +1,23 @@
1
+ require "spec_helper"
2
+
3
+ describe Databox::LineChart do
4
+
5
+ let(:chart){ Databox::LineChart.new "my_line" }
6
+
7
+ context "simple" do
8
+ before {
9
+ stub_request(:post, /push/)
10
+ .to_return { request_from "line_chart_simple" }
11
+ }
12
+
13
+ before do
14
+ chart.add 2000, "2014-01-29"
15
+ chart.add 1600, "2014-02-01"
16
+ chart.add 999, "2014-02-03"
17
+ end
18
+
19
+ it { expect(chart.save).to be_true }
20
+
21
+ end
22
+
23
+ end
@@ -2,13 +2,6 @@ require "spec_helper"
2
2
 
3
3
  describe Databox::Pie do
4
4
 
5
- before do
6
- Databox.configure do |c|
7
- c.token = "218oxlmk3ikkogo0"
8
- c.key = "3s70rekrhcmcgkccssckc448kgw04ssk"
9
- end
10
- end
11
-
12
5
  let(:pie){ Databox::Pie.new "my_pie" }
13
6
 
14
7
  context "simple" do
@@ -2,13 +2,6 @@ require "spec_helper"
2
2
 
3
3
  describe Databox::Pipeline do
4
4
 
5
- before do
6
- Databox.configure do |c|
7
- c.token = "218oxlmk3ikkogo0"
8
- c.key = "3s70rekrhcmcgkccssckc448kgw04ssk"
9
- end
10
- end
11
-
12
5
  let(:pipeline){ Databox::Pipeline.new "pipe_visits" }
13
6
 
14
7
  context "simple" do
@@ -0,0 +1,20 @@
1
+ require "spec_helper"
2
+
3
+ describe Databox::Progress do
4
+
5
+ let(:progress){ Databox::Progress.new "my_progress" }
6
+
7
+ context "simple" do
8
+ before {
9
+ stub_request(:post, /push/)
10
+ .to_return { request_from "progress_simple" }
11
+ }
12
+
13
+ before do
14
+ progress.set "33% done", 100, 33
15
+ end
16
+
17
+ it { expect(progress.save).to be_true }
18
+ end
19
+
20
+ end
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx/1.4.4
3
+ Date: Mon, 03 Feb 2014 16:38:19 GMT
4
+ Content-Type: application/json
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Vary: Accept-Encoding
8
+ X-Powered-By: PHP/5.4.23
9
+ Set-Cookie: zep_uid=kir9md6qrahslhdk382jnce183; path=/
10
+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
11
+ Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
12
+ Pragma: no-cache
13
+
14
+ {"response":{"type":"success","message":"Items stored: 3"}}
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx/1.4.4
3
+ Date: Mon, 03 Feb 2014 15:40:07 GMT
4
+ Content-Type: application/json
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Vary: Accept-Encoding
8
+ X-Powered-By: PHP/5.4.23
9
+ Set-Cookie: zep_uid=fe0da7292u1ml3o45ncd1qfki2; path=/
10
+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
11
+ Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
12
+ Pragma: no-cache
13
+
14
+ {"response":{"type":"success","message":"Items stored: 1"}}
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx/1.4.4
3
+ Date: Mon, 03 Feb 2014 17:11:01 GMT
4
+ Content-Type: application/json
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Vary: Accept-Encoding
8
+ X-Powered-By: PHP/5.4.23
9
+ Set-Cookie: zep_uid=oig14572o7e69prfurj46ma8f5; path=/
10
+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
11
+ Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
12
+ Pragma: no-cache
13
+
14
+ {"response":{"type":"success","message":"Items stored: 2"}}
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx/1.4.4
3
+ Date: Mon, 03 Feb 2014 17:13:25 GMT
4
+ Content-Type: application/json
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Vary: Accept-Encoding
8
+ X-Powered-By: PHP/5.4.23
9
+ Set-Cookie: zep_uid=qliamr23ikod7pnj71o5dgsbs7; path=/
10
+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
11
+ Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
12
+ Pragma: no-cache
13
+
14
+ {"response":{"type":"success","message":"Items stored: 3"}}
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx/1.4.4
3
+ Date: Mon, 03 Feb 2014 16:35:58 GMT
4
+ Content-Type: application/json
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Vary: Accept-Encoding
8
+ X-Powered-By: PHP/5.4.23
9
+ Set-Cookie: zep_uid=e5eismum62no56aj0t2n6qnhd1; path=/
10
+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
11
+ Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
12
+ Pragma: no-cache
13
+
14
+ {"response":{"type":"success","message":"Items stored: 3"}}
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx/1.4.4
3
+ Date: Mon, 03 Feb 2014 12:45:22 GMT
4
+ Content-Type: application/json
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Vary: Accept-Encoding
8
+ X-Powered-By: PHP/5.4.23
9
+ Set-Cookie: zep_uid=ne5mu4nrs89cppe1cjco8u03r1; path=/
10
+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
11
+ Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
12
+ Pragma: no-cache
13
+
14
+ {"response":{"type":"success","message":"Items stored: 3"}}
@@ -1,7 +1,9 @@
1
1
  require "bundler/setup"
2
2
 
3
- require 'coveralls'
4
- Coveralls.wear!
3
+ if ENV["TRAVIS"]=="true"
4
+ require 'coveralls'
5
+ Coveralls.wear!
6
+ end
5
7
 
6
8
  if ENV['COVERAGE']
7
9
  require 'simplecov'
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # Define different RVMs
4
+ declare -a RVMS=(\
5
+ 'ruby-1.9.3-p484@databox' \
6
+ 'ruby-2.0.0-p353@databox' \
7
+ # Add others here
8
+ )
9
+
10
+ # Loop over RSMs and exec RSpec
11
+ for r in "${RVMS[@]}"; do
12
+ set -o verbose
13
+ echo "Testing $r"
14
+ rvm $r exec bundle install --quiet
15
+ rvm $r exec bundle exec rspec --fail-fast --format=progress
16
+ done
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: databox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oto Brglez
@@ -202,22 +202,35 @@ files:
202
202
  - lib/databox/configuration.rb
203
203
  - lib/databox/integration.rb
204
204
  - lib/databox/version.rb
205
+ - spec/databox/bar_chart_spec.rb
206
+ - spec/databox/big_number_spec.rb
205
207
  - spec/databox/client_spec.rb
208
+ - spec/databox/compare_spec.rb
206
209
  - spec/databox/funnel_spec.rb
207
210
  - spec/databox/integration_spec.rb
211
+ - spec/databox/interval_spec.rb
212
+ - spec/databox/line_chart_spec.rb
208
213
  - spec/databox/messages_spec.rb
209
214
  - spec/databox/pie_spec.rb
210
215
  - spec/databox/pipeline_spec.rb
216
+ - spec/databox/progress_spec.rb
211
217
  - spec/databox_spec.rb
218
+ - spec/requests/bar_chart_simple.txt
219
+ - spec/requests/big_number_simple.txt
220
+ - spec/requests/compare_simple.txt
212
221
  - spec/requests/funnel_simple.txt
222
+ - spec/requests/interval_simple.txt
213
223
  - spec/requests/invalid_push.txt
224
+ - spec/requests/line_chart_simple.txt
214
225
  - spec/requests/logs.txt
215
226
  - spec/requests/multiple_message.txt
216
227
  - spec/requests/pie_simple.txt
217
228
  - spec/requests/pipeline_simple.txt
229
+ - spec/requests/progress_simple.txt
218
230
  - spec/requests/simple_message.txt
219
231
  - spec/requests/simple_push.txt
220
232
  - spec/spec_helper.rb
233
+ - test_rvms.sh
221
234
  homepage: https://github.com/otobrglez/databox
222
235
  licenses:
223
236
  - MIT
@@ -243,19 +256,31 @@ signing_key:
243
256
  specification_version: 4
244
257
  summary: API wrapper for Databox
245
258
  test_files:
259
+ - spec/databox/bar_chart_spec.rb
260
+ - spec/databox/big_number_spec.rb
246
261
  - spec/databox/client_spec.rb
262
+ - spec/databox/compare_spec.rb
247
263
  - spec/databox/funnel_spec.rb
248
264
  - spec/databox/integration_spec.rb
265
+ - spec/databox/interval_spec.rb
266
+ - spec/databox/line_chart_spec.rb
249
267
  - spec/databox/messages_spec.rb
250
268
  - spec/databox/pie_spec.rb
251
269
  - spec/databox/pipeline_spec.rb
270
+ - spec/databox/progress_spec.rb
252
271
  - spec/databox_spec.rb
272
+ - spec/requests/bar_chart_simple.txt
273
+ - spec/requests/big_number_simple.txt
274
+ - spec/requests/compare_simple.txt
253
275
  - spec/requests/funnel_simple.txt
276
+ - spec/requests/interval_simple.txt
254
277
  - spec/requests/invalid_push.txt
278
+ - spec/requests/line_chart_simple.txt
255
279
  - spec/requests/logs.txt
256
280
  - spec/requests/multiple_message.txt
257
281
  - spec/requests/pie_simple.txt
258
282
  - spec/requests/pipeline_simple.txt
283
+ - spec/requests/progress_simple.txt
259
284
  - spec/requests/simple_message.txt
260
285
  - spec/requests/simple_push.txt
261
286
  - spec/spec_helper.rb