souls 0.24.0 → 0.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/Gemfile.lock +1 -1
- data/api_v0.0.1.tar.gz +0 -0
- data/apps/api/.env.sample +7 -0
- data/apps/api/.gitignore +32 -0
- data/apps/api/.irbrc +1 -0
- data/apps/api/.rspec +3 -0
- data/apps/api/.rubocop.yml +132 -0
- data/apps/api/.ruby-version +1 -0
- data/apps/api/CODE_OF_CONDUCT.md +74 -0
- data/apps/api/Dockerfile +16 -0
- data/apps/api/Dockerfile.dev +17 -0
- data/apps/api/Gemfile +50 -0
- data/apps/api/Gemfile.lock +412 -0
- data/apps/api/LICENSE.txt +67 -0
- data/apps/api/Procfile +2 -0
- data/apps/api/Procfile.dev +2 -0
- data/apps/api/README.md +37 -0
- data/apps/api/Rakefile +5 -0
- data/apps/api/app.rb +114 -0
- data/apps/api/app/engines/notification_engine.rb +5 -0
- data/apps/api/app/graphql/mutations/.keep +0 -0
- data/apps/api/app/graphql/mutations/base/article/create_article.rb +30 -0
- data/apps/api/app/graphql/mutations/base/article/delete_article.rb +17 -0
- data/apps/api/app/graphql/mutations/base/article/destroy_delete_article.rb +17 -0
- data/apps/api/app/graphql/mutations/base/article/update_article.rb +30 -0
- data/apps/api/app/graphql/mutations/base/article_category/create_article_category.rb +21 -0
- data/apps/api/app/graphql/mutations/base/article_category/delete_article_category.rb +17 -0
- data/apps/api/app/graphql/mutations/base/article_category/destroy_delete_article_category.rb +17 -0
- data/apps/api/app/graphql/mutations/base/article_category/update_article_category.rb +21 -0
- data/apps/api/app/graphql/mutations/base/user/create_user.rb +31 -0
- data/apps/api/app/graphql/mutations/base/user/delete_user.rb +17 -0
- data/apps/api/app/graphql/mutations/base/user/destroy_delete_user.rb +17 -0
- data/apps/api/app/graphql/mutations/base/user/update_user.rb +31 -0
- data/apps/api/app/graphql/mutations/base_mutation.rb +65 -0
- data/apps/api/app/graphql/mutations/managers/user_manager/add_user_role.rb +22 -0
- data/apps/api/app/graphql/mutations/managers/user_manager/remove_user_role.rb +22 -0
- data/apps/api/app/graphql/mutations/managers/user_manager/sign_in_user.rb +45 -0
- data/apps/api/app/graphql/queries/article.rb +13 -0
- data/apps/api/app/graphql/queries/article_categories.rb +11 -0
- data/apps/api/app/graphql/queries/article_category.rb +13 -0
- data/apps/api/app/graphql/queries/articles.rb +11 -0
- data/apps/api/app/graphql/queries/base_query.rb +12 -0
- data/apps/api/app/graphql/queries/me.rb +11 -0
- data/apps/api/app/graphql/queries/user.rb +13 -0
- data/apps/api/app/graphql/queries/users.rb +11 -0
- data/apps/api/app/graphql/resolvers/article_category_search.rb +41 -0
- data/apps/api/app/graphql/resolvers/article_search.rb +57 -0
- data/apps/api/app/graphql/resolvers/base.rb +17 -0
- data/apps/api/app/graphql/resolvers/user_search.rb +63 -0
- data/apps/api/app/graphql/souls_api_schema.rb +43 -0
- data/apps/api/app/graphql/types/.keep +0 -0
- data/apps/api/app/graphql/types/article_category_type.rb +12 -0
- data/apps/api/app/graphql/types/article_type.rb +30 -0
- data/apps/api/app/graphql/types/base/base_argument.rb +4 -0
- data/apps/api/app/graphql/types/base/base_enum.rb +4 -0
- data/apps/api/app/graphql/types/base/base_field.rb +5 -0
- data/apps/api/app/graphql/types/base/base_input_object.rb +5 -0
- data/apps/api/app/graphql/types/base/base_interface.rb +7 -0
- data/apps/api/app/graphql/types/base/base_object.rb +6 -0
- data/apps/api/app/graphql/types/base/base_scalar.rb +4 -0
- data/apps/api/app/graphql/types/base/base_union.rb +4 -0
- data/apps/api/app/graphql/types/base/mutation_type.rb +26 -0
- data/apps/api/app/graphql/types/base/query_type.rb +18 -0
- data/apps/api/app/graphql/types/connections/article_category_connection.rb +3 -0
- data/apps/api/app/graphql/types/connections/article_connection.rb +3 -0
- data/apps/api/app/graphql/types/connections/base_connection.rb +14 -0
- data/apps/api/app/graphql/types/connections/user_connection.rb +3 -0
- data/apps/api/app/graphql/types/edges/article_category_edge.rb +5 -0
- data/apps/api/app/graphql/types/edges/article_edge.rb +5 -0
- data/apps/api/app/graphql/types/edges/base_edge.rb +4 -0
- data/apps/api/app/graphql/types/edges/user_edge.rb +5 -0
- data/apps/api/app/graphql/types/user_type.rb +24 -0
- data/apps/api/app/models/article.rb +4 -0
- data/apps/api/app/models/article_category.rb +3 -0
- data/apps/api/app/models/user.rb +19 -0
- data/apps/api/app/policies/application_policy.rb +40 -0
- data/apps/api/app/policies/article_category_policy.rb +31 -0
- data/apps/api/app/policies/article_policy.rb +31 -0
- data/apps/api/app/policies/user_policy.rb +35 -0
- data/apps/api/app/utils/association_loader.rb +50 -0
- data/apps/api/app/utils/fire_store.rb +9 -0
- data/apps/api/app/utils/firebase_id_token.rb +4 -0
- data/apps/api/app/utils/json_web_token.rb +13 -0
- data/apps/api/app/utils/record_loader.rb +10 -0
- data/apps/api/app/utils/souls_helper.rb +18 -0
- data/apps/api/cloudbuild.yml +32 -0
- data/apps/api/config.ru +17 -0
- data/apps/api/config/database.yml +33 -0
- data/apps/api/config/souls.rb +10 -0
- data/apps/api/constants/areas.rb +71 -0
- data/apps/api/constants/column_name_ja.rb +27 -0
- data/apps/api/db/migrate/20200006095538_create_users.rb +30 -0
- data/apps/api/db/migrate/20200712180236_create_article_categories.rb +12 -0
- data/apps/api/db/migrate/20200714215521_create_articles.rb +22 -0
- data/apps/api/db/schema.rb +78 -0
- data/apps/api/db/seeds.rb +44 -0
- data/apps/api/github/workflows/delivery.yml +81 -0
- data/apps/api/log/.keep +0 -0
- data/apps/api/spec/factories/article_categories.rb +9 -0
- data/apps/api/spec/factories/articles.rb +17 -0
- data/apps/api/spec/factories/users.rb +23 -0
- data/apps/api/spec/models/article_category_spec.rb +7 -0
- data/apps/api/spec/models/article_spec.rb +7 -0
- data/apps/api/spec/models/user_spec.rb +7 -0
- data/apps/api/spec/mutations/base/article_category_spec.rb +46 -0
- data/apps/api/spec/mutations/base/article_spec.rb +70 -0
- data/apps/api/spec/mutations/base/user_spec.rb +76 -0
- data/apps/api/spec/policies/article_category_policy_spec.rb +25 -0
- data/apps/api/spec/policies/article_policy_spec.rb +25 -0
- data/apps/api/spec/policies/user_policy_spec.rb +5 -0
- data/apps/api/spec/queries/article_category_spec.rb +39 -0
- data/apps/api/spec/queries/article_spec.rb +53 -0
- data/apps/api/spec/queries/user_spec.rb +59 -0
- data/apps/api/spec/resolvers/article_category_search_spec.rb +54 -0
- data/apps/api/spec/resolvers/article_search_spec.rb +68 -0
- data/apps/api/spec/resolvers/user_search_spec.rb +74 -0
- data/apps/api/spec/spec_helper.rb +110 -0
- data/apps/api/tmp/.keep +0 -0
- data/apps/worker/.env.sample +9 -0
- data/apps/worker/.gitignore +32 -0
- data/apps/worker/.irbrc +1 -0
- data/apps/worker/.rspec +3 -0
- data/apps/worker/.rubocop.yml +132 -0
- data/apps/worker/.ruby-version +1 -0
- data/apps/worker/CODE_OF_CONDUCT.md +74 -0
- data/apps/worker/Dockerfile +16 -0
- data/apps/worker/Dockerfile.dev +17 -0
- data/apps/worker/Gemfile +49 -0
- data/apps/worker/Gemfile.lock +396 -0
- data/apps/worker/LICENSE.txt +67 -0
- data/apps/worker/Procfile +1 -0
- data/apps/worker/Procfile.dev +1 -0
- data/apps/worker/README.md +37 -0
- data/apps/worker/Rakefile +5 -0
- data/apps/worker/app.rb +101 -0
- data/apps/worker/app/engines/notification_engine.rb +5 -0
- data/apps/worker/app/graphql/mutations/.keep +0 -0
- data/apps/worker/app/graphql/mutations/base_mutation.rb +16 -0
- data/apps/worker/app/graphql/mutations/workers/send_user_mail_job.rb +31 -0
- data/apps/worker/app/graphql/souls_api_schema.rb +43 -0
- data/apps/worker/app/graphql/types/.keep +0 -0
- data/apps/worker/app/graphql/types/base/base_argument.rb +4 -0
- data/apps/worker/app/graphql/types/base/base_enum.rb +4 -0
- data/apps/worker/app/graphql/types/base/base_field.rb +5 -0
- data/apps/worker/app/graphql/types/base/base_input_object.rb +5 -0
- data/apps/worker/app/graphql/types/base/base_interface.rb +7 -0
- data/apps/worker/app/graphql/types/base/base_object.rb +5 -0
- data/apps/worker/app/graphql/types/base/base_scalar.rb +4 -0
- data/apps/worker/app/graphql/types/base/base_union.rb +4 -0
- data/apps/worker/app/graphql/types/base/mutation_type.rb +12 -0
- data/apps/worker/app/graphql/types/base/query_type.rb +6 -0
- data/apps/worker/app/models/article.rb +4 -0
- data/apps/worker/app/models/article_category.rb +3 -0
- data/apps/worker/app/models/user.rb +19 -0
- data/apps/worker/app/utils/fire_store.rb +9 -0
- data/apps/worker/app/utils/souls_helper.rb +96 -0
- data/apps/worker/cloudbuild.yml +32 -0
- data/apps/worker/config.ru +17 -0
- data/apps/worker/config/database.yml +33 -0
- data/apps/worker/config/souls.rb +10 -0
- data/apps/worker/db/migrate/20200006095538_create_users.rb +30 -0
- data/apps/worker/db/migrate/20200712180236_create_article_categories.rb +12 -0
- data/apps/worker/db/migrate/20200714215521_create_articles.rb +22 -0
- data/apps/worker/db/schema.rb +78 -0
- data/apps/worker/db/seeds.rb +44 -0
- data/apps/worker/github/workflows/delivery.yml +81 -0
- data/apps/worker/log/.keep +0 -0
- data/apps/worker/spec/factories/article_categories.rb +9 -0
- data/apps/worker/spec/factories/articles.rb +17 -0
- data/apps/worker/spec/factories/users.rb +23 -0
- data/apps/worker/spec/models/article_category_spec.rb +7 -0
- data/apps/worker/spec/models/article_spec.rb +7 -0
- data/apps/worker/spec/models/user_spec.rb +7 -0
- data/apps/worker/spec/spec_helper.rb +110 -0
- data/apps/worker/tmp/.keep +0 -0
- data/exe/souls +0 -2
- data/lib/souls.rb +0 -18
- data/lib/souls/init.rb +1 -1
- data/lib/souls/version.rb +1 -1
- data/souls_api2.tar.gz +0 -0
- metadata +176 -1
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :article do
|
3
|
+
association :user, factory: :user
|
4
|
+
title { Faker::Book.unique.title }
|
5
|
+
body { Faker::Quote.matz }
|
6
|
+
thumnail_url { Faker::Internet.url }
|
7
|
+
public_date { Time.now }
|
8
|
+
association :article_category, factory: :article_category
|
9
|
+
is_public { false }
|
10
|
+
just_created { false }
|
11
|
+
slag { Faker::Internet.password(min_length: 16) }
|
12
|
+
tags { %w[tag1 tag2 tag3] }
|
13
|
+
is_deleted { false }
|
14
|
+
created_at { Time.now }
|
15
|
+
updated_at { Time.now }
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require "gimei"
|
2
|
+
FactoryBot.define do
|
3
|
+
factory :user do
|
4
|
+
uid { Faker::Internet.password }
|
5
|
+
username { Gimei.kanji }
|
6
|
+
screen_name { Faker::Internet.unique.username }
|
7
|
+
last_name { Gimei.last.hiragana }
|
8
|
+
first_name { Gimei.first.hiragana }
|
9
|
+
last_name_kanji { Gimei.last.kanji }
|
10
|
+
first_name_kanji { Gimei.first.kanji }
|
11
|
+
last_name_kana { Gimei.last.katakana }
|
12
|
+
first_name_kana { Gimei.last.katakana }
|
13
|
+
email { Faker::Internet.unique.email }
|
14
|
+
tel { Faker::PhoneNumber.subscriber_number(length: 10) }
|
15
|
+
icon_url { "https://picsum.photos/200" }
|
16
|
+
birthday { Faker::Date.birthday(min_age: 18, max_age: 65) }
|
17
|
+
gender { Gimei.male }
|
18
|
+
lang { "ja" }
|
19
|
+
category { "user" }
|
20
|
+
roles_mask { :normal }
|
21
|
+
is_deleted { false }
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
ENV["RACK_ENV"] = "test"
|
2
|
+
require "./app"
|
3
|
+
require "rspec"
|
4
|
+
# require "test/unit"
|
5
|
+
require "rack/test"
|
6
|
+
require "database_cleaner"
|
7
|
+
require "capybara/rspec"
|
8
|
+
require "webmock/rspec"
|
9
|
+
require "pundit/matchers"
|
10
|
+
|
11
|
+
if ENV["RACK_ENV"] == "production"
|
12
|
+
abort("The Souls environment is running in production mode!")
|
13
|
+
end
|
14
|
+
|
15
|
+
WebMock.disable_net_connect!(allow_localhost: true)
|
16
|
+
|
17
|
+
begin
|
18
|
+
ActiveRecord::Migration.maintain_test_schema!
|
19
|
+
rescue ActiveRecord::PendingMigrationError => e
|
20
|
+
puts e.to_s.strip
|
21
|
+
exit 1
|
22
|
+
end
|
23
|
+
|
24
|
+
def app
|
25
|
+
SoulsApi
|
26
|
+
end
|
27
|
+
|
28
|
+
Pundit::Matchers.configure do |config|
|
29
|
+
# config.user_alias = :user_role
|
30
|
+
end
|
31
|
+
|
32
|
+
RSpec.configure do |config|
|
33
|
+
config.order = :random
|
34
|
+
|
35
|
+
config.include Capybara::DSL
|
36
|
+
config.expect_with :rspec do |expectations|
|
37
|
+
# config.filter_run_excluding skip: true
|
38
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
39
|
+
end
|
40
|
+
|
41
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
42
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
43
|
+
config.mock_with :rspec do |mocks|
|
44
|
+
mocks.verify_partial_doubles = true
|
45
|
+
end
|
46
|
+
|
47
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
48
|
+
config.include FactoryBot::Syntax::Methods
|
49
|
+
config.include Rack::Test::Methods
|
50
|
+
|
51
|
+
config.before(:suite) do
|
52
|
+
FactoryBot.find_definitions
|
53
|
+
DatabaseCleaner.clean_with(:truncation)
|
54
|
+
end
|
55
|
+
|
56
|
+
config.before(:each) do |_example|
|
57
|
+
DatabaseCleaner.strategy = :transaction
|
58
|
+
DatabaseCleaner.start
|
59
|
+
end
|
60
|
+
|
61
|
+
config.append_after(:each) { |_example| DatabaseCleaner.clean }
|
62
|
+
config.filter_run_excluding long: true
|
63
|
+
config.filter_run_excluding uses_external_service: true
|
64
|
+
end
|
65
|
+
|
66
|
+
class ActiveRecord::Base
|
67
|
+
mattr_accessor :shared_connection
|
68
|
+
@@shared_connection = nil
|
69
|
+
|
70
|
+
def self.connection
|
71
|
+
@@shared_connection || retrieve_connection
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
|
76
|
+
def get_global_key class_name, id
|
77
|
+
Base64.strict_encode64("#{class_name}:#{id}")
|
78
|
+
end
|
79
|
+
|
80
|
+
class ActiveSupport::TestCase
|
81
|
+
setup :begin_gc_deferment
|
82
|
+
teardown :reconsider_gc_deferment
|
83
|
+
teardown :scrub_instance_variables
|
84
|
+
|
85
|
+
@@reserved_ivars = %w[@_implementation @_result @_proxy @_assigns_hash_proxy @_backtrace]
|
86
|
+
DEFERRED_GC_THRESHOLD = (ENV["DEFER_GC"] || 1.0).to_f
|
87
|
+
|
88
|
+
@@last_gc_run = Time.now
|
89
|
+
|
90
|
+
def begin_gc_deferment
|
91
|
+
GC.disable if DEFERRED_GC_THRESHOLD > 0
|
92
|
+
end
|
93
|
+
|
94
|
+
def reconsider_gc_deferment
|
95
|
+
if DEFERRED_GC_THRESHOLD > 0 && Time.now - @@last_gc_run >= DEFERRED_GC_THRESHOLD
|
96
|
+
|
97
|
+
GC.enable
|
98
|
+
GC.start
|
99
|
+
GC.disable
|
100
|
+
|
101
|
+
@@last_gc_run = Time.now
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
def scrub_instance_variables
|
106
|
+
(instance_variables - @@reserved_ivars).each do |ivar|
|
107
|
+
instance_variable_set(ivar, nil)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
File without changes
|
data/exe/souls
CHANGED
data/lib/souls.rb
CHANGED
@@ -64,24 +64,6 @@ module Souls
|
|
64
64
|
)
|
65
65
|
end
|
66
66
|
|
67
|
-
def self.show_wait_spinner(fps = 10)
|
68
|
-
chars = %w[| / - \\]
|
69
|
-
delay = 1.0 / fps
|
70
|
-
iter = 0
|
71
|
-
spinner =
|
72
|
-
Thread.new do
|
73
|
-
while iter
|
74
|
-
print(chars[(iter += 1) % chars.length])
|
75
|
-
sleep(delay)
|
76
|
-
print("\b")
|
77
|
-
end
|
78
|
-
end
|
79
|
-
yield.tap do
|
80
|
-
iter = false
|
81
|
-
spinner.join
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
67
|
def self.gemfile_latest_version
|
86
68
|
file_path = "./Gemfile"
|
87
69
|
updated_gems = []
|
data/lib/souls/init.rb
CHANGED
data/lib/souls/version.rb
CHANGED
data/souls_api2.tar.gz
ADDED
Binary file
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -66,6 +66,180 @@ files:
|
|
66
66
|
- README.md
|
67
67
|
- Rakefile
|
68
68
|
- Steepfile
|
69
|
+
- api_v0.0.1.tar.gz
|
70
|
+
- apps/api/.env.sample
|
71
|
+
- apps/api/.gitignore
|
72
|
+
- apps/api/.irbrc
|
73
|
+
- apps/api/.rspec
|
74
|
+
- apps/api/.rubocop.yml
|
75
|
+
- apps/api/.ruby-version
|
76
|
+
- apps/api/CODE_OF_CONDUCT.md
|
77
|
+
- apps/api/Dockerfile
|
78
|
+
- apps/api/Dockerfile.dev
|
79
|
+
- apps/api/Gemfile
|
80
|
+
- apps/api/Gemfile.lock
|
81
|
+
- apps/api/LICENSE.txt
|
82
|
+
- apps/api/Procfile
|
83
|
+
- apps/api/Procfile.dev
|
84
|
+
- apps/api/README.md
|
85
|
+
- apps/api/Rakefile
|
86
|
+
- apps/api/app.rb
|
87
|
+
- apps/api/app/engines/notification_engine.rb
|
88
|
+
- apps/api/app/graphql/mutations/.keep
|
89
|
+
- apps/api/app/graphql/mutations/base/article/create_article.rb
|
90
|
+
- apps/api/app/graphql/mutations/base/article/delete_article.rb
|
91
|
+
- apps/api/app/graphql/mutations/base/article/destroy_delete_article.rb
|
92
|
+
- apps/api/app/graphql/mutations/base/article/update_article.rb
|
93
|
+
- apps/api/app/graphql/mutations/base/article_category/create_article_category.rb
|
94
|
+
- apps/api/app/graphql/mutations/base/article_category/delete_article_category.rb
|
95
|
+
- apps/api/app/graphql/mutations/base/article_category/destroy_delete_article_category.rb
|
96
|
+
- apps/api/app/graphql/mutations/base/article_category/update_article_category.rb
|
97
|
+
- apps/api/app/graphql/mutations/base/user/create_user.rb
|
98
|
+
- apps/api/app/graphql/mutations/base/user/delete_user.rb
|
99
|
+
- apps/api/app/graphql/mutations/base/user/destroy_delete_user.rb
|
100
|
+
- apps/api/app/graphql/mutations/base/user/update_user.rb
|
101
|
+
- apps/api/app/graphql/mutations/base_mutation.rb
|
102
|
+
- apps/api/app/graphql/mutations/managers/user_manager/add_user_role.rb
|
103
|
+
- apps/api/app/graphql/mutations/managers/user_manager/remove_user_role.rb
|
104
|
+
- apps/api/app/graphql/mutations/managers/user_manager/sign_in_user.rb
|
105
|
+
- apps/api/app/graphql/queries/article.rb
|
106
|
+
- apps/api/app/graphql/queries/article_categories.rb
|
107
|
+
- apps/api/app/graphql/queries/article_category.rb
|
108
|
+
- apps/api/app/graphql/queries/articles.rb
|
109
|
+
- apps/api/app/graphql/queries/base_query.rb
|
110
|
+
- apps/api/app/graphql/queries/me.rb
|
111
|
+
- apps/api/app/graphql/queries/user.rb
|
112
|
+
- apps/api/app/graphql/queries/users.rb
|
113
|
+
- apps/api/app/graphql/resolvers/article_category_search.rb
|
114
|
+
- apps/api/app/graphql/resolvers/article_search.rb
|
115
|
+
- apps/api/app/graphql/resolvers/base.rb
|
116
|
+
- apps/api/app/graphql/resolvers/user_search.rb
|
117
|
+
- apps/api/app/graphql/souls_api_schema.rb
|
118
|
+
- apps/api/app/graphql/types/.keep
|
119
|
+
- apps/api/app/graphql/types/article_category_type.rb
|
120
|
+
- apps/api/app/graphql/types/article_type.rb
|
121
|
+
- apps/api/app/graphql/types/base/base_argument.rb
|
122
|
+
- apps/api/app/graphql/types/base/base_enum.rb
|
123
|
+
- apps/api/app/graphql/types/base/base_field.rb
|
124
|
+
- apps/api/app/graphql/types/base/base_input_object.rb
|
125
|
+
- apps/api/app/graphql/types/base/base_interface.rb
|
126
|
+
- apps/api/app/graphql/types/base/base_object.rb
|
127
|
+
- apps/api/app/graphql/types/base/base_scalar.rb
|
128
|
+
- apps/api/app/graphql/types/base/base_union.rb
|
129
|
+
- apps/api/app/graphql/types/base/mutation_type.rb
|
130
|
+
- apps/api/app/graphql/types/base/query_type.rb
|
131
|
+
- apps/api/app/graphql/types/connections/article_category_connection.rb
|
132
|
+
- apps/api/app/graphql/types/connections/article_connection.rb
|
133
|
+
- apps/api/app/graphql/types/connections/base_connection.rb
|
134
|
+
- apps/api/app/graphql/types/connections/user_connection.rb
|
135
|
+
- apps/api/app/graphql/types/edges/article_category_edge.rb
|
136
|
+
- apps/api/app/graphql/types/edges/article_edge.rb
|
137
|
+
- apps/api/app/graphql/types/edges/base_edge.rb
|
138
|
+
- apps/api/app/graphql/types/edges/user_edge.rb
|
139
|
+
- apps/api/app/graphql/types/user_type.rb
|
140
|
+
- apps/api/app/models/article.rb
|
141
|
+
- apps/api/app/models/article_category.rb
|
142
|
+
- apps/api/app/models/user.rb
|
143
|
+
- apps/api/app/policies/application_policy.rb
|
144
|
+
- apps/api/app/policies/article_category_policy.rb
|
145
|
+
- apps/api/app/policies/article_policy.rb
|
146
|
+
- apps/api/app/policies/user_policy.rb
|
147
|
+
- apps/api/app/utils/association_loader.rb
|
148
|
+
- apps/api/app/utils/fire_store.rb
|
149
|
+
- apps/api/app/utils/firebase_id_token.rb
|
150
|
+
- apps/api/app/utils/json_web_token.rb
|
151
|
+
- apps/api/app/utils/record_loader.rb
|
152
|
+
- apps/api/app/utils/souls_helper.rb
|
153
|
+
- apps/api/cloudbuild.yml
|
154
|
+
- apps/api/config.ru
|
155
|
+
- apps/api/config/database.yml
|
156
|
+
- apps/api/config/souls.rb
|
157
|
+
- apps/api/constants/areas.rb
|
158
|
+
- apps/api/constants/column_name_ja.rb
|
159
|
+
- apps/api/db/migrate/20200006095538_create_users.rb
|
160
|
+
- apps/api/db/migrate/20200712180236_create_article_categories.rb
|
161
|
+
- apps/api/db/migrate/20200714215521_create_articles.rb
|
162
|
+
- apps/api/db/schema.rb
|
163
|
+
- apps/api/db/seeds.rb
|
164
|
+
- apps/api/github/workflows/delivery.yml
|
165
|
+
- apps/api/log/.keep
|
166
|
+
- apps/api/spec/factories/article_categories.rb
|
167
|
+
- apps/api/spec/factories/articles.rb
|
168
|
+
- apps/api/spec/factories/users.rb
|
169
|
+
- apps/api/spec/models/article_category_spec.rb
|
170
|
+
- apps/api/spec/models/article_spec.rb
|
171
|
+
- apps/api/spec/models/user_spec.rb
|
172
|
+
- apps/api/spec/mutations/base/article_category_spec.rb
|
173
|
+
- apps/api/spec/mutations/base/article_spec.rb
|
174
|
+
- apps/api/spec/mutations/base/user_spec.rb
|
175
|
+
- apps/api/spec/policies/article_category_policy_spec.rb
|
176
|
+
- apps/api/spec/policies/article_policy_spec.rb
|
177
|
+
- apps/api/spec/policies/user_policy_spec.rb
|
178
|
+
- apps/api/spec/queries/article_category_spec.rb
|
179
|
+
- apps/api/spec/queries/article_spec.rb
|
180
|
+
- apps/api/spec/queries/user_spec.rb
|
181
|
+
- apps/api/spec/resolvers/article_category_search_spec.rb
|
182
|
+
- apps/api/spec/resolvers/article_search_spec.rb
|
183
|
+
- apps/api/spec/resolvers/user_search_spec.rb
|
184
|
+
- apps/api/spec/spec_helper.rb
|
185
|
+
- apps/api/tmp/.keep
|
186
|
+
- apps/worker/.env.sample
|
187
|
+
- apps/worker/.gitignore
|
188
|
+
- apps/worker/.irbrc
|
189
|
+
- apps/worker/.rspec
|
190
|
+
- apps/worker/.rubocop.yml
|
191
|
+
- apps/worker/.ruby-version
|
192
|
+
- apps/worker/CODE_OF_CONDUCT.md
|
193
|
+
- apps/worker/Dockerfile
|
194
|
+
- apps/worker/Dockerfile.dev
|
195
|
+
- apps/worker/Gemfile
|
196
|
+
- apps/worker/Gemfile.lock
|
197
|
+
- apps/worker/LICENSE.txt
|
198
|
+
- apps/worker/Procfile
|
199
|
+
- apps/worker/Procfile.dev
|
200
|
+
- apps/worker/README.md
|
201
|
+
- apps/worker/Rakefile
|
202
|
+
- apps/worker/app.rb
|
203
|
+
- apps/worker/app/engines/notification_engine.rb
|
204
|
+
- apps/worker/app/graphql/mutations/.keep
|
205
|
+
- apps/worker/app/graphql/mutations/base_mutation.rb
|
206
|
+
- apps/worker/app/graphql/mutations/workers/send_user_mail_job.rb
|
207
|
+
- apps/worker/app/graphql/souls_api_schema.rb
|
208
|
+
- apps/worker/app/graphql/types/.keep
|
209
|
+
- apps/worker/app/graphql/types/base/base_argument.rb
|
210
|
+
- apps/worker/app/graphql/types/base/base_enum.rb
|
211
|
+
- apps/worker/app/graphql/types/base/base_field.rb
|
212
|
+
- apps/worker/app/graphql/types/base/base_input_object.rb
|
213
|
+
- apps/worker/app/graphql/types/base/base_interface.rb
|
214
|
+
- apps/worker/app/graphql/types/base/base_object.rb
|
215
|
+
- apps/worker/app/graphql/types/base/base_scalar.rb
|
216
|
+
- apps/worker/app/graphql/types/base/base_union.rb
|
217
|
+
- apps/worker/app/graphql/types/base/mutation_type.rb
|
218
|
+
- apps/worker/app/graphql/types/base/query_type.rb
|
219
|
+
- apps/worker/app/models/article.rb
|
220
|
+
- apps/worker/app/models/article_category.rb
|
221
|
+
- apps/worker/app/models/user.rb
|
222
|
+
- apps/worker/app/utils/fire_store.rb
|
223
|
+
- apps/worker/app/utils/souls_helper.rb
|
224
|
+
- apps/worker/cloudbuild.yml
|
225
|
+
- apps/worker/config.ru
|
226
|
+
- apps/worker/config/database.yml
|
227
|
+
- apps/worker/config/souls.rb
|
228
|
+
- apps/worker/db/migrate/20200006095538_create_users.rb
|
229
|
+
- apps/worker/db/migrate/20200712180236_create_article_categories.rb
|
230
|
+
- apps/worker/db/migrate/20200714215521_create_articles.rb
|
231
|
+
- apps/worker/db/schema.rb
|
232
|
+
- apps/worker/db/seeds.rb
|
233
|
+
- apps/worker/github/workflows/delivery.yml
|
234
|
+
- apps/worker/log/.keep
|
235
|
+
- apps/worker/spec/factories/article_categories.rb
|
236
|
+
- apps/worker/spec/factories/articles.rb
|
237
|
+
- apps/worker/spec/factories/users.rb
|
238
|
+
- apps/worker/spec/models/article_category_spec.rb
|
239
|
+
- apps/worker/spec/models/article_spec.rb
|
240
|
+
- apps/worker/spec/models/user_spec.rb
|
241
|
+
- apps/worker/spec/spec_helper.rb
|
242
|
+
- apps/worker/tmp/.keep
|
69
243
|
- bin/console
|
70
244
|
- bin/setup
|
71
245
|
- config/souls.rb
|
@@ -96,6 +270,7 @@ files:
|
|
96
270
|
- lib/souls/version.rb
|
97
271
|
- rbs/init.rbs
|
98
272
|
- souls.gemspec
|
273
|
+
- souls_api2.tar.gz
|
99
274
|
homepage: https://souls.elsoul.nl
|
100
275
|
licenses:
|
101
276
|
- Apache-2.0
|