wordword 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5e3ba8babbc6484696aea359b21a2c93f585c7cd9d137f77be7a761b9bd9289f
4
+ data.tar.gz: 97ad769910db528159d2759b22d5c48f09026b0db39b59869d59ef484cbf20f7
5
+ SHA512:
6
+ metadata.gz: 3b49f96bc222218a887cd3b78af6941cc6b9444cca563b80d6891eac4cbdcd436818eed4b10c62988bdbd1bbd7dc63eac5018a6a79a31478e9d40f00c10ae57d
7
+ data.tar.gz: 6f548be533574701dbf5e41fba9f650d2c3bf3af8a52be321325ba027035082286df83df7ec616f42870868f6e4658774ae51235c459269e40c7e6c991030d03
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.txt
10
+ *.gem
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,268 @@
1
+ require: rubocop-rspec
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.3
5
+ Exclude:
6
+ - bin/**/*
7
+ - config/**/*
8
+ - db/**/*
9
+ - vendor/**/*
10
+ - Guardfile
11
+ - lib/**/*.erb
12
+ - app/**/*.erb
13
+
14
+ Security/Open:
15
+ Enabled: false
16
+
17
+ Style/IfUnlessModifier:
18
+ Enabled: false
19
+
20
+ Style/MultilineIfModifier:
21
+ Enabled: false
22
+
23
+ Layout/MultilineMethodCallBraceLayout:
24
+ Enabled: false
25
+
26
+ # It doesn't align when using `memoize def method_name`
27
+ Layout/RescueEnsureAlignment:
28
+ Enabled: false
29
+
30
+ Style/FrozenStringLiteralComment:
31
+ Enabled: false
32
+
33
+ Style/Documentation:
34
+ Enabled: false
35
+
36
+ Style/StringLiterals:
37
+ EnforcedStyle: double_quotes
38
+
39
+ Style/StringLiteralsInInterpolation:
40
+ Enabled: false
41
+
42
+ Style/TrailingCommaInArrayLiteral:
43
+ EnforcedStyleForMultiline: comma
44
+
45
+ Style/TrailingCommaInHashLiteral:
46
+ EnforcedStyleForMultiline: comma
47
+
48
+ Style/TrailingCommaInArguments:
49
+ EnforcedStyleForMultiline: comma
50
+
51
+ Layout/EmptyLinesAroundClassBody:
52
+ EnforcedStyle: empty_lines
53
+
54
+ Style/BlockDelimiters:
55
+ Enabled: false
56
+
57
+ Layout/AlignParameters:
58
+ EnforcedStyle: with_fixed_indentation
59
+
60
+ Layout/IndentHash:
61
+ EnforcedStyle: consistent
62
+
63
+ Layout/MultilineMethodCallIndentation:
64
+ EnforcedStyle: indented
65
+
66
+ Style/BracesAroundHashParameters:
67
+ Enabled: false
68
+
69
+ Layout/ClosingParenthesisIndentation:
70
+ Enabled: true
71
+
72
+ Metrics/ParameterLists:
73
+ Max: 6
74
+
75
+ Style/NumericLiterals:
76
+ Enabled: false
77
+
78
+ Metrics/AbcSize:
79
+ Max: 50
80
+
81
+ Metrics/ClassLength:
82
+ CountComments: false
83
+ Max: 160
84
+
85
+ Metrics/LineLength:
86
+ Enabled: false
87
+ Max: 140
88
+
89
+ Metrics/MethodLength:
90
+ CountComments: false
91
+ Max: 50
92
+
93
+ Metrics/PerceivedComplexity:
94
+ Enabled: false
95
+
96
+ Metrics/CyclomaticComplexity:
97
+ Enabled: false
98
+
99
+ Metrics/AbcSize:
100
+ Enabled: false
101
+
102
+ Lint/UselessAssignment:
103
+ Exclude:
104
+ - spec/**/*
105
+
106
+ Lint/UnusedMethodArgument:
107
+ AllowUnusedKeywordArguments: true
108
+
109
+ Metrics/BlockLength:
110
+ Enabled: true
111
+ Exclude:
112
+ - spec/**/*
113
+
114
+ Lint/AmbiguousBlockAssociation:
115
+ Enabled: false
116
+
117
+ Style/MixinUsage:
118
+ Enabled: true
119
+ Exclude:
120
+ - spec/**/*
121
+
122
+ Lint/UnifiedInteger:
123
+ Enabled: false
124
+
125
+ Layout/SpaceInLambdaLiteral:
126
+ EnforcedStyle: require_space
127
+
128
+ Metrics/BlockLength:
129
+ Enabled: false
130
+
131
+ Naming/UncommunicativeBlockParamName:
132
+ Enabled: false
133
+
134
+ Naming/UncommunicativeMethodParamName:
135
+ Enabled: false
136
+
137
+ Style/PercentLiteralDelimiters:
138
+ Enabled: false
139
+
140
+ Lint/ShadowedException:
141
+ Enabled: false
142
+
143
+ Style/DateTime:
144
+ Enabled: false
145
+
146
+ Style/GuardClause:
147
+ Enabled: false
148
+
149
+ Style/EmptyMethod:
150
+ Enabled: false
151
+
152
+ Style/GlobalVars:
153
+ Enabled: false
154
+
155
+ Layout/AlignHash:
156
+ Enabled: false
157
+
158
+ Layout/EmptyLineAfterGuardClause:
159
+ Enabled: false
160
+
161
+ RSpec/UnspecifiedException:
162
+ Enabled: true
163
+ Severity: error
164
+
165
+ RSpec/AnyInstance:
166
+ Enabled: false
167
+
168
+ RSpec/BeforeAfterAll:
169
+ Enabled: false
170
+
171
+ RSpec/ContextWording:
172
+ Enabled: false
173
+
174
+ RSpec/DescribeClass:
175
+ Enabled: false
176
+
177
+ RSpec/DescribedClass:
178
+ Enabled: false
179
+
180
+ RSpec/EmptyExampleGroup:
181
+ Enabled: false
182
+
183
+ RSpec/EmptyLineAfterFinalLet:
184
+ Enabled: false
185
+
186
+ RSpec/EmptyLineAfterHook:
187
+ Enabled: false
188
+
189
+ RSpec/EmptyLineAfterSubject:
190
+ Enabled: false
191
+
192
+ RSpec/LetBeforeExamples:
193
+ Enabled: false
194
+
195
+ RSpec/ExampleLength:
196
+ Enabled: false
197
+
198
+ RSpec/ExampleWording:
199
+ Enabled: false
200
+
201
+ RSpec/ExpectChange:
202
+ Enabled: false
203
+
204
+ RSpec/ExpectInHook:
205
+ Enabled: false
206
+
207
+ RSpec/FilePath:
208
+ Enabled: false
209
+
210
+ RSpec/HooksBeforeExamples:
211
+ Enabled: false
212
+
213
+ RSpec/ImplicitSubject:
214
+ Enabled: false
215
+
216
+ RSpec/InstanceVariable:
217
+ Enabled: false
218
+
219
+ RSpec/LeadingSubject:
220
+ Enabled: false
221
+
222
+ RSpec/LeakyConstantDeclaration:
223
+ Enabled: false
224
+
225
+ RSpec/LetSetup:
226
+ Enabled: false
227
+
228
+ RSpec/MessageChain:
229
+ Enabled: false
230
+
231
+ RSpec/MessageSpies:
232
+ Enabled: false
233
+
234
+ RSpec/MultipleExpectations:
235
+ Max: 9
236
+
237
+ RSpec/MultipleSubjects:
238
+ Enabled: false
239
+
240
+ RSpec/NamedSubject:
241
+ Enabled: false
242
+
243
+ RSpec/NestedGroups:
244
+ Max: 6
245
+
246
+ RSpec/NotToNot:
247
+ Enabled: false
248
+
249
+ RSpec/OverwritingSetup:
250
+ Enabled: false
251
+
252
+ RSpec/ReceiveNever:
253
+ Enabled: false
254
+
255
+ RSpec/ScatteredLet:
256
+ Enabled: false
257
+
258
+ RSpec/ScatteredSetup:
259
+ Enabled: false
260
+
261
+ RSpec/SingleArgumentMessageChain:
262
+ Enabled: false
263
+
264
+ RSpec/SingleArgumentMessageChain:
265
+ Enabled: false
266
+
267
+ RSpec/VerifiedDoubles:
268
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.0
7
+ before_install: gem install bundler -v 1.17.3
@@ -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 artur.martsinkovskyi@perfectial.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,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in wordword.gemspec
8
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,149 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ wordword (0.1.0)
5
+ dry-monads
6
+ i18n
7
+ pastel (~> 0.7.2)
8
+ thor (~> 0.20.0)
9
+ tty-box (~> 0.4.1)
10
+ tty-color (~> 0.5)
11
+ tty-command (~> 0.9.0)
12
+ tty-config (~> 0.3.2)
13
+ tty-cursor (~> 0.7)
14
+ tty-editor (~> 0.5)
15
+ tty-file (~> 0.8.0)
16
+ tty-font (~> 0.4.0)
17
+ tty-logger (~> 0.2.0)
18
+ tty-markdown (~> 0.6.0)
19
+ tty-pager (~> 0.12)
20
+ tty-pie (~> 0.3.0)
21
+ tty-platform (~> 0.2)
22
+ tty-progressbar (~> 0.17)
23
+ tty-prompt (~> 0.19)
24
+ tty-screen (~> 0.7)
25
+ tty-spinner (~> 0.9)
26
+ tty-table (~> 0.11.0)
27
+ tty-tree (~> 0.3)
28
+ tty-which (~> 0.4)
29
+
30
+ GEM
31
+ remote: https://rubygems.org/
32
+ specs:
33
+ coderay (1.1.2)
34
+ concurrent-ruby (1.1.5)
35
+ diff-lcs (1.3)
36
+ dry-core (0.4.9)
37
+ concurrent-ruby (~> 1.0)
38
+ dry-equalizer (0.3.0)
39
+ dry-monads (1.3.4)
40
+ concurrent-ruby (~> 1.0)
41
+ dry-core (~> 0.4, >= 0.4.4)
42
+ dry-equalizer
43
+ equatable (0.6.1)
44
+ i18n (1.7.0)
45
+ concurrent-ruby (~> 1.0)
46
+ kramdown (1.16.2)
47
+ method_source (0.9.2)
48
+ necromancer (0.5.1)
49
+ pastel (0.7.3)
50
+ equatable (~> 0.6)
51
+ tty-color (~> 0.5)
52
+ pry (0.12.2)
53
+ coderay (~> 1.1.0)
54
+ method_source (~> 0.9.0)
55
+ rake (10.5.0)
56
+ rouge (3.14.0)
57
+ rspec (3.8.0)
58
+ rspec-core (~> 3.8.0)
59
+ rspec-expectations (~> 3.8.0)
60
+ rspec-mocks (~> 3.8.0)
61
+ rspec-core (3.8.2)
62
+ rspec-support (~> 3.8.0)
63
+ rspec-expectations (3.8.4)
64
+ diff-lcs (>= 1.2.0, < 2.0)
65
+ rspec-support (~> 3.8.0)
66
+ rspec-mocks (3.8.1)
67
+ diff-lcs (>= 1.2.0, < 2.0)
68
+ rspec-support (~> 3.8.0)
69
+ rspec-support (3.8.2)
70
+ strings (0.1.8)
71
+ strings-ansi (~> 0.1)
72
+ unicode-display_width (~> 1.5)
73
+ unicode_utils (~> 1.4)
74
+ strings-ansi (0.1.0)
75
+ thor (0.20.3)
76
+ tty-box (0.4.1)
77
+ pastel (~> 0.7.2)
78
+ strings (~> 0.1.6)
79
+ tty-cursor (~> 0.7)
80
+ tty-color (0.5.0)
81
+ tty-command (0.9.0)
82
+ pastel (~> 0.7.0)
83
+ tty-config (0.3.2)
84
+ tty-cursor (0.7.0)
85
+ tty-editor (0.5.1)
86
+ tty-prompt (~> 0.19)
87
+ tty-which (~> 0.4)
88
+ tty-file (0.8.0)
89
+ diff-lcs (~> 1.3)
90
+ pastel (~> 0.7.2)
91
+ tty-prompt (~> 0.18)
92
+ tty-font (0.4.0)
93
+ tty-logger (0.2.0)
94
+ pastel (~> 0.7.0)
95
+ tty-markdown (0.6.0)
96
+ kramdown (~> 1.16.2)
97
+ pastel (~> 0.7.2)
98
+ rouge (~> 3.3)
99
+ strings (~> 0.1.4)
100
+ tty-color (~> 0.4)
101
+ tty-screen (~> 0.6)
102
+ tty-pager (0.12.1)
103
+ strings (~> 0.1.4)
104
+ tty-screen (~> 0.6)
105
+ tty-which (~> 0.4)
106
+ tty-pie (0.3.0)
107
+ pastel (~> 0.7.3)
108
+ tty-cursor (~> 0.7)
109
+ tty-platform (0.2.1)
110
+ tty-progressbar (0.17.0)
111
+ strings-ansi (~> 0.1.0)
112
+ tty-cursor (~> 0.7)
113
+ tty-screen (~> 0.7)
114
+ unicode-display_width (~> 1.6)
115
+ tty-prompt (0.20.0)
116
+ necromancer (~> 0.5.0)
117
+ pastel (~> 0.7.0)
118
+ tty-reader (~> 0.7.0)
119
+ tty-reader (0.7.0)
120
+ tty-cursor (~> 0.7)
121
+ tty-screen (~> 0.7)
122
+ wisper (~> 2.0.0)
123
+ tty-screen (0.7.0)
124
+ tty-spinner (0.9.2)
125
+ tty-cursor (~> 0.7)
126
+ tty-table (0.11.0)
127
+ equatable (~> 0.6)
128
+ necromancer (~> 0.5)
129
+ pastel (~> 0.7.2)
130
+ strings (~> 0.1.5)
131
+ tty-screen (~> 0.7)
132
+ tty-tree (0.3.0)
133
+ tty-which (0.4.1)
134
+ unicode-display_width (1.6.0)
135
+ unicode_utils (1.4.0)
136
+ wisper (2.0.1)
137
+
138
+ PLATFORMS
139
+ ruby
140
+
141
+ DEPENDENCIES
142
+ bundler (~> 1.17)
143
+ pry
144
+ rake (~> 10.0)
145
+ rspec (~> 3.0)
146
+ wordword!
147
+
148
+ BUNDLED WITH
149
+ 1.17.3