souls 0.57.0 → 0.58.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc268f6f98c88667269b2d3e81e45ffb8da2d77fab75560ac5946794b2f8b1c7
|
4
|
+
data.tar.gz: 9df29c1859e693feea435ac8ed64103c1192c49475b53bbbbb2987e34e2aa7f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c92c1a31bdbbd8db8c2a23d014cdac654d925ad16323368d21364f2295c1f604c19bbb5d3e52ce3cd98a65fd9f06ffd8532c0df8fb3bdeeddcf21b1382a0d945
|
7
|
+
data.tar.gz: c7366ed35a93741a2bfdd3243935013333f0b182b497f6f22790b22af921be6369f2d84a255e3d1993590739cf535421e5bec677bbc9d2fed22bc829d66148b4
|
@@ -12,9 +12,9 @@ module Souls
|
|
12
12
|
f.write(<<~TEXT)
|
13
13
|
module Types
|
14
14
|
class #{singularized_class_name.camelize}Edge < BaseObject
|
15
|
-
def self.
|
15
|
+
def self.edge_type: (*untyped) -> untyped
|
16
|
+
def self.node_type: (*untyped) -> untyped
|
16
17
|
def self.global_id_field: (*untyped) -> untyped
|
17
|
-
def self.field: (*untyped) -> untyped
|
18
18
|
def self.connection_type: ()-> untyped
|
19
19
|
end
|
20
20
|
end
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -13,6 +13,7 @@ module Souls
|
|
13
13
|
mother_config_init(app_name: app_name)
|
14
14
|
download_github_actions(app_name: app_name)
|
15
15
|
initial_config_init(app_name: app_name, service_name: service_name)
|
16
|
+
system("cd #{app_name} && souls add_submodule")
|
16
17
|
souls_api_credit(app_name: app_name, service_name: service_name)
|
17
18
|
end
|
18
19
|
|
@@ -113,6 +114,34 @@ module Souls
|
|
113
114
|
puts(e)
|
114
115
|
end
|
115
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
|
+
|
116
145
|
def download_souls(app_name: "souls", service_name: "api")
|
117
146
|
version = Souls.get_latest_version_txt(service_name: service_name).join(".")
|
118
147
|
file_name = "#{service_name}-v#{version}.tgz"
|
@@ -128,10 +157,14 @@ module Souls
|
|
128
157
|
system("tar -zxvf ./#{sig_name} -C #{app_name}")
|
129
158
|
|
130
159
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/.rubocop.yml")
|
131
|
-
|
160
|
+
get_latest_gem(app_name)
|
132
161
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Procfile.dev")
|
133
162
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Procfile")
|
134
163
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Steepfile")
|
164
|
+
system("cd #{app_name} && git init")
|
165
|
+
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/gitignore")
|
166
|
+
system("cd #{app_name} && mv gitignore .gitignore")
|
167
|
+
system("cd #{app_name} && bundle")
|
135
168
|
FileUtils.rm(sig_name)
|
136
169
|
end
|
137
170
|
|
@@ -161,9 +194,6 @@ module Souls
|
|
161
194
|
endroll = <<~TEXT
|
162
195
|
Easy to Run
|
163
196
|
$ cd #{app_name}
|
164
|
-
$ bundle
|
165
|
-
$ git init
|
166
|
-
$ souls add_submodule
|
167
197
|
$ souls check
|
168
198
|
$ cd apps/api && souls s
|
169
199
|
Go To : http://localhost:4000
|
data/lib/souls/utils/index.rb
CHANGED
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.37.2
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.37.2
|
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: 0.
|
4
|
+
version: 0.58.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-09-
|
13
|
+
date: 2021-09-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|