souls 0.24.0 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/api_v0.0.1.tar.gz +0 -0
  5. data/apps/api/.env.sample +7 -0
  6. data/apps/api/.gitignore +32 -0
  7. data/apps/api/.irbrc +1 -0
  8. data/apps/api/.rspec +3 -0
  9. data/apps/api/.rubocop.yml +132 -0
  10. data/apps/api/.ruby-version +1 -0
  11. data/apps/api/CODE_OF_CONDUCT.md +74 -0
  12. data/apps/api/Dockerfile +16 -0
  13. data/apps/api/Dockerfile.dev +17 -0
  14. data/apps/api/Gemfile +50 -0
  15. data/apps/api/Gemfile.lock +412 -0
  16. data/apps/api/LICENSE.txt +67 -0
  17. data/apps/api/Procfile +2 -0
  18. data/apps/api/Procfile.dev +2 -0
  19. data/apps/api/README.md +37 -0
  20. data/apps/api/Rakefile +5 -0
  21. data/apps/api/app.rb +114 -0
  22. data/apps/api/app/engines/notification_engine.rb +5 -0
  23. data/apps/api/app/graphql/mutations/.keep +0 -0
  24. data/apps/api/app/graphql/mutations/base/article/create_article.rb +30 -0
  25. data/apps/api/app/graphql/mutations/base/article/delete_article.rb +17 -0
  26. data/apps/api/app/graphql/mutations/base/article/destroy_delete_article.rb +17 -0
  27. data/apps/api/app/graphql/mutations/base/article/update_article.rb +30 -0
  28. data/apps/api/app/graphql/mutations/base/article_category/create_article_category.rb +21 -0
  29. data/apps/api/app/graphql/mutations/base/article_category/delete_article_category.rb +17 -0
  30. data/apps/api/app/graphql/mutations/base/article_category/destroy_delete_article_category.rb +17 -0
  31. data/apps/api/app/graphql/mutations/base/article_category/update_article_category.rb +21 -0
  32. data/apps/api/app/graphql/mutations/base/user/create_user.rb +31 -0
  33. data/apps/api/app/graphql/mutations/base/user/delete_user.rb +17 -0
  34. data/apps/api/app/graphql/mutations/base/user/destroy_delete_user.rb +17 -0
  35. data/apps/api/app/graphql/mutations/base/user/update_user.rb +31 -0
  36. data/apps/api/app/graphql/mutations/base_mutation.rb +65 -0
  37. data/apps/api/app/graphql/mutations/managers/user_manager/add_user_role.rb +22 -0
  38. data/apps/api/app/graphql/mutations/managers/user_manager/remove_user_role.rb +22 -0
  39. data/apps/api/app/graphql/mutations/managers/user_manager/sign_in_user.rb +45 -0
  40. data/apps/api/app/graphql/queries/article.rb +13 -0
  41. data/apps/api/app/graphql/queries/article_categories.rb +11 -0
  42. data/apps/api/app/graphql/queries/article_category.rb +13 -0
  43. data/apps/api/app/graphql/queries/articles.rb +11 -0
  44. data/apps/api/app/graphql/queries/base_query.rb +12 -0
  45. data/apps/api/app/graphql/queries/me.rb +11 -0
  46. data/apps/api/app/graphql/queries/user.rb +13 -0
  47. data/apps/api/app/graphql/queries/users.rb +11 -0
  48. data/apps/api/app/graphql/resolvers/article_category_search.rb +41 -0
  49. data/apps/api/app/graphql/resolvers/article_search.rb +57 -0
  50. data/apps/api/app/graphql/resolvers/base.rb +17 -0
  51. data/apps/api/app/graphql/resolvers/user_search.rb +63 -0
  52. data/apps/api/app/graphql/souls_api_schema.rb +43 -0
  53. data/apps/api/app/graphql/types/.keep +0 -0
  54. data/apps/api/app/graphql/types/article_category_type.rb +12 -0
  55. data/apps/api/app/graphql/types/article_type.rb +30 -0
  56. data/apps/api/app/graphql/types/base/base_argument.rb +4 -0
  57. data/apps/api/app/graphql/types/base/base_enum.rb +4 -0
  58. data/apps/api/app/graphql/types/base/base_field.rb +5 -0
  59. data/apps/api/app/graphql/types/base/base_input_object.rb +5 -0
  60. data/apps/api/app/graphql/types/base/base_interface.rb +7 -0
  61. data/apps/api/app/graphql/types/base/base_object.rb +6 -0
  62. data/apps/api/app/graphql/types/base/base_scalar.rb +4 -0
  63. data/apps/api/app/graphql/types/base/base_union.rb +4 -0
  64. data/apps/api/app/graphql/types/base/mutation_type.rb +26 -0
  65. data/apps/api/app/graphql/types/base/query_type.rb +18 -0
  66. data/apps/api/app/graphql/types/connections/article_category_connection.rb +3 -0
  67. data/apps/api/app/graphql/types/connections/article_connection.rb +3 -0
  68. data/apps/api/app/graphql/types/connections/base_connection.rb +14 -0
  69. data/apps/api/app/graphql/types/connections/user_connection.rb +3 -0
  70. data/apps/api/app/graphql/types/edges/article_category_edge.rb +5 -0
  71. data/apps/api/app/graphql/types/edges/article_edge.rb +5 -0
  72. data/apps/api/app/graphql/types/edges/base_edge.rb +4 -0
  73. data/apps/api/app/graphql/types/edges/user_edge.rb +5 -0
  74. data/apps/api/app/graphql/types/user_type.rb +24 -0
  75. data/apps/api/app/models/article.rb +4 -0
  76. data/apps/api/app/models/article_category.rb +3 -0
  77. data/apps/api/app/models/user.rb +19 -0
  78. data/apps/api/app/policies/application_policy.rb +40 -0
  79. data/apps/api/app/policies/article_category_policy.rb +31 -0
  80. data/apps/api/app/policies/article_policy.rb +31 -0
  81. data/apps/api/app/policies/user_policy.rb +35 -0
  82. data/apps/api/app/utils/association_loader.rb +50 -0
  83. data/apps/api/app/utils/fire_store.rb +9 -0
  84. data/apps/api/app/utils/firebase_id_token.rb +4 -0
  85. data/apps/api/app/utils/json_web_token.rb +13 -0
  86. data/apps/api/app/utils/record_loader.rb +10 -0
  87. data/apps/api/app/utils/souls_helper.rb +18 -0
  88. data/apps/api/cloudbuild.yml +32 -0
  89. data/apps/api/config.ru +17 -0
  90. data/apps/api/config/database.yml +33 -0
  91. data/apps/api/config/souls.rb +10 -0
  92. data/apps/api/constants/areas.rb +71 -0
  93. data/apps/api/constants/column_name_ja.rb +27 -0
  94. data/apps/api/db/migrate/20200006095538_create_users.rb +30 -0
  95. data/apps/api/db/migrate/20200712180236_create_article_categories.rb +12 -0
  96. data/apps/api/db/migrate/20200714215521_create_articles.rb +22 -0
  97. data/apps/api/db/schema.rb +78 -0
  98. data/apps/api/db/seeds.rb +44 -0
  99. data/apps/api/github/workflows/delivery.yml +81 -0
  100. data/apps/api/log/.keep +0 -0
  101. data/apps/api/spec/factories/article_categories.rb +9 -0
  102. data/apps/api/spec/factories/articles.rb +17 -0
  103. data/apps/api/spec/factories/users.rb +23 -0
  104. data/apps/api/spec/models/article_category_spec.rb +7 -0
  105. data/apps/api/spec/models/article_spec.rb +7 -0
  106. data/apps/api/spec/models/user_spec.rb +7 -0
  107. data/apps/api/spec/mutations/base/article_category_spec.rb +46 -0
  108. data/apps/api/spec/mutations/base/article_spec.rb +70 -0
  109. data/apps/api/spec/mutations/base/user_spec.rb +76 -0
  110. data/apps/api/spec/policies/article_category_policy_spec.rb +25 -0
  111. data/apps/api/spec/policies/article_policy_spec.rb +25 -0
  112. data/apps/api/spec/policies/user_policy_spec.rb +5 -0
  113. data/apps/api/spec/queries/article_category_spec.rb +39 -0
  114. data/apps/api/spec/queries/article_spec.rb +53 -0
  115. data/apps/api/spec/queries/user_spec.rb +59 -0
  116. data/apps/api/spec/resolvers/article_category_search_spec.rb +54 -0
  117. data/apps/api/spec/resolvers/article_search_spec.rb +68 -0
  118. data/apps/api/spec/resolvers/user_search_spec.rb +74 -0
  119. data/apps/api/spec/spec_helper.rb +110 -0
  120. data/apps/api/tmp/.keep +0 -0
  121. data/apps/worker/.env.sample +9 -0
  122. data/apps/worker/.gitignore +32 -0
  123. data/apps/worker/.irbrc +1 -0
  124. data/apps/worker/.rspec +3 -0
  125. data/apps/worker/.rubocop.yml +132 -0
  126. data/apps/worker/.ruby-version +1 -0
  127. data/apps/worker/CODE_OF_CONDUCT.md +74 -0
  128. data/apps/worker/Dockerfile +16 -0
  129. data/apps/worker/Dockerfile.dev +17 -0
  130. data/apps/worker/Gemfile +49 -0
  131. data/apps/worker/Gemfile.lock +396 -0
  132. data/apps/worker/LICENSE.txt +67 -0
  133. data/apps/worker/Procfile +1 -0
  134. data/apps/worker/Procfile.dev +1 -0
  135. data/apps/worker/README.md +37 -0
  136. data/apps/worker/Rakefile +5 -0
  137. data/apps/worker/app.rb +101 -0
  138. data/apps/worker/app/engines/notification_engine.rb +5 -0
  139. data/apps/worker/app/graphql/mutations/.keep +0 -0
  140. data/apps/worker/app/graphql/mutations/base_mutation.rb +16 -0
  141. data/apps/worker/app/graphql/mutations/workers/send_user_mail_job.rb +31 -0
  142. data/apps/worker/app/graphql/souls_api_schema.rb +43 -0
  143. data/apps/worker/app/graphql/types/.keep +0 -0
  144. data/apps/worker/app/graphql/types/base/base_argument.rb +4 -0
  145. data/apps/worker/app/graphql/types/base/base_enum.rb +4 -0
  146. data/apps/worker/app/graphql/types/base/base_field.rb +5 -0
  147. data/apps/worker/app/graphql/types/base/base_input_object.rb +5 -0
  148. data/apps/worker/app/graphql/types/base/base_interface.rb +7 -0
  149. data/apps/worker/app/graphql/types/base/base_object.rb +5 -0
  150. data/apps/worker/app/graphql/types/base/base_scalar.rb +4 -0
  151. data/apps/worker/app/graphql/types/base/base_union.rb +4 -0
  152. data/apps/worker/app/graphql/types/base/mutation_type.rb +12 -0
  153. data/apps/worker/app/graphql/types/base/query_type.rb +6 -0
  154. data/apps/worker/app/models/article.rb +4 -0
  155. data/apps/worker/app/models/article_category.rb +3 -0
  156. data/apps/worker/app/models/user.rb +19 -0
  157. data/apps/worker/app/utils/fire_store.rb +9 -0
  158. data/apps/worker/app/utils/souls_helper.rb +96 -0
  159. data/apps/worker/cloudbuild.yml +32 -0
  160. data/apps/worker/config.ru +17 -0
  161. data/apps/worker/config/database.yml +33 -0
  162. data/apps/worker/config/souls.rb +10 -0
  163. data/apps/worker/db/migrate/20200006095538_create_users.rb +30 -0
  164. data/apps/worker/db/migrate/20200712180236_create_article_categories.rb +12 -0
  165. data/apps/worker/db/migrate/20200714215521_create_articles.rb +22 -0
  166. data/apps/worker/db/schema.rb +78 -0
  167. data/apps/worker/db/seeds.rb +44 -0
  168. data/apps/worker/github/workflows/delivery.yml +81 -0
  169. data/apps/worker/log/.keep +0 -0
  170. data/apps/worker/spec/factories/article_categories.rb +9 -0
  171. data/apps/worker/spec/factories/articles.rb +17 -0
  172. data/apps/worker/spec/factories/users.rb +23 -0
  173. data/apps/worker/spec/models/article_category_spec.rb +7 -0
  174. data/apps/worker/spec/models/article_spec.rb +7 -0
  175. data/apps/worker/spec/models/user_spec.rb +7 -0
  176. data/apps/worker/spec/spec_helper.rb +110 -0
  177. data/apps/worker/tmp/.keep +0 -0
  178. data/exe/souls +0 -2
  179. data/lib/souls.rb +0 -18
  180. data/lib/souls/init.rb +1 -1
  181. data/lib/souls/version.rb +1 -1
  182. data/souls_api2.tar.gz +0 -0
  183. metadata +176 -1
File without changes
@@ -0,0 +1,9 @@
1
+ DB_HOST=xxxxx
2
+ DB_USER=xxxxx
3
+ DB_PW=xxxxx
4
+ SLACK=xxxxx
5
+ TZ="Asia/Tokyo"
6
+ SECRET_KEY_BASE=xxxxxxxxxxxxxx
7
+ GCLOUDSQL_INSTANCE=xxxxxxxxx
8
+ SENDGRID=
9
+ ADMIN_EMAIL=
@@ -0,0 +1,32 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+ # Ignore all logfiles and tempfiles.
10
+ /log/*
11
+ /tmp/*
12
+ !/log/.keep
13
+ !/tmp/.keep
14
+ /config/initializers/souls.rb
15
+ /elsoul.key
16
+ # Ignore pidfiles, but keep the directory.
17
+ /tmp/pids/*
18
+ !/tmp/pids/
19
+ !/tmp/pids/.keep
20
+ /infra/config/*
21
+ .env
22
+ .envrc
23
+ .irb_history
24
+ /public/assets
25
+ .byebug_history
26
+ .DS_Store
27
+ # Ignore master key for decrypting credentials and more.
28
+ /config/master.key
29
+ /config/keyfile.json
30
+ /config/initializers/souls.rb
31
+ dump.rdb
32
+ /imgs/
@@ -0,0 +1 @@
1
+ require "./app"
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,132 @@
1
+ require: rubocop-graphql
2
+ AllCops:
3
+ SuggestExtensions: false
4
+ EnabledByDefault: true
5
+ Exclude:
6
+ - "db/migrate/*.rb"
7
+ - "db/schema.rb"
8
+ - "spec/spec_helper.rb"
9
+
10
+ Style/Copyright:
11
+ Description: "Include a copyright notice in each file before any code."
12
+ Enabled: false
13
+ VersionAdded: "0.30"
14
+ Notice: '^Copyright (\(c\) )?2[0-9]{3} .+'
15
+ AutocorrectNotice: "Copyright 2021 by ELSOUL LABO B.V."
16
+
17
+ Style/TopLevelMethodDefinition:
18
+ Exclude:
19
+ - "db/seeds.rb"
20
+ - "spec/spec_helper.rb"
21
+
22
+ Style/IpAddresses:
23
+ Exclude:
24
+ - "config.ru"
25
+ - "Gemfile"
26
+
27
+ Style/HashSyntax:
28
+ EnforcedStyle: ruby19
29
+ Exclude:
30
+ - "**/*.rake"
31
+ - "Rakefile"
32
+
33
+ Style/Semicolon:
34
+ Exclude:
35
+ - "spec/**/*"
36
+
37
+ Style/StringLiterals:
38
+ EnforcedStyle: double_quotes
39
+
40
+ Style/ClassVars:
41
+ Exclude:
42
+ - "spec/spec_helper.rb"
43
+ Style/StringConcatenation:
44
+ Enabled: false
45
+
46
+ Style/Documentation:
47
+ Enabled: false
48
+
49
+ Style/DocumentationMethod:
50
+ Enabled: false
51
+
52
+ Style/FrozenStringLiteralComment:
53
+ Enabled: false
54
+ Style/Lambda:
55
+ EnforcedStyle: literal
56
+
57
+ Style/AsciiComments:
58
+ Enabled: false
59
+
60
+ Style/MissingElse:
61
+ Enabled: false
62
+
63
+ Style/StringHashKeys:
64
+ Exclude:
65
+ - "spec/**/*.rb"
66
+
67
+ Style/CollectionMethods:
68
+ Enabled: false
69
+
70
+ Style/FormatString:
71
+ Enabled: false
72
+
73
+ Style/ClassAndModuleChildren:
74
+ Enabled: false
75
+
76
+ Layout/ExtraSpacing:
77
+ Exclude:
78
+ - "db/migrate/*.rb"
79
+
80
+ Layout/LineEndStringConcatenationIndentation:
81
+ Enabled: false
82
+
83
+ GraphQL/ObjectDescription:
84
+ Enabled: false
85
+
86
+ GraphQL/FieldDescription:
87
+ Enabled: false
88
+
89
+ GraphQL/ArgumentDescription:
90
+ Enabled: false
91
+
92
+ GraphQL/ExtractInputType:
93
+ Enabled: false
94
+
95
+ GraphQL/ExtractType:
96
+ Enabled: false
97
+
98
+ GraphQL/ArgumentName:
99
+ Enabled: false
100
+
101
+ Lint/ConstantResolution:
102
+ Enabled: false
103
+
104
+ Lint/NumberConversion:
105
+ Enabled: false
106
+
107
+ Lint/MissingSuper:
108
+ Enabled: false
109
+
110
+ Metrics/AbcSize:
111
+ Enabled: false
112
+
113
+ Metrics/MethodLength:
114
+ Enabled: false
115
+
116
+ Metrics/BlockLength:
117
+ Enabled: false
118
+
119
+ Metrics/CyclomaticComplexity:
120
+ Enabled: false
121
+
122
+ Metrics/PerceivedComplexity:
123
+ Enabled: false
124
+
125
+ Naming/AccessorMethodName:
126
+ Enabled: false
127
+
128
+ Naming/PredicateName:
129
+ Enabled: false
130
+
131
+ Bundler/GemComment:
132
+ Enabled: false
@@ -0,0 +1 @@
1
+ 3.0.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at fumitake.kawasaki@el-soul.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
@@ -0,0 +1,16 @@
1
+ FROM ruby:3.0.1
2
+
3
+ RUN apt-get update -qq && apt-get install -y nodejs redis-server
4
+
5
+ USER root
6
+
7
+ RUN mkdir /myapp
8
+ WORKDIR /myapp
9
+
10
+ COPY Gemfile /myapp/Gemfile
11
+ COPY Gemfile.lock /myapp/Gemfile.lock
12
+ RUN gem install bundler:2.2.24
13
+ RUN bundle
14
+ COPY . /myapp
15
+
16
+ CMD ["foreman", "start"]
@@ -0,0 +1,17 @@
1
+ FROM ruby:3.0.1
2
+
3
+ RUN apt-get update -qq && apt-get install -y nodejs redis-server
4
+
5
+ USER root
6
+
7
+ RUN mkdir /myapp
8
+ WORKDIR /myapp
9
+
10
+ COPY Gemfile /myapp/Gemfile
11
+ COPY Gemfile.lock /myapp/Gemfile.lock
12
+ RUN gem install bundler:2.2.23
13
+ RUN bundle
14
+ COPY . /myapp
15
+
16
+ EXPOSE 3000
17
+ CMD ["foreman", "start", "-f", "Procfile.dev"]
@@ -0,0 +1,49 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "6.1.4"
4
+ gem "dotenv", "2.7.6"
5
+ gem "foreman", "0.87.2"
6
+ gem "google-cloud-firestore", "2.6.1"
7
+ gem "google-cloud-pubsub", "2.7.1"
8
+ gem "google-cloud-storage", "1.34.1"
9
+ gem "graphql", "1.12.13"
10
+ gem "graphql-batch", "0.4.3"
11
+ gem "jwt", "2.2.3"
12
+ gem "pg", "1.2.3"
13
+ gem "puma", "5.3.2"
14
+ gem "pundit", "2.1.0"
15
+ gem "rack-contrib", "2.3.0"
16
+ gem "rack-cors", "1.1.1"
17
+ gem "rake", "13.0.6"
18
+ gem "role_model", "0.8.2"
19
+ gem "search_object_graphql", "1.0.1"
20
+ gem "sendgrid-ruby", "6.4.0"
21
+ gem "sinatra", "2.1.0"
22
+ gem "sinatra-activerecord", "2.0.23"
23
+ gem "sinatra-contrib", "2.1.0"
24
+ gem "slack-ruby3", "0.1.2"
25
+ gem "zeitwerk", "2.4.2"
26
+
27
+ group :development, :test do
28
+ gem "capybara", "3.35.3"
29
+ gem "database_cleaner", "2.0.1"
30
+ gem "factory_bot", "6.2.0"
31
+ gem "faker", "2.18.0"
32
+ gem "gimei", "1.0.0"
33
+ gem "graphql_playground", "0.0.1"
34
+ gem "pundit-matchers", "1.7.0"
35
+ gem "rack-test", "1.1.0"
36
+ gem "rspec", "3.10.0"
37
+ gem "rubocop", "1.18.3"
38
+ gem "selenium-webdriver", "3.142.7"
39
+ gem "solargraph", "0.42.4"
40
+ gem "souls", "0.24.0"
41
+ gem "webmock", "3.13.0"
42
+ end
43
+
44
+ group :development do
45
+ gem "listen", "3.5.1"
46
+ gem "rubocop-graphql", "0.9.0"
47
+ gem "spring", "2.1.1"
48
+ gem "spring-watcher-listen", "2.0.1"
49
+ end
@@ -0,0 +1,396 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ actionpack (6.1.4)
5
+ actionview (= 6.1.4)
6
+ activesupport (= 6.1.4)
7
+ rack (~> 2.0, >= 2.0.9)
8
+ rack-test (>= 0.6.3)
9
+ rails-dom-testing (~> 2.0)
10
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
11
+ actionview (6.1.4)
12
+ activesupport (= 6.1.4)
13
+ builder (~> 3.1)
14
+ erubi (~> 1.4)
15
+ rails-dom-testing (~> 2.0)
16
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
17
+ activemodel (6.1.4)
18
+ activesupport (= 6.1.4)
19
+ activerecord (6.1.4)
20
+ activemodel (= 6.1.4)
21
+ activesupport (= 6.1.4)
22
+ activesupport (6.1.4)
23
+ concurrent-ruby (~> 1.0, >= 1.0.2)
24
+ i18n (>= 1.6, < 2)
25
+ minitest (>= 5.1)
26
+ tzinfo (~> 2.0)
27
+ zeitwerk (~> 2.3)
28
+ addressable (2.8.0)
29
+ public_suffix (>= 2.0.2, < 5.0)
30
+ ast (2.4.2)
31
+ backport (1.2.0)
32
+ benchmark (0.1.1)
33
+ builder (3.2.4)
34
+ capybara (3.35.3)
35
+ addressable
36
+ mini_mime (>= 0.1.3)
37
+ nokogiri (~> 1.8)
38
+ rack (>= 1.6.0)
39
+ rack-test (>= 0.6.3)
40
+ regexp_parser (>= 1.5, < 3.0)
41
+ xpath (~> 3.2)
42
+ childprocess (3.0.0)
43
+ concurrent-ruby (1.1.9)
44
+ crack (0.4.5)
45
+ rexml
46
+ crass (1.0.6)
47
+ database_cleaner (2.0.1)
48
+ database_cleaner-active_record (~> 2.0.0)
49
+ database_cleaner-active_record (2.0.1)
50
+ activerecord (>= 5.a)
51
+ database_cleaner-core (~> 2.0.0)
52
+ database_cleaner-core (2.0.1)
53
+ declarative (0.0.20)
54
+ diff-lcs (1.4.4)
55
+ digest-crc (0.6.3)
56
+ rake (>= 12.0.0, < 14.0.0)
57
+ dotenv (2.7.6)
58
+ e2mmap (0.1.0)
59
+ erubi (1.10.0)
60
+ factory_bot (6.2.0)
61
+ activesupport (>= 5.0.0)
62
+ faker (2.18.0)
63
+ i18n (>= 1.6, < 2)
64
+ faraday (1.5.1)
65
+ faraday-em_http (~> 1.0)
66
+ faraday-em_synchrony (~> 1.0)
67
+ faraday-excon (~> 1.1)
68
+ faraday-httpclient (~> 1.0.1)
69
+ faraday-net_http (~> 1.0)
70
+ faraday-net_http_persistent (~> 1.1)
71
+ faraday-patron (~> 1.0)
72
+ multipart-post (>= 1.2, < 3)
73
+ ruby2_keywords (>= 0.0.4)
74
+ faraday-em_http (1.0.0)
75
+ faraday-em_synchrony (1.0.0)
76
+ faraday-excon (1.1.0)
77
+ faraday-httpclient (1.0.1)
78
+ faraday-net_http (1.0.1)
79
+ faraday-net_http_persistent (1.2.0)
80
+ faraday-patron (1.0.0)
81
+ ffi (1.15.3)
82
+ foreman (0.87.2)
83
+ gapic-common (0.5.0)
84
+ faraday (~> 1.3)
85
+ google-protobuf (~> 3.14)
86
+ googleapis-common-protos (>= 1.3.11, < 2.a)
87
+ googleapis-common-protos-types (>= 1.0.6, < 2.a)
88
+ googleauth (>= 0.16.2, < 2.a)
89
+ grpc (~> 1.36)
90
+ gimei (1.0.0)
91
+ romaji
92
+ google-apis-core (0.4.1)
93
+ addressable (~> 2.5, >= 2.5.1)
94
+ googleauth (>= 0.16.2, < 2.a)
95
+ httpclient (>= 2.8.1, < 3.a)
96
+ mini_mime (~> 1.0)
97
+ representable (~> 3.0)
98
+ retriable (>= 2.0, < 4.a)
99
+ rexml
100
+ webrick
101
+ google-apis-iamcredentials_v1 (0.6.0)
102
+ google-apis-core (>= 0.4, < 2.a)
103
+ google-apis-storage_v1 (0.6.0)
104
+ google-apis-core (>= 0.4, < 2.a)
105
+ google-cloud-core (1.6.0)
106
+ google-cloud-env (~> 1.0)
107
+ google-cloud-errors (~> 1.0)
108
+ google-cloud-env (1.5.0)
109
+ faraday (>= 0.17.3, < 2.0)
110
+ google-cloud-errors (1.1.0)
111
+ google-cloud-firestore (2.6.1)
112
+ concurrent-ruby (~> 1.0)
113
+ google-cloud-core (~> 1.5)
114
+ google-cloud-firestore-v1 (~> 0.0)
115
+ rbtree (~> 0.4.2)
116
+ google-cloud-firestore-v1 (0.4.3)
117
+ gapic-common (>= 0.5, < 2.a)
118
+ google-cloud-errors (~> 1.0)
119
+ google-cloud-pubsub (2.7.1)
120
+ concurrent-ruby (~> 1.1)
121
+ google-cloud-core (~> 1.5)
122
+ google-cloud-pubsub-v1 (~> 0.0)
123
+ google-cloud-pubsub-v1 (0.5.2)
124
+ gapic-common (>= 0.5, < 2.a)
125
+ google-cloud-errors (~> 1.0)
126
+ grpc-google-iam-v1 (>= 0.6.10, < 2.a)
127
+ google-cloud-storage (1.34.1)
128
+ addressable (~> 2.5)
129
+ digest-crc (~> 0.4)
130
+ google-apis-iamcredentials_v1 (~> 0.1)
131
+ google-apis-storage_v1 (~> 0.1)
132
+ google-cloud-core (~> 1.6)
133
+ googleauth (>= 0.16.2, < 2.a)
134
+ mini_mime (~> 1.0)
135
+ google-protobuf (3.17.3-x86_64-linux)
136
+ googleapis-common-protos (1.3.11)
137
+ google-protobuf (~> 3.14)
138
+ googleapis-common-protos-types (>= 1.0.6, < 2.0)
139
+ grpc (~> 1.27)
140
+ googleapis-common-protos-types (1.1.0)
141
+ google-protobuf (~> 3.14)
142
+ googleauth (0.16.2)
143
+ faraday (>= 0.17.3, < 2.0)
144
+ jwt (>= 1.4, < 3.0)
145
+ memoist (~> 0.16)
146
+ multi_json (~> 1.11)
147
+ os (>= 0.9, < 2.0)
148
+ signet (~> 0.14)
149
+ graphql (1.12.13)
150
+ graphql-batch (0.4.3)
151
+ graphql (>= 1.3, < 2)
152
+ promise.rb (~> 0.7.2)
153
+ graphql_playground (0.0.1)
154
+ grpc (1.38.0-x86_64-linux)
155
+ google-protobuf (~> 3.15)
156
+ googleapis-common-protos-types (~> 1.0)
157
+ grpc-google-iam-v1 (0.6.11)
158
+ google-protobuf (~> 3.14)
159
+ googleapis-common-protos (>= 1.3.11, < 2.0)
160
+ grpc (~> 1.27)
161
+ hashdiff (1.0.1)
162
+ httpclient (2.8.3)
163
+ i18n (1.8.10)
164
+ concurrent-ruby (~> 1.0)
165
+ jaro_winkler (1.5.4)
166
+ jwt (2.2.3)
167
+ kramdown (2.3.1)
168
+ rexml
169
+ kramdown-parser-gfm (1.1.0)
170
+ kramdown (~> 2.0)
171
+ listen (3.5.1)
172
+ rb-fsevent (~> 0.10, >= 0.10.3)
173
+ rb-inotify (~> 0.9, >= 0.9.10)
174
+ loofah (2.10.0)
175
+ crass (~> 1.0.2)
176
+ nokogiri (>= 1.5.9)
177
+ memoist (0.16.2)
178
+ method_source (1.0.0)
179
+ mini_mime (1.1.0)
180
+ minitest (5.14.4)
181
+ multi_json (1.15.0)
182
+ multipart-post (2.1.1)
183
+ mustermann (1.1.1)
184
+ ruby2_keywords (~> 0.0.1)
185
+ nio4r (2.5.7)
186
+ nokogiri (1.11.7-x86_64-linux)
187
+ racc (~> 1.4)
188
+ os (1.1.1)
189
+ paint (2.2.1)
190
+ parallel (1.20.1)
191
+ parser (3.0.2.0)
192
+ ast (~> 2.4.1)
193
+ pg (1.2.3)
194
+ promise.rb (0.7.4)
195
+ public_suffix (4.0.6)
196
+ puma (5.3.2)
197
+ nio4r (~> 2.0)
198
+ pundit (2.1.0)
199
+ activesupport (>= 3.0.0)
200
+ pundit-matchers (1.7.0)
201
+ rspec-rails (>= 3.0.0)
202
+ racc (1.5.2)
203
+ rack (2.2.3)
204
+ rack-contrib (2.3.0)
205
+ rack (~> 2.0)
206
+ rack-cors (1.1.1)
207
+ rack (>= 2.0.0)
208
+ rack-protection (2.1.0)
209
+ rack
210
+ rack-test (1.1.0)
211
+ rack (>= 1.0, < 3)
212
+ rails-dom-testing (2.0.3)
213
+ activesupport (>= 4.2.0)
214
+ nokogiri (>= 1.6)
215
+ rails-html-sanitizer (1.3.0)
216
+ loofah (~> 2.3)
217
+ railties (6.1.4)
218
+ actionpack (= 6.1.4)
219
+ activesupport (= 6.1.4)
220
+ method_source
221
+ rake (>= 0.13)
222
+ thor (~> 1.0)
223
+ rainbow (3.0.0)
224
+ rake (13.0.6)
225
+ rb-fsevent (0.11.0)
226
+ rb-inotify (0.10.1)
227
+ ffi (~> 1.0)
228
+ rbtree (0.4.4)
229
+ regexp_parser (2.1.1)
230
+ representable (3.1.1)
231
+ declarative (< 0.1.0)
232
+ trailblazer-option (>= 0.1.1, < 0.2.0)
233
+ uber (< 0.2.0)
234
+ retriable (3.1.2)
235
+ reverse_markdown (2.0.0)
236
+ nokogiri
237
+ rexml (3.2.5)
238
+ role_model (0.8.2)
239
+ romaji (0.2.4)
240
+ rake (>= 0.8.0)
241
+ rspec (3.10.0)
242
+ rspec-core (~> 3.10.0)
243
+ rspec-expectations (~> 3.10.0)
244
+ rspec-mocks (~> 3.10.0)
245
+ rspec-core (3.10.1)
246
+ rspec-support (~> 3.10.0)
247
+ rspec-expectations (3.10.1)
248
+ diff-lcs (>= 1.2.0, < 2.0)
249
+ rspec-support (~> 3.10.0)
250
+ rspec-mocks (3.10.2)
251
+ diff-lcs (>= 1.2.0, < 2.0)
252
+ rspec-support (~> 3.10.0)
253
+ rspec-rails (5.0.1)
254
+ actionpack (>= 5.2)
255
+ activesupport (>= 5.2)
256
+ railties (>= 5.2)
257
+ rspec-core (~> 3.10)
258
+ rspec-expectations (~> 3.10)
259
+ rspec-mocks (~> 3.10)
260
+ rspec-support (~> 3.10)
261
+ rspec-support (3.10.2)
262
+ rubocop (1.18.3)
263
+ parallel (~> 1.10)
264
+ parser (>= 3.0.0.0)
265
+ rainbow (>= 2.2.2, < 4.0)
266
+ regexp_parser (>= 1.8, < 3.0)
267
+ rexml
268
+ rubocop-ast (>= 1.7.0, < 2.0)
269
+ ruby-progressbar (~> 1.7)
270
+ unicode-display_width (>= 1.4.0, < 3.0)
271
+ rubocop-ast (1.8.0)
272
+ parser (>= 3.0.1.1)
273
+ rubocop-graphql (0.9.0)
274
+ rubocop (>= 0.87, < 2)
275
+ ruby-progressbar (1.11.0)
276
+ ruby2_keywords (0.0.5)
277
+ ruby_http_client (3.5.2)
278
+ rubyzip (2.3.2)
279
+ search_object (1.2.4)
280
+ search_object_graphql (1.0.1)
281
+ graphql (~> 1.8)
282
+ search_object (~> 1.2.2)
283
+ selenium-webdriver (3.142.7)
284
+ childprocess (>= 0.5, < 4.0)
285
+ rubyzip (>= 1.2.2)
286
+ sendgrid-ruby (6.4.0)
287
+ ruby_http_client (~> 3.4)
288
+ signet (0.15.0)
289
+ addressable (~> 2.3)
290
+ faraday (>= 0.17.3, < 2.0)
291
+ jwt (>= 1.5, < 3.0)
292
+ multi_json (~> 1.10)
293
+ sinatra (2.1.0)
294
+ mustermann (~> 1.0)
295
+ rack (~> 2.2)
296
+ rack-protection (= 2.1.0)
297
+ tilt (~> 2.0)
298
+ sinatra-activerecord (2.0.23)
299
+ activerecord (>= 4.1)
300
+ sinatra (>= 1.0)
301
+ sinatra-contrib (2.1.0)
302
+ multi_json
303
+ mustermann (~> 1.0)
304
+ rack-protection (= 2.1.0)
305
+ sinatra (= 2.1.0)
306
+ tilt (~> 2.0)
307
+ slack-ruby3 (0.1.2)
308
+ solargraph (0.42.4)
309
+ backport (~> 1.2)
310
+ benchmark
311
+ bundler (>= 1.17.2)
312
+ diff-lcs (~> 1.4)
313
+ e2mmap
314
+ jaro_winkler (~> 1.5)
315
+ kramdown (~> 2.3)
316
+ kramdown-parser-gfm (~> 1.1)
317
+ parser (~> 3.0)
318
+ reverse_markdown (>= 1.0.5, < 3)
319
+ rubocop (>= 0.52)
320
+ thor (~> 1.0)
321
+ tilt (~> 2.0)
322
+ yard (~> 0.9, >= 0.9.24)
323
+ souls (0.24.0)
324
+ paint (= 2.2.1)
325
+ whirly (= 0.3.0)
326
+ spring (2.1.1)
327
+ spring-watcher-listen (2.0.1)
328
+ listen (>= 2.7, < 4.0)
329
+ spring (>= 1.2, < 3.0)
330
+ thor (1.1.0)
331
+ tilt (2.0.10)
332
+ trailblazer-option (0.1.1)
333
+ tzinfo (2.0.4)
334
+ concurrent-ruby (~> 1.0)
335
+ uber (0.1.0)
336
+ unicode-display_width (2.0.0)
337
+ webmock (3.13.0)
338
+ addressable (>= 2.3.6)
339
+ crack (>= 0.3.2)
340
+ hashdiff (>= 0.4.0, < 2.0.0)
341
+ webrick (1.7.0)
342
+ whirly (0.3.0)
343
+ unicode-display_width (>= 1.1)
344
+ xpath (3.2.0)
345
+ nokogiri (~> 1.8)
346
+ yard (0.9.26)
347
+ zeitwerk (2.4.2)
348
+
349
+ PLATFORMS
350
+ x86_64-linux
351
+
352
+ DEPENDENCIES
353
+ activesupport (= 6.1.4)
354
+ capybara (= 3.35.3)
355
+ database_cleaner (= 2.0.1)
356
+ dotenv (= 2.7.6)
357
+ factory_bot (= 6.2.0)
358
+ faker (= 2.18.0)
359
+ foreman (= 0.87.2)
360
+ gimei (= 1.0.0)
361
+ google-cloud-firestore (= 2.6.1)
362
+ google-cloud-pubsub (= 2.7.1)
363
+ google-cloud-storage (= 1.34.1)
364
+ graphql (= 1.12.13)
365
+ graphql-batch (= 0.4.3)
366
+ graphql_playground (= 0.0.1)
367
+ jwt (= 2.2.3)
368
+ listen (= 3.5.1)
369
+ pg (= 1.2.3)
370
+ puma (= 5.3.2)
371
+ pundit (= 2.1.0)
372
+ pundit-matchers (= 1.7.0)
373
+ rack-contrib (= 2.3.0)
374
+ rack-cors (= 1.1.1)
375
+ rack-test (= 1.1.0)
376
+ rake (= 13.0.6)
377
+ role_model (= 0.8.2)
378
+ rspec (= 3.10.0)
379
+ rubocop (= 1.18.3)
380
+ rubocop-graphql (= 0.9.0)
381
+ search_object_graphql (= 1.0.1)
382
+ selenium-webdriver (= 3.142.7)
383
+ sendgrid-ruby (= 6.4.0)
384
+ sinatra (= 2.1.0)
385
+ sinatra-activerecord (= 2.0.23)
386
+ sinatra-contrib (= 2.1.0)
387
+ slack-ruby3 (= 0.1.2)
388
+ solargraph (= 0.42.4)
389
+ souls (= 0.24.0)
390
+ spring (= 2.1.1)
391
+ spring-watcher-listen (= 2.0.1)
392
+ webmock (= 3.13.0)
393
+ zeitwerk (= 2.4.2)
394
+
395
+ BUNDLED WITH
396
+ 2.2.24