sheltered-girl 4.0.8.2 → 4.0.8.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7abc8d50b52afb30e136fe1869b9aefc7a170d5114d22d48ff9968772aab7375
4
- data.tar.gz: '0198bb47346d34761569f32391ba18fef66defdacd99e80f8be142116d1b6e61'
3
+ metadata.gz: f7ac0b70bbb925b46bc7b7157363630e503d7f663cc11b4f9f979b51dc705c22
4
+ data.tar.gz: d71bc5efee953fdcb8093ac20c56f120f12e30eeb671ccdb6fbb0a5f23298db7
5
5
  SHA512:
6
- metadata.gz: 6a5027d50250a0bcd0200eaa7fdc6b46641aa4498efd7eee89df08c582ed89878ea33c82f4e4a6e814b97524d1f6edcdb0143114daabc309ca61ab8837577a5f
7
- data.tar.gz: 1061570424890a1b30b444fe39fa14fd8f8e188eebc1baa92ab7955a953c2ac97daa97e6e28d5885f3b45f2fc49a48e4f39138343233563998be743e290d7f88
6
+ metadata.gz: fc065bca0224354cd513a08c8b320c1c4caedcfc17c97be27270dff205ea85cdd98c74a16bf17452290802c43c41a2db6b8aedc39bbe40691cf41e12d1382e1d
7
+ data.tar.gz: 9f0af6b47a2573448b83d3698f0764e9dfdf68a762b97cb8df8ce90f30f58fdb3c10ea4f5d55f7964693620f83531d8293412e8345ccf1f4875937c5ca4aef21
data/bin/bmi-license CHANGED
@@ -9,16 +9,17 @@ class MIT
9
9
 
10
10
  def self.license
11
11
  encoding_style
12
+ one = ARGV[1]
12
13
  puts ''
13
- puts ' LICENSE '.center(60, '-')
14
+ puts ' READING LIST '.center(60, '-')
14
15
  puts ''
15
- File.open("./LICENSE.txt", 'r') do |f|
16
+ File.open(one, 'r') do |f|
16
17
  f.each_line do |line|
17
18
  puts line
18
19
  end
19
20
  end
20
21
  puts ''
21
- puts ' LICENSE '.center(60, '-')
22
+ puts ' READING LIST '.center(60, '-')
22
23
  puts ''
23
24
  end
24
25
 
@@ -97,11 +98,15 @@ begin
97
98
  r = /\Aread|\A-r\z/
98
99
 
99
100
  if one.nil?
100
- puts ''
101
- puts 'This bmi project is MIT license.'
102
- puts ''
103
- puts 'All Option, bmi-license -l | bmi-license license && bmi-license -r | bmi-license read.'
104
- puts ''
101
+ puts <<-EOF
102
+ bmi-license -l LICENSE.txt
103
+
104
+ bmi-license license LICENSE.txt
105
+
106
+ bmi-license -r
107
+
108
+ bmi-license read
109
+ EOF
105
110
  elsif one.match?(l)
106
111
  MIT.license
107
112
  elsif one.match?(r)
@@ -112,7 +117,7 @@ begin
112
117
  rescue StandardError => e
113
118
  puts e.backtrace
114
119
  ensure
115
- GC.compact
120
+ GC.auto_compact
116
121
  end
117
122
 
118
123
  __END__
data/bin/{heat → heats} RENAMED
@@ -8,7 +8,7 @@ begin
8
8
  rescue StandardError => e
9
9
  puts e.backtrace
10
10
  ensure
11
- GC.compact
11
+ GC.auto_compact
12
12
  end
13
13
 
14
14
  __END__
data/lib/frame.rb CHANGED
@@ -5,8 +5,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  require "#{File.dirname(__FILE__)}/../req/frame"
7
7
 
8
- # Heat module
9
- module Heart
8
+ # heats module
9
+ module Hearts
10
10
  module_function
11
11
 
12
12
  def version
@@ -58,10 +58,10 @@ module Heart
58
58
  end
59
59
  end
60
60
 
