souls 1.7.12 → 1.7.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dae1e1796c9104ed1f44e0cacb0eaf85642003cd814a6c5c2c8f71d2299255be
4
- data.tar.gz: 757b17027794289fe4a2a1f7c47e7c17d1429d7b9f1d291f4e802ca6e9e6ec08
3
+ metadata.gz: bef3c62d91a431d90cdd00edd80f512cbf3520480eea1b21cb9161d8112e7237
4
+ data.tar.gz: f0bced2c46f4a7306f8989034b21f436ae766f98f3c64ab01fc4353c9fd00ed8
5
5
  SHA512:
6
- metadata.gz: e7e74a3a89c8374e1da6933f5f1be6642bc9058e8ce5871f0875a127d8c328c0e44888ac12cc33b0230962c8f8e50a94fa5110e621017c548e3d471f87f7a02d
7
- data.tar.gz: 742970ffc2eefdbf80be52f1bff773236c6223c5798c9b30ca5dad336e787680bf3554e31faf5dd0c35506f933ef786f5a46522097be099274f2bf0dce11afe4
6
+ metadata.gz: f9c8d6f643c6487164047d556392d32185371f735e79da649dd2fe770bcf2ef8fbd682cd554f1e7b4354d5828951c8a5562b8d2594e2a387768e31df1ba47f91
7
+ data.tar.gz: b944219203e9e912650769a714936584c3da5a36a71b0ae10b0712b9db5e927649a49c49d743f753cf11d1992acf88eadd20389212a4dafef8d941eed3ce09f6
@@ -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.12".freeze
2
+ VERSION = "1.7.13".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.7.12
1
+ 1.7.13
@@ -1 +1 @@
1
- 1.7.12
1
+ 1.7.13
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.12
4
+ version: 1.7.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI
8
8
  - KishiTheMechanic
9
9
  - James Neve
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
13
  date: 2021-11-15 00:00:00.000000000 Z
@@ -226,8 +226,8 @@ 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.12
230
- post_install_message:
229
+ changelog_uri: https://github.com/elsoul/souls/releases/tag/v1.7.13
230
+ post_install_message:
231
231
  rdoc_options: []
232
232
  require_paths:
233
233
  - lib
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  version: '0'
244
244
  requirements: []
245
245
  rubygems_version: 3.2.22
246
- signing_key:
246
+ signing_key:
247
247
  specification_version: 4
248
248
  summary: Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep,
249
249
  Active Record, RSpec, RuboCop, and Google Cloud.