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.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/exe/souls +12 -1
  3. data/lib/souls.rb +54 -0
  4. data/lib/souls/init.rb +37 -16
  5. data/lib/souls/version.rb +1 -1
  6. metadata +16 -191
  7. data/.gitignore +0 -15
  8. data/.irbrc +0 -3
  9. data/.rspec +0 -3
  10. data/.rubocop.yml +0 -152
  11. data/.ruby-version +0 -1
  12. data/.travis.yml +0 -6
  13. data/Gemfile +0 -13
  14. data/Gemfile.lock +0 -98
  15. data/Rakefile +0 -23
  16. data/Steepfile +0 -8
  17. data/apps/api/.env.sample +0 -7
  18. data/apps/api/.gitignore +0 -32
  19. data/apps/api/.irbrc +0 -4
  20. data/apps/api/.rspec +0 -3
  21. data/apps/api/.rubocop.yml +0 -132
  22. data/apps/api/.ruby-version +0 -1
  23. data/apps/api/CODE_OF_CONDUCT.md +0 -74
  24. data/apps/api/Dockerfile +0 -16
  25. data/apps/api/Dockerfile.dev +0 -17
  26. data/apps/api/Gemfile +0 -50
  27. data/apps/api/Gemfile.lock +0 -412
  28. data/apps/api/LICENSE.txt +0 -67
  29. data/apps/api/Procfile +0 -2
  30. data/apps/api/Procfile.dev +0 -2
  31. data/apps/api/README.md +0 -37
  32. data/apps/api/Rakefile +0 -5
  33. data/apps/api/app.rb +0 -114
  34. data/apps/api/app/engines/notification_engine.rb +0 -5
  35. data/apps/api/app/graphql/mutations/.keep +0 -0
  36. data/apps/api/app/graphql/mutations/base/article/create_article.rb +0 -30
  37. data/apps/api/app/graphql/mutations/base/article/delete_article.rb +0 -17
  38. data/apps/api/app/graphql/mutations/base/article/destroy_delete_article.rb +0 -17
  39. data/apps/api/app/graphql/mutations/base/article/update_article.rb +0 -30
  40. data/apps/api/app/graphql/mutations/base/article_category/create_article_category.rb +0 -21
  41. data/apps/api/app/graphql/mutations/base/article_category/delete_article_category.rb +0 -17
  42. data/apps/api/app/graphql/mutations/base/article_category/destroy_delete_article_category.rb +0 -17
  43. data/apps/api/app/graphql/mutations/base/article_category/update_article_category.rb +0 -21
  44. data/apps/api/app/graphql/mutations/base/user/create_user.rb +0 -31
  45. data/apps/api/app/graphql/mutations/base/user/delete_user.rb +0 -17
  46. data/apps/api/app/graphql/mutations/base/user/destroy_delete_user.rb +0 -17
  47. data/apps/api/app/graphql/mutations/base/user/update_user.rb +0 -31
  48. data/apps/api/app/graphql/mutations/base_mutation.rb +0 -65
  49. data/apps/api/app/graphql/mutations/managers/user_manager/add_user_role.rb +0 -22
  50. data/apps/api/app/graphql/mutations/managers/user_manager/remove_user_role.rb +0 -22
  51. data/apps/api/app/graphql/mutations/managers/user_manager/sign_in_user.rb +0 -45
  52. data/apps/api/app/graphql/queries/article.rb +0 -13
  53. data/apps/api/app/graphql/queries/article_categories.rb +0 -11
  54. data/apps/api/app/graphql/queries/article_category.rb +0 -13
  55. data/apps/api/app/graphql/queries/articles.rb +0 -11
  56. data/apps/api/app/graphql/queries/base_query.rb +0 -12
  57. data/apps/api/app/graphql/queries/me.rb +0 -11
  58. data/apps/api/app/graphql/queries/user.rb +0 -13
  59. data/apps/api/app/graphql/queries/users.rb +0 -11
  60. data/apps/api/app/graphql/resolvers/article_category_search.rb +0 -41
  61. data/apps/api/app/graphql/resolvers/article_search.rb +0 -57
  62. data/apps/api/app/graphql/resolvers/base.rb +0 -17
  63. data/apps/api/app/graphql/resolvers/user_search.rb +0 -63
  64. data/apps/api/app/graphql/souls_api_schema.rb +0 -43
  65. data/apps/api/app/graphql/types/.keep +0 -0
  66. data/apps/api/app/graphql/types/article_category_type.rb +0 -12
  67. data/apps/api/app/graphql/types/article_type.rb +0 -30
  68. data/apps/api/app/graphql/types/base/base_argument.rb +0 -4
  69. data/apps/api/app/graphql/types/base/base_enum.rb +0 -4
  70. data/apps/api/app/graphql/types/base/base_field.rb +0 -5
  71. data/apps/api/app/graphql/types/base/base_input_object.rb +0 -5
  72. data/apps/api/app/graphql/types/base/base_interface.rb +0 -7
  73. data/apps/api/app/graphql/types/base/base_object.rb +0 -6
  74. data/apps/api/app/graphql/types/base/base_scalar.rb +0 -4
  75. data/apps/api/app/graphql/types/base/base_union.rb +0 -4
  76. data/apps/api/app/graphql/types/base/mutation_type.rb +0 -26
  77. data/apps/api/app/graphql/types/base/query_type.rb +0 -18
  78. data/apps/api/app/graphql/types/connections/article_category_connection.rb +0 -3
  79. data/apps/api/app/graphql/types/connections/article_connection.rb +0 -3
  80. data/apps/api/app/graphql/types/connections/base_connection.rb +0 -14
  81. data/apps/api/app/graphql/types/connections/user_connection.rb +0 -3
  82. data/apps/api/app/graphql/types/edges/article_category_edge.rb +0 -5
  83. data/apps/api/app/graphql/types/edges/article_edge.rb +0 -5
  84. data/apps/api/app/graphql/types/edges/base_edge.rb +0 -4
  85. data/apps/api/app/graphql/types/edges/user_edge.rb +0 -5
  86. data/apps/api/app/graphql/types/user_type.rb +0 -24
  87. data/apps/api/app/models/article.rb +0 -4
  88. data/apps/api/app/models/article_category.rb +0 -3
  89. data/apps/api/app/models/user.rb +0 -19
  90. data/apps/api/app/policies/application_policy.rb +0 -40
  91. data/apps/api/app/policies/article_category_policy.rb +0 -31
  92. data/apps/api/app/policies/article_policy.rb +0 -31
  93. data/apps/api/app/policies/user_policy.rb +0 -35
  94. data/apps/api/app/utils/association_loader.rb +0 -50
  95. data/apps/api/app/utils/fire_store.rb +0 -9
  96. data/apps/api/app/utils/firebase_id_token.rb +0 -4
  97. data/apps/api/app/utils/json_web_token.rb +0 -13
  98. data/apps/api/app/utils/record_loader.rb +0 -10
  99. data/apps/api/app/utils/souls_helper.rb +0 -18
  100. data/apps/api/cloudbuild.yml +0 -32
  101. data/apps/api/config.ru +0 -17
  102. data/apps/api/config/database.yml +0 -33
  103. data/apps/api/config/souls.rb +0 -10
  104. data/apps/api/constants/areas.rb +0 -71
  105. data/apps/api/constants/column_name_ja.rb +0 -27
  106. data/apps/api/db/migrate/20200006095538_create_users.rb +0 -30
  107. data/apps/api/db/migrate/20200712180236_create_article_categories.rb +0 -12
  108. data/apps/api/db/migrate/20200714215521_create_articles.rb +0 -22
  109. data/apps/api/db/schema.rb +0 -78
  110. data/apps/api/db/seeds.rb +0 -44
  111. data/apps/api/github/workflows/delivery.yml +0 -81
  112. data/apps/api/log/.keep +0 -0
  113. data/apps/api/spec/factories/article_categories.rb +0 -9
  114. data/apps/api/spec/factories/articles.rb +0 -17
  115. data/apps/api/spec/factories/users.rb +0 -23
  116. data/apps/api/spec/models/article_category_spec.rb +0 -7
  117. data/apps/api/spec/models/article_spec.rb +0 -7
  118. data/apps/api/spec/models/user_spec.rb +0 -7
  119. data/apps/api/spec/mutations/base/article_category_spec.rb +0 -46
  120. data/apps/api/spec/mutations/base/article_spec.rb +0 -70
  121. data/apps/api/spec/mutations/base/user_spec.rb +0 -76
  122. data/apps/api/spec/policies/article_category_policy_spec.rb +0 -24
  123. data/apps/api/spec/policies/article_policy_spec.rb +0 -24
  124. data/apps/api/spec/policies/user_policy_spec.rb +0 -24
  125. data/apps/api/spec/queries/article_category_spec.rb +0 -39
  126. data/apps/api/spec/queries/article_spec.rb +0 -53
  127. data/apps/api/spec/queries/user_spec.rb +0 -59
  128. data/apps/api/spec/resolvers/article_category_search_spec.rb +0 -54
  129. data/apps/api/spec/resolvers/article_search_spec.rb +0 -68
  130. data/apps/api/spec/resolvers/user_search_spec.rb +0 -74
  131. data/apps/api/spec/spec_helper.rb +0 -110
  132. data/apps/api/tmp/.keep +0 -0
  133. data/apps/worker/.env.sample +0 -9
  134. data/apps/worker/.gitignore +0 -32
  135. data/apps/worker/.irbrc +0 -4
  136. data/apps/worker/.rspec +0 -3
  137. data/apps/worker/.rubocop.yml +0 -132
  138. data/apps/worker/.ruby-version +0 -1
  139. data/apps/worker/CODE_OF_CONDUCT.md +0 -74
  140. data/apps/worker/Dockerfile +0 -16
  141. data/apps/worker/Dockerfile.dev +0 -17
  142. data/apps/worker/Gemfile +0 -49
  143. data/apps/worker/Gemfile.lock +0 -396
  144. data/apps/worker/LICENSE.txt +0 -67
  145. data/apps/worker/Procfile +0 -1
  146. data/apps/worker/Procfile.dev +0 -1
  147. data/apps/worker/README.md +0 -37
  148. data/apps/worker/Rakefile +0 -5
  149. data/apps/worker/app.rb +0 -101
  150. data/apps/worker/app/engines/notification_engine.rb +0 -5
  151. data/apps/worker/app/graphql/mutations/.keep +0 -0
  152. data/apps/worker/app/graphql/mutations/base_mutation.rb +0 -16
  153. data/apps/worker/app/graphql/mutations/workers/send_user_mail_job.rb +0 -31
  154. data/apps/worker/app/graphql/souls_api_schema.rb +0 -43
  155. data/apps/worker/app/graphql/types/.keep +0 -0
  156. data/apps/worker/app/graphql/types/base/base_argument.rb +0 -4
  157. data/apps/worker/app/graphql/types/base/base_enum.rb +0 -4
  158. data/apps/worker/app/graphql/types/base/base_field.rb +0 -5
  159. data/apps/worker/app/graphql/types/base/base_input_object.rb +0 -5
  160. data/apps/worker/app/graphql/types/base/base_interface.rb +0 -7
  161. data/apps/worker/app/graphql/types/base/base_object.rb +0 -5
  162. data/apps/worker/app/graphql/types/base/base_scalar.rb +0 -4
  163. data/apps/worker/app/graphql/types/base/base_union.rb +0 -4
  164. data/apps/worker/app/graphql/types/base/mutation_type.rb +0 -12
  165. data/apps/worker/app/graphql/types/base/query_type.rb +0 -6
  166. data/apps/worker/app/models/article.rb +0 -4
  167. data/apps/worker/app/models/article_category.rb +0 -3
  168. data/apps/worker/app/models/user.rb +0 -19
  169. data/apps/worker/app/utils/fire_store.rb +0 -9
  170. data/apps/worker/app/utils/souls_helper.rb +0 -96
  171. data/apps/worker/cloudbuild.yml +0 -32
  172. data/apps/worker/config.ru +0 -17
  173. data/apps/worker/config/database.yml +0 -33
  174. data/apps/worker/config/souls.rb +0 -10
  175. data/apps/worker/db/migrate/20200006095538_create_users.rb +0 -30
  176. data/apps/worker/db/migrate/20200712180236_create_article_categories.rb +0 -12
  177. data/apps/worker/db/migrate/20200714215521_create_articles.rb +0 -22
  178. data/apps/worker/db/schema.rb +0 -78
  179. data/apps/worker/db/seeds.rb +0 -44
  180. data/apps/worker/github/workflows/delivery.yml +0 -81
  181. data/apps/worker/log/.keep +0 -0
  182. data/apps/worker/spec/factories/article_categories.rb +0 -9
  183. data/apps/worker/spec/factories/articles.rb +0 -17
  184. data/apps/worker/spec/factories/users.rb +0 -23
  185. data/apps/worker/spec/models/article_category_spec.rb +0 -7
  186. data/apps/worker/spec/models/article_spec.rb +0 -7
  187. data/apps/worker/spec/models/user_spec.rb +0 -7
  188. data/apps/worker/spec/spec_helper.rb +0 -110
  189. data/apps/worker/tmp/.keep +0 -0
  190. data/bin/console +0 -14
  191. data/bin/setup +0 -8
  192. data/config/souls.rb +0 -9
  193. data/db/schema.rb +0 -67
  194. data/rbs/init.rbs +0 -2
  195. data/souls.gemspec +0 -34
