souls 1.7.12 → 1.7.16

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: dae1e1796c9104ed1f44e0cacb0eaf85642003cd814a6c5c2c8f71d2299255be
4
- data.tar.gz: 757b17027794289fe4a2a1f7c47e7c17d1429d7b9f1d291f4e802ca6e9e6ec08
3
+ metadata.gz: 0c4f09da29aaafe247f3bb47cfff18ae564a99aef1c94d9f343e0261a8e70b26
4
+ data.tar.gz: e994c8428714c625d7f472e62b39298d2f9142ffd55387d9297afd02f1f22ed2
5
5
  SHA512:
6
- metadata.gz: e7e74a3a89c8374e1da6933f5f1be6642bc9058e8ce5871f0875a127d8c328c0e44888ac12cc33b0230962c8f8e50a94fa5110e621017c548e3d471f87f7a02d
7
- data.tar.gz: 742970ffc2eefdbf80be52f1bff773236c6223c5798c9b30ca5dad336e787680bf3554e31faf5dd0c35506f933ef786f5a46522097be099274f2bf0dce11afe4
6
+ metadata.gz: 7996adac6349b40e5dbe98765a7b8f2955d75ed8fb6794d9f26ae51a4c2d28db5d8e66c59a56cdc883ad8215d0ccd261abcd91711d8f058ee44eb2edc06a31c7
7
+ data.tar.gz: 50eb32e1e4796b8220ebafff3fe93d3a8b92927b379a394201c921447dac68ac7be027a2d6d5144bae66f1259b79c44b4e626ac1997bf649f14de0e524483f4a
@@ -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}/")
@@ -153,16 +154,16 @@ module Souls
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")
@@ -38,6 +38,7 @@ module Souls
38
38
  write_changelog(current_souls_ver: current_souls_ver)
39
39
  system("gh release create v#{souls_new_ver} -t v#{souls_new_ver} -F ./CHANGELOG.md")
40
40
  system("gsutil -m -q cp -r coverage gs://souls-bucket/souls-coverage")
41
+ system("bundle exec rake upload:init_files")
41
42
  Whirly.status = Paint["soul-v#{souls_new_ver} successfully updated!"]
42
43
  end
43
44
  end
@@ -70,6 +71,7 @@ module Souls
70
71
 
71
72
  overwrite_version(new_version: souls_local_ver)
72
73
  system("gem build souls.gemspec --output #{local_dir}souls-#{souls_local_ver}.gem")
74
+ system("bundle exec rake upload:init_files")
73
75
  Whirly.status = Paint["Done. Created gem at #{local_dir}souls-#{souls_local_ver}.gem"]
74
76
  Whirly.status = Paint["Removing previous versions...", :white]
75
77
  system("gem uninstall souls -x --force")
data/lib/souls/index.rb CHANGED
@@ -1,6 +1,6 @@
1
+ require_relative "./version"
1
2
  require "thor"
2
3
  require_relative "./cli/index"
3
- require_relative "./version"
4
4
  require_relative "./utils/index"
5
5
 
6
6
  module Souls
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.7.12".freeze
2
+ VERSION = "1.7.16".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.7.12
1
+ 1.7.16
@@ -1 +1 @@
1
- 1.7.12
1
+ 1.7.16
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.16
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.16
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.