sheltered-girl 4.0.4.5 → 4.0.5

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 (104) hide show
  1. checksums.yaml +4 -4
  2. data/.env +3 -3
  3. data/Gemfile +2 -2
  4. data/README.md +11 -11
  5. data/bin/aqua +247 -247
  6. data/bin/bmi +56 -56
  7. data/bin/bmi-license +118 -118
  8. data/bin/heat +14 -14
  9. data/bin/katakana +35 -35
  10. data/bin/koyomi +55 -55
  11. data/bin/romaji +34 -34
  12. data/bin/sheltered-girl +317 -317
  13. data/bin/speak +42 -57
  14. data/bin/tenji +42 -42
  15. data/bin/tenji_log +42 -42
  16. data/bin/tweet +79 -79
  17. data/lib/all.rb +45 -45
  18. data/lib/all_log.rb +50 -50
  19. data/lib/and.rb +48 -48
  20. data/lib/autocal.rb +21 -21
  21. data/lib/bmi.rb +28 -28
  22. data/lib/bmi_version.rb +21 -21
  23. data/lib/calendar.rb +17 -17
  24. data/lib/count.rb +43 -43
  25. data/lib/decript.rb +20 -20
  26. data/lib/druby_erb.rb +45 -45
  27. data/lib/druby_reci.rb +23 -23
  28. data/lib/feed.rb +13 -13
  29. data/lib/frame.rb +212 -212
  30. data/lib/frame_version.rb +21 -21
  31. data/lib/gc.rb +17 -17
  32. data/lib/gem_version.rb +9 -9
  33. data/lib/himekuri.rb +175 -175
  34. data/lib/himekuri_version.rb +21 -21
  35. data/lib/hyaku.rb +55 -55
  36. data/lib/install.rb +230 -230
  37. data/lib/katakana.rb +666 -666
  38. data/lib/kome.rb +41 -41
  39. data/lib/mail.rb +47 -47
  40. data/lib/match.rb +50 -50
  41. data/lib/mini.rb +47 -47
  42. data/lib/minitest/full_runner.rb +105 -105
  43. data/lib/minitest/runner.rb +74 -74
  44. data/lib/not.rb +48 -48
  45. data/lib/or.rb +49 -49
  46. data/lib/require_sec_seiki.rb +2 -2
  47. data/lib/rice.rb +37 -37
  48. data/lib/romaji.rb +666 -666
  49. data/lib/saikoro.rb +17 -17
  50. data/lib/seiki.rb +12 -12
  51. data/lib/suihan.rb +40 -40
  52. data/lib/summa.rb +14 -14
  53. data/lib/tanraku.rb +156 -156
  54. data/lib/tenji.rb +4715 -4715
  55. data/lib/tenji_log.rb +4715 -4715
  56. data/lib/timestamp.py +61 -61
  57. data/lib/title.rb +16 -16
  58. data/lib/tubuyaki.rb +71 -71
  59. data/lib/tubuyaki_memo.rb +87 -87
  60. data/lib/tweet_cmd.rb +27 -27
  61. data/lib/version.rb +21 -19
  62. data/lib/zella.rb +46 -46
  63. data/req/aqua.rb +8 -8
  64. data/req/bmi.rb +6 -6
  65. data/req/frame.rb +7 -7
  66. data/req/full_run.rb +20 -20
  67. data/req/full_runner.rb +8 -8
  68. data/req/himekuri.rb +7 -7
  69. data/req/katakana.rb +7 -7
  70. data/req/koyomi.rb +6 -6
  71. data/req/mini_run.rb +20 -20
  72. data/req/romaji.rb +7 -7
  73. data/req/rubygems.rb +12 -12
  74. data/req/runner.rb +8 -8
  75. data/req/sheltered-girl.rb +7 -7
  76. data/req/speak.rb +19 -10
  77. data/req/zella.rb +4 -4
  78. data/runner/full.rb +57 -57
  79. data/runner/katakana.rb +110 -110
  80. data/runner/mini.rb +57 -57
  81. data/runner/romaji.rb +110 -110
  82. data/shell/romaji_runner_1.rb +669 -669
  83. data/shell/romaji_runner_10.rb +669 -669
  84. data/shell/romaji_runner_2.rb +669 -669
  85. data/shell/romaji_runner_3.rb +669 -669
  86. data/shell/romaji_runner_4.rb +669 -669
  87. data/shell/romaji_runner_5.rb +669 -669
  88. data/shell/romaji_runner_6.rb +669 -669
  89. data/shell/romaji_runner_7.rb +669 -669
  90. data/shell/romaji_runner_8.rb +669 -669
  91. data/shell/romaji_runner_9.rb +669 -669
  92. data/shell_ka/katakana_runner_1.rb +669 -669
  93. data/shell_ka/katakana_runner_10.rb +669 -669
  94. data/shell_ka/katakana_runner_2.rb +669 -669
  95. data/shell_ka/katakana_runner_3.rb +669 -669
  96. data/shell_ka/katakana_runner_4.rb +669 -669
  97. data/shell_ka/katakana_runner_5.rb +669 -669
  98. data/shell_ka/katakana_runner_6.rb +669 -669
  99. data/shell_ka/katakana_runner_7.rb +669 -669
  100. data/shell_ka/katakana_runner_8.rb +669 -669
  101. data/shell_ka/katakana_runner_9.rb +669 -669
  102. data/sheltered-girl.gemspec +46 -46
  103. data/wiki/README.md +69 -69
  104. metadata +1 -1
