saasagi 0.1.7 → 0.1.8
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: 7b4f07b48c98ab9dae87723c0c73dafcd5d73a5fc49c0ff51350953a0f271ba5
|
4
|
+
data.tar.gz: 5771ee2d639ebe84166e413a45fb68f42d9349181e8b41c25b85031d744d64eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2f0b12648f1574575ed34171297d9ad84e01a314f11ddc356edc4e262e275967959b0052f651d68c2c8816f22582c1fa64dfa1ddc1b516228ae2d09299e3400
|
7
|
+
data.tar.gz: 5c0d79c9113ec18f6bc33dfdeda06b5e6dfa5c59e1f093ba361cea19612b4efd7355110194902001d2c041ace3211a4b8796ec8d88b81a0213612f9f240e6230
|
data/lib/saasagi.rb
CHANGED
@@ -100,6 +100,22 @@ module Saasagi
|
|
100
100
|
f.puts prewrite
|
101
101
|
}
|
102
102
|
end
|
103
|
+
|
104
|
+
def self.assemble_space_calculator
|
105
|
+
prewrite = File.read(".prewrite/tree_calculate_space.txt")
|
106
|
+
|
107
|
+
open("data/input/calculator_ratio.txt", "w") { |f|
|
108
|
+
f.puts "0"
|
109
|
+
}
|
110
|
+
|
111
|
+
open("tree_calculate_space.rb", "w") { |f|
|
112
|
+
f.puts prewrite
|
113
|
+
}
|
114
|
+
|
115
|
+
open(".backup/tree_calculate_space.rb", "w") { |f|
|
116
|
+
f.puts prewrite
|
117
|
+
}
|
118
|
+
end
|
103
119
|
|
104
120
|
end
|
105
121
|
|
data/lib/saasagi/version.rb
CHANGED