sheltered-girl 4.0.8.1 → 4.0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/frame.rb +36 -19
  3. data/lib/install.rb +32 -12
  4. data/lib/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d54ec08615934f99fd8034edb6fbb86c3687af93274bfb89a252e88526c853c6
4
- data.tar.gz: 50356d2b4597f97901aa4e0bc24b93f3a8697d2de0f61264b6764badcf161077
3
+ metadata.gz: 7abc8d50b52afb30e136fe1869b9aefc7a170d5114d22d48ff9968772aab7375
4
+ data.tar.gz: '0198bb47346d34761569f32391ba18fef66defdacd99e80f8be142116d1b6e61'
5
5
  SHA512:
6
- metadata.gz: 46d43edac01e98e9e4385310319345cc88ea7bab8ddad0d7d354547ca2884d9a1a155463bcd0f50bc0da6855327fe95f4dcaf830e0873b0328a4268056fbfe0d
7
- data.tar.gz: 47b2b07b516daa24c6bb44736ef081cc170ddbf8759ae858fdf24baeb1b33d5551e627257bf060ce06da6ce1bb70f8a7854f9d8add28cb2d8e5bd7adb6fa4728
6
+ metadata.gz: 6a5027d50250a0bcd0200eaa7fdc6b46641aa4498efd7eee89df08c582ed89878ea33c82f4e4a6e814b97524d1f6edcdb0143114daabc309ca61ab8837577a5f
7
+ data.tar.gz: 1061570424890a1b30b444fe39fa14fd8f8e188eebc1baa92ab7955a953c2ac97daa97e6e28d5885f3b45f2fc49a48e4f39138343233563998be743e290d7f88
data/lib/frame.rb CHANGED
@@ -21,10 +21,10 @@ module Heart
21
21
  rescue LoadError => e
22
22
  puts e.backtrace
23
23
  ensure
24
- GC.compact
24
+ GC.auto_compact
25
25
  end
26
26
  end
27
-
27
+
28
28
  def creater
29
29
  require 'install'
30
30
  begin
@@ -32,7 +32,7 @@ module Heart
32
32
  rescue LoadError => e
33
33
  puts e.backtrace
34
34
  ensure
35
- GC.compact
35
+ GC.auto_compact
36
36
  end
37
37
  end
38
38
 
@@ -43,7 +43,7 @@ module Heart
43
43
  rescue LoadError => e
44
44
  puts e.backtrace
45
45
  ensure
46
- GC.compact
46
+ GC.auto_compact
47
47
  end
48
48
  end
49
49
 
@@ -54,7 +54,7 @@ module Heart
54
54
  rescue LoadError => e
55
55
  puts e.backtrace
56
56
  ensure
57
- GC.compact
57
+ GC.auto_compact
58
58
  end
59
59
  end
60
60
 
@@ -65,18 +65,18 @@ module Heart
65
65
  rescue LoadError => e
66
66
  puts e.backtrace
67
67
  ensure
68
- GC.compact
68
+ GC.auto_compact
69
69
  end
70
70
  end
71
71
 
72
- def nyasocom3_downloader
72
+ def purplehaze_downloader
73
73
  require 'install'
74
74
  begin
75
- InstallerRunner.nyasocom3_download
75
+ InstallerRunner.purplehaze_download
76
76
  rescue LoadError => e
77
77
  puts e.backtrace
78
78
  ensure
79
- GC.compact
79
+ GC.auto_compact
80
80
  end
81
81
  end
82
82
 
@@ -87,7 +87,18 @@ module Heart
87
87
  rescue LoadError => e
88
88
  puts e.backtrace
89
89
  ensure
90
- GC.compact
90
+ GC.auto_compact
91
+ end
92
+ end
93
+
94
+ def hyokaproject_downloader
95
+ require 'install'
96
+ begin
97
+ InstallerRunner.hyokaproject_download
98
+ rescue LoadError => e
99
+ puts e.backtrace
100
+ ensure
101
+ GC.auto_compact
91
102
  end