61
- def nyasocom2_downloader
61
+ def nyasocom_two_downloader
62
62
  require 'install'
63
63
  begin
64
- InstallerRunner.nyasocom2_download
64
+ InstallerRunner.nyasocom_two_download
65
65
  rescue LoadError => e
66
66
  puts e.backtrace
67
67
  ensure
@@ -138,57 +138,57 @@ module Heart
138
138
 
139
139
 
140
140
  def default
141
- str = 'nyasocom_frame is a framework for generating web applications. '
141
+ str = 'nyasocom_frame is a framework, generating templete for existing github project.'
142
142
  puts str
143
143
  end
144
144
 
145
145
  def documents
146
146
  puts text = <<-EOS
147
147
  # nyasocom framework information
148
- heat
148
+ heats
149
149
 
150
150
  # version notation
151
- heat -v
151
+ heats -v
152
152
 
153
153
  # nyasocom_oss project template generated
154
- heat ichi
154
+ heats oss
155
155
 
156
- # nyasocom2 project template generated
157
- heat ni
156
+ # nyasocom_two project template generated
157
+ heats two
158
158
 
159
159
  # purplehaze project template generated
160
- heat purple
160
+ heats purple
161
161
 
162
162
  # hyokaproject templete generated
163
- heat hyoka
163
+ heats hyoka
164
164
 
165
165
  # nyasocom_sun_app project template generated
166
- heat app
166
+ heats app
167
167
 
168
168
  # template generation for nyasocom_oss
169
- heat new [Folder_Name]
170
- heat new example
169
+ heats new [Folder_Name]
170
+ heats new example
171
171
 
172
- # template generation for nyasocom2
173
- heat cook [Folder_Name]
174
- heat cook example
172
+ # template generation for nyasocom_two
173
+ heats cook [Folder_Name]
174
+ heats cook example
175
175
 
176
176
  # template generation for purplehaze
177
- heat create [Folder_Name]
178
- heat create example
177
+ heats create [Folder_Name]
178
+ heats create example
179
179
 
180
180
  # nyasocom_pg project template generated
181
- heat db postgresql
182
- heat db --pg
181
+ heats db postgresql
182
+ heats db --pg
183
183
 
184
184
  # github project templete generated
185
- heat make nyasocom takkii nyasocom_oss
185
+ heats make nyasocom takkii nyasocom_oss
186
186
 
187
187
  # github project templete generated + branch_name
188
- heat branch nyasocom takkii nyasocom_oss main
188
+ heats branch nyasocom takkii nyasocom_oss main
189
189
 
190
190
  # HELP
191
- heat -h
191
+ heats -h
192
192
  EOS
193
193
  end
194
194
  end
@@ -198,18 +198,18 @@ b = /\Abranch\z/
198
198
  c = /\Acreate\z/
199
199
  d = /\Adb\z/
200
200
  h = /\A[-][h]\z/
201
- i = /\Aichi\z/
201
+ i = /\Aoss\z/
202
202
  k = /\Acook\z/
203
203
  m = /\Amake\z/
204
204
  n = /\Anew\z/
205
205
  s = /\Apurple\z/
206
- t = /\Ani\z/
206
+ t = /\Atwo\z/
207
207
  o = /\Ahyoka\z/
208
208
  v = /\A[-][v]\z/
209
209
 
210
210
  one = ARGV[0]
211
211
 
212
- include Heart
212
+ include Hearts
213
213
 
214
214
  if one.nil?
215
215
  default
@@ -232,7 +232,7 @@ elsif one.match?(n)
232
232
  elsif one.match?(s)
233
233
  purplehaze_downloader
234
234
  elsif one.match?(t)
235
- nyasocom2_downloader
235
+ nyasocom_two_downloader
236
236
  elsif one.match?(v)
237
237
  version
238
238
  elsif one.match?(d)
data/lib/frame_version.rb CHANGED
@@ -3,19 +3,17 @@
3
3
  require 'date'
4
4
 
5
5
  begin
6
-
7
6
  # nyasocom_frame version = x.x.x-xxxx.xx.xx
8
7
  module Frame
