souls 0.22.6 → 0.22.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/exe/souls +21 -5
  4. data/hoy/.env.sample +7 -0
  5. data/hoy/.gitignore +32 -0
  6. data/hoy/.irbrc +1 -0
  7. data/hoy/.rspec +3 -0
  8. data/hoy/.rubocop.yml +132 -0
  9. data/hoy/.ruby-version +1 -0
  10. data/hoy/CODE_OF_CONDUCT.md +74 -0
  11. data/hoy/Dockerfile +16 -0
  12. data/hoy/Dockerfile.dev +17 -0
  13. data/hoy/Gemfile +50 -0
  14. data/hoy/Gemfile.lock +407 -0
  15. data/hoy/LICENSE.txt +67 -0
  16. data/hoy/Procfile +2 -0
  17. data/hoy/Procfile.dev +2 -0
  18. data/hoy/README.md +61 -0
  19. data/hoy/Rakefile +5 -0
  20. data/hoy/app.rb +116 -0
  21. data/hoy/app/graphql/mutations/.keep +0 -0
  22. data/hoy/app/graphql/mutations/base/article/create_article.rb +30 -0
  23. data/hoy/app/graphql/mutations/base/article/delete_article.rb +17 -0
  24. data/hoy/app/graphql/mutations/base/article/destroy_delete_article.rb +17 -0
  25. data/hoy/app/graphql/mutations/base/article/update_article.rb +30 -0
  26. data/hoy/app/graphql/mutations/base/article_category/create_article_category.rb +21 -0
  27. data/hoy/app/graphql/mutations/base/article_category/delete_article_category.rb +17 -0
  28. data/hoy/app/graphql/mutations/base/article_category/destroy_delete_article_category.rb +17 -0
  29. data/hoy/app/graphql/mutations/base/article_category/update_article_category.rb +21 -0
  30. data/hoy/app/graphql/mutations/base/user/create_user.rb +31 -0
  31. data/hoy/app/graphql/mutations/base/user/delete_user.rb +17 -0
  32. data/hoy/app/graphql/mutations/base/user/destroy_delete_user.rb +17 -0
  33. data/hoy/app/graphql/mutations/base/user/update_user.rb +31 -0
  34. data/hoy/app/graphql/mutations/base_mutation.rb +33 -0
  35. data/hoy/app/graphql/mutations/user_manager/add_user_role.rb +22 -0
  36. data/hoy/app/graphql/mutations/user_manager/remove_user_role.rb +22 -0
  37. data/hoy/app/graphql/mutations/user_manager/sign_in_user.rb +45 -0
  38. data/hoy/app/graphql/queries/article.rb +13 -0
  39. data/hoy/app/graphql/queries/article_categories.rb +11 -0
  40. data/hoy/app/graphql/queries/article_category.rb +13 -0
  41. data/hoy/app/graphql/queries/articles.rb +11 -0
  42. data/hoy/app/graphql/queries/base_query.rb +9 -0
  43. data/hoy/app/graphql/queries/me.rb +11 -0
  44. data/hoy/app/graphql/queries/user.rb +13 -0
  45. data/hoy/app/graphql/queries/users.rb +11 -0
  46. data/hoy/app/graphql/resolvers/article_category_search.rb +41 -0
  47. data/hoy/app/graphql/resolvers/article_search.rb +57 -0
  48. data/hoy/app/graphql/resolvers/base.rb +17 -0
  49. data/hoy/app/graphql/resolvers/user_search.rb +63 -0
  50. data/hoy/app/graphql/souls_api_schema.rb +43 -0
  51. data/hoy/app/graphql/types/.keep +0 -0
  52. data/hoy/app/graphql/types/article_category_type.rb +12 -0
  53. data/hoy/app/graphql/types/article_type.rb +30 -0
  54. data/hoy/app/graphql/types/base/base_argument.rb +4 -0
  55. data/hoy/app/graphql/types/base/base_enum.rb +4 -0
  56. data/hoy/app/graphql/types/base/base_field.rb +5 -0
  57. data/hoy/app/graphql/types/base/base_input_object.rb +5 -0
  58. data/hoy/app/graphql/types/base/base_interface.rb +7 -0
  59. data/hoy/app/graphql/types/base/base_object.rb +6 -0
  60. data/hoy/app/graphql/types/base/base_scalar.rb +4 -0
  61. data/hoy/app/graphql/types/base/base_union.rb +4 -0
  62. data/hoy/app/graphql/types/base/mutation_type.rb +16 -0
  63. data/hoy/app/graphql/types/base/query_type.rb +18 -0
  64. data/hoy/app/graphql/types/connections/article_category_connection.rb +3 -0
  65. data/hoy/app/graphql/types/connections/article_connection.rb +3 -0
  66. data/hoy/app/graphql/types/connections/base_connection.rb +14 -0
  67. data/hoy/app/graphql/types/connections/user_connection.rb +3 -0
  68. data/hoy/app/graphql/types/edges/article_category_edge.rb +5 -0
  69. data/hoy/app/graphql/types/edges/article_edge.rb +5 -0
  70. data/hoy/app/graphql/types/edges/base_edge.rb +4 -0
  71. data/hoy/app/graphql/types/edges/user_edge.rb +5 -0
  72. data/hoy/app/graphql/types/user_type.rb +22 -0
  73. data/hoy/app/models/article.rb +4 -0
  74. data/hoy/app/models/article_category.rb +3 -0
  75. data/hoy/app/models/user.rb +19 -0
  76. data/hoy/app/policies/application_policy.rb +40 -0
  77. data/hoy/app/policies/article_category_policy.rb +31 -0
  78. data/hoy/app/policies/article_policy.rb +31 -0
  79. data/hoy/app/policies/user_policy.rb +35 -0
  80. data/hoy/app/utils/association_loader.rb +50 -0
  81. data/hoy/app/utils/firebase_id_token.rb +4 -0
  82. data/hoy/app/utils/json_web_token.rb +13 -0
  83. data/hoy/app/utils/record_loader.rb +10 -0
  84. data/hoy/app/utils/souls_helper.rb +96 -0
  85. data/hoy/cloudbuild.yml +32 -0
  86. data/hoy/config.ru +17 -0
  87. data/hoy/config/database.yml +33 -0
  88. data/hoy/config/souls.rb +4 -0
  89. data/hoy/constants/areas.rb +71 -0
  90. data/hoy/constants/column_name_ja.rb +27 -0
  91. data/hoy/db/migrate/20200006095538_create_users.rb +30 -0
  92. data/hoy/db/migrate/20200712180236_create_article_categories.rb +12 -0
  93. data/hoy/db/migrate/20200714215521_create_articles.rb +22 -0
  94. data/hoy/db/schema.rb +78 -0
  95. data/hoy/db/seeds.rb +44 -0
  96. data/hoy/github/workflows/delivery.yml +81 -0
  97. data/hoy/log/.keep +0 -0
  98. data/hoy/spec/factories/article_categories.rb +9 -0
  99. data/hoy/spec/factories/articles.rb +17 -0
  100. data/hoy/spec/factories/users.rb +23 -0
  101. data/hoy/spec/models/article_category_spec.rb +7 -0
  102. data/hoy/spec/models/article_spec.rb +7 -0
  103. data/hoy/spec/models/user_spec.rb +7 -0
  104. data/hoy/spec/mutations/base/article_category_spec.rb +46 -0
  105. data/hoy/spec/mutations/base/article_spec.rb +70 -0
  106. data/hoy/spec/mutations/base/user_spec.rb +76 -0
  107. data/hoy/spec/policies/article_category_policy_spec.rb +25 -0
  108. data/hoy/spec/policies/article_policy_spec.rb +25 -0
  109. data/hoy/spec/policies/user_policy_spec.rb +5 -0
  110. data/hoy/spec/queries/article_category_spec.rb +39 -0
  111. data/hoy/spec/queries/article_spec.rb +53 -0
  112. data/hoy/spec/queries/user_spec.rb +59 -0
  113. data/hoy/spec/resolvers/article_category_search_spec.rb +54 -0
  114. data/hoy/spec/resolvers/article_search_spec.rb +68 -0
  115. data/hoy/spec/resolvers/user_search_spec.rb +74 -0
  116. data/hoy/spec/spec_helper.rb +110 -0
  117. data/hoy/tmp/.keep +0 -0
  118. data/lib/souls/init.rb +16 -9
  119. data/lib/souls/version.rb +1 -1
  120. metadata +115 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd2faa6f8e7051a032899708b1dd4bb76d7b26d4356152524033c8d5c681d53c