92
103
  end
93
104
 
@@ -98,7 +109,7 @@ module Heart
98
109
  rescue LoadError => e
99
110
  puts e.backtrace
100
111
  ensure
101
- GC.compact
112
+ GC.auto_compact
102
113
  end
103
114
  end
104
115
 
@@ -109,7 +120,7 @@ module Heart
109
120
  rescue LoadError => e
110
121
  puts e.backtrace
111
122
  ensure
112
- GC.compact
123
+ GC.auto_compact
113
124
  end
114
125
  end
115
126
 
@@ -120,7 +131,7 @@ module Heart
120
131
  rescue LoadError => e
121
132
  puts e.backtrace
122
133
  ensure
123
- GC.compact
134
+ GC.auto_compact
124
135
  end
125
136
  end
126
137
 
@@ -145,8 +156,11 @@ heat ichi
145
156
  # nyasocom2 project template generated
146
157
  heat ni
147
158
 
148
- # nyasocom_sun_pg_win project template generated
149
- heat sun
159
+ # purplehaze project template generated
160
+ heat purple
161
+
162
+ # hyokaproject templete generated
163
+ heat hyoka
150
164
 
151
165
  # nyasocom_sun_app project template generated
152
166
  heat app
@@ -159,7 +173,7 @@ heat new example
159
173
  heat cook [Folder_Name]
160
174
  heat cook example
161
175
 
162
- # template generation for nyasocom_sun_pg_win
176
+ # template generation for purplehaze
163
177
  heat create [Folder_Name]
164
178
  heat create example
165
179
 
@@ -188,8 +202,9 @@ i = /\Aichi\z/
188
202
  k = /\Acook\z/
189
203
  m = /\Amake\z/
190
204
  n = /\Anew\z/
191
- s = /\Asun\z/
205
+ s = /\Apurple\z/
192
206
  t = /\Ani\z/
207
+ o = /\Ahyoka\z/
193
208
  v = /\A[-][v]\z/
194
209
 
195
210
  one = ARGV[0]
@@ -215,17 +230,19 @@ elsif one.match?(m)
215
230
  elsif one.match?(n)
216
231
  installer
217
232
  elsif one.match?(s)
218
- nyasocom3_downloader
233
+ purplehaze_downloader
219
234
  elsif one.match?(t)
220
235
  nyasocom2_downloader
221
236
  elsif one.match?(v)
222
237
  version
223
238
  elsif one.match?(d)
224
239
  databases
240
+ elsif one.match?(o)
241
+ hyokaproject_downloader
225
242
  else
226
243
  puts 'No such option is found, please refer to the documentation.'
227
244
  end
228
245
 
229
- GC.compact
246
+ GC.auto_compact
230
247
 
231
248
  __END__
data/lib/install.rb CHANGED
@@ -15,7 +15,7 @@ class InstallerRunner
15
15
 
16
16
  def self.create
17
17
  encoding_style
18
- nyasocom_sun_custom_name
18
+ purplehaze_custom_name
19
19
  end
20
20
 
21
21
  def self.cook
@@ -33,9 +33,9 @@ class InstallerRunner
33
33
  nyasocom2_command
34
34
  end
35
35
 
36
- def self.nyasocom3_download
36
+ def self.purplehaze_download
37
37
  encoding_style
38
- nyasocom3_command
38
+ purplehaze_command
39
39
  end
40
40
 
41
41
  def self.nyasocom_app_download
@@ -43,6 +43,11 @@ class InstallerRunner
43
43
  nyasocom_app_command
44
44
  end
45
45
 
46
+ def self.hyokaproject_download
47
+ encoding_style
48
+ hyokaproject
49
+ end
50
+
46
51
  def self.appmakers
47
52
  encoding_style
