souls 0.58.0 → 0.58.1
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 +4 -4
- data/lib/souls/cli/init/index.rb +29 -1
- data/lib/souls/version.rb +1 -1
- data/lib/souls/versions/.souls_api_version +1 -1
- data/lib/souls/versions/.souls_worker_version +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0df3e97f09a33df717c37504932a277cc12db4f5ae7afb7f2aac641d102667bf
|
4
|
+
data.tar.gz: 6475f26cd6de63284c674a2f7260fda05d2519d7dabc6480da19d4614bb2b710
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c814aae89079dbca22d511821b8d0dbbfcb5dd6330ad925f790afed826d4e3a97f944b982264293e3e8ba5c06913523e9ce3959f3297a99453a0056a88a8a8b8
|
7
|
+
data.tar.gz: 1e69761fd775545dc58cc8bb5170fba3b3364572bd0fdfb1d8c0c62474b052b4f31ae034174b799d6cbe41fce4197d9c7240679b54719963d0ce3e01dbd2663e
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -114,6 +114,34 @@ module Souls
|
|
114
114
|
puts(e)
|
115
115
|
end
|
116
116
|
|
117
|
+
def get_latest_gem(app_name)
|
118
|
+
file_path = "./#{app_name}/Gemfile"
|
119
|
+
File.open(file_path, "w") do |f|
|
120
|
+
f.write(<<~TEXT)
|
121
|
+
source "https://rubygems.org"
|
122
|
+
|
123
|
+
gem "activesupport", "6.1.4.1"
|
124
|
+
gem "foreman", "0.87.2"
|
125
|
+
gem "google-cloud-pubsub", "2.8.1"
|
126
|
+
gem "paint", "2.2.1"
|
127
|
+
gem "parser", "3.0.2.0"
|
128
|
+
gem "pg", "1.2.3"
|
129
|
+
gem "rake", "13.0.6"
|
130
|
+
gem "rspec", "3.10.0"
|
131
|
+
gem "rubocop", "1.21.0"
|
132
|
+
gem "sinatra-activerecord", "2.0.23"
|
133
|
+
gem "solargraph", "0.43.2"
|
134
|
+
gem "souls", "#{Souls::VERSION}"
|
135
|
+
gem "steep", "0.46.0"
|
136
|
+
gem "thor", "1.1.0"
|
137
|
+
gem "tty-prompt", "0.23.1"
|
138
|
+
gem "whirly", "0.3.0"
|
139
|
+
TEXT
|
140
|
+
end
|
141
|
+
rescue StandardError => e
|
142
|
+
puts(e)
|
143
|
+
end
|
144
|
+
|
117
145
|
def download_souls(app_name: "souls", service_name: "api")
|
118
146
|
version = Souls.get_latest_version_txt(service_name: service_name).join(".")
|
119
147
|
file_name = "#{service_name}-v#{version}.tgz"
|
@@ -129,7 +157,7 @@ module Souls
|
|
129
157
|
system("tar -zxvf ./#{sig_name} -C #{app_name}")
|
130
158
|
|
131
159
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/.rubocop.yml")
|
132
|
-
|
160
|
+
get_latest_gem(app_name)
|
133
161
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Procfile.dev")
|
134
162
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Procfile")
|
135
163
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Steepfile")
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.37.
|
1
|
+
0.37.1
|
@@ -1 +1 @@
|
|
1
|
-
0.37.
|
1
|
+
0.37.1
|