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.
- checksums.yaml +4 -4
- data/exe/souls +12 -1
- data/lib/souls.rb +54 -0
- data/lib/souls/init.rb +37 -16
- data/lib/souls/version.rb +1 -1
- metadata +16 -191
- data/.gitignore +0 -15
- data/.irbrc +0 -3
- 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/apps/api/.env.sample +0 -7
- data/apps/api/.gitignore +0 -32
- data/apps/api/.irbrc +0 -4
- 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 -24
- data/apps/api/spec/policies/article_policy_spec.rb +0 -24
- data/apps/api/spec/policies/user_policy_spec.rb +0 -24
- 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 -4
- 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/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,152 +0,0 @@
|
|
1
|
-
require: rubocop-graphql
|
2
|
-
AllCops:
|
3
|
-
SuggestExtensions: false
|
4
|
-
EnabledByDefault: true
|
5
|
-
Exclude:
|
6
|
-
- "app/**/*.rb"
|
7
|
-
- "db/migrate/*.rb"
|
8
|
-
- "db/schema.rb"
|
9
|
-
- "spec/spec_helper.rb"
|
10
|
-
- "spec/**/*.rb"
|
11
|
-
- "lib/souls/generate/type.rb"
|
12
|
-
|
13
|
-
Style/Copyright:
|
14
|
-
Description: "Include a copyright notice in each file before any code."
|
15
|
-
Enabled: false
|
16
|
-
VersionAdded: "0.30"
|
17
|
-
Notice: '^Copyright (\(c\) )?2[0-9]{3} .+'
|
18
|
-
AutocorrectNotice: "Copyright 2021 by ELSOUL LABO B.V."
|
19
|
-
|
20
|
-
Style/TopLevelMethodDefinition:
|
21
|
-
Exclude:
|
22
|
-
- "db/seeds.rb"
|
23
|
-
- "spec/spec_helper.rb"
|
24
|
-
|
25
|
-
Style/IpAddresses:
|
26
|
-
Exclude:
|
27
|
-
- "config.ru"
|
28
|
-
- "Gemfile"
|
29
|
-
|
30
|
-
Style/HashSyntax:
|
31
|
-
EnforcedStyle: ruby19
|
32
|
-
Exclude:
|
33
|
-
- "**/*.rake"
|
34
|
-
- "Rakefile"
|
35
|
-
|
36
|
-
Style/Semicolon:
|
37
|
-
Exclude:
|
38
|
-
- "spec/**/*"
|
39
|
-
|
40
|
-
Style/StringLiterals:
|
41
|
-
EnforcedStyle: double_quotes
|
42
|
-
|
43
|
-
Style/ClassVars:
|
44
|
-
Exclude:
|
45
|
-
- "spec/spec_helper.rb"
|
46
|
-
Style/StringConcatenation:
|
47
|
-
Enabled: false
|
48
|
-
|
49
|
-
Style/Documentation:
|
50
|
-
Enabled: false
|
51
|
-
|
52
|
-
Style/DocumentationMethod:
|
53
|
-
Enabled: false
|
54
|
-
|
55
|
-
Style/FrozenStringLiteralComment:
|
56
|
-
Enabled: false
|
57
|
-
Style/Lambda:
|
58
|
-
EnforcedStyle: literal
|
59
|
-
|
60
|
-
Style/AsciiComments:
|
61
|
-
Enabled: false
|
62
|
-
|
63
|
-
Style/MissingElse:
|
64
|
-
Enabled: false
|
65
|
-
|
66
|
-
Style/StringHashKeys:
|
67
|
-
Exclude:
|
68
|
-
- "spec/**/*.rb"
|
69
|
-
|
70
|
-
Style/CollectionMethods:
|
71
|
-
Enabled: false
|
72
|
-
|
73
|
-
Style/FormatString:
|
74
|
-
Enabled: false
|
75
|
-
|
76
|
-
Style/ClassAndModuleChildren:
|
77
|
-
Enabled: false
|
78
|
-
|
79
|
-
Style/FormatStringToken:
|
80
|
-
Enabled: false
|
81
|
-
|
82
|
-
Style/ClassMethodsDefinitions:
|
83
|
-
Enabled: false
|
84
|
-
|
85
|
-
Layout/ExtraSpacing:
|
86
|
-
Exclude:
|
87
|
-
- "db/migrate/*.rb"
|
88
|
-
|
89
|
-
Layout/LineLength:
|
90
|
-
Exclude:
|
91
|
-
- "lib/souls/generate/rspec_mutation.rb"
|
92
|
-
- "lib/souls/generate/resolver.rb"
|
93
|
-
|
94
|
-
Layout/LineEndStringConcatenationIndentation:
|
95
|
-
Enabled: false
|
96
|
-
|
97
|
-
GraphQL/ObjectDescription:
|
98
|
-
Enabled: false
|
99
|
-
|
100
|
-
GraphQL/FieldDescription:
|
101
|
-
Enabled: false
|
102
|
-
|
103
|
-
GraphQL/ArgumentDescription:
|
104
|
-
Enabled: false
|
105
|
-
|
106
|
-
GraphQL/ExtractInputType:
|
107
|
-
Enabled: false
|
108
|
-
|
109
|
-
GraphQL/ExtractType:
|
110
|
-
Enabled: false
|
111
|
-
|
112
|
-
GraphQL/ArgumentName:
|
113
|
-
Enabled: false
|
114
|
-
|
115
|
-
Lint/ConstantResolution:
|
116
|
-
Enabled: false
|
117
|
-
|
118
|
-
Lint/NumberConversion:
|
119
|
-
Enabled: false
|
120
|
-
|
121
|
-
Lint/MissingSuper:
|
122
|
-
Enabled: false
|
123
|
-
|
124
|
-
Metrics/AbcSize:
|
125
|
-
Enabled: false
|
126
|
-
|
127
|
-
Metrics/MethodLength:
|
128
|
-
Enabled: false
|
129
|
-
|
130
|
-
Metrics/BlockLength:
|
131
|
-
Enabled: false
|
132
|
-
|
133
|
-
Metrics/CyclomaticComplexity:
|
134
|
-
Enabled: false
|
135
|
-
|
136
|
-
Metrics/PerceivedComplexity:
|
137
|
-
Enabled: false
|
138
|
-
|
139
|
-
Metrics/ModuleLength:
|
140
|
-
Enabled: false
|
141
|
-
|
142
|
-
Metrics/BlockNesting:
|
143
|
-
Enabled: false
|
144
|
-
|
145
|
-
Naming/AccessorMethodName:
|
146
|
-
Enabled: false
|
147
|
-
|
148
|
-
Naming/PredicateName:
|
149
|
-
Enabled: false
|
150
|
-
|
151
|
-
Bundler/GemComment:
|
152
|
-
Enabled: false
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
3.0.1
|
data/.travis.yml
DELETED
data/Gemfile
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in souls.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
gem "activesupport", "6.1.4"
|
7
|
-
gem "paint", "2.2.1"
|
8
|
-
gem "parser", "3.0.2.0"
|
9
|
-
gem "rake", "13.0.6"
|
10
|
-
gem "rspec", "3.10.0"
|
11
|
-
gem "rubocop", "1.18.3"
|
12
|
-
gem "steep", "0.44.1"
|
13
|
-
gem "whirly", "0.3.0"
|
data/Gemfile.lock
DELETED
@@ -1,98 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
souls (0.24.1)
|
5
|
-
paint (= 2.2.1)
|
6
|
-
whirly (= 0.3.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activesupport (6.1.4)
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>= 1.6, < 2)
|
14
|
-
minitest (>= 5.1)
|
15
|
-
tzinfo (~> 2.0)
|
16
|
-
zeitwerk (~> 2.3)
|
17
|
-
ast (2.4.2)
|
18
|
-
concurrent-ruby (1.1.9)
|
19
|
-
diff-lcs (1.4.4)
|
20
|
-
ffi (1.15.3)
|
21
|
-
i18n (1.8.10)
|
22
|
-
concurrent-ruby (~> 1.0)
|
23
|
-
language_server-protocol (3.16.0.1)
|
24
|
-
listen (3.5.1)
|
25
|
-
rb-fsevent (~> 0.10, >= 0.10.3)
|
26
|
-
rb-inotify (~> 0.9, >= 0.9.10)
|
27
|
-
minitest (5.14.4)
|
28
|
-
paint (2.2.1)
|
29
|
-
parallel (1.20.1)
|
30
|
-
parser (3.0.2.0)
|
31
|
-
ast (~> 2.4.1)
|
32
|
-
rainbow (3.0.0)
|
33
|
-
rake (13.0.6)
|
34
|
-
rb-fsevent (0.11.0)
|
35
|
-
rb-inotify (0.10.1)
|
36
|
-
ffi (~> 1.0)
|
37
|
-
rbs (1.2.1)
|
38
|
-
regexp_parser (2.1.1)
|
39
|
-
rexml (3.2.5)
|
40
|
-
rspec (3.10.0)
|
41
|
-
rspec-core (~> 3.10.0)
|
42
|
-
rspec-expectations (~> 3.10.0)
|
43
|
-
rspec-mocks (~> 3.10.0)
|
44
|
-
rspec-core (3.10.1)
|
45
|
-
rspec-support (~> 3.10.0)
|
46
|
-
rspec-expectations (3.10.1)
|
47
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.10.0)
|
49
|
-
rspec-mocks (3.10.2)
|
50
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
51
|
-
rspec-support (~> 3.10.0)
|
52
|
-
rspec-support (3.10.2)
|
53
|
-
rubocop (1.18.3)
|
54
|
-
parallel (~> 1.10)
|
55
|
-
parser (>= 3.0.0.0)
|
56
|
-
rainbow (>= 2.2.2, < 4.0)
|
57
|
-
regexp_parser (>= 1.8, < 3.0)
|
58
|
-
rexml
|
59
|
-
rubocop-ast (>= 1.7.0, < 2.0)
|
60
|
-
ruby-progressbar (~> 1.7)
|
61
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
62
|
-
rubocop-ast (1.8.0)
|
63
|
-
parser (>= 3.0.1.1)
|
64
|
-
ruby-progressbar (1.11.0)
|
65
|
-
steep (0.44.1)
|
66
|
-
activesupport (>= 5.1)
|
67
|
-
language_server-protocol (>= 3.15, < 4.0)
|
68
|
-
listen (~> 3.0)
|
69
|
-
parallel (>= 1.0.0)
|
70
|
-
parser (>= 2.7)
|
71
|
-
rainbow (>= 2.2.2, < 4.0)
|
72
|
-
rbs (>= 1.2.0)
|
73
|
-
terminal-table (>= 2, < 4)
|
74
|
-
terminal-table (3.0.1)
|
75
|
-
unicode-display_width (>= 1.1.1, < 3)
|
76
|
-
tzinfo (2.0.4)
|
77
|
-
concurrent-ruby (~> 1.0)
|
78
|
-
unicode-display_width (2.0.0)
|
79
|
-
whirly (0.3.0)
|
80
|
-
unicode-display_width (>= 1.1)
|
81
|
-
zeitwerk (2.4.2)
|
82
|
-
|
83
|
-
PLATFORMS
|
84
|
-
x86_64-linux
|
85
|
-
|
86
|
-
DEPENDENCIES
|
87
|
-
activesupport (= 6.1.4)
|
88
|
-
paint (= 2.2.1)
|
89
|
-
parser (= 3.0.2.0)
|
90
|
-
rake (= 13.0.6)
|
91
|
-
rspec (= 3.10.0)
|
92
|
-
rubocop (= 1.18.3)
|
93
|
-
souls!
|
94
|
-
steep (= 0.44.1)
|
95
|
-
whirly (= 0.3.0)
|
96
|
-
|
97
|
-
BUNDLED WITH
|
98
|
-
2.2.23
|
data/Rakefile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
require "rspec/core/rake_task"
|
3
|
-
require "./lib/souls"
|
4
|
-
|
5
|
-
RSpec::Core::RakeTask.new(:spec)
|
6
|
-
|
7
|
-
task :default => :spec
|
8
|
-
|
9
|
-
namespace :task do
|
10
|
-
task :g do
|
11
|
-
file_path = "./lib/souls/generate/"
|
12
|
-
Souls::SOULS_METHODS.each do |f|
|
13
|
-
FileUtils.touch("#{file_path}#{f}.rb")
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
task :a do
|
18
|
-
file_path = "./spec/generate/"
|
19
|
-
Souls::SOULS_METHODS.each do |f|
|
20
|
-
FileUtils.touch("#{file_path}#{f}_spec.rb")
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
data/Steepfile
DELETED
data/apps/api/.env.sample
DELETED
data/apps/api/.gitignore
DELETED
@@ -1,32 +0,0 @@
|
|
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/apps/api/.irbrc
DELETED
data/apps/api/.rspec
DELETED
data/apps/api/.rubocop.yml
DELETED
@@ -1,132 +0,0 @@
|
|
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
|