cube-evaluator 0.0.1.beta → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,2 @@
1
+ rvm:
2
+ - 1.9.2
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ # URL Formatter [![Build Status](https://secure.travis-ci.org/matteodepalo/cube-evaluator.png)](http://travis-ci.org/matteodepalo/cube-evaluator)
2
+
1
3
  # Cube Evaluator
2
4
 
3
5
  Obtain data from cube evaluators in a nice format
@@ -38,7 +40,22 @@ $cube_evaluator.metric(
38
40
  )
39
41
  ```
40
42
 
41
- The result will be a json encoded Hash with an array of 'times' and the corresponding 'values'
43
+ The result will be a json encoded Hash with an array of 'times' and the corresponding 'values' like
44
+
45
+ ```ruby
46
+ {
47
+ "times" => [
48
+ "2012-07-16T11:40:00.000Z",
49
+ "2012-07-16T11:41:00.000Z",
50
+ "2012-07-16T11:42:00.000Z",
51
+ "2012-07-16T11:43:00.000Z",
52
+ "2012-07-16T11:44:00.000Z",
53
+ "2012-07-16T11:45:00.000Z",
54
+ "2012-07-16T11:46:00.000Z"
55
+ ],
56
+ "values" => [1, 2, 3, 4, 5, 6, 7]}
57
+ }
58
+ ```
42
59
 
43
60
  The supported steps are:
44
61
 
@@ -16,5 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Cube::Evaluator::VERSION
17
17
 
18
18
  gem.add_development_dependency 'rspec'
19
+ gem.add_development_dependency 'rake'
19
20
  gem.add_development_dependency 'webmock'
20
21
  end
@@ -1,5 +1,5 @@
1
1
  module Cube
2
2
  class Evaluator
3
- VERSION = "0.0.1.beta"
3
+ VERSION = "0.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cube-evaluator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta
5
- prerelease: 6
4
+ version: 0.0.1
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matteo Depalo
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: webmock
32
48
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +67,7 @@ extensions: []
51
67
  extra_rdoc_files: []
52
68
  files:
53
69
  - .gitignore
70
+ - .travis.yml
54
71
  - Gemfile
55
72
  - LICENSE
56
73
  - README.md
@@ -75,9 +92,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
92
  required_rubygems_version: !ruby/object:Gem::Requirement
76
93
  none: false
77
94
  requirements:
78
- - - ! '>'
95
+ - - ! '>='
79
96
  - !ruby/object:Gem::Version
80
- version: 1.3.1
97
+ version: '0'
81
98
  requirements: []
82
99
  rubyforge_project:
83
100
  rubygems_version: 1.8.24