kpi 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -124,6 +124,7 @@ More reports can be passed to constructor of Merged report:
124
124
  * Generators for configuration and reports
125
125
  * Database persistence - storing reports in different databases: PostgreSQL & Mongo prioritized
126
126
  * Support for "result" helper in block passed to constructor of MergedReport
127
+ * Remove ActiveSupport requirement
127
128
 
128
129
 
129
130
  == Contributing to KPI
@@ -2,9 +2,9 @@ require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')
2
2
 
3
3
  describe "KPI::Entry" do
4
4
  it "should require exactly 2 arguments" do
5
- assert_raises(ArgumentError)) { KPI::Entry.new }
6
- assert_raises(ArgumentError)) { KPI::Entry.new "test" }
7
- assert_raises(ArgumentError)) { KPI::Entry.new "test", 1, "aaa" }
5
+ assert_raises(ArgumentError) { KPI::Entry.new }
6
+ assert_raises(ArgumentError) { KPI::Entry.new "test" }
7
+ assert_raises(ArgumentError) { KPI::Entry.new "test", 1, "aaa" }
8
8
  end
9
9
 
10
10
  describe "when title and value given" do
@@ -30,7 +30,7 @@ describe "KPI::Entry" do
30
30
  end
31
31
 
32
32
  describe "when unit given" do
33
- before { @entry = KPI::Entry.new "Income", 1294.23, :description => "EUR" }
33
+ before { @entry = KPI::Entry.new "Income", 1294.23, :unit => "EUR" }
34
34
 
35
35
  it "returns description" do
36
36
  assert_equal("EUR", @entry.unit)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kpi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Artur Roszczyk
@@ -132,7 +132,7 @@ files:
132
132
  - LICENSE.txt
133
133
  - README.rdoc
134
134
  - test/test_helper.rb
135
- - test/unit/kpi/entry_tesr.rb
135
+ - test/unit/kpi/entry_test.rb
136
136
  - test/unit/kpi/merged_report_test.rb
137
137
  - test/unit/kpi/report_test.rb
138
138
  has_rdoc: true
@@ -171,6 +171,6 @@ specification_version: 3
171
171
  summary: Key Performance Indicators for Rails 3.x
172
172
  test_files:
173
173
  - test/test_helper.rb
174
- - test/unit/kpi/entry_tesr.rb
174
+ - test/unit/kpi/entry_test.rb
175
175
  - test/unit/kpi/merged_report_test.rb
176
176
  - test/unit/kpi/report_test.rb