4
- data.tar.gz: c348b3a03e2d0424194840c35b30406d5ce8915eb38fe0f98dab027a254d76fb
3
+ metadata.gz: da1b4ef96274286a1ecd371eba2f6047ebcb8c07e1522c9c999c7e8700e5bd8e
4
+ data.tar.gz: ad35a9b26fc7197727f12e0372088adbd7caf35bfd5cf6ada2616efa3d89082e
5
5
  SHA512:
6
- metadata.gz: 1540b390438a9f73da430fa2ffa7fa29bd134ab043e2aec9e5758f6b26ea381be1990050a6c8c77b2fe1293aadab086937c2b8dd0f93fda84eb72696ef9000a8
7
- data.tar.gz: c3de92ab1a4305b7e4ca21cb07f31c3ee3e849d18c8d702892394fb761d42bd7cc8f778b35c4f4766af4083e6a1d6e150d71f9d43c2d8cb1d5cf653f2f945d50
6
+ metadata.gz: db071ff2745d11749a9fe381ffef10dca4e001baa17e8509d3c1ee59acd8d4390e12e142e4442875977568c3c0f364fbd0e8d87192f572485654bfb10e3e3071
7
+ data.tar.gz: e54a5a17e3a57a7d1f8493dd6a69584ba19cd6c3cb70a59d58e171dafdc80ccfa717a4669ba8e1b74fb40e3340879a2adca244d4a2b02984c48e02bc72dfa6cf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- souls (0.22.5)
4
+ souls (0.22.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/exe/souls CHANGED
@@ -8,16 +8,32 @@ end
8
8
  begin
9
9
  case ARGV[0]
10
10
  when "new"
11
- STRAINS = ["api", "worker", "media", "admin"]
11
+ STRAINS = ["api", "worker", "console", "admin", "media"]
12
12
  if ARGV[1].nil?
13
13
  puts "you need to specify your app name \n `souls new app_name`"
14
14
  exit
15
15
  end
16
- puts "Which framework: \n 1. SOULs GraphQL API \n 2. SOULs Worker \n 3. SOULs Media Web \n 4. SOULs Admin Web \n Enter Number: "
16
+ first_message = Paint % [
17
+ "Select Strain: %{red_text} %{yellow_text} %{green_text} %{blue_text} %{cyan_text}",
18
+ :white,
19
+ {
20
+ red_text: ["\n1. SOULs GraphQL API", :red],
21
+ yellow_text: ["\n2. SOULs Worker", :yellow],
22
+ green_text: ["\n3. SOULs Console Web", :green],
23
+ blue_text: ["\n4. SOULs Admin Web", :blue],
24
+ cyan_text: ["\n5. SOULs Media Web", :cyan]
25
+ }
26
+ ]
27
+ puts first_message
17
28
  strain = STDIN.gets.chomp.to_i
18
- (1..4).include?(strain) ? puts("Generating SOULs.. \n") : raise(StandardError, "Choose Number 1..4")
19
- Souls::Init.download_souls app_name: ARGV[1], repository_name: "souls_#{STRAINS[strain.to_i - 1]}"
20
- Souls::Init.initial_config_init app_name: ARGV[1], strain: STRAINS[strain.to_i - 1]
29
+ case strain
30
+ when 1, 2
31
+ Souls::Init.download_souls app_name: ARGV[1], repository_name: "souls_#{STRAINS[strain.to_i - 1]}"
32
+ Souls::Init.initial_config_init app_name: ARGV[1], strain: STRAINS[strain.to_i - 1]
33
+ else
34
+ puts "Coming Soon..."
35
+ end
36
+
21
37
  when "s", "server"
22
38
  strain = Souls.configuration.strain
23
39
  case strain
data/hoy/.env.sample ADDED
@@ -0,0 +1,7 @@
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
data/hoy/.gitignore ADDED
@@ -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/
data/hoy/.irbrc ADDED
@@ -0,0 +1 @@
1
+ require "./app"
data/hoy/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/hoy/.rubocop.yml ADDED
@@ -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
data/hoy/.ruby-version ADDED
@@ -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/
data/hoy/Dockerfile ADDED
@@ -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.23
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"]
data/hoy/Gemfile ADDED
@@ -0,0 +1,50 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "6.1.4"
4
+ gem "dotenv", "2.7.6"
5
+ gem "firebase_id_token", "2.4.0"
6
+ gem "foreman", "0.87.2"
7
+ gem "google-cloud-firestore", "2.6.1"
8
+ gem "google-cloud-pubsub", "2.7.1"
9
+ gem "google-cloud-storage", "1.34.1"
10
+ gem "graphql", "1.12.13"
11
+ gem "graphql-batch", "0.4.3"
12
+ gem "jwt", "2.2.3"
13
+ gem "pg", "1.2.3"
14
+ gem "puma", "5.3.2"
15
+ gem "pundit", "2.1.0"
16
+ gem "rack-contrib", "2.3.0"
17
+ gem "rack-cors", "1.1.1"
18
+ gem "rake", "13.0.6"
19
+ gem "role_model", "0.8.2"
20
+ gem "search_object_graphql", "1.0.1"
21
+ gem "sendgrid-ruby", "6.4.0"
22
+ gem "sinatra", "2.1.0"
23
+ gem "sinatra-activerecord", "2.0.23"
24
+ gem "sinatra-contrib", "2.1.0"
25
+ gem "slack-ruby3", "0.1.2"
26
+ gem "zeitwerk", "2.4.2"
27
+
28
+ group :development, :test do
29
+ gem "capybara", "3.35.3"
30
+ gem "database_cleaner", "2.0.1"
31
+ gem "factory_bot", "6.2.0"
32
+ gem "faker", "2.18.0"
33
+ gem "gimei", "1.0.0"
34
+ gem "graphql_playground", "0.0.1"
35
+ gem "pundit-matchers", "1.7.0"
36
+ gem "rack-test", "1.1.0"
37
+ gem "rspec", "3.10.0"
38
+ gem "rubocop", "1.18.3"
39
+ gem "selenium-webdriver", "3.142.7"
40
+ gem "solargraph", "0.42.4"
41
+ gem "souls", "0.22.6"
42
+ gem "webmock", "3.13.0"
43
+ end
44
+
45
+ group :development do
46
+ gem "listen", "3.5.1"
47
+ gem "rubocop-graphql", "0.9.0"
48
+ gem "spring", "2.1.1"
49
+ gem "spring-watcher-listen", "2.0.1"
50
+ end
data/hoy/Gemfile.lock ADDED
@@ -0,0 +1,407 @@
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
+ firebase_id_token (2.4.0)
83
+ httparty (~> 0.16, >= 0.16.2)
84
+ jwt (~> 2.1, >= 2.1.0)
85
+ redis (~> 4.0, >= 4.0.1)
86
+ redis-namespace (~> 1.6, >= 1.6.0)
87
+ foreman (0.87.2)
88
+ gapic-common (0.5.0)
89
+ faraday (~> 1.3)
90
+ google-protobuf (~> 3.14)
91
+ googleapis-common-protos (>= 1.3.11, < 2.a)
92
+ googleapis-common-protos-types (>= 1.0.6, < 2.a)
93
+ googleauth (>= 0.16.2, < 2.a)
94
+ grpc (~> 1.36)
95
+ gimei (1.0.0)
96
+ romaji
97
+ google-apis-core (0.4.0)
98
+ addressable (~> 2.5, >= 2.5.1)
99
+ googleauth (>= 0.16.2, < 2.a)
100
+ httpclient (>= 2.8.1, < 3.a)
101
+ mini_mime (~> 1.0)
102
+ representable (~> 3.0)
103
+ retriable (>= 2.0, < 4.a)
104
+ rexml
105
+ webrick
106
+ google-apis-iamcredentials_v1 (0.6.0)
107
+ google-apis-core (>= 0.4, < 2.a)
108
+ google-apis-storage_v1 (0.6.0)
109
+ google-apis-core (>= 0.4, < 2.a)
110
+ google-cloud-core (1.6.0)
111
+ google-cloud-env (~> 1.0)
112
+ google-cloud-errors (~> 1.0)
113
+ google-cloud-env (1.5.0)
114
+ faraday (>= 0.17.3, < 2.0)
115
+ google-cloud-errors (1.1.0)
116
+ google-cloud-firestore (2.6.1)
117
+ concurrent-ruby (~> 1.0)
118
+ google-cloud-core (~> 1.5)
119
+ google-cloud-firestore-v1 (~> 0.0)
120
+ rbtree (~> 0.4.2)
121
+ google-cloud-firestore-v1 (0.4.3)
122
+ gapic-common (>= 0.5, < 2.a)
123
+ google-cloud-errors (~> 1.0)
124
+ google-cloud-pubsub (2.7.1)
125
+ concurrent-ruby (~> 1.1)
126
+ google-cloud-core (~> 1.5)
127
+ google-cloud-pubsub-v1 (~> 0.0)
128
+ google-cloud-pubsub-v1 (0.5.2)
129
+ gapic-common (>= 0.5, < 2.a)
130
+ google-cloud-errors (~> 1.0)
131
+ grpc-google-iam-v1 (>= 0.6.10, < 2.a)
132
+ google-cloud-storage (1.34.1)
133
+ addressable (~> 2.5)
134
+ digest-crc (~> 0.4)
135
+ google-apis-iamcredentials_v1 (~> 0.1)
136
+ google-apis-storage_v1 (~> 0.1)
137
+ google-cloud-core (~> 1.6)
138
+ googleauth (>= 0.16.2, < 2.a)
139
+ mini_mime (~> 1.0)
140
+ google-protobuf (3.17.3-x86_64-linux)
141
+ googleapis-common-protos (1.3.11)
142
+ google-protobuf (~> 3.14)
143
+ googleapis-common-protos-types (>= 1.0.6, < 2.0)
144
+ grpc (~> 1.27)
145
+ googleapis-common-protos-types (1.1.0)
146
+ google-protobuf (~> 3.14)
147
+ googleauth (0.16.2)
148
+ faraday (>= 0.17.3, < 2.0)
149
+ jwt (>= 1.4, < 3.0)
150
+ memoist (~> 0.16)
151
+ multi_json (~> 1.11)
152
+ os (>= 0.9, < 2.0)
153
+ signet (~> 0.14)
154
+ graphql (1.12.13)
155
+ graphql-batch (0.4.3)
156
+ graphql (>= 1.3, < 2)
157
+ promise.rb (~> 0.7.2)
158
+ graphql_playground (0.0.1)
159
+ grpc (1.38.0-x86_64-linux)
160
+ google-protobuf (~> 3.15)
161
+ googleapis-common-protos-types (~> 1.0)
162
+ grpc-google-iam-v1 (0.6.11)
163
+ google-protobuf (~> 3.14)
164
+ googleapis-common-protos (>= 1.3.11, < 2.0)
165
+ grpc (~> 1.27)
166
+ hashdiff (1.0.1)
167
+ httparty (0.18.1)
168
+ mime-types (~> 3.0)
169
+ multi_xml (>= 0.5.2)
170
+ httpclient (2.8.3)
171
+ i18n (1.8.10)
172
+ concurrent-ruby (~> 1.0)
173
+ jaro_winkler (1.5.4)
174
+ jwt (2.2.3)
175
+ kramdown (2.3.1)
176
+ rexml
177
+ kramdown-parser-gfm (1.1.0)
178
+ kramdown (~> 2.0)
179
+ listen (3.5.1)
180
+ rb-fsevent (~> 0.10, >= 0.10.3)
181
+ rb-inotify (~> 0.9, >= 0.9.10)
182
+ loofah (2.10.0)
183
+ crass (~> 1.0.2)
184
+ nokogiri (>= 1.5.9)
185
+ memoist (0.16.2)
186
+ method_source (1.0.0)
187
+ mime-types (3.3.1)
188
+ mime-types-data (~> 3.2015)
189
+ mime-types-data (3.2021.0704)
190
+ mini_mime (1.1.0)
191
+ minitest (5.14.4)
192
+ multi_json (1.15.0)
193
+ multi_xml (0.6.0)
194
+ multipart-post (2.1.1)
195
+ mustermann (1.1.1)
196
+ ruby2_keywords (~> 0.0.1)
197
+ nio4r (2.5.7)
198
+ nokogiri (1.11.7-x86_64-linux)
199
+ racc (~> 1.4)
200
+ os (1.1.1)
201
+ parallel (1.20.1)
202
+ parser (3.0.2.0)
203
+ ast (~> 2.4.1)
204
+ pg (1.2.3)
205
+ promise.rb (0.7.4)
206
+ public_suffix (4.0.6)
207
+ puma (5.3.2)
208
+ nio4r (~> 2.0)
209
+ pundit (2.1.0)
210
+ activesupport (>= 3.0.0)
211
+ pundit-matchers (1.7.0)
212
+ rspec-rails (>= 3.0.0)
213
+ racc (1.5.2)
214
+ rack (2.2.3)
215
+ rack-contrib (2.3.0)
216
+ rack (~> 2.0)
217
+ rack-cors (1.1.1)
218
+ rack (>= 2.0.0)
219
+ rack-protection (2.1.0)
220
+ rack
221
+ rack-test (1.1.0)
222
+ rack (>= 1.0, < 3)
223
+ rails-dom-testing (2.0.3)
224
+ activesupport (>= 4.2.0)
225
+ nokogiri (>= 1.6)
226
+ rails-html-sanitizer (1.3.0)
227
+ loofah (~> 2.3)
228
+ railties (6.1.4)
229
+ actionpack (= 6.1.4)
230
+ activesupport (= 6.1.4)
231
+ method_source
232
+ rake (>= 0.13)
233
+ thor (~> 1.0)
234
+ rainbow (3.0.0)
235
+ rake (13.0.6)
236
+ rb-fsevent (0.11.0)
237
+ rb-inotify (0.10.1)
238
+ ffi (~> 1.0)
239
+ rbtree (0.4.4)
240
+ redis (4.3.1)
241
+ redis-namespace (1.8.1)
242
+ redis (>= 3.0.4)
243
+ regexp_parser (2.1.1)
244
+ representable (3.1.1)
245
+ declarative (< 0.1.0)
246
+ trailblazer-option (>= 0.1.1, < 0.2.0)
247
+ uber (< 0.2.0)
248
+ retriable (3.1.2)
249
+ reverse_markdown (2.0.0)
250
+ nokogiri
251
+ rexml (3.2.5)
252
+ role_model (0.8.2)
253
+ romaji (0.2.4)
254
+ rake (>= 0.8.0)
255
+ rspec (3.10.0)
256
+ rspec-core (~> 3.10.0)
257
+ rspec-expectations (~> 3.10.0)
258
+ rspec-mocks (~> 3.10.0)
259
+ rspec-core (3.10.1)
260
+ rspec-support (~> 3.10.0)
261
+ rspec-expectations (3.10.1)
262
+ diff-lcs (>= 1.2.0, < 2.0)
263
+ rspec-support (~> 3.10.0)
264
+ rspec-mocks (3.10.2)
265
+ diff-lcs (>= 1.2.0, < 2.0)
266
+ rspec-support (~> 3.10.0)
267
+ rspec-rails (5.0.1)
268
+ actionpack (>= 5.2)
269
+ activesupport (>= 5.2)
270
+ railties (>= 5.2)
271
+ rspec-core (~> 3.10)
272
+ rspec-expectations (~> 3.10)
273
+ rspec-mocks (~> 3.10)
274
+ rspec-support (~> 3.10)
275
+ rspec-support (3.10.2)
276
+ rubocop (1.18.3)
277
+ parallel (~> 1.10)
278
+ parser (>= 3.0.0.0)
279
+ rainbow (>= 2.2.2, < 4.0)
280
+ regexp_parser (>= 1.8, < 3.0)
281
+ rexml
282
+ rubocop-ast (>= 1.7.0, < 2.0)
283
+ ruby-progressbar (~> 1.7)
284
+ unicode-display_width (>= 1.4.0, < 3.0)
285
+ rubocop-ast (1.8.0)
286
+ parser (>= 3.0.1.1)
287
+ rubocop-graphql (0.9.0)
288
+ rubocop (>= 0.87, < 2)
289
+ ruby-progressbar (1.11.0)
290
+ ruby2_keywords (0.0.4)
291
+ ruby_http_client (3.5.2)
292
+ rubyzip (2.3.2)
293
+ search_object (1.2.4)
294
+ search_object_graphql (1.0.1)
295
+ graphql (~> 1.8)
296
+ search_object (~> 1.2.2)
297
+ selenium-webdriver (3.142.7)
298
+ childprocess (>= 0.5, < 4.0)
299
+ rubyzip (>= 1.2.2)
300
+ sendgrid-ruby (6.4.0)
301
+ ruby_http_client (~> 3.4)
302
+ signet (0.15.0)
303
+ addressable (~> 2.3)
304
+ faraday (>= 0.17.3, < 2.0)
305
+ jwt (>= 1.5, < 3.0)
306
+ multi_json (~> 1.10)
307
+ sinatra (2.1.0)
308
+ mustermann (~> 1.0)
309
+ rack (~> 2.2)
310
+ rack-protection (= 2.1.0)
311
+ tilt (~> 2.0)
312
+ sinatra-activerecord (2.0.23)
313
+ activerecord (>= 4.1)
314
+ sinatra (>= 1.0)
315
+ sinatra-contrib (2.1.0)
316
+ multi_json
317
+ mustermann (~> 1.0)
318
+ rack-protection (= 2.1.0)
319
+ sinatra (= 2.1.0)
320
+ tilt (~> 2.0)
321
+ slack-ruby3 (0.1.2)
322
+ solargraph (0.42.4)
323
+ backport (~> 1.2)
324
+ benchmark
325
+ bundler (>= 1.17.2)
326
+ diff-lcs (~> 1.4)
327
+ e2mmap
328
+ jaro_winkler (~> 1.5)
329
+ kramdown (~> 2.3)
330
+ kramdown-parser-gfm (~> 1.1)
331
+ parser (~> 3.0)
332
+ reverse_markdown (>= 1.0.5, < 3)
333
+ rubocop (>= 0.52)
334
+ thor (~> 1.0)
335
+ tilt (~> 2.0)
336
+ yard (~> 0.9, >= 0.9.24)
337
+ souls (0.22.6)
338
+ spring (2.1.1)
339
+ spring-watcher-listen (2.0.1)
340
+ listen (>= 2.7, < 4.0)
341
+ spring (>= 1.2, < 3.0)
342
+ thor (1.1.0)
343
+ tilt (2.0.10)
344
+ trailblazer-option (0.1.1)
345
+ tzinfo (2.0.4)
346
+ concurrent-ruby (~> 1.0)
347
+ uber (0.1.0)
348
+ unicode-display_width (2.0.0)
349
+ webmock (3.13.0)
350
+ addressable (>= 2.3.6)
351
+ crack (>= 0.3.2)
352
+ hashdiff (>= 0.4.0, < 2.0.0)
353
+ webrick (1.7.0)
354
+ xpath (3.2.0)
355
+ nokogiri (~> 1.8)
356
+ yard (0.9.26)
357
+ zeitwerk (2.4.2)
358
+
359
+ PLATFORMS
360
+ x86_64-linux
361
+
362
+ DEPENDENCIES
363
+ activesupport (= 6.1.4)
364
+ capybara (= 3.35.3)
365
+ database_cleaner (= 2.0.1)
366
+ dotenv (= 2.7.6)
367
+ factory_bot (= 6.2.0)
368
+ faker (= 2.18.0)
369
+ firebase_id_token (= 2.4.0)
370
+ foreman (= 0.87.2)
371
+ gimei (= 1.0.0)
372
+ google-cloud-firestore (= 2.6.1)
373
+ google-cloud-pubsub (= 2.7.1)
374
+ google-cloud-storage (= 1.34.1)
375
+ graphql (= 1.12.13)
376
+ graphql-batch (= 0.4.3)
377
+ graphql_playground (= 0.0.1)
378
+ jwt (= 2.2.3)
379
+ listen (= 3.5.1)
380
+ pg (= 1.2.3)
381
+ puma (= 5.3.2)
382
+ pundit (= 2.1.0)
383
+ pundit-matchers (= 1.7.0)
384
+ rack-contrib (= 2.3.0)
385
+ rack-cors (= 1.1.1)
386
+ rack-test (= 1.1.0)
387
+ rake (= 13.0.6)
388
+ role_model (= 0.8.2)
389
+ rspec (= 3.10.0)
390
+ rubocop (= 1.18.3)
391
+ rubocop-graphql (= 0.9.0)
392
+ search_object_graphql (= 1.0.1)
393
+ selenium-webdriver (= 3.142.7)
394
+ sendgrid-ruby (= 6.4.0)
395
+ sinatra (= 2.1.0)
396
+ sinatra-activerecord (= 2.0.23)
397
+ sinatra-contrib (= 2.1.0)
398
+ slack-ruby3 (= 0.1.2)
399
+ solargraph (= 0.42.4)
400
+ souls (= 0.22.6)
401
+ spring (= 2.1.1)
402
+ spring-watcher-listen (= 2.0.1)
403
+ webmock (= 3.13.0)
404
+ zeitwerk (= 2.4.2)
405
+
406
+ BUNDLED WITH
407
+ 2.2.23