aristotle 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aristotle/utility.rb +15 -0
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33b006f49422e077a34e5ef41081b2a613b22230
4
- data.tar.gz: 30a4801aa93b05547b400cd2c3ed5ca33c0d9cba
3
+ metadata.gz: d09d3fa7f7ad06b7385cffa538e967e0a73532ba
4
+ data.tar.gz: 4a4e1bc5182bf831b61e406bf858ad11b7314795
5
5
  SHA512:
6
- metadata.gz: 88a0594fb6bfe3bd0ac193285a2f616163e63289b2917488e0c05473c1fad3946fc3e02be7ead0ef04058183d3da081ebcc64d66b28d5f346303451fb60c7496
7
- data.tar.gz: e71b4c6021e49b3bc6386f661c141e8a5a746f36a76380765f8a9f578f2ae53b6d2d297956c56359b7e0131ab6bbc0cc05bcdcd9c7eea28b88741436f60eae1d
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.3
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