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: e561e4f0d34242b5c9038a1891be6e8afdfac703895e9f877e188f3de285d83c
4
- data.tar.gz: 8efaf89f3c7c17f14e18e6d5d5e617d536a935a1642b60c630acfa1bea0caf75
3
+ metadata.gz: bef3c62d91a431d90cdd00edd80f512cbf3520480eea1b21cb9161d8112e7237
4
+ data.tar.gz: f0bced2c46f4a7306f8989034b21f436ae766f98f3c64ab01fc4353c9fd00ed8
5
5
  SHA512:
6
- metadata.gz: cd18288e94e51ad2264cb67bda1fab5904d9e1fb45a9c60e763e243564dabe6378560d9ec7c0e0f0ae2d3a7b5844c66cf24cd68f34cf72f951a63a4e0174523d
7
- data.tar.gz: 87c3514e482f00d977031778778ee61557be85142b2eae12b52ee3e6ecfd8a443f34bc8c7a0f0717a3760d52246767113d1d003d5597809348d7ecd10a46e6a2
6
+ metadata.gz: f9c8d6f643c6487164047d556392d32185371f735e79da649dd2fe770bcf2ef8fbd682cd554f1e7b4354d5828951c8a5562b8d2594e2a387768e31df1ba47f91
7
+ data.tar.gz: b944219203e9e912650769a714936584c3da5a36a71b0ae10b0712b9db5e927649a49c49d743f753cf11d1992acf88eadd20389212a4dafef8d941eed3ce09f6
@@ -32,6 +32,8 @@ module Souls
32
32
  type Types::#{class_name.camelize}Type, null: false
33
33
 
34
34
  def resolve
35
+ # Difine method here
36
+ { response: "Job done!" }
35
37
  end
36
38
  end
37
39
  end
@@ -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
@@ -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 = "https://storage.googleapis.com/souls-bucket/boilerplates/github_actions/github.tgz"
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 = "https://storage.googleapis.com/souls-bucket/boilerplates/#{service_name.pluralize}/#{file_name}"
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 = "https://storage.googleapis.com/souls-bucket/boilerplates/sig/#{sig_name}"
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 https://storage.googleapis.com/souls-bucket/boilerplates/.rubocop.yml")
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 https://storage.googleapis.com/souls-bucket/boilerplates/Procfile.dev")
163
- system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Procfile")
164
- system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Steepfile")
165
- system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/gitignore")
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.7.9".freeze
2
+ VERSION = "1.7.13".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.7.9
1
+ 1.7.13
@@ -1 +1 @@
1
- 1.7.9
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.9
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.9
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: