aristotle 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aristotle/utility.rb +15 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d09d3fa7f7ad06b7385cffa538e967e0a73532ba
|
4
|
+
data.tar.gz: 4a4e1bc5182bf831b61e406bf858ad11b7314795
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4e54a0f4b9205be5b8c1e9eb77c77d426e737bf824d582290d410fd77b240555d987196bc1150dbd0736546b359f165a924ddd85d53fd97d9c43e6c86c0a793
|
7
|
+
data.tar.gz: 2fd5bcd7be4d76d7cde56c85237b73f3801b4c2b68d214e0cee206dba614b835400c2520faf1d32114c6ed0ec697998866d338f72e998b957ae4ca1a750149b5
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Aristotle
|
2
|
+
class Utility
|
3
|
+
def self.check_all
|
4
|
+
Dir[%w(app logic *.rb).join(File::SEPARATOR)].each do |file|
|
5
|
+
require Dir.pwd + File::SEPARATOR + file
|
6
|
+
end
|
7
|
+
|
8
|
+
Aristotle::Logic.descendants.each_with_index do |logic_class, i|
|
9
|
+
puts "Checking #{logic_class}"
|
10
|
+
logic_class.is_everything_covered?
|
11
|
+
puts if i > 0
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aristotle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marius Andra
|
@@ -20,6 +20,7 @@ files:
|
|
20
20
|
- bin/aristotle
|
21
21
|
- lib/aristotle.rb
|
22
22
|
- lib/aristotle/logic.rb
|
23
|
+
- lib/aristotle/utility.rb
|
23
24
|
homepage: https://github.com/apprentus/aristotle
|
24
25
|
licenses:
|
25
26
|
- MIT
|