saasagi 0.1.5 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d03502a1423956b1f3cf1be1f8d9b0ce92fe8c9c2c687947a9b7076d1c309aa
4
- data.tar.gz: 13d8f43eb4f131f5f2aafadae0f0342af54e670cd646b1a98199b320e24c8a25
3
+ metadata.gz: dbef203ca6db2874d3ca01a37f7981f472e0ac429c404c932da5dfcefc10dd4e
4
+ data.tar.gz: 85c113424971c45fd4e1a81bb84315ee74efcb549e4229c941bb46e4873baf69
5
5
  SHA512:
6
- metadata.gz: 71a1c29ddec870bea9373cc2bffafa8754bbae62f9113dcbc4b0092570ea7e8b5f4bf339e4d61d1f746f3cbae7977a2e8c99ec37eb5e3ac1d4aa3170ed9f604a
7
- data.tar.gz: 87cdba8ed427e832e175a90a7dd7a8b4bb9a65611e0417e88466357873977895da31558fe9edc627ac820b6b694c88f60b54110970a5e20ea6753373aedca7bd
6
+ metadata.gz: 4cdf4a8b1d8be35996919a6c773e60ef12ff01ce2691adf8670a7b0f484cf6d6399a6e42c9ba589c27220efe1844d7f6d8dd2925ee73f2ef7c4ea57d09fa6f47
7
+ data.tar.gz: 35569efb15fd83e4aecd0ecfa3a130dbc46e1dcc9a6af7a137df832eb0d7bc88a232255685682e5f0585253b227e388d65fbdbb0e4a1d50718b26ea9a70284fb
@@ -84,6 +84,54 @@ module Saasagi
84
84
  f.puts prewrite
85
85
  }
86
86
  end
87
+
88
+ def self.assemble_cloner
89
+ prewrite = File.read(".prewrite/tree_clone_engine.txt")
90
+
91
+ open("data/input/clone_ratio.txt", "w") { |f|
92
+ f.puts "0"
93
+ }
94
+
95
+ open("tree_clone_engine.rb", "w") { |f|
96
+ f.puts prewrite
97
+ }
98
+
99
+ open(".backup/tree_clone_engine.rb", "w") { |f|
100
+ f.puts prewrite
101
+ }
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
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
87
135
 
88
136
  end
89
137
 
@@ -1,3 +1,3 @@
1
1
  module Saasagi
2
- VERSION = "0.1.5"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = %q{Saasagi Single Cell is a reproductive version of Saasagi, and behaves similarly to a single-celled organism.}
12
12
  spec.description = %q{The eventual goal for this project, is the ability to have certain cellular processes automated; assembling core subroutines, restoring missing subroutines from backup, and the ability for the machine to program itself, with a few simple instructions. Clone a group of them together, and you can eventually build more complex systems at the artificial cellular level.}
13
- spec.homepage = "https://github.com/LWFlouisa/Saasagi-Single-Cell"
13
+ spec.homepage = "https://github.com/LWFlouisa/Saasagi-Cell-Auto"
14
14
  spec.license = "MIT"
15
15
 
16
16
  # Specify which files should be added to the gem when it is released.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saasagi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - LWFlouisa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-05 00:00:00.000000000 Z
11
+ date: 2020-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,7 +76,7 @@ files:
76
76
  - lib/saasagi.rb
77
77
  - lib/saasagi/version.rb
78
78
  - saasagi.gemspec
79
- homepage: https://github.com/LWFlouisa/Saasagi-Single-Cell
79
+ homepage: https://github.com/LWFlouisa/Saasagi-Cell-Auto
80
80
  licenses:
81
81
  - MIT
82
82
  metadata: {}