File without changes
@@ -1,9 +0,0 @@
1
- FactoryBot.define do
2
- factory :article_category do
3
- name { Faker::Books::CultureSeries.culture_ship_class }
4
- tags { %w[tag1 tag2 tag3] }
5
- is_deleted { false }
6
- created_at { Time.now }
7
- updated_at { Time.now }
8
- end
9
- end
@@ -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,7 +0,0 @@
1
- RSpec.describe("ArticleCategory Model テスト", type: :model) do
2
- describe "ArticleCategory データを書き込む" do
3
- it "valid ArticleCategory Model" do
4
- expect(FactoryBot.build(:article_category)).to(be_valid)
5
- end
6
- end
7
- end
@@ -1,7 +0,0 @@
1
- RSpec.describe("Article Model テスト", type: :model) do
2
- describe "Article データを書き込む" do
3
- it "valid Article Model" do
4
- expect(FactoryBot.build(:article)).to(be_valid)
5
- end
6
- end
7
- end
@@ -1,7 +0,0 @@
1
- RSpec.describe("User Model テスト", type: :model) do
2
- describe "User データを書き込む" do
3
- it "valid User Model" do
4
- expect(FactoryBot.build(:user)).to(be_valid)
5
- end
6
- end
7
- 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
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
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
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
@@ -1,2 +0,0 @@
1
- module Souls
2
- end
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