souls 1.7.14 → 1.7.18

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: 307934f150ab50c92f8fb9c88a6719a7838a90f96578a4e7a195cc9947f82f13
4
- data.tar.gz: 9cde999ed55582f897a6fe35dda2810e5e9550e259f0083e2f1814037936915c
3
+ metadata.gz: 243bda089f37cc48e7e1f3b89df0bff779a5efb0b107b10318f467c6c2c1976d
4
+ data.tar.gz: e20a991e0c5542b463b0bc6232ac96b30c7f94929a33ce11e4e8479190501258
5
5
  SHA512:
6
- metadata.gz: 6386be6ff45c8101fc31b213855a6baad643594b29edd604264ed945d810fe0dd50f36c2acda9db3ca7a50e3398469369d04d865ef674d15f8e90015da18ce35
7
- data.tar.gz: be9871bb2270c033ffcff9d48bc6a8911c544679f966910e6dd3be100e99bfbf8b4bd6a5c06d1f30ec001f9fbd7cdb773c27645cd7aca6341b8cf2959351b2d1
6
+ metadata.gz: eafa438f3bd09a8986e81405b5dda53cc86bf1467b309febff614d90176914d02e4f9b02e8cfb51b91bb4b3c44f9aa91ffb51ddfdedb23b89337a6023ad16920
7
+ data.tar.gz: 9ee8c8cb2a4645051c48a15ae870fca9d8620e2d78df08218ed697e312d89d55d577568f22a6f10382c7ccaf0da5663d5d3812e41d410e1f521256717a88231f
@@ -1,6 +1,10 @@
1
1
  module Souls
2
2
  class CLI < Thor
3
- @bucket_url = "https://storage.googleapis.com/souls-bucket/boilerplates/#{::Souls::VERSION}"
3
+ def initialize(*_args)
4
+ super
5
+ @bucket_url = "https://storage.googleapis.com/souls-bucket/boilerplates/#{Souls::VERSION}"
6
+ end
7
+
4
8
  desc "new [APP_NAME]", "Create SOULs APP"
5
9
  def new(app_name)
6
10
  if app_name.nil?
@@ -147,7 +151,7 @@ module Souls
147
151
  def download_souls(app_name: "souls", service_name: "api")
148
152
  version = Souls.get_latest_version_txt(service_name: service_name).join(".")
149
153
  file_name = "#{service_name}-v#{version}.tgz"
150
- url = "#{@bucket_url}/#{service_name.pluralize}/#{file_name}"
154
+ url = "https://storage.googleapis.com/souls-bucket/boilerplates/#{service_name.pluralize}/#{file_name}"
151
155
  system("curl -OL #{url}")
152
156
  system("mkdir -p #{app_name}/apps/#{service_name}")
153
157
  system("tar -zxvf ./#{file_name} -C #{app_name}/apps/")
@@ -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/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.7.14".freeze
2
+ VERSION = "1.7.18".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.7.14
1
+ 1.7.18
@@ -1 +1 @@
1
- 1.7.14
1
+ 1.7.18
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.14
4
+ version: 1.7.18
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.14
229
+ changelog_uri: https://github.com/elsoul/souls/releases/tag/v1.7.18
230
230
  post_install_message:
231
231
  rdoc_options: []
232
232
  require_paths: