saasagi 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saasagi.rb +16 -0
- data/lib/saasagi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 899cb361e1b9390c8f60b22f0568643da9d28d1f56c62ad385a9b324795b81e4
|
4
|
+
data.tar.gz: 910ba2e918fe1d1a2082b3bec6a34b8bd041bea2ebea2973fa3e45369d2b4691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef42b99a77e832fe6780797b73e4aef3e56d35ccc7399d64ed0b655cc320ae713b04e61dde27552a25b352bb0e20ace38fe2eeeac0329e95aba75dc10ee755c7
|
7
|
+
data.tar.gz: 12dca9ceb0182760b41b2c91037ae7d7fb45182cf6590df3f54d106026c06c00720b7f179d765d90b91d980b94bf413ca2ebddc31f2758e6ba03a324b8e068e2
|
data/lib/saasagi.rb
CHANGED
@@ -116,6 +116,22 @@ module Saasagi
|
|
116
116
|
f.puts prewrite
|
117
117
|
}
|
118
118
|
end
|
119
|
+
|
120
|
+
def self.assemble_equality_tester
|
121
|
+
prewrite = File.read(".prewrite/tree_equality.txt")
|
122
|
+
|
123
|
+
open("data/input/equality_test_ratio.txt", "w") { |f|
|
124
|
+
f.puts "0"
|
125
|
+
}
|
126
|
+
|
127
|
+
open("tree_test_equality.rb", "w") { |f|
|
128
|
+
f.puts prewrite
|
129
|
+
}
|
130
|
+
|
131
|
+
open(".backup/tree_test_equality.rb", "w") { |f|
|
132
|
+
f.puts prewrite
|
133
|
+
}
|
134
|
+
end
|
119
135
|
|
120
136
|
end
|
121
137
|
|
data/lib/saasagi/version.rb
CHANGED