48
53
  app_maker
@@ -115,19 +120,19 @@ Used nyasocom_frame to clone nyasocom2 with any project name.
115
120
  EOF
116
121
  end
117
122
 
118
- def self.nyasocom_sun_custom_name
123
+ def self.purplehaze_custom_name
119
124
  sun = ARGV[1]
120
125
  FileUtils.mkdir_p("./#{sun}")
121
126
  FileUtils.cd("./#{sun}")
122
- if system('git clone git@github.com:takkii/nyasocom_sun_pg_win.git .', exception: true)
127
+ if system('git clone git@github.com:takkii/purplehaze.git .', exception: true)
123
128
  else
124
- system('git clone https://github.com:takkii/nyasocom_sun_pg_win.git .')
129
+ system('git clone https://github.com:takkii/purplehaze.git .')
125
130
  end
126
131
  FileUtils.rm_rf("./.git")
127
132
  FileUtils.rm_rf("./.github")
128
133
  puts <<-EOF
129
134
 
130
- Used nyasocom_frame to clone nyasocom_sun_pg_win with any project name.
135
+ Used nyasocom_frame to clone purplehaze with any project name.
131
136
 
132
137
  EOF
133
138
  end
@@ -177,17 +182,17 @@ Cloned nyasocom2 with nyasocom_frame.
177
182
  EOF
178
183
  end
179
184
 
180
- def self.nyasocom3_command
181
- if system('git clone git@github.com:takkii/nyasocom_sun_pg_win.git', exception: true)
185
+ def self.purplehaze_command
186
+ if system('git clone git@github.com:takkii/purplehaze.git', exception: true)
182
187
  else
183
- system('git clone https://github.com:takkii/nyasocom_sun_pg_win.git')
188
+ system('git clone https://github.com:takkii/purplehaze.git')
184
189
  end
185
- FileUtils.cd("./nyasocom_sun_pg_win")
190
+ FileUtils.cd("./purplehaze")
186
191
  FileUtils.rm_rf("./.git")
187
192
  FileUtils.rm_rf("./.github")
188
193
  puts <<-EOF
189
194
 
190
- Cloned nyasocom_sun_pg_win with nyasocom_frame.
195
+ Cloned purplehaze with nyasocom_frame.
191
196
 
192
197
  EOF
193
198
  end
@@ -207,6 +212,21 @@ Cloned nyasocom_sun_app with nyasocom_frame.
207
212
  EOF
208
213
  end
209
214
 
215
+ def self.hyokaproject
216
+ if system('git clone git@github.com:takkii/hyokaproject.git', exception: true)
217
+ else
218
+ system('git clone https://github.com:takkii/hyokaproject.git')
219
+ end
220
+ FileUtils.cd("./hyokaproject")
221
+ FileUtils.rm_rf("./.git")
222
+ FileUtils.rm_rf("./.github")
223
+ puts <<-EOF
224
+
225
+ Cloned hyokaproject with nyasocom_frame.
226
+
227
+ EOF
228
+ end
229
+
210
230
  def self.app_maker
211
231
  encoding_style
212
232
  flh = ARGV[1]
data/lib/version.rb CHANGED
@@ -6,7 +6,7 @@ require 'tanraku'
6
6
  class EngineLeft
7
7
  def self.version
8
8
  # 'x.x.x.x'.to_s < '5.x.x.x'.to_s
9
- '4.0.8.1'.to_s
9
+ '4.0.8.2'.to_s
10
10
  end
11
11
  end
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sheltered-girl
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.8.1
4
+ version: 4.0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Kamiyama
@@ -339,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
339
339
  - !ruby/object:Gem::Version
340
340
  version: '0'
341
341
  requirements: []
342
- rubygems_version: 4.0.12
342
+ rubygems_version: 4.0.13
343
343
  specification_version: 4
344
344
  summary: I am set together prototype source code.
345
345
  test_files: []