souls 1.7.9 → 1.7.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bef3c62d91a431d90cdd00edd80f512cbf3520480eea1b21cb9161d8112e7237
|
4
|
+
data.tar.gz: f0bced2c46f4a7306f8989034b21f436ae766f98f3c64ab01fc4353c9fd00ed8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c8d6f643c6487164047d556392d32185371f735e79da649dd2fe770bcf2ef8fbd682cd554f1e7b4354d5828951c8a5562b8d2594e2a387768e31df1ba47f91
|
7
|
+
data.tar.gz: b944219203e9e912650769a714936584c3da5a36a71b0ae10b0712b9db5e927649a49c49d743f753cf11d1992acf88eadd20389212a4dafef8d941eed3ce09f6
|
@@ -13,7 +13,6 @@ module Souls
|
|
13
13
|
File.open(file_path, "w") do |f|
|
14
14
|
f.write(<<~TEXT)
|
15
15
|
module Queries
|
16
|
-
String: String
|
17
16
|
class #{singularized_class_name.camelize} < BaseQuery
|
18
17
|
def self.description: (String) -> untyped
|
19
18
|
def self.field: (:response, String, null: false) -> untyped
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
module Souls
|
2
2
|
class CLI < Thor
|
3
|
+
@bucket_url = "https://storage.googleapis.com/souls-bucket/boilerplates/#{Souls::VERSION}"
|
3
4
|
desc "new [APP_NAME]", "Create SOULs APP"
|
4
5
|
def new(app_name)
|
5
6
|
if app_name.nil?
|
@@ -84,7 +85,7 @@ module Souls
|
|
84
85
|
|
85
86
|
def download_github_actions(app_name: "souls-app")
|
86
87
|
file_name = "github.tgz"
|
87
|
-
url = "
|
88
|
+
url = "#{@bucket_url}/github_actions/github.tgz"
|
88
89
|
system("curl -OL #{url}")
|
89
90
|
FileUtils.mkdir_p("#{app_name}/github")
|
90
91
|
system("tar -zxvf ./#{file_name} -C #{app_name}/")
|
@@ -146,23 +147,23 @@ module Souls
|
|
146
147
|
def download_souls(app_name: "souls", service_name: "api")
|
147
148
|
version = Souls.get_latest_version_txt(service_name: service_name).join(".")
|
148
149
|
file_name = "#{service_name}-v#{version}.tgz"
|
149
|
-
url = "
|
150
|
+
url = "#{@bucket_url}/#{service_name.pluralize}/#{file_name}"
|
150
151
|
system("curl -OL #{url}")
|
151
152
|
system("mkdir -p #{app_name}/apps/#{service_name}")
|
152
153
|
system("tar -zxvf ./#{file_name} -C #{app_name}/apps/")
|
153
154
|
FileUtils.rm(file_name)
|
154
155
|
|
155
156
|
sig_name = "sig.tgz"
|
156
|
-
url = "
|
157
|
+
url = "#{@bucket_url}/sig/#{sig_name}"
|
157
158
|
system("curl -OL #{url}")
|
158
159
|
system("tar -zxvf ./#{sig_name} -C #{app_name}")
|
159
160
|
|
160
|
-
system("cd #{app_name} && curl -OL
|
161
|
+
system("cd #{app_name} && curl -OL #{@bucket_url}/.rubocop.yml")
|
161
162
|
get_latest_gem(app_name)
|
162
|
-
system("cd #{app_name} && curl -OL
|
163
|
-
system("cd #{app_name} && curl -OL
|
164
|
-
system("cd #{app_name} && curl -OL
|
165
|
-
system("cd #{app_name} && curl -OL
|
163
|
+
system("cd #{app_name} && curl -OL #{@bucket_url}/Procfile.dev")
|
164
|
+
system("cd #{app_name} && curl -OL #{@bucket_url}/Procfile")
|
165
|
+
system("cd #{app_name} && curl -OL #{@bucket_url}/Steepfile")
|
166
|
+
system("cd #{app_name} && curl -OL #{@bucket_url}/gitignore")
|
166
167
|
system("cd #{app_name} && mv gitignore .gitignore")
|
167
168
|
system("cd #{app_name} && bundle")
|
168
169
|
system("cd #{app_name}/apps/api && bundle")
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.
|
1
|
+
1.7.13
|
@@ -1 +1 @@
|
|
1
|
-
1.7.
|
1
|
+
1.7.13
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -226,7 +226,7 @@ licenses:
|
|
226
226
|
metadata:
|
227
227
|
homepage_uri: https://souls.elsoul.nl
|
228
228
|
source_code_uri: https://github.com/elsoul/souls
|
229
|
-
changelog_uri: https://github.com/elsoul/souls/releases/tag/v1.7.
|
229
|
+
changelog_uri: https://github.com/elsoul/souls/releases/tag/v1.7.13
|
230
230
|
post_install_message:
|
231
231
|
rdoc_options: []
|
232
232
|
require_paths:
|