souls 0.24.1 → 0.24.5
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 +181 -123
- data/lib/souls/gcloud/iam.rb +30 -16
- data/lib/souls/init.rb +22 -16
- data/lib/souls/version.rb +1 -1
- metadata +16 -193
- data/.gitignore +0 -15
- data/.irbrc +0 -2
- 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/api_v0.0.1.tar.gz +0 -0
- data/apps/api/.env.sample +0 -7
- data/apps/api/.gitignore +0 -32
- data/apps/api/.irbrc +0 -1
- 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 -25
- data/apps/api/spec/policies/article_policy_spec.rb +0 -25
- data/apps/api/spec/policies/user_policy_spec.rb +0 -5
- 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 -1
- 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
- data/souls_api2.tar.gz +0 -0
data/apps/worker/log/.keep
DELETED
File without changes
|
@@ -1,17 +0,0 @@
|
|
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
|
@@ -1,23 +0,0 @@
|
|
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
|
@@ -1,110 +0,0 @@
|
|
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
|
data/apps/worker/tmp/.keep
DELETED
File without changes
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "souls"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/config/souls.rb
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
Souls.configure do |config|
|
2
|
-
config.app = "souls-api"
|
3
|
-
config.project_id = "souls-api"
|
4
|
-
config.strain = "worker"
|
5
|
-
config.api_repo = "elsoul/souls_api"
|
6
|
-
config.worker_repo = "elsoul/souls_worker"
|
7
|
-
config.worker_endpoint = "https://worker.com"
|
8
|
-
config.fixed_gems = []
|
9
|
-
end
|
data/db/schema.rb
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
# This is Test Schema
|
2
|
-
# All the files created by this schema.rb
|
3
|
-
|
4
|
-
ActiveRecord::Schema.define(version: 20_210_308_070_947) do
|
5
|
-
enable_extension "plpgsql"
|
6
|
-
|
7
|
-
create_table "article_categories", force: :cascade do |t|
|
8
|
-
t.string "name", null: false
|
9
|
-
t.text "tags", default: [], array: true
|
10
|
-
t.boolean "is_deleted", default: false, null: false
|
11
|
-
t.datetime "created_at", precision: 6, null: false
|
12
|
-
t.datetime "updated_at", precision: 6, null: false
|
13
|
-
t.index ["is_deleted"], name: "index_article_categories_on_is_deleted"
|
14
|
-
t.index ["name"], name: "index_article_categories_on_name"
|
15
|
-
end
|
16
|
-
|
17
|
-
create_table "articles", force: :cascade do |t|
|
18
|
-
t.bigint "user_id"
|
19
|
-
t.string "title", null: false
|
20
|
-
t.text "body", default: "", null: false
|
21
|
-
t.string "thumnail_url", default: "", null: false
|
22
|
-
t.datetime "public_date", default: "2021-05-07 11:45:23", null: false
|
23
|
-
t.bigint "article_category_id", null: false
|
24
|
-
t.boolean "is_public", default: false, null: false
|
25
|
-
t.boolean "just_created", default: true, null: false
|
26
|
-
t.string "slag", null: false
|
27
|
-
t.text "tags", default: [], array: true
|
28
|
-
t.boolean "is_deleted", default: false, null: false
|
29
|
-
t.datetime "created_at", precision: 6, null: false
|
30
|
-
t.datetime "updated_at", precision: 6, null: false
|
31
|
-
t.index ["article_category_id"], name: "index_articles_on_article_category_id"
|
32
|
-
t.index ["is_deleted"], name: "index_articles_on_is_deleted"
|
33
|
-
t.index ["is_public"], name: "index_articles_on_is_public"
|
34
|
-
t.index ["slag"], name: "index_articles_on_slag", unique: true
|
35
|
-
t.index ["title"], name: "index_articles_on_title", unique: true
|
36
|
-
t.index ["user_id"], name: "index_articles_on_user_id"
|
37
|
-
end
|
38
|
-
|
39
|
-
create_table "users", force: :cascade do |t|
|
40
|
-
t.integer "retailer_uid"
|
41
|
-
t.string "uid", null: false
|
42
|
-
t.string "username", default: "", null: false
|
43
|
-
t.string "screen_name", default: "", null: false
|
44
|
-
t.string "last_name", default: "", null: false
|
45
|
-
t.string "first_name", default: "", null: false
|
46
|
-
t.string "last_name_kanji", default: "", null: false
|
47
|
-
t.string "first_name_kanji", default: "", null: false
|
48
|
-
t.string "last_name_kana", default: "", null: false
|
49
|
-
t.string "first_name_kana", default: "", null: false
|
50
|
-
t.string "email", null: false
|
51
|
-
t.string "tel", default: "", null: false
|
52
|
-
t.string "icon_url", default: "", null: false
|
53
|
-
t.string "birthday", default: "", null: false
|
54
|
-
t.string "gender", default: "", null: false
|
55
|
-
t.string "lang", default: "ja", null: false
|
56
|
-
t.string "category", default: "user", null: false
|
57
|
-
t.integer "user_role", default: 0, null: false
|
58
|
-
t.boolean "is_deleted", default: false, null: false
|
59
|
-
t.datetime "created_at", precision: 6, null: false
|
60
|
-
t.datetime "updated_at", precision: 6, null: false
|
61
|
-
t.index ["email"], name: "index_users_on_email", unique: true
|
62
|
-
t.index ["is_deleted"], name: "index_users_on_is_deleted"
|
63
|
-
t.index ["screen_name"], name: "index_users_on_screen_name"
|
64
|
-
t.index ["uid"], name: "index_users_on_uid"
|
65
|
-
t.index ["username"], name: "index_users_on_username"
|
66
|
-
end
|
67
|
-
end
|
data/rbs/init.rbs
DELETED
data/souls.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
require_relative "lib/souls/version"
|
2
|
-
|
3
|
-
Gem::Specification.new do |spec|
|
4
|
-
spec.name = "souls"
|
5
|
-
spec.version = Souls::VERSION
|
6
|
-
spec.authors = ["POPPIN-FUMI", "KishiTheMechanic", "James Neve"]
|
7
|
-
spec.email = ["f.kawasaki@elsoul.nl", "s.kishi@elsoul.nl", "jamesoneve@gmail.com"]
|
8
|
-
|
9
|
-
spec.summary = "SOULs is a Serverless Application Framework.
|
10
|
-
SOULs has four strains, API, Worker, Console, Media, and can be used in combination according to the purpose.
|
11
|
-
SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud and Amazon Web Services"
|
12
|
-
spec.description = "SOULs is a Serverless Application Framework.
|
13
|
-
SOULs has four strains, API, Worker, Console, Media, and can be used in combination according to the purpose.
|
14
|
-
SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud and Amazon Web Services"
|
15
|
-
spec.homepage = "https://souls.elsoul.nl"
|
16
|
-
spec.license = "Apache-2.0"
|
17
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
|
18
|
-
|
19
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
20
|
-
spec.metadata["source_code_uri"] = "https://github.com/elsoul/souls"
|
21
|
-
spec.metadata["changelog_uri"] = "https://github.com/elsoul/souls"
|
22
|
-
|
23
|
-
# Specify which files should be added to the gem when it is released.
|
24
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
-
spec.files =
|
26
|
-
Dir.chdir(File.expand_path(__dir__)) do
|
27
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
-
end
|
29
|
-
spec.bindir = "exe"
|
30
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
-
spec.require_paths = ["lib"]
|
32
|
-
spec.add_runtime_dependency("paint", "2.2.1")
|
33
|
-
spec.add_runtime_dependency("whirly", "0.3.0")
|
34
|
-
end
|
data/souls_api2.tar.gz
DELETED
Binary file
|