data/lib/install.rb CHANGED
@@ -1,230 +1,230 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
-
6
- require "#{File.dirname(__FILE__)}/../req/frame"
7
-
8
- # Installer runner.
9
- class InstallerRunner
10
-
11
- def self.install
12
- encoding_style
13
- nyasocom_custom_name
14
- end
15
-
16
- def self.create
17
- encoding_style
18
- nyasocom_sun_custom_name
19
- end
20
-
21
- def self.cook
22
- encoding_style
23
- nyasocom2_custom_name
24
- end
25
-
26
- def self.download
27
- encoding_style
28
- nyasocom_command
29
- end
30
-
31
- def self.nyasocom2_download
32
- encoding_style
33
- nyasocom2_command
34
- end
35
-
36
- def self.nyasocom3_download
37
- encoding_style
38
- nyasocom3_command
39
- end
40
-
41
- def self.nyasocom_app_download
42
- encoding_style
43
- nyasocom_app_command
44
- end
45
-
46
- def self.appmakers
47
- encoding_style
48
- app_maker
49
- end
50
-
51
- def self.database
52
- encoding_style
53
- two = ARGV[1]
54
-
55
- pt = /\Apostgresql\z/
56
- pg = /\A--pg\z/
57
-
58
- if two.nil?
59
- puts <<-EOF
60
-
61
- nyasocom_pg project, clone command.
62
-
63
- heat db postgresql
64
-
65
- heat db --pg
66
-
67
- EOF
68
- elsif two.match?(pt)
69
- postgresql
70
- elsif two.match?(pg)
71
- postgresql
72
- else
73
- puts 'No such option is found, please refer to the documentation.'
74
- end
75
- end
76
-
77
- private
78
-
79
- def self.encoding_style
80
- Encoding.default_internal = 'UTF-8'
81
- Encoding.default_external = 'UTF-8'
82
- end
83
-
84
- def self.nyasocom_custom_name
85
- one = ARGV[1]
86
- FileUtils.mkdir_p("./#{one}")
87
- FileUtils.cd("./#{one}")
88
- if system('git clone git@github.com:takkii/nyasocom_oss.git .', exception: true)
89
- else
90
- system('git clone https://github.com:takkii/nyasocom_oss.git .')
91
- end
92
- FileUtils.rm_rf("./.git")
93
- FileUtils.rm_rf("./.github")
94
- puts <<-EOF
95
-
96
- Used nyasocom_frame to clone nyasocom_oss with any project name.
97
-
98
- EOF
99
- end
100
-
101
- def self.nyasocom2_custom_name
102
- two = ARGV[1]
103
- FileUtils.mkdir_p("./#{two}")
104
- FileUtils.cd("./#{two}")
105
- if system('git clone git@github.com:takkii/nyasocom2.git .', exception: true)
106
- else
107
- system('git clone https://github.com:takkii/nyasocom2.git .')
108
- end
109
- FileUtils.rm_rf("./.git")
110
- FileUtils.rm_rf("./.github")
111
- puts <<-EOF
112
-
113
- Used nyasocom_frame to clone nyasocom2 with any project name.
114
-
115
- EOF
116
- end
117
-
118
- def self.nyasocom_sun_custom_name
119
- sun = ARGV[1]
120
- FileUtils.mkdir_p("./#{sun}")
121
- FileUtils.cd("./#{sun}")
122
- if system('git clone git@github.com:takkii/nyasocom_sun_pg_win.git .', exception: true)
123
- else
124
- system('git clone https://github.com:takkii/nyasocom_sun_pg_win.git .')
125
- end
126
- FileUtils.rm_rf("./.git")
127
- FileUtils.rm_rf("./.github")
128
- puts <<-EOF
129
-
130
- Used nyasocom_frame to clone nyasocom_sun_pg_win with any project name.
131
-
132
- EOF
133
- end
134
-
135
- def self.nyasocom_command
136
- if system('git clone git@github.com:takkii/nyasocom_oss.git', exception: true)
137
- else
138
- system('git clone https://github.com:takkii/nyasocom_oss.git')
139
- end
140
- FileUtils.cd("./nyasocom_oss")
141
- FileUtils.rm_rf("./.git")
142
- FileUtils.rm_rf("./.github")
143
- puts <<-EOF
144
-
145
- Cloned nyasocom_oss with nyasocom_frame.
146
-
147
- EOF
148
- end
149
-
150
- def self.postgresql
151
- if system('git clone git@github.com:takkii/nyasocom_pg.git', exception: true)
152
- else
153
- system('git clone https://github.com:takkii/nyasocom_pg.git')
154
- end
155
- FileUtils.cd("./nyasocom_pg")
156
- FileUtils.rm_rf("./.git")
157
- FileUtils.rm_rf("./.github")
158
- puts <<-EOF
159
-
160
- Cloned nyasocom_pg with nyasocom_frame.
161
-
162
- EOF
163
- end
164
-
165
- def self.nyasocom2_command
166
- if system('git clone git@github.com:takkii/nyasocom2.git', exception: true)
167
- else
168
- system('git clone https://github.com:takkii/nyasocom2.git')
169
- end
170
- FileUtils.cd("./nyasocom2")
171
- FileUtils.rm_rf("./.git")
172
- FileUtils.rm_rf("./.github")
173
- puts <<-EOF
174
-
175
- Cloned nyasocom2 with nyasocom_frame.
176
-
177
- EOF
178
- end
179
-
180
- def self.nyasocom3_command
181
- if system('git clone git@github.com:takkii/nyasocom_sun_pg_win.git', exception: true)
182
- else
183
- system('git clone https://github.com:takkii/nyasocom_sun_pg_win.git')
184
- end
185
- FileUtils.cd("./nyasocom_sun_pg_win")
186
- FileUtils.rm_rf("./.git")
187
- FileUtils.rm_rf("./.github")
188
- puts <<-EOF
189
-
190
- Cloned nyasocom_sun_pg_win with nyasocom_frame.
191
-
192
- EOF
193
- end
194
-
195
- def self.nyasocom_app_command
196
- if system('git clone git@github.com:takkii/nyasocom_sun_app.git', exception: true)
197
- else
198
- system('git clone https://github.com:takkii/nyasocom_sun_app.git')
199
- end
200
- FileUtils.cd("./nyasocom_sun_app")
201
- FileUtils.rm_rf("./.git")
202
- FileUtils.rm_rf("./.github")
203
- puts <<-EOF
204
-
205
- Cloned nyasocom_sun_app with nyasocom_frame.
206
-
207
- EOF
208
- end
209
-
210
- def self.app_maker
211
- encoding_style
212
- flh = ARGV[1]
213
- gph = ARGV[2]
214
- FileUtils.mkdir_p("./#{flh}")
215
- FileUtils.cd("./#{flh}")
216
- if system("git clone git@github.com:#{gph}.git .", exception: true)
217
- else
218
- system("git clone https://github.com:#{gph}.git .")
219
- end
220
- FileUtils.rm_rf("./.git")
221
- FileUtils.rm_rf("./.github")
222
- puts <<-EOF
223
-
224
- Cloned GitHub project with app-maker.
225
-
226
- EOF
227
- end
228
- end
229
-
230
- __END__
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
6
+ require "#{File.dirname(__FILE__)}/../req/frame"
7
+
8
+ # Installer runner.
9
+ class InstallerRunner
10
+
11
+ def self.install
12
+ encoding_style
13
+ nyasocom_custom_name
14
+ end
15
+
16
+ def self.create
17
+ encoding_style
18
+ nyasocom_sun_custom_name
19
+ end
20
+
21
+ def self.cook
22
+ encoding_style
23
+ nyasocom2_custom_name
24
+ end
25
+
26
+ def self.download
27
+ encoding_style
28
+ nyasocom_command
29
+ end
30
+
31
+ def self.nyasocom2_download
32
+ encoding_style
33
+ nyasocom2_command
34
+ end
35
+
36
+ def self.nyasocom3_download
37
+ encoding_style
38
+ nyasocom3_command
39
+ end
40
+
41
+ def self.nyasocom_app_download
42
+ encoding_style
43
+ nyasocom_app_command
44
+ end
45
+
46
+ def self.appmakers
47
+ encoding_style
48
+ app_maker
49
+ end
50
+
51
+ def self.database
52
+ encoding_style
53
+ two = ARGV[1]
54
+
55
+ pt = /\Apostgresql\z/
56
+ pg = /\A--pg\z/
57
+
58
+ if two.nil?
59
+ puts <<-EOF
60
+
61
+ nyasocom_pg project, clone command.
62
+
63
+ heat db postgresql
64
+
65
+ heat db --pg
66
+
67
+ EOF
68
+ elsif two.match?(pt)
69
+ postgresql
70
+ elsif two.match?(pg)
71
+ postgresql
72
+ else
73
+ puts 'No such option is found, please refer to the documentation.'
74
+ end
75
+ end
76
+
77
+ private
78
+
79
+ def self.encoding_style
80
+ Encoding.default_internal = 'UTF-8'
81
+ Encoding.default_external = 'UTF-8'
82
+ end
83
+
84
+ def self.nyasocom_custom_name
85
+ one = ARGV[1]
86
+ FileUtils.mkdir_p("./#{one}")
87
+ FileUtils.cd("./#{one}")
88
+ if system('git clone git@github.com:takkii/nyasocom_oss.git .', exception: true)
89
+ else
90
+ system('git clone https://github.com:takkii/nyasocom_oss.git .')
91
+ end
92
+ FileUtils.rm_rf("./.git")
93
+ FileUtils.rm_rf("./.github")
94
+ puts <<-EOF
95
+
96
+ Used nyasocom_frame to clone nyasocom_oss with any project name.
97
+
98
+ EOF
99
+ end
100
+
101
+ def self.nyasocom2_custom_name
102
+ two = ARGV[1]
103
+ FileUtils.mkdir_p("./#{two}")
104
+ FileUtils.cd("./#{two}")
105
+ if system('git clone git@github.com:takkii/nyasocom2.git .', exception: true)
106
+ else
107
+ system('git clone https://github.com:takkii/nyasocom2.git .')
108
+ end
109
+ FileUtils.rm_rf("./.git")
110
+ FileUtils.rm_rf("./.github")
111
+ puts <<-EOF
112
+
113
+ Used nyasocom_frame to clone nyasocom2 with any project name.
114
+
115
+ EOF
116
+ end
117
+
118
+ def self.nyasocom_sun_custom_name
119
+ sun = ARGV[1]
120
+ FileUtils.mkdir_p("./#{sun}")
121
+ FileUtils.cd("./#{sun}")
122
+ if system('git clone git@github.com:takkii/nyasocom_sun_pg_win.git .', exception: true)
123
+ else
124
+ system('git clone https://github.com:takkii/nyasocom_sun_pg_win.git .')
125
+ end
126
+ FileUtils.rm_rf("./.git")
127
+ FileUtils.rm_rf("./.github")
128
+ puts <<-EOF
129
+
130
+ Used nyasocom_frame to clone nyasocom_sun_pg_win with any project name.
131
+
132
+ EOF
133
+ end
134
+
135
+ def self.nyasocom_command
136
+ if system('git clone git@github.com:takkii/nyasocom_oss.git', exception: true)
137
+ else
138
+ system('git clone https://github.com:takkii/nyasocom_oss.git')
139
+ end
140
+ FileUtils.cd("./nyasocom_oss")
141
+ FileUtils.rm_rf("./.git")
142
+ FileUtils.rm_rf("./.github")
143
+ puts <<-EOF
144
+
145
+ Cloned nyasocom_oss with nyasocom_frame.
146
+
147
+ EOF
148
+ end
149
+
150
+ def self.postgresql
151
+ if system('git clone git@github.com:takkii/nyasocom_pg.git', exception: true)
152
+ else
153
+ system('git clone https://github.com:takkii/nyasocom_pg.git')
154
+ end
155
+ FileUtils.cd("./nyasocom_pg")
156
+ FileUtils.rm_rf("./.git")
157
+ FileUtils.rm_rf("./.github")
158
+ puts <<-EOF
159
+
160
+ Cloned nyasocom_pg with nyasocom_frame.
161
+
162
+ EOF
163
+ end
164
+
165
+ def self.nyasocom2_command
166
+ if system('git clone git@github.com:takkii/nyasocom2.git', exception: true)
167
+ else
168
+ system('git clone https://github.com:takkii/nyasocom2.git')
169
+ end
170
+ FileUtils.cd("./nyasocom2")
171
+ FileUtils.rm_rf("./.git")
172
+ FileUtils.rm_rf("./.github")
173
+ puts <<-EOF
174
+
175
+ Cloned nyasocom2 with nyasocom_frame.
176
+
177
+ EOF
178
+ end
179
+
180
+ def self.nyasocom3_command
181
+ if system('git clone git@github.com:takkii/nyasocom_sun_pg_win.git', exception: true)
182
+ else
183
+ system('git clone https://github.com:takkii/nyasocom_sun_pg_win.git')
184
+ end
185
+ FileUtils.cd("./nyasocom_sun_pg_win")
186
+ FileUtils.rm_rf("./.git")
187
+ FileUtils.rm_rf("./.github")
188
+ puts <<-EOF
189
+
190
+ Cloned nyasocom_sun_pg_win with nyasocom_frame.
191
+
192
+ EOF
193
+ end
194
+
195
+ def self.nyasocom_app_command
196
+ if system('git clone git@github.com:takkii/nyasocom_sun_app.git', exception: true)
197
+ else
198
+ system('git clone https://github.com:takkii/nyasocom_sun_app.git')
199
+ end
200
+ FileUtils.cd("./nyasocom_sun_app")
201
+ FileUtils.rm_rf("./.git")
202
+ FileUtils.rm_rf("./.github")
203
+ puts <<-EOF
204
+
205
+ Cloned nyasocom_sun_app with nyasocom_frame.
206
+
207
+ EOF
208
+ end
209
+
210
+ def self.app_maker
211
+ encoding_style
212
+ flh = ARGV[1]
213
+ gph = ARGV[2]
214
+ FileUtils.mkdir_p("./#{flh}")
215
+ FileUtils.cd("./#{flh}")
216
+ if system("git clone git@github.com:#{gph}.git .", exception: true)
217
+ else
218
+ system("git clone https://github.com:#{gph}.git .")
219
+ end
220
+ FileUtils.rm_rf("./.git")
221
+ FileUtils.rm_rf("./.github")
222
+ puts <<-EOF
223
+
224
+ Cloned GitHub project with app-maker.
225
+
226
+ EOF
227
+ end
228
+ end
229
+
230
+ __END__