RubyGems
npm
Organizations
Log in
Sign up
RubyGems
testdata
Versions diffs
0.1.7 → 0.1.8
testdata 0.1.7 → 0.1.8
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/testdata.rb
+2
-0
metadata
+1
-1
data/lib/testdata.rb
CHANGED
Viewed
@@ -64,4 +64,6 @@ class Testdata
64
64
def read_url(xml_url) open(xml_url, 'UserAgent' => 'S-Rscript').read end
65
65
66
66
def passed?() @success.all? end
67
+
def score() [@success.grep(true), @success].map(&:length).join('/') end
68
+
67
69
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: testdata
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.1.
7
4
+
version: 0.1.
8
5
5
platform: ruby
6
6
authors: []
7
7