panic_board_data 0.0.2 → 0.0.3
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.
@@ -26,10 +26,11 @@ module PanicBoardData
|
|
26
26
|
'title' => title,
|
27
27
|
'color' => formatted_color,
|
28
28
|
'type' => type.to_s,
|
29
|
-
'total' => total
|
29
|
+
'total' => total,
|
30
30
|
'datasequences' => formatted_data_sequences
|
31
31
|
}
|
32
32
|
the_graph.delete('color') if the_graph['color'] == ''
|
33
|
+
the_graph.delete('total') unless the_graph['total'] == true
|
33
34
|
the_graph
|
34
35
|
end
|
35
36
|
|
@@ -48,7 +48,7 @@ describe PanicBoardData::Graph do
|
|
48
48
|
end
|
49
49
|
|
50
50
|
it "should set the total" do
|
51
|
-
@result['graph']['total'].must_equal
|
51
|
+
@result['graph']['total'].must_equal true
|
52
52
|
end
|
53
53
|
|
54
54
|
it "should set the type" do
|
@@ -97,7 +97,7 @@ describe PanicBoardData::Graph do
|
|
97
97
|
end
|
98
98
|
|
99
99
|
it "should set the total" do
|
100
|
-
@result['graph']
|
100
|
+
@result['graph'].keys.include?('total').must_equal false
|
101
101
|
end
|
102
102
|
|
103
103
|
it "should set the type" do
|
@@ -156,7 +156,7 @@ describe PanicBoardData::Graph do
|
|
156
156
|
end
|
157
157
|
|
158
158
|
it "should set the total" do
|
159
|
-
@result['graph']['total'].must_equal
|
159
|
+
@result['graph']['total'].must_equal true
|
160
160
|
end
|
161
161
|
|
162
162
|
it "should set the type" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panic_board_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
segments:
|
143
143
|
- 0
|
144
|
-
hash:
|
144
|
+
hash: -3334913484776755300
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
none: false
|
147
147
|
requirements:
|
@@ -150,10 +150,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
segments:
|
152
152
|
- 0
|
153
|
-
hash:
|
153
|
+
hash: -3334913484776755300
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project:
|
156
|
-
rubygems_version: 1.8.
|
156
|
+
rubygems_version: 1.8.25
|
157
157
|
signing_key:
|
158
158
|
specification_version: 3
|
159
159
|
summary: Export data for Panic Board
|