9
- frame_version = '1.2.3'
8
+ frame_version = '1.3.0'
10
9
  t = Date.today
11
10
  build_day = t.strftime('%Y.%m.%d')
12
11
  FRAME_VERSION = "#{frame_version}-#{build_day}".freeze
13
12
  end
14
-
15
13
  rescue StandardError => e
16
14
  puts e.backtrace
17
15
  ensure
18
- GC.compact
16
+ GC.auto_compact
19
17
  end
20
18
 
21
19
  __END__
data/lib/install.rb CHANGED
@@ -20,7 +20,7 @@ class InstallerRunner
20
20
 
21
21
  def self.cook
22
22
  encoding_style
23
- nyasocom2_custom_name
23
+ nyasocom_two_custom_name
24
24
  end
25
25
 
26
26
  def self.download
@@ -28,9 +28,9 @@ class InstallerRunner
28
28
  nyasocom_command
29
29
  end
30
30
 
31
- def self.nyasocom2_download
31
+ def self.nyasocom_two_download
32
32
  encoding_style
33
- nyasocom2_command
33
+ nyasocom_two_command
34
34
  end
35
35
 
36
36
  def self.purplehaze_download
@@ -103,19 +103,19 @@ Used nyasocom_frame to clone nyasocom_oss with any project name.
103
103
  EOF
104
104
  end
105
105
 
106
- def self.nyasocom2_custom_name
106
+ def self.nyasocom_two_custom_name
107
107
  two = ARGV[1]
108
108
  FileUtils.mkdir_p("./#{two}")
109
109
  FileUtils.cd("./#{two}")
110
- if system('git clone git@github.com:takkii/nyasocom2.git .', exception: true)
110
+ if system('git clone git@github.com:takkii/nyasocom_two.git .', exception: true)
111
111
  else
112
- system('git clone https://github.com:takkii/nyasocom2.git .')
112
+ system('git clone https://github.com:takkii/nyasocom_two.git .')
113
113
  end
114
114
  FileUtils.rm_rf("./.git")
115
115
  FileUtils.rm_rf("./.github")
116
116
  puts <<-EOF
117
117
 
118
- Used nyasocom_frame to clone nyasocom2 with any project name.
118
+ Used nyasocom_frame to clone nyasocom_two with any project name.
119
119
 
120
120
  EOF
121
121
  end
@@ -167,17 +167,17 @@ Cloned nyasocom_pg with nyasocom_frame.
167
167
  EOF
168
168
  end
169
169
 
170
- def self.nyasocom2_command
171
- if system('git clone git@github.com:takkii/nyasocom2.git', exception: true)
170
+ def self.nyasocom_two_command
171
+ if system('git clone git@github.com:takkii/nyasocom_two.git', exception: true)
172
172
  else
173
- system('git clone https://github.com:takkii/nyasocom2.git')
173
+ system('git clone https://github.com:takkii/nyasocom_two.git')
174
174
  end
175
- FileUtils.cd("./nyasocom2")
175
+ FileUtils.cd("./nyasocom_two")
176
176
  FileUtils.rm_rf("./.git")
177
177
  FileUtils.rm_rf("./.github")
178
178
  puts <<-EOF
179
179
 
180
- Cloned nyasocom2 with nyasocom_frame.
180
+ Cloned nyasocom_two with nyasocom_frame.
181
181
 
182
182
  EOF
183
183
  end
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.2'.to_s
9
+ '4.0.8.3'.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.2
4
+ version: 4.0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Kamiyama
@@ -183,7 +183,7 @@ executables:
183
183
  - aqua
184
184
  - bmi
185
185
  - bmi-license
186
- - heat
186
+ - heats
187
187
  - katakana
188
188
  - koyomi
189
189
  - romaji
@@ -204,7 +204,7 @@ files:
204
204
  - bin/aqua
205
205
  - bin/bmi
206
206
  - bin/bmi-license
207
- - bin/heat
207
+ - bin/heats
208
208
  - bin/katakana
209
209
  - bin/koyomi
210
210
  - bin/romaji