rhino_project_core 0.21.0.beta.22 → 0.21.0.beta.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/rhino/dev/setup/setup_generator.rb +1 -9
- data/lib/rhino/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: b02c75558e1b11c3b4a75042bfa6b6a4e23d5e86b865175d6f9d9e0a04b5f7cc
|
4
|
+
data.tar.gz: c1ae279a0a78839169aca8ba34c235a970728289afc62a9da146787363712e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 434b3e2aaf80a2ab3073cac593b4fcda2b7ccb9fd2d8c2ebe063e6fd59cb4c2b9e031ea5a0da2f36a3465ef7454aa4fd36227b90e65d0bc0a6901cc988796525
|
7
|
+
data.tar.gz: 51e4d26d672eae771ffa9be2d9519a97b665a395f7c6fc0bffd24c24243b237ad75f0003f3269e86d93bd8f5fcd86520b87053d3b05a95e03fdb11bb128b0b71
|
@@ -33,7 +33,7 @@ module Rhino
|
|
33
33
|
source_root File.expand_path("templates", __dir__)
|
34
34
|
|
35
35
|
def check_existing
|
36
|
-
return unless options[:skip_existing] && File.exist?(
|
36
|
+
return unless options[:skip_existing] && File.exist?(project_file(".env"))
|
37
37
|
|
38
38
|
say "Skipping existing .env files"
|
39
39
|
exit(0)
|
@@ -165,14 +165,6 @@ module Rhino
|
|
165
165
|
File.join(project_dir, file)
|
166
166
|
end
|
167
167
|
|
168
|
-
def client_file(file)
|
169
|
-
File.join(project_dir, "client", file)
|
170
|
-
end
|
171
|
-
|
172
|
-
def server_file(file)
|
173
|
-
File.join(project_dir, "server", file)
|
174
|
-
end
|
175
|
-
|
176
168
|
def ask_prompt(message, default)
|
177
169
|
return default unless options[:prompt]
|
178
170
|
|
data/lib/rhino/version.rb
CHANGED