souls 0.24.2 → 0.24.6
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/exe/souls +12 -1
- data/lib/souls.rb +54 -0
- data/lib/souls/init.rb +37 -16
- data/lib/souls/version.rb +1 -1
- metadata +16 -191
- data/.gitignore +0 -15
- data/.irbrc +0 -3
- data/.rspec +0 -3
- data/.rubocop.yml +0 -152
- data/.ruby-version +0 -1
- data/.travis.yml +0 -6
- data/Gemfile +0 -13
- data/Gemfile.lock +0 -98
- data/Rakefile +0 -23
- data/Steepfile +0 -8
- data/apps/api/.env.sample +0 -7
- data/apps/api/.gitignore +0 -32
- data/apps/api/.irbrc +0 -4
- data/apps/api/.rspec +0 -3
- data/apps/api/.rubocop.yml +0 -132
- data/apps/api/.ruby-version +0 -1
- data/apps/api/CODE_OF_CONDUCT.md +0 -74
- data/apps/api/Dockerfile +0 -16
- data/apps/api/Dockerfile.dev +0 -17
- data/apps/api/Gemfile +0 -50
- data/apps/api/Gemfile.lock +0 -412
- data/apps/api/LICENSE.txt +0 -67
- data/apps/api/Procfile +0 -2
- data/apps/api/Procfile.dev +0 -2
- data/apps/api/README.md +0 -37
- data/apps/api/Rakefile +0 -5
- data/apps/api/app.rb +0 -114
- data/apps/api/app/engines/notification_engine.rb +0 -5
- data/apps/api/app/graphql/mutations/.keep +0 -0
- data/apps/api/app/graphql/mutations/base/article/create_article.rb +0 -30
- data/apps/api/app/graphql/mutations/base/article/delete_article.rb +0 -17
- data/apps/api/app/graphql/mutations/base/article/destroy_delete_article.rb +0 -17
- data/apps/api/app/graphql/mutations/base/article/update_article.rb +0 -30
- data/apps/api/app/graphql/mutations/base/article_category/create_article_category.rb +0 -21
- data/apps/api/app/graphql/mutations/base/article_category/delete_article_category.rb +0 -17
- data/apps/api/app/graphql/mutations/base/article_category/destroy_delete_article_category.rb +0 -17
- data/apps/api/app/graphql/mutations/base/article_category/update_article_category.rb +0 -21
- data/apps/api/app/graphql/mutations/base/user/create_user.rb +0 -31
- data/apps/api/app/graphql/mutations/base/user/delete_user.rb +0 -17
- data/apps/api/app/graphql/mutations/base/user/destroy_delete_user.rb +0 -17
- data/apps/api/app/graphql/mutations/base/user/update_user.rb +0 -31
- data/apps/api/app/graphql/mutations/base_mutation.rb +0 -65
- data/apps/api/app/graphql/mutations/managers/user_manager/add_user_role.rb +0 -22
- data/apps/api/app/graphql/mutations/managers/user_manager/remove_user_role.rb +0 -22
- data/apps/api/app/graphql/mutations/managers/user_manager/sign_in_user.rb +0 -45
- data/apps/api/app/graphql/queries/article.rb +0 -13
- data/apps/api/app/graphql/queries/article_categories.rb +0 -11
- data/apps/api/app/graphql/queries/article_category.rb +0 -13
- data/apps/api/app/graphql/queries/articles.rb +0 -11
- data/apps/api/app/graphql/queries/base_query.rb +0 -12
- data/apps/api/app/graphql/queries/me.rb +0 -11
- data/apps/api/app/graphql/queries/user.rb +0 -13
- data/apps/api/app/graphql/queries/users.rb +0 -11
- data/apps/api/app/graphql/resolvers/article_category_search.rb +0 -41
- data/apps/api/app/graphql/resolvers/article_search.rb +0 -57
- data/apps/api/app/graphql/resolvers/base.rb +0 -17
- data/apps/api/app/graphql/resolvers/user_search.rb +0 -63
- data/apps/api/app/graphql/souls_api_schema.rb +0 -43
- data/apps/api/app/graphql/types/.keep +0 -0
- data/apps/api/app/graphql/types/article_category_type.rb +0 -12
- data/apps/api/app/graphql/types/article_type.rb +0 -30
- data/apps/api/app/graphql/types/base/base_argument.rb +0 -4
- data/apps/api/app/graphql/types/base/base_enum.rb +0 -4
- data/apps/api/app/graphql/types/base/base_field.rb +0 -5
- data/apps/api/app/graphql/types/base/base_input_object.rb +0 -5
- data/apps/api/app/graphql/types/base/base_interface.rb +0 -7
- data/apps/api/app/graphql/types/base/base_object.rb +0 -6
- data/apps/api/app/graphql/types/base/base_scalar.rb +0 -4
- data/apps/api/app/graphql/types/base/base_union.rb +0 -4
- data/apps/api/app/graphql/types/base/mutation_type.rb +0 -26
- data/apps/api/app/graphql/types/base/query_type.rb +0 -18
- data/apps/api/app/graphql/types/connections/article_category_connection.rb +0 -3
- data/apps/api/app/graphql/types/connections/article_connection.rb +0 -3
- data/apps/api/app/graphql/types/connections/base_connection.rb +0 -14
- data/apps/api/app/graphql/types/connections/user_connection.rb +0 -3
- data/apps/api/app/graphql/types/edges/article_category_edge.rb +0 -5
- data/apps/api/app/graphql/types/edges/article_edge.rb +0 -5
- data/apps/api/app/graphql/types/edges/base_edge.rb +0 -4
- data/apps/api/app/graphql/types/edges/user_edge.rb +0 -5
- data/apps/api/app/graphql/types/user_type.rb +0 -24
- data/apps/api/app/models/article.rb +0 -4
- data/apps/api/app/models/article_category.rb +0 -3
- data/apps/api/app/models/user.rb +0 -19
- data/apps/api/app/policies/application_policy.rb +0 -40
- data/apps/api/app/policies/article_category_policy.rb +0 -31
- data/apps/api/app/policies/article_policy.rb +0 -31
- data/apps/api/app/policies/user_policy.rb +0 -35
- data/apps/api/app/utils/association_loader.rb +0 -50
- data/apps/api/app/utils/fire_store.rb +0 -9
- data/apps/api/app/utils/firebase_id_token.rb +0 -4
- data/apps/api/app/utils/json_web_token.rb +0 -13
- data/apps/api/app/utils/record_loader.rb +0 -10
- data/apps/api/app/utils/souls_helper.rb +0 -18
- data/apps/api/cloudbuild.yml +0 -32
- data/apps/api/config.ru +0 -17
- data/apps/api/config/database.yml +0 -33
- data/apps/api/config/souls.rb +0 -10
- data/apps/api/constants/areas.rb +0 -71
- data/apps/api/constants/column_name_ja.rb +0 -27
- data/apps/api/db/migrate/20200006095538_create_users.rb +0 -30
- data/apps/api/db/migrate/20200712180236_create_article_categories.rb +0 -12
- data/apps/api/db/migrate/20200714215521_create_articles.rb +0 -22
- data/apps/api/db/schema.rb +0 -78
- data/apps/api/db/seeds.rb +0 -44
- data/apps/api/github/workflows/delivery.yml +0 -81
- data/apps/api/log/.keep +0 -0
- data/apps/api/spec/factories/article_categories.rb +0 -9
- data/apps/api/spec/factories/articles.rb +0 -17
- data/apps/api/spec/factories/users.rb +0 -23
- data/apps/api/spec/models/article_category_spec.rb +0 -7
- data/apps/api/spec/models/article_spec.rb +0 -7
- data/apps/api/spec/models/user_spec.rb +0 -7
- data/apps/api/spec/mutations/base/article_category_spec.rb +0 -46
- data/apps/api/spec/mutations/base/article_spec.rb +0 -70
- data/apps/api/spec/mutations/base/user_spec.rb +0 -76
- data/apps/api/spec/policies/article_category_policy_spec.rb +0 -24
- data/apps/api/spec/policies/article_policy_spec.rb +0 -24
- data/apps/api/spec/policies/user_policy_spec.rb +0 -24
- data/apps/api/spec/queries/article_category_spec.rb +0 -39
- data/apps/api/spec/queries/article_spec.rb +0 -53
- data/apps/api/spec/queries/user_spec.rb +0 -59
- data/apps/api/spec/resolvers/article_category_search_spec.rb +0 -54
- data/apps/api/spec/resolvers/article_search_spec.rb +0 -68
- data/apps/api/spec/resolvers/user_search_spec.rb +0 -74
- data/apps/api/spec/spec_helper.rb +0 -110
- data/apps/api/tmp/.keep +0 -0
- data/apps/worker/.env.sample +0 -9
- data/apps/worker/.gitignore +0 -32
- data/apps/worker/.irbrc +0 -4
- data/apps/worker/.rspec +0 -3
- data/apps/worker/.rubocop.yml +0 -132
- data/apps/worker/.ruby-version +0 -1
- data/apps/worker/CODE_OF_CONDUCT.md +0 -74
- data/apps/worker/Dockerfile +0 -16
- data/apps/worker/Dockerfile.dev +0 -17
- data/apps/worker/Gemfile +0 -49
- data/apps/worker/Gemfile.lock +0 -396
- data/apps/worker/LICENSE.txt +0 -67
- data/apps/worker/Procfile +0 -1
- data/apps/worker/Procfile.dev +0 -1
- data/apps/worker/README.md +0 -37
- data/apps/worker/Rakefile +0 -5
- data/apps/worker/app.rb +0 -101
- data/apps/worker/app/engines/notification_engine.rb +0 -5
- data/apps/worker/app/graphql/mutations/.keep +0 -0
- data/apps/worker/app/graphql/mutations/base_mutation.rb +0 -16
- data/apps/worker/app/graphql/mutations/workers/send_user_mail_job.rb +0 -31
- data/apps/worker/app/graphql/souls_api_schema.rb +0 -43
- data/apps/worker/app/graphql/types/.keep +0 -0
- data/apps/worker/app/graphql/types/base/base_argument.rb +0 -4
- data/apps/worker/app/graphql/types/base/base_enum.rb +0 -4
- data/apps/worker/app/graphql/types/base/base_field.rb +0 -5
- data/apps/worker/app/graphql/types/base/base_input_object.rb +0 -5
- data/apps/worker/app/graphql/types/base/base_interface.rb +0 -7
- data/apps/worker/app/graphql/types/base/base_object.rb +0 -5
- data/apps/worker/app/graphql/types/base/base_scalar.rb +0 -4
- data/apps/worker/app/graphql/types/base/base_union.rb +0 -4
- data/apps/worker/app/graphql/types/base/mutation_type.rb +0 -12
- data/apps/worker/app/graphql/types/base/query_type.rb +0 -6
- data/apps/worker/app/models/article.rb +0 -4
- data/apps/worker/app/models/article_category.rb +0 -3
- data/apps/worker/app/models/user.rb +0 -19
- data/apps/worker/app/utils/fire_store.rb +0 -9
- data/apps/worker/app/utils/souls_helper.rb +0 -96
- data/apps/worker/cloudbuild.yml +0 -32
- data/apps/worker/config.ru +0 -17
- data/apps/worker/config/database.yml +0 -33
- data/apps/worker/config/souls.rb +0 -10
- data/apps/worker/db/migrate/20200006095538_create_users.rb +0 -30
- data/apps/worker/db/migrate/20200712180236_create_article_categories.rb +0 -12
- data/apps/worker/db/migrate/20200714215521_create_articles.rb +0 -22
- data/apps/worker/db/schema.rb +0 -78
- data/apps/worker/db/seeds.rb +0 -44
- data/apps/worker/github/workflows/delivery.yml +0 -81
- data/apps/worker/log/.keep +0 -0
- data/apps/worker/spec/factories/article_categories.rb +0 -9
- data/apps/worker/spec/factories/articles.rb +0 -17
- data/apps/worker/spec/factories/users.rb +0 -23
- data/apps/worker/spec/models/article_category_spec.rb +0 -7
- data/apps/worker/spec/models/article_spec.rb +0 -7
- data/apps/worker/spec/models/user_spec.rb +0 -7
- data/apps/worker/spec/spec_helper.rb +0 -110
- data/apps/worker/tmp/.keep +0 -0
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/config/souls.rb +0 -9
- data/db/schema.rb +0 -67
- data/rbs/init.rbs +0 -2
- data/souls.gemspec +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6af152affdf91e5263ce39f794b559b7057d60343cc5b03fa3f115664a33d1f
|
4
|
+
data.tar.gz: 2c212cf830bce52b67b090c6ea247b6aaf5bb918e7b0a548b9e7919e9b9350fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7ad5c88cc03bb7389977ddaba1c7d54198cecb2b0509ff237f8d805405e179a0e390ec9706cb8dfdcc7d3dbdb1817f1fdde050bea577404b018d638234538e2
|
7
|
+
data.tar.gz: 653a44bf451a2195df4c706b992be74f5ccb97d5ab434afcb87402d961e445571e2e96d586e9d796f91d61167156d087839ae8488d56842f1a72301d58feb771
|
data/exe/souls
CHANGED
@@ -32,7 +32,7 @@ begin
|
|
32
32
|
strain = $stdin.gets.chomp.to_i
|
33
33
|
case strain
|
34
34
|
when 1, 2
|
35
|
-
Souls::Init.download_souls(app_name: app_name,
|
35
|
+
Souls::Init.download_souls(app_name: app_name, service_name: (STRAINS[strain.to_i - 1]).to_s)
|
36
36
|
Souls::Init.initial_config_init(app_name: app_name, strain: STRAINS[strain.to_i - 1])
|
37
37
|
else
|
38
38
|
puts(Paint["Coming Soon...", :blue])
|
@@ -94,6 +94,17 @@ begin
|
|
94
94
|
Souls.update_gemfile
|
95
95
|
Whirly.status = "Done!"
|
96
96
|
end
|
97
|
+
when "update"
|
98
|
+
service_name = ARGV[1]
|
99
|
+
permit_services = %w[api worker console admin media]
|
100
|
+
raise(StandardError, "Wrong Service Name!") unless permit_services.include?(service_name)
|
101
|
+
|
102
|
+
status = Paint["Saving Repo...", :yellow]
|
103
|
+
Whirly.start(spinner: "clock", interval: 420, stop: "🎉") do
|
104
|
+
Whirly.status = status
|
105
|
+
result = Paint[Souls.update_repo(service_name: service_name), :green]
|
106
|
+
Whirly.status = result
|
107
|
+
end
|
97
108
|
when "add"
|
98
109
|
graphql_class = ARGV[1]
|
99
110
|
case graphql_class
|
data/lib/souls.rb
CHANGED
@@ -3,11 +3,13 @@ require "active_support/core_ext/string/inflections"
|
|
3
3
|
require_relative "souls/init"
|
4
4
|
require_relative "souls/generate"
|
5
5
|
require_relative "souls/gcloud"
|
6
|
+
require "dotenv/load"
|
6
7
|
require "json"
|
7
8
|
require "fileutils"
|
8
9
|
require "net/http"
|
9
10
|
require "paint"
|
10
11
|
require "whirly"
|
12
|
+
require "google/cloud/firestore"
|
11
13
|
|
12
14
|
module Souls
|
13
15
|
SOULS_METHODS = %w[
|
@@ -165,6 +167,58 @@ module Souls
|
|
165
167
|
end
|
166
168
|
end
|
167
169
|
|
170
|
+
def update_repo(service_name: "api")
|
171
|
+
current_dir_name = FileUtils.pwd.to_s.match(%r{/([^/]+)/?$})[1]
|
172
|
+
latest_gem = get_latest_version(service_name: service_name)
|
173
|
+
new_ver = latest_gem[:version_counter] + 1
|
174
|
+
bucket_url = "gs://souls-bucket/boilerplates"
|
175
|
+
file_name = "#{service_name}-v#{new_ver}.tgz"
|
176
|
+
|
177
|
+
case current_dir_name
|
178
|
+
when "souls"
|
179
|
+
system("echo 'v#{new_ver}' > apps/#{service_name}/.souls_version")
|
180
|
+
system("cd apps/ && tar -czf ../#{service_name}.tgz #{service_name}/ && cd ..")
|
181
|
+
when "api", "worker", "console", "admin", "media"
|
182
|
+
system("echo 'v#{new_ver}' > .souls_version")
|
183
|
+
system("cd .. && tar -czf ../#{service_name}.tgz #{service_name}/ && cd #{service_name}")
|
184
|
+
else
|
185
|
+
raise(StandardError, "You are at wrong directory!")
|
186
|
+
end
|
187
|
+
|
188
|
+
system("gsutil cp #{service_name}.tgz #{bucket_url}/#{service_name.pluralize}/#{file_name}")
|
189
|
+
file_url = "https://storage.googleapis.com/souls-bucket/boilerplates/#{service_name.pluralize}/#{file_name}"
|
190
|
+
version_log(service_name: service_name, version_counter: new_ver, file_url: file_url)
|
191
|
+
FileUtils.rm("#{service_name}.tgz")
|
192
|
+
"#{service_name}-v#{new_ver} Succefully Stored to GCS! "
|
193
|
+
end
|
194
|
+
|
195
|
+
def version_log(service_name: "api", version_counter: 1, file_url: "")
|
196
|
+
version = "v#{version_counter}"
|
197
|
+
time = Time.now.strftime("%F-%H-%M-%S")
|
198
|
+
firestore = Google::Cloud::Firestore.new(project_id: ENV["FIRESTORE_PID"])
|
199
|
+
doc_ref = firestore.doc("#{service_name}/#{version_counter}")
|
200
|
+
doc_ref.set({ version: version, version_counter: version_counter, file_url: file_url, created_at: time })
|
201
|
+
end
|
202
|
+
|
203
|
+
def get_latest_version(service_name: "api")
|
204
|
+
firestore = Google::Cloud::Firestore.new(project_id: ENV["FIRESTORE_PID"])
|
205
|
+
versions = firestore.doc("#{service_name}/1")
|
206
|
+
if versions.get.exists?
|
207
|
+
versions = firestore.col(service_name.to_s)
|
208
|
+
query = versions.order("version_counter", "desc").limit(1)
|
209
|
+
query.get do |v|
|
210
|
+
return {
|
211
|
+
version_counter: v.data[:version_counter],
|
212
|
+
version: v.data[:version],
|
213
|
+
file_url: v.data[:file_url],
|
214
|
+
create_at: v.data[:create_at]
|
215
|
+
}
|
216
|
+
end
|
217
|
+
else
|
218
|
+
{ version_counter: 0 }
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
168
222
|
def configure
|
169
223
|
self.configuration ||= Configuration.new
|
170
224
|
yield(configuration)
|
data/lib/souls/init.rb
CHANGED
@@ -9,33 +9,54 @@ module Souls
|
|
9
9
|
data[0]["tag_name"]
|
10
10
|
end
|
11
11
|
|
12
|
-
def self.
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
12
|
+
def self.initial_config_init(app_name: "souls", strain: "api")
|
13
|
+
FileUtils.touch("./#{app_name}/config/souls.rb")
|
14
|
+
file_path = "./#{app_name}/config/souls.rb"
|
15
|
+
File.open(file_path, "w") do |f|
|
16
|
+
f.write(<<~TEXT)
|
17
|
+
Souls.configure do |config|
|
18
|
+
config.app = "#{app_name}"
|
19
|
+
config.project_id = "souls-api"
|
20
|
+
config.strain = "#{strain}"
|
21
|
+
config.worker_endpoint = "https://worker.com"
|
22
|
+
config.fixed_gems = ["excluded_gem"]
|
23
|
+
end
|
24
|
+
TEXT
|
25
|
+
end
|
26
|
+
rescue StandardError => e
|
27
|
+
puts(e)
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.download_souls(app_name: "souls", service_name: "api")
|
31
|
+
latest_gem = Souls.get_latest_version(service_name: service_name)
|
32
|
+
file_name = latest_gem[:file_url].to_s.match(%r{/([^/]+)/?$})[1]
|
33
|
+
system("curl -OL #{latest_gem[:file_url]}")
|
34
|
+
system("mkdir -p #{app_name}/#{service_name}")
|
35
|
+
system("tar -zxvf ./#{file_name} -C #{app_name}/")
|
36
|
+
FileUtils.rm(file_name)
|
20
37
|
line = Paint["====================================", :yellow]
|
21
38
|
puts("\n")
|
22
39
|
puts(line)
|
23
|
-
|
40
|
+
txt2 = <<~TEXT
|
24
41
|
_____ ____ __ ____#{' '}
|
25
|
-
/ ___// __ \\/ / / / /
|
26
|
-
\\__ \\/ / / / / / / /
|
27
|
-
___/ / /_/ / /_/ / /___
|
28
|
-
/____/\\____/\\____/_____
|
42
|
+
/ ___// __ \\/ / / / / %{red1}
|
43
|
+
\\__ \\/ / / / / / / / %{red2}
|
44
|
+
___/ / /_/ / /_/ / /___%{red3}#{' '}
|
45
|
+
/____/\\____/\\____/_____%{red4}#{' '}
|
29
46
|
TEXT
|
30
|
-
|
31
|
-
|
47
|
+
red1 = ["_____", :red]
|
48
|
+
red2 = ["/ ___/", :red]
|
49
|
+
red3 = ["(__ )", :red]
|
50
|
+
red4 = ["/____/", :red]
|
51
|
+
ms = Paint % [txt2, :cyan, { red1: red1, red2: red2, red3: red3, red4: red4 }]
|
52
|
+
puts(ms)
|
32
53
|
puts(line)
|
33
54
|
welcome = Paint["Welcome to SOULs!", :white]
|
34
55
|
puts(welcome)
|
35
56
|
souls_ver = Paint["SOULs Version: #{Souls::VERSION}", :white]
|
36
57
|
puts(souls_ver)
|
37
58
|
puts(line)
|
38
|
-
cd = Paint["Easy to Run\n$ cd #{app_name}\n$ bundle\n$ souls s\nGo To : http://localhost:3000\n\nDoc: https://souls.elsoul.nl",
|
59
|
+
cd = Paint["Easy to Run\n$ cd #{app_name}/#{service_name}\n$ bundle\n$ souls s\nGo To : http://localhost:3000\n\nDoc: https://souls.elsoul.nl",
|
39
60
|
:white]
|
40
61
|
puts(cd)
|
41
62
|
puts(line)
|
data/lib/souls/version.rb
CHANGED
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.24.
|
4
|
+
version: 0.24.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -10,8 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-07-
|
13
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: google-cloud-firestore
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - '='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.6.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - '='
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 2.6.1
|
15
29
|
- !ruby/object:Gem::Dependency
|
16
30
|
name: paint
|
17
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,196 +67,9 @@ executables:
|
|
53
67
|
extensions: []
|
54
68
|
extra_rdoc_files: []
|
55
69
|
files:
|
56
|
-
- ".gitignore"
|
57
|
-
- ".irbrc"
|
58
|
-
- ".rspec"
|
59
|
-
- ".rubocop.yml"
|
60
|
-
- ".ruby-version"
|
61
|
-
- ".travis.yml"
|
62
70
|
- CODE_OF_CONDUCT.md
|
63
|
-
- Gemfile
|
64
|
-
- Gemfile.lock
|
65
71
|
- LICENSE.txt
|
66
72
|
- README.md
|
67
|
-
- Rakefile
|
68
|
-
- Steepfile
|
69
|
-
- apps/api/.env.sample
|
70
|
-
- apps/api/.gitignore
|
71
|
-
- apps/api/.irbrc
|
72
|
-
- apps/api/.rspec
|
73
|
-
- apps/api/.rubocop.yml
|
74
|
-
- apps/api/.ruby-version
|
75
|
-
- apps/api/CODE_OF_CONDUCT.md
|
76
|
-
- apps/api/Dockerfile
|
77
|
-
- apps/api/Dockerfile.dev
|
78
|
-
- apps/api/Gemfile
|
79
|
-
- apps/api/Gemfile.lock
|
80
|
-
- apps/api/LICENSE.txt
|
81
|
-
- apps/api/Procfile
|
82
|
-
- apps/api/Procfile.dev
|
83
|
-
- apps/api/README.md
|
84
|
-
- apps/api/Rakefile
|
85
|
-
- apps/api/app.rb
|
86
|
-
- apps/api/app/engines/notification_engine.rb
|
87
|
-
- apps/api/app/graphql/mutations/.keep
|
88
|
-
- apps/api/app/graphql/mutations/base/article/create_article.rb
|
89
|
-
- apps/api/app/graphql/mutations/base/article/delete_article.rb
|
90
|
-
- apps/api/app/graphql/mutations/base/article/destroy_delete_article.rb
|
91
|
-
- apps/api/app/graphql/mutations/base/article/update_article.rb
|
92
|
-
- apps/api/app/graphql/mutations/base/article_category/create_article_category.rb
|
93
|
-
- apps/api/app/graphql/mutations/base/article_category/delete_article_category.rb
|
94
|
-
- apps/api/app/graphql/mutations/base/article_category/destroy_delete_article_category.rb
|
95
|
-
- apps/api/app/graphql/mutations/base/article_category/update_article_category.rb
|
96
|
-
- apps/api/app/graphql/mutations/base/user/create_user.rb
|
97
|
-
- apps/api/app/graphql/mutations/base/user/delete_user.rb
|
98
|
-
- apps/api/app/graphql/mutations/base/user/destroy_delete_user.rb
|
99
|
-
- apps/api/app/graphql/mutations/base/user/update_user.rb
|
100
|
-
- apps/api/app/graphql/mutations/base_mutation.rb
|
101
|
-
- apps/api/app/graphql/mutations/managers/user_manager/add_user_role.rb
|
102
|
-
- apps/api/app/graphql/mutations/managers/user_manager/remove_user_role.rb
|
103
|
-
- apps/api/app/graphql/mutations/managers/user_manager/sign_in_user.rb
|
104
|
-
- apps/api/app/graphql/queries/article.rb
|
105
|
-
- apps/api/app/graphql/queries/article_categories.rb
|
106
|
-
- apps/api/app/graphql/queries/article_category.rb
|
107
|
-
- apps/api/app/graphql/queries/articles.rb
|
108
|
-
- apps/api/app/graphql/queries/base_query.rb
|
109
|
-
- apps/api/app/graphql/queries/me.rb
|
110
|
-
- apps/api/app/graphql/queries/user.rb
|
111
|
-
- apps/api/app/graphql/queries/users.rb
|
112
|
-
- apps/api/app/graphql/resolvers/article_category_search.rb
|
113
|
-
- apps/api/app/graphql/resolvers/article_search.rb
|
114
|
-
- apps/api/app/graphql/resolvers/base.rb
|
115
|
-
- apps/api/app/graphql/resolvers/user_search.rb
|
116
|
-
- apps/api/app/graphql/souls_api_schema.rb
|
117
|
-
- apps/api/app/graphql/types/.keep
|
118
|
-
- apps/api/app/graphql/types/article_category_type.rb
|
119
|
-
- apps/api/app/graphql/types/article_type.rb
|
120
|
-
- apps/api/app/graphql/types/base/base_argument.rb
|
121
|
-
- apps/api/app/graphql/types/base/base_enum.rb
|
122
|
-
- apps/api/app/graphql/types/base/base_field.rb
|
123
|
-
- apps/api/app/graphql/types/base/base_input_object.rb
|
124
|
-
- apps/api/app/graphql/types/base/base_interface.rb
|
125
|
-
- apps/api/app/graphql/types/base/base_object.rb
|
126
|
-
- apps/api/app/graphql/types/base/base_scalar.rb
|
127
|
-
- apps/api/app/graphql/types/base/base_union.rb
|
128
|
-
- apps/api/app/graphql/types/base/mutation_type.rb
|
129
|
-
- apps/api/app/graphql/types/base/query_type.rb
|
130
|
-
- apps/api/app/graphql/types/connections/article_category_connection.rb
|
131
|
-
- apps/api/app/graphql/types/connections/article_connection.rb
|
132
|
-
- apps/api/app/graphql/types/connections/base_connection.rb
|
133
|
-
- apps/api/app/graphql/types/connections/user_connection.rb
|
134
|
-
- apps/api/app/graphql/types/edges/article_category_edge.rb
|
135
|
-
- apps/api/app/graphql/types/edges/article_edge.rb
|
136
|
-
- apps/api/app/graphql/types/edges/base_edge.rb
|
137
|
-
- apps/api/app/graphql/types/edges/user_edge.rb
|
138
|
-
- apps/api/app/graphql/types/user_type.rb
|
139
|
-
- apps/api/app/models/article.rb
|
140
|
-
- apps/api/app/models/article_category.rb
|
141
|
-
- apps/api/app/models/user.rb
|
142
|
-
- apps/api/app/policies/application_policy.rb
|
143
|
-
- apps/api/app/policies/article_category_policy.rb
|
144
|
-
- apps/api/app/policies/article_policy.rb
|
145
|
-
- apps/api/app/policies/user_policy.rb
|
146
|
-
- apps/api/app/utils/association_loader.rb
|
147
|
-
- apps/api/app/utils/fire_store.rb
|
148
|
-
- apps/api/app/utils/firebase_id_token.rb
|
149
|
-
- apps/api/app/utils/json_web_token.rb
|
150
|
-
- apps/api/app/utils/record_loader.rb
|
151
|
-
- apps/api/app/utils/souls_helper.rb
|
152
|
-
- apps/api/cloudbuild.yml
|
153
|
-
- apps/api/config.ru
|
154
|
-
- apps/api/config/database.yml
|
155
|
-
- apps/api/config/souls.rb
|
156
|
-
- apps/api/constants/areas.rb
|
157
|
-
- apps/api/constants/column_name_ja.rb
|
158
|
-
- apps/api/db/migrate/20200006095538_create_users.rb
|
159
|
-
- apps/api/db/migrate/20200712180236_create_article_categories.rb
|
160
|
-
- apps/api/db/migrate/20200714215521_create_articles.rb
|
161
|
-
- apps/api/db/schema.rb
|
162
|
-
- apps/api/db/seeds.rb
|
163
|
-
- apps/api/github/workflows/delivery.yml
|
164
|
-
- apps/api/log/.keep
|
165
|
-
- apps/api/spec/factories/article_categories.rb
|
166
|
-
- apps/api/spec/factories/articles.rb
|
167
|
-
- apps/api/spec/factories/users.rb
|
168
|
-
- apps/api/spec/models/article_category_spec.rb
|
169
|
-
- apps/api/spec/models/article_spec.rb
|
170
|
-
- apps/api/spec/models/user_spec.rb
|
171
|
-
- apps/api/spec/mutations/base/article_category_spec.rb
|
172
|
-
- apps/api/spec/mutations/base/article_spec.rb
|
173
|
-
- apps/api/spec/mutations/base/user_spec.rb
|
174
|
-
- apps/api/spec/policies/article_category_policy_spec.rb
|
175
|
-
- apps/api/spec/policies/article_policy_spec.rb
|
176
|
-
- apps/api/spec/policies/user_policy_spec.rb
|
177
|
-
- apps/api/spec/queries/article_category_spec.rb
|
178
|
-
- apps/api/spec/queries/article_spec.rb
|
179
|
-
- apps/api/spec/queries/user_spec.rb
|
180
|
-
- apps/api/spec/resolvers/article_category_search_spec.rb
|
181
|
-
- apps/api/spec/resolvers/article_search_spec.rb
|
182
|
-
- apps/api/spec/resolvers/user_search_spec.rb
|
183
|
-
- apps/api/spec/spec_helper.rb
|
184
|
-
- apps/api/tmp/.keep
|
185
|
-
- apps/worker/.env.sample
|
186
|
-
- apps/worker/.gitignore
|
187
|
-
- apps/worker/.irbrc
|
188
|
-
- apps/worker/.rspec
|
189
|
-
- apps/worker/.rubocop.yml
|
190
|
-
- apps/worker/.ruby-version
|
191
|
-
- apps/worker/CODE_OF_CONDUCT.md
|
192
|
-
- apps/worker/Dockerfile
|
193
|
-
- apps/worker/Dockerfile.dev
|
194
|
-
- apps/worker/Gemfile
|
195
|
-
- apps/worker/Gemfile.lock
|
196
|
-
- apps/worker/LICENSE.txt
|
197
|
-
- apps/worker/Procfile
|
198
|
-
- apps/worker/Procfile.dev
|
199
|
-
- apps/worker/README.md
|
200
|
-
- apps/worker/Rakefile
|
201
|
-
- apps/worker/app.rb
|
202
|
-
- apps/worker/app/engines/notification_engine.rb
|
203
|
-
- apps/worker/app/graphql/mutations/.keep
|
204
|
-
- apps/worker/app/graphql/mutations/base_mutation.rb
|
205
|
-
- apps/worker/app/graphql/mutations/workers/send_user_mail_job.rb
|
206
|
-
- apps/worker/app/graphql/souls_api_schema.rb
|
207
|
-
- apps/worker/app/graphql/types/.keep
|
208
|
-
- apps/worker/app/graphql/types/base/base_argument.rb
|
209
|
-
- apps/worker/app/graphql/types/base/base_enum.rb
|
210
|
-
- apps/worker/app/graphql/types/base/base_field.rb
|
211
|
-
- apps/worker/app/graphql/types/base/base_input_object.rb
|
212
|
-
- apps/worker/app/graphql/types/base/base_interface.rb
|
213
|
-
- apps/worker/app/graphql/types/base/base_object.rb
|
214
|
-
- apps/worker/app/graphql/types/base/base_scalar.rb
|
215
|
-
- apps/worker/app/graphql/types/base/base_union.rb
|
216
|
-
- apps/worker/app/graphql/types/base/mutation_type.rb
|
217
|
-
- apps/worker/app/graphql/types/base/query_type.rb
|
218
|
-
- apps/worker/app/models/article.rb
|
219
|
-
- apps/worker/app/models/article_category.rb
|
220
|
-
- apps/worker/app/models/user.rb
|
221
|
-
- apps/worker/app/utils/fire_store.rb
|
222
|
-
- apps/worker/app/utils/souls_helper.rb
|
223
|
-
- apps/worker/cloudbuild.yml
|
224
|
-
- apps/worker/config.ru
|
225
|
-
- apps/worker/config/database.yml
|
226
|
-
- apps/worker/config/souls.rb
|
227
|
-
- apps/worker/db/migrate/20200006095538_create_users.rb
|
228
|
-
- apps/worker/db/migrate/20200712180236_create_article_categories.rb
|
229
|
-
- apps/worker/db/migrate/20200714215521_create_articles.rb
|
230
|
-
- apps/worker/db/schema.rb
|
231
|
-
- apps/worker/db/seeds.rb
|
232
|
-
- apps/worker/github/workflows/delivery.yml
|
233
|
-
- apps/worker/log/.keep
|
234
|
-
- apps/worker/spec/factories/article_categories.rb
|
235
|
-
- apps/worker/spec/factories/articles.rb
|
236
|
-
- apps/worker/spec/factories/users.rb
|
237
|
-
- apps/worker/spec/models/article_category_spec.rb
|
238
|
-
- apps/worker/spec/models/article_spec.rb
|
239
|
-
- apps/worker/spec/models/user_spec.rb
|
240
|
-
- apps/worker/spec/spec_helper.rb
|
241
|
-
- apps/worker/tmp/.keep
|
242
|
-
- bin/console
|
243
|
-
- bin/setup
|
244
|
-
- config/souls.rb
|
245
|
-
- db/schema.rb
|
246
73
|
- exe/souls
|
247
74
|
- lib/souls.rb
|
248
75
|
- lib/souls/gcloud.rb
|
@@ -267,8 +94,6 @@ files:
|
|
267
94
|
- lib/souls/generate/type.rb
|
268
95
|
- lib/souls/init.rb
|
269
96
|
- lib/souls/version.rb
|
270
|
-
- rbs/init.rbs
|
271
|
-
- souls.gemspec
|
272
97
|
homepage: https://souls.elsoul.nl
|
273
98
|
licenses:
|
274
99
|
- Apache-2.0
|
data/.gitignore
DELETED
data/.irbrc
DELETED