souls 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: '09997c9a22f6ecb117817274e343fda53afac8422161e2f813f334fde1ee0e06'
4
+ data.tar.gz: 57dab4be2cd1855dc5cd83dfdb521d5cd8474fb7a5b904c2e6af9acf3aa855a6
5
+ SHA512:
6
+ metadata.gz: 22795d933e64155cdd23ea1c377a29c49228fbbbda75b638086a7a25abe4e268d7bccff8283cd0900226ef8ea7074b86235974eb98dfd71bc59485d260933ae2
7
+ data.tar.gz: 6dc72a922052669ef79bc37e8ce3d21115944057082b431d6bb6fd1080a38954833a917502198b8a3f9df40d02746bf117b09ad4cd4e2cdedc40382b165e62b7
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ /config/keyfile.json
13
+ .env
14
+ .irb_history
data/.irbrc ADDED
@@ -0,0 +1,3 @@
1
+ require "souls"
2
+ require "./config/initialize/souls"
3
+ require "google/cloud/firestore"
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,197 @@
1
+ AllCops:
2
+ EnabledByDefault: true
3
+
4
+ Style/AndOr:
5
+ Enabled: false
6
+
7
+ Style/ClassAndModuleChildren:
8
+ Enabled: false
9
+
10
+ Style/AsciiComments:
11
+ Enabled: false
12
+
13
+ Style/SymbolArray:
14
+ Enabled: false
15
+
16
+ Style/WordArray:
17
+ Enabled: false
18
+
19
+ Style/MixinGrouping:
20
+ Enabled: false
21
+
22
+ Style/RescueStandardError:
23
+ Enabled: false
24
+
25
+ Style/MethodCallWithArgsParentheses:
26
+ Enabled: false
27
+
28
+ Style/DocumentationMethod:
29
+ Enabled: false
30
+
31
+ Style/CollectionMethods:
32
+ PreferredMethods:
33
+ detect: "detect"
34
+ find: "detect"
35
+ inject: "inject"
36
+ reduce: "inject"
37
+
38
+ Style/Documentation:
39
+ Enabled: false
40
+
41
+ Style/DoubleNegation:
42
+ Enabled: false
43
+
44
+ Lint/ConstantResolution:
45
+ Enabled: false
46
+
47
+ Layout/DotPosition:
48
+ EnforcedStyle: trailing
49
+
50
+
51
+ Layout/EmptyLineAfterGuardClause:
52
+ Enabled: false
53
+
54
+ Style/EmptyElse:
55
+ EnforcedStyle: empty
56
+
57
+ Layout/ExtraSpacing:
58
+ Exclude:
59
+ - "db/migrate/*.rb"
60
+ - "*.gemspec"
61
+
62
+ Style/FormatString:
63
+ EnforcedStyle: percent
64
+
65
+ Style/MissingElse:
66
+ Enabled: false
67
+
68
+ Style/StringHashKeys:
69
+ Exclude:
70
+ - "spec/queries/*.rb"
71
+ - "*.gemspec"
72
+
73
+ Style/GuardClause:
74
+ MinBodyLength: 5
75
+
76
+ Style/HashSyntax:
77
+ EnforcedStyle: ruby19
78
+ Exclude:
79
+ - "**/*.rake"
80
+ - "Rakefile"
81
+
82
+ Style/IfUnlessModifier:
83
+ Enabled: false
84
+
85
+ Style/PreferredHashMethods:
86
+ EnforcedStyle: short
87
+
88
+ Style/Lambda:
89
+ Enabled: false
90
+
91
+ Style/NumericLiterals:
92
+ MinDigits: 7
93
+
94
+ Style/PerlBackrefs:
95
+ AutoCorrect: false
96
+
97
+ Style/RedundantSelf:
98
+ Enabled: false
99
+
100
+ Style/FrozenStringLiteralComment:
101
+ Enabled: false
102
+
103
+ Style/RedundantReturn:
104
+ AllowMultipleReturnValues: true
105
+
106
+ Style/Semicolon:
107
+ Exclude:
108
+ - "spec/**/*"
109
+
110
+ Style/SignalException:
111
+ EnforcedStyle: only_raise
112
+
113
+ Style/MethodDefParentheses:
114
+ Enabled: false
115
+
116
+ Style/StringLiterals:
117
+ EnforcedStyle: double_quotes
118
+
119
+ Style/StringLiteralsInInterpolation:
120
+ Enabled: false
121
+
122
+ Style/SingleLineBlockParams:
123
+ Enabled: false
124
+
125
+ Lint/UnderscorePrefixedVariableName:
126
+ Enabled: false
127
+
128
+ Lint/UnusedMethodArgument:
129
+ Enabled: false
130
+
131
+
132
+ Metrics/AbcSize:
133
+ Enabled: false
134
+
135
+ Metrics/CyclomaticComplexity:
136
+ Max: 10
137
+
138
+ Metrics/PerceivedComplexity:
139
+ Enabled: false
140
+
141
+ Metrics/BlockLength:
142
+ Enabled: false
143
+
144
+ Layout/LineLength:
145
+ Enabled: false
146
+
147
+
148
+ Metrics/MethodLength:
149
+ Enabled: false
150
+
151
+ Metrics/ClassLength:
152
+ Enabled: false
153
+
154
+ Naming/HeredocDelimiterNaming:
155
+ Enabled: false
156
+
157
+ Naming/AccessorMethodName:
158
+ Enabled: false
159
+
160
+ Metrics/ModuleLength:
161
+ Enabled: false
162
+
163
+ Lint/UnusedBlockArgument:
164
+ Enabled: false
165
+
166
+ Lint/RescueException:
167
+ Enabled: false
168
+
169
+ Naming/RescuedExceptionsVariableName:
170
+ Enabled: false
171
+
172
+ Bundler/GemComment:
173
+ Enabled: false
174
+
175
+ Style/SafeNavigation:
176
+ Enabled: false
177
+
178
+ Lint/NumberConversion:
179
+ Enabled: false
180
+ Style/ConstantVisibility:
181
+ Enabled: false
182
+ Style/MutableConstant:
183
+ Enabled: false
184
+ Style/Copyright:
185
+ Enabled: false
186
+ Style/MultilineTernaryOperator:
187
+ Enabled: false
188
+ Layout/MultilineAssignmentLayout:
189
+ Enabled: false
190
+ Style/Send:
191
+ Enabled: false
192
+ Style/RedundantFileExtensionInRequire:
193
+ Enabled: false
194
+ Style/ClassMethodsDefinitions:
195
+ Enabled: false
196
+ Style/GlobalStdStream:
197
+ Enabled: false
@@ -0,0 +1 @@
1
+ 2.7.2
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.1
6
+ before_install: gem install bundler -v 2.1.4
@@ -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/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in souls.gemspec
4
+ gemspec
5
+
6
+ gem "google-cloud-firestore", "2.4.0"
7
+ gem "mechanize", "2.7.6"
8
+ gem "rake", "~> 12.0"
9
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,122 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ SOULs (0.6.5)
5
+ google-cloud-firestore (= 2.4.0)
6
+ mechanize (= 2.7.6)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.7.0)
12
+ public_suffix (>= 2.0.2, < 5.0)
13
+ concurrent-ruby (1.1.7)
14
+ connection_pool (2.2.3)
15
+ diff-lcs (1.4.4)
16
+ domain_name (0.5.20190701)
17
+ unf (>= 0.0.5, < 1.0.0)
18
+ faraday (1.1.0)
19
+ multipart-post (>= 1.2, < 3)
20
+ ruby2_keywords
21
+ gapic-common (0.3.4)
22
+ google-protobuf (~> 3.12, >= 3.12.2)
23
+ googleapis-common-protos (>= 1.3.9, < 2.0)
24
+ googleapis-common-protos-types (>= 1.0.4, < 2.0)
25
+ googleauth (~> 0.9)
26
+ grpc (~> 1.25)
27
+ google-cloud-core (1.5.0)
28
+ google-cloud-env (~> 1.0)
29
+ google-cloud-errors (~> 1.0)
30
+ google-cloud-env (1.4.0)
31
+ faraday (>= 0.17.3, < 2.0)
32
+ google-cloud-errors (1.0.1)
33
+ google-cloud-firestore (2.4.0)
34
+ concurrent-ruby (~> 1.0)
35
+ google-cloud-core (~> 1.5)
36
+ google-cloud-firestore-v1 (~> 0.0)
37
+ rbtree (~> 0.4.2)
38
+ google-cloud-firestore-v1 (0.2.2)
39
+ gapic-common (~> 0.3)
40
+ google-cloud-errors (~> 1.0)
41
+ google-protobuf (3.14.0)
42
+ googleapis-common-protos (1.3.10)
43
+ google-protobuf (~> 3.11)
44
+ googleapis-common-protos-types (>= 1.0.5, < 2.0)
45
+ grpc (~> 1.27)
46
+ googleapis-common-protos-types (1.0.5)
47
+ google-protobuf (~> 3.11)
48
+ googleauth (0.14.0)
49
+ faraday (>= 0.17.3, < 2.0)
50
+ jwt (>= 1.4, < 3.0)
51
+ memoist (~> 0.16)
52
+ multi_json (~> 1.11)
53
+ os (>= 0.9, < 2.0)
54
+ signet (~> 0.14)
55
+ grpc (1.32.0)
56
+ google-protobuf (~> 3.13)
57
+ googleapis-common-protos-types (~> 1.0)
58
+ http-cookie (1.0.3)
59
+ domain_name (~> 0.5)
60
+ jwt (2.2.2)
61
+ mechanize (2.7.6)
62
+ domain_name (~> 0.5, >= 0.5.1)
63
+ http-cookie (~> 1.0)
64
+ mime-types (>= 1.17.2)
65
+ net-http-digest_auth (~> 1.1, >= 1.1.1)
66
+ net-http-persistent (>= 2.5.2)
67
+ nokogiri (~> 1.6)
68
+ ntlm-http (~> 0.1, >= 0.1.1)
69
+ webrobots (>= 0.0.9, < 0.2)
70
+ memoist (0.16.2)
71
+ mime-types (3.3.1)
72
+ mime-types-data (~> 3.2015)
73
+ mime-types-data (3.2020.1104)
74
+ mini_portile2 (2.4.0)
75
+ multi_json (1.15.0)
76
+ multipart-post (2.1.1)
77
+ net-http-digest_auth (1.4.1)
78
+ net-http-persistent (4.0.0)
79
+ connection_pool (~> 2.2)
80
+ nokogiri (1.10.10)
81
+ mini_portile2 (~> 2.4.0)
82
+ ntlm-http (0.1.1)
83
+ os (1.1.1)
84
+ public_suffix (4.0.6)
85
+ rake (12.3.3)
86
+ rbtree (0.4.2)
87
+ rspec (3.9.0)
88
+ rspec-core (~> 3.9.0)
89
+ rspec-expectations (~> 3.9.0)
90
+ rspec-mocks (~> 3.9.0)
91
+ rspec-core (3.9.3)
92
+ rspec-support (~> 3.9.3)
93
+ rspec-expectations (3.9.2)
94
+ diff-lcs (>= 1.2.0, < 2.0)
95
+ rspec-support (~> 3.9.0)
96
+ rspec-mocks (3.9.1)
97
+ diff-lcs (>= 1.2.0, < 2.0)
98
+ rspec-support (~> 3.9.0)
99
+ rspec-support (3.9.3)
100
+ ruby2_keywords (0.0.2)
101
+ signet (0.14.0)
102
+ addressable (~> 2.3)
103
+ faraday (>= 0.17.3, < 2.0)
104
+ jwt (>= 1.5, < 3.0)
105
+ multi_json (~> 1.10)
106
+ unf (0.1.4)
107
+ unf_ext
108
+ unf_ext (0.0.7.7)
109
+ webrobots (0.1.2)
110
+
111
+ PLATFORMS
112
+ ruby
113
+
114
+ DEPENDENCIES
115
+ SOULs!
116
+ google-cloud-firestore (= 2.4.0)
117
+ mechanize (= 2.7.6)
118
+ rake (~> 12.0)
119
+ rspec (~> 3.0)
120
+
121
+ BUNDLED WITH
122
+ 2.1.4