faker-bot 0.5.3 → 0.6.0
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/CHANGELOG.md +22 -5
- data/README.md +1 -1
- data/lib/faker/bot/version.rb +1 -1
- metadata +30 -61
- data/.codeclimate.yml +0 -22
- data/.github/main.workflow +0 -9
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.rubocop.yml +0 -15
- data/.rubocop_todo.yml +0 -20
- data/.ruby-version +0 -1
- data/.travis.yml +0 -14
- data/CODE_OF_CONDUCT.md +0 -74
- data/CONTRIBUTING.md +0 -61
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -154
- data/Guardfile +0 -20
- data/Rakefile +0 -8
- data/bin/console +0 -12
- data/bin/setup +0 -8
- data/faker-bot.gemspec +0 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32d4769aab520f1744b76e7a8977edac7d69cab41920146d6d6895e162c917e2
|
|
4
|
+
data.tar.gz: b184830ebc7a58c3dd5c3fe66017091fb1c8930ceaf9cd920b9f7d2741a08cad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc55514a2cf22fa29197d3c33eb39a9fd4e249ab4927638cfcd256526e2553170028d44104a8dd41610e00330087281e17c2e85540556004454615066743685f
|
|
7
|
+
data.tar.gz: 0533fc17e79507fe093720e8b5b0bcd1bd4d4a5a319756fc9b59d83d77aa994acc2b52694eb1ed1d904682a637cc016a3ddfac3eff6e983f6d68ec0810c995ae
|
data/CHANGELOG.md
CHANGED
|
@@ -6,11 +6,30 @@
|
|
|
6
6
|
|
|
7
7
|
**Closed issues:**
|
|
8
8
|
|
|
9
|
+
- Code Climate maintainability badge is broken [\#66](https://github.com/faker-ruby/faker-bot/issues/66)
|
|
9
10
|
- Define a Release Process [\#40](https://github.com/faker-ruby/faker-bot/issues/40)
|
|
10
11
|
|
|
11
12
|
**Merged pull requests:**
|
|
12
13
|
|
|
13
|
-
- chore\(deps\): bump
|
|
14
|
+
- chore\(deps\): bump tty-tree from 0.3.0 to 0.4.0 [\#79](https://github.com/faker-ruby/faker-bot/pull/79) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
15
|
+
- chore\(deps\): bump faker from 2.10.0 to 2.10.1 [\#78](https://github.com/faker-ruby/faker-bot/pull/78) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
16
|
+
- chore\(deps-dev\): update rubocop requirement from ~\> 0.78.0 to ~\> 0.79.0 [\#77](https://github.com/faker-ruby/faker-bot/pull/77) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
17
|
+
- chore\(deps\): bump faker from 2.9.0 to 2.10.0 [\#76](https://github.com/faker-ruby/faker-bot/pull/76) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
18
|
+
- chore\(deps-dev\): update rubocop requirement from ~\> 0.77.0 to ~\> 0.78.0 [\#75](https://github.com/faker-ruby/faker-bot/pull/75) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
19
|
+
- chore\(deps\): bump thor from 1.0.0 to 1.0.1 [\#74](https://github.com/faker-ruby/faker-bot/pull/74) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
20
|
+
- chore\(deps\): bump faker from 2.8.1 to 2.9.0 [\#73](https://github.com/faker-ruby/faker-bot/pull/73) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
21
|
+
- chore\(deps\): update thor requirement from ~\> 0.20.0 to \>= 0.20, \< 1.1 [\#72](https://github.com/faker-ruby/faker-bot/pull/72) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
22
|
+
- chore\(deps\): bump faker from 2.8.0 to 2.8.1 [\#71](https://github.com/faker-ruby/faker-bot/pull/71) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
23
|
+
- chore\(deps\): bump faker from 2.7.0 to 2.8.0 [\#70](https://github.com/faker-ruby/faker-bot/pull/70) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
24
|
+
- chore\(deps-dev\): update rubocop requirement from ~\> 0.76.0 to ~\> 0.77.0 [\#69](https://github.com/faker-ruby/faker-bot/pull/69) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
25
|
+
- chore\(deps-dev\): bump rake from 13.0.0 to 13.0.1 [\#68](https://github.com/faker-ruby/faker-bot/pull/68) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
26
|
+
- Specify Codeclimate rubocop channel for ruby 2.6.4 support [\#67](https://github.com/faker-ruby/faker-bot/pull/67) ([akabiru](https://github.com/akabiru))
|
|
27
|
+
- chore\(deps\): bump faker from 2.6.0 to 2.7.0 [\#65](https://github.com/faker-ruby/faker-bot/pull/65) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
28
|
+
- chore\(deps-dev\): update rubocop requirement from ~\> 0.75.0 to ~\> 0.76.0 [\#64](https://github.com/faker-ruby/faker-bot/pull/64) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
29
|
+
- chore\(deps-dev\): bump rubocop from 0.75.0 to 0.75.1 [\#63](https://github.com/faker-ruby/faker-bot/pull/63) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
30
|
+
- chore\(deps\): bump faker from 2.5.0 to 2.6.0 [\#62](https://github.com/faker-ruby/faker-bot/pull/62) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
31
|
+
- chore\(deps-dev\): bump rspec from 3.8.0 to 3.9.0 [\#61](https://github.com/faker-ruby/faker-bot/pull/61) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
32
|
+
- chore\(deps-dev\): update rubocop requirement from ~\> 0.74.0 to ~\> 0.75.0 [\#60](https://github.com/faker-ruby/faker-bot/pull/60) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
14
33
|
- chore\(deps-dev\): update rake requirement from ~\> 12.3 to ~\> 13.0 [\#58](https://github.com/faker-ruby/faker-bot/pull/58) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
15
34
|
- chore\(deps\): bump faker from 2.3.0 to 2.4.0 [\#57](https://github.com/faker-ruby/faker-bot/pull/57) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
16
35
|
- chore\(deps-dev\): bump simplecov from 0.17.0 to 0.17.1 [\#56](https://github.com/faker-ruby/faker-bot/pull/56) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
@@ -60,7 +79,9 @@
|
|
|
60
79
|
|
|
61
80
|
**Merged pull requests:**
|
|
62
81
|
|
|
82
|
+
- chore\(deps\): bump faker from 2.4.0 to 2.5.0 [\#59](https://github.com/faker-ruby/faker-bot/pull/59) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
63
83
|
- Release v0.5.0 [\#41](https://github.com/faker-ruby/faker-bot/pull/41) ([akabiru](https://github.com/akabiru))
|
|
84
|
+
- Add CI & QA Badges [\#34](https://github.com/faker-ruby/faker-bot/pull/34) ([akabiru](https://github.com/akabiru))
|
|
64
85
|
- Chore: CleanUp [\#32](https://github.com/faker-ruby/faker-bot/pull/32) ([akabiru](https://github.com/akabiru))
|
|
65
86
|
|
|
66
87
|
## [v0.4.5](https://github.com/faker-ruby/faker-bot/tree/v0.4.5) (2019-07-11)
|
|
@@ -123,10 +144,6 @@
|
|
|
123
144
|
- Handle Deprecation Warnings [\#7](https://github.com/faker-ruby/faker-bot/issues/7)
|
|
124
145
|
- Support `search` for ruby less than 2.4.0 [\#12](https://github.com/faker-ruby/faker-bot/pull/12) ([kfpo](https://github.com/kfpo))
|
|
125
146
|
|
|
126
|
-
**Merged pull requests:**
|
|
127
|
-
|
|
128
|
-
- Add CI & QA Badges [\#34](https://github.com/faker-ruby/faker-bot/pull/34) ([akabiru](https://github.com/akabiru))
|
|
129
|
-
|
|
130
147
|
## [v0.4.1](https://github.com/faker-ruby/faker-bot/tree/v0.4.1) (2018-09-18)
|
|
131
148
|
[Full Changelog](https://github.com/faker-ruby/faker-bot/compare/v0.4.0...v0.4.1)
|
|
132
149
|
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# faker-bot
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+

|
|
4
4
|
[](https://badge.fury.io/rb/faker-bot)
|
|
5
5
|
[](https://www.codetriage.com/faker-ruby/faker-bot)
|
|
6
6
|
[](https://codeclimate.com/github/faker-ruby/faker-bot/maintainability)
|
data/lib/faker/bot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faker-bot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Austin Kabiru
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faker
|
|
@@ -28,36 +28,30 @@ dependencies:
|
|
|
28
28
|
name: pastel
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0
|
|
33
|
+
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - "
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0
|
|
40
|
+
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: thor
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0
|
|
48
|
-
- - "<"
|
|
49
|
-
- !ruby/object:Gem::Version
|
|
50
|
-
version: '1.1'
|
|
47
|
+
version: '0'
|
|
51
48
|
type: :runtime
|
|
52
49
|
prerelease: false
|
|
53
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
54
51
|
requirements:
|
|
55
52
|
- - ">="
|
|
56
53
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: '0
|
|
58
|
-
- - "<"
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: '1.1'
|
|
54
|
+
version: '0'
|
|
61
55
|
- !ruby/object:Gem::Dependency
|
|
62
56
|
name: tty-pager
|
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -102,20 +96,6 @@ dependencies:
|
|
|
102
96
|
version: '0'
|
|
103
97
|
- !ruby/object:Gem::Dependency
|
|
104
98
|
name: bundler
|
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
|
106
|
-
requirements:
|
|
107
|
-
- - ">="
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: '1.16'
|
|
110
|
-
type: :development
|
|
111
|
-
prerelease: false
|
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
-
requirements:
|
|
114
|
-
- - ">="
|
|
115
|
-
- !ruby/object:Gem::Version
|
|
116
|
-
version: '1.16'
|
|
117
|
-
- !ruby/object:Gem::Dependency
|
|
118
|
-
name: coveralls
|
|
119
99
|
requirement: !ruby/object:Gem::Requirement
|
|
120
100
|
requirements:
|
|
121
101
|
- - ">="
|
|
@@ -160,58 +140,64 @@ dependencies:
|
|
|
160
140
|
name: rake
|
|
161
141
|
requirement: !ruby/object:Gem::Requirement
|
|
162
142
|
requirements:
|
|
163
|
-
- - "
|
|
143
|
+
- - ">="
|
|
164
144
|
- !ruby/object:Gem::Version
|
|
165
|
-
version: '
|
|
145
|
+
version: '0'
|
|
166
146
|
type: :development
|
|
167
147
|
prerelease: false
|
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
169
149
|
requirements:
|
|
170
|
-
- - "
|
|
150
|
+
- - ">="
|
|
171
151
|
- !ruby/object:Gem::Version
|
|
172
|
-
version: '
|
|
152
|
+
version: '0'
|
|
173
153
|
- !ruby/object:Gem::Dependency
|
|
174
154
|
name: rspec
|
|
175
155
|
requirement: !ruby/object:Gem::Requirement
|
|
176
156
|
requirements:
|
|
177
|
-
- - "
|
|
157
|
+
- - ">="
|
|
178
158
|
- !ruby/object:Gem::Version
|
|
179
|
-
version: '
|
|
159
|
+
version: '0'
|
|
180
160
|
type: :development
|
|
181
161
|
prerelease: false
|
|
182
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
183
163
|
requirements:
|
|
184
|
-
- - "
|
|
164
|
+
- - ">="
|
|
185
165
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: '
|
|
166
|
+
version: '0'
|
|
187
167
|
- !ruby/object:Gem::Dependency
|
|
188
168
|
name: rubocop
|
|
189
169
|
requirement: !ruby/object:Gem::Requirement
|
|
190
170
|
requirements:
|
|
191
|
-
- - "
|
|
171
|
+
- - ">="
|
|
192
172
|
- !ruby/object:Gem::Version
|
|
193
|
-
version: 0
|
|
173
|
+
version: '0'
|
|
194
174
|
type: :development
|
|
195
175
|
prerelease: false
|
|
196
176
|
version_requirements: !ruby/object:Gem::Requirement
|
|
197
177
|
requirements:
|
|
198
|
-
- - "
|
|
178
|
+
- - ">="
|
|
199
179
|
- !ruby/object:Gem::Version
|
|
200
|
-
version: 0
|
|
180
|
+
version: '0'
|
|
201
181
|
- !ruby/object:Gem::Dependency
|
|
202
182
|
name: simplecov
|
|
203
183
|
requirement: !ruby/object:Gem::Requirement
|
|
204
184
|
requirements:
|
|
205
185
|
- - "~>"
|
|
206
186
|
- !ruby/object:Gem::Version
|
|
207
|
-
version: '0.
|
|
187
|
+
version: '0.10'
|
|
188
|
+
- - "<"
|
|
189
|
+
- !ruby/object:Gem::Version
|
|
190
|
+
version: '0.18'
|
|
208
191
|
type: :development
|
|
209
192
|
prerelease: false
|
|
210
193
|
version_requirements: !ruby/object:Gem::Requirement
|
|
211
194
|
requirements:
|
|
212
195
|
- - "~>"
|
|
213
196
|
- !ruby/object:Gem::Version
|
|
214
|
-
version: '0.
|
|
197
|
+
version: '0.10'
|
|
198
|
+
- - "<"
|
|
199
|
+
- !ruby/object:Gem::Version
|
|
200
|
+
version: '0.18'
|
|
215
201
|
description: Quickly look up Faker methods without leaving your terminal!
|
|
216
202
|
email:
|
|
217
203
|
- makabby@gmail.com
|
|
@@ -220,27 +206,10 @@ executables:
|
|
|
220
206
|
extensions: []
|
|
221
207
|
extra_rdoc_files: []
|
|
222
208
|
files:
|
|
223
|
-
- ".codeclimate.yml"
|
|
224
|
-
- ".github/main.workflow"
|
|
225
|
-
- ".gitignore"
|
|
226
|
-
- ".rspec"
|
|
227
|
-
- ".rubocop.yml"
|
|
228
|
-
- ".rubocop_todo.yml"
|
|
229
|
-
- ".ruby-version"
|
|
230
|
-
- ".travis.yml"
|
|
231
209
|
- CHANGELOG.md
|
|
232
|
-
- CODE_OF_CONDUCT.md
|
|
233
|
-
- CONTRIBUTING.md
|
|
234
|
-
- Gemfile
|
|
235
|
-
- Gemfile.lock
|
|
236
|
-
- Guardfile
|
|
237
210
|
- LICENSE.txt
|
|
238
211
|
- README.md
|
|
239
|
-
- Rakefile
|
|
240
|
-
- bin/console
|
|
241
212
|
- bin/faker
|
|
242
|
-
- bin/setup
|
|
243
|
-
- faker-bot.gemspec
|
|
244
213
|
- lib/faker-bot.rb
|
|
245
214
|
- lib/faker/bot.rb
|
|
246
215
|
- lib/faker/bot/command.rb
|
|
@@ -263,14 +232,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
263
232
|
requirements:
|
|
264
233
|
- - ">="
|
|
265
234
|
- !ruby/object:Gem::Version
|
|
266
|
-
version:
|
|
235
|
+
version: 3.3.4
|
|
267
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
237
|
requirements:
|
|
269
238
|
- - ">="
|
|
270
239
|
- !ruby/object:Gem::Version
|
|
271
240
|
version: '0'
|
|
272
241
|
requirements: []
|
|
273
|
-
rubygems_version: 3.
|
|
242
|
+
rubygems_version: 3.4.19
|
|
274
243
|
signing_key:
|
|
275
244
|
specification_version: 4
|
|
276
245
|
summary: A faker-ruby/faker lookup command line tool.
|
data/.codeclimate.yml
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
version: "2"
|
|
3
|
-
plugins:
|
|
4
|
-
bundler-audit:
|
|
5
|
-
enabled: true
|
|
6
|
-
fixme:
|
|
7
|
-
enabled: true
|
|
8
|
-
flog:
|
|
9
|
-
enabled: true
|
|
10
|
-
reek:
|
|
11
|
-
enabled: true
|
|
12
|
-
rubocop:
|
|
13
|
-
enabled: true
|
|
14
|
-
channel: rubocop-0-74
|
|
15
|
-
exclude_patterns:
|
|
16
|
-
- "spec/"
|
|
17
|
-
- "vendor/"
|
|
18
|
-
- "Guardfile"
|
|
19
|
-
- "Rakefile"
|
|
20
|
-
- "bin/**/*"
|
|
21
|
-
- "config/**/*.rb"
|
|
22
|
-
- "script/**/*"
|
data/.github/main.workflow
DELETED
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
|
2
|
-
|
|
3
|
-
AllCops:
|
|
4
|
-
Exclude:
|
|
5
|
-
- "Gemfile"
|
|
6
|
-
- "*.gemspec"
|
|
7
|
-
- "spec/spec_helper.rb"
|
|
8
|
-
- "config/**/*"
|
|
9
|
-
UseCache: false
|
|
10
|
-
Style/Documentation:
|
|
11
|
-
Exclude:
|
|
12
|
-
- "lib/**/*"
|
|
13
|
-
- "spec/faker/bot/*"
|
|
14
|
-
Metrics/ModuleLength:
|
|
15
|
-
Enabled: false
|
data/.rubocop_todo.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2019-08-30 13:50:07 -0600 using RuboCop version 0.74.0.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 11
|
|
10
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
|
11
|
-
# ExcludedMethods: refine
|
|
12
|
-
Metrics/BlockLength:
|
|
13
|
-
Max: 127
|
|
14
|
-
|
|
15
|
-
# Offense count: 1
|
|
16
|
-
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
|
17
|
-
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
|
18
|
-
Naming/FileName:
|
|
19
|
-
Exclude:
|
|
20
|
-
- 'lib/faker-bot.rb'
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.6.4
|
data/.travis.yml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
env:
|
|
2
|
-
global:
|
|
3
|
-
- CC_TEST_REPORTER_ID=97ada6a78eeebe77dc11dacfb31238d8c5c3ba39ccae8dec76279e8176221da5
|
|
4
|
-
language: ruby
|
|
5
|
-
rvm:
|
|
6
|
-
- 2.6.4
|
|
7
|
-
before_script:
|
|
8
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
9
|
-
- chmod +x ./cc-test-reporter
|
|
10
|
-
- ./cc-test-reporter before-build
|
|
11
|
-
script:
|
|
12
|
-
- bundle exec rspec
|
|
13
|
-
after_script:
|
|
14
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
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 austin.kabiru@andela.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/CONTRIBUTING.md
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
We love pull requests. Here's a quick guide:
|
|
2
|
-
|
|
3
|
-
1. Fork the repo.
|
|
4
|
-
|
|
5
|
-
2. Run the tests. We only take pull requests with passing tests, and it's great to know that you have a clean slate: `bundle && bundle exec rake`
|
|
6
|
-
|
|
7
|
-
3. We are using [Rubocop](https://github.com/bbatsov/rubocop) because we love static code analyzers.
|
|
8
|
-
* Ways to run Rubocop:
|
|
9
|
-
- `bundle exec rubocop`
|
|
10
|
-
|
|
11
|
-
4. Please add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug, we need a test! We use [RSpec](https://github.com/rspec/rspec) in this project.
|
|
12
|
-
|
|
13
|
-
5. We care about code coverage and use `SimpleCov` to analyze the code and generate test coverage reports. It's possible to check the test coverage by running `open coverage/index.html`. Please make sure to not decrease our `current % covered` and add appropriate test cases when necessary.
|
|
14
|
-
|
|
15
|
-
6. Methods with optional arguments should use keyword rather than positional arguments. An exception to this could be a method that takes only one optional argument, and it's unlikely that that method would ever take more than one optional argument.
|
|
16
|
-
|
|
17
|
-
7. Push to your fork and submit a pull request.
|
|
18
|
-
|
|
19
|
-
### Github Flow for contributors and collaborators
|
|
20
|
-
|
|
21
|
-
For those of you with commit access, please check out Scott Chacon's blog post about [github flow](http://scottchacon.com/2011/08/31/github-flow.html)
|
|
22
|
-
|
|
23
|
-
> * Anything in the master branch is deployable
|
|
24
|
-
> * To work on something new, create a descriptively named branch off of master (ie: new-oauth2-scopes)
|
|
25
|
-
> * Commit to that branch locally and regularly push your work to the same named branch on the server
|
|
26
|
-
> * When you need feedback or help, or you think the branch is ready for merging, open a pull request
|
|
27
|
-
> * After someone else has reviewed and signed off on the feature, you can merge it into master
|
|
28
|
-
|
|
29
|
-
If you're reviewing a PR, you should ask yourself:
|
|
30
|
-
> * Does it work as described? A PR should have a great description.
|
|
31
|
-
> * Is it understandable?
|
|
32
|
-
> * Is it well implemented?
|
|
33
|
-
> * Is it well tested?
|
|
34
|
-
> * Is it well documented?
|
|
35
|
-
> * Is it following the structure of the project?
|
|
36
|
-
|
|
37
|
-
### Syntax/Good practices:
|
|
38
|
-
|
|
39
|
-
* Two spaces, no tabs.
|
|
40
|
-
* No trailing whitespace. Blank lines should not have any space.
|
|
41
|
-
* Prefer `&&`, `||` over `and`, `or`.
|
|
42
|
-
* `MyClass.my_method(my_arg)` not `my_method( my_arg )` or `my_method my_arg`.
|
|
43
|
-
* `a = b` and not `a=b`.
|
|
44
|
-
* use dash syntax for yaml arrays:
|
|
45
|
-
```Yaml
|
|
46
|
-
# this
|
|
47
|
-
a_things:
|
|
48
|
-
- small_thing
|
|
49
|
-
- big_thing
|
|
50
|
-
- other_thing
|
|
51
|
-
|
|
52
|
-
# instead of these:
|
|
53
|
-
b_things: [small_thing, big_thing, other_thing]
|
|
54
|
-
c_things: [
|
|
55
|
-
small_thing,
|
|
56
|
-
big_thing,
|
|
57
|
-
other_thing,
|
|
58
|
-
]
|
|
59
|
-
```
|
|
60
|
-
* In general, follow the conventions you see used in the source already.
|
|
61
|
-
* **ALL SHALL OBEY THE RUBOCOP**
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
faker-bot (0.5.3)
|
|
5
|
-
faker
|
|
6
|
-
pastel (~> 0.7.2)
|
|
7
|
-
thor (>= 0.20, < 1.1)
|
|
8
|
-
tty-pager
|
|
9
|
-
tty-screen
|
|
10
|
-
tty-tree
|
|
11
|
-
|
|
12
|
-
GEM
|
|
13
|
-
remote: https://rubygems.org/
|
|
14
|
-
specs:
|
|
15
|
-
ast (2.4.0)
|
|
16
|
-
coderay (1.1.2)
|
|
17
|
-
concurrent-ruby (1.1.5)
|
|
18
|
-
coveralls (0.7.1)
|
|
19
|
-
multi_json (~> 1.3)
|
|
20
|
-
rest-client
|
|
21
|
-
simplecov (>= 0.7)
|
|
22
|
-
term-ansicolor
|
|
23
|
-
thor
|
|
24
|
-
diff-lcs (1.3)
|
|
25
|
-
docile (1.3.2)
|
|
26
|
-
domain_name (0.5.20190701)
|
|
27
|
-
unf (>= 0.0.5, < 1.0.0)
|
|
28
|
-
equatable (0.6.1)
|
|
29
|
-
faker (2.10.1)
|
|
30
|
-
i18n (>= 1.6, < 2)
|
|
31
|
-
ffi (1.11.1)
|
|
32
|
-
formatador (0.2.5)
|
|
33
|
-
guard (2.15.0)
|
|
34
|
-
formatador (>= 0.2.4)
|
|
35
|
-
listen (>= 2.7, < 4.0)
|
|
36
|
-
lumberjack (>= 1.0.12, < 2.0)
|
|
37
|
-
nenv (~> 0.1)
|
|
38
|
-
notiffany (~> 0.0)
|
|
39
|
-
pry (>= 0.9.12)
|
|
40
|
-
shellany (~> 0.0)
|
|
41
|
-
thor (>= 0.18.1)
|
|
42
|
-
guard-compat (1.2.1)
|
|
43
|
-
guard-rspec (4.7.3)
|
|
44
|
-
guard (~> 2.1)
|
|
45
|
-
guard-compat (~> 1.1)
|
|
46
|
-
rspec (>= 2.99.0, < 4.0)
|
|
47
|
-
http-accept (1.7.0)
|
|
48
|
-
http-cookie (1.0.3)
|
|
49
|
-
domain_name (~> 0.5)
|
|
50
|
-
i18n (1.8.2)
|
|
51
|
-
concurrent-ruby (~> 1.0)
|
|
52
|
-
jaro_winkler (1.5.4)
|
|
53
|
-
json (2.2.0)
|
|
54
|
-
listen (3.1.5)
|
|
55
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
56
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
|
57
|
-
ruby_dep (~> 1.2)
|
|
58
|
-
lumberjack (1.0.13)
|
|
59
|
-
method_source (0.9.2)
|
|
60
|
-
mime-types (3.2.2)
|
|
61
|
-
mime-types-data (~> 3.2015)
|
|
62
|
-
mime-types-data (3.2019.0331)
|
|
63
|
-
multi_json (1.13.1)
|
|
64
|
-
nenv (0.3.0)
|
|
65
|
-
netrc (0.11.0)
|
|
66
|
-
notiffany (0.1.1)
|
|
67
|
-
nenv (~> 0.1)
|
|
68
|
-
shellany (~> 0.0)
|
|
69
|
-
parallel (1.19.1)
|
|
70
|
-
parser (2.7.0.1)
|
|
71
|
-
ast (~> 2.4.0)
|
|
72
|
-
pastel (0.7.3)
|
|
73
|
-
equatable (~> 0.6)
|
|
74
|
-
tty-color (~> 0.5)
|
|
75
|
-
pry (0.12.2)
|
|
76
|
-
coderay (~> 1.1.0)
|
|
77
|
-
method_source (~> 0.9.0)
|
|
78
|
-
rainbow (3.0.0)
|
|
79
|
-
rake (13.0.1)
|
|
80
|
-
rb-fsevent (0.10.3)
|
|
81
|
-
rb-inotify (0.10.0)
|
|
82
|
-
ffi (~> 1.0)
|
|
83
|
-
rest-client (2.1.0)
|
|
84
|
-
http-accept (>= 1.7.0, < 2.0)
|
|
85
|
-
http-cookie (>= 1.0.2, < 2.0)
|
|
86
|
-
mime-types (>= 1.16, < 4.0)
|
|
87
|
-
netrc (~> 0.8)
|
|
88
|
-
rspec (3.9.0)
|
|
89
|
-
rspec-core (~> 3.9.0)
|
|
90
|
-
rspec-expectations (~> 3.9.0)
|
|
91
|
-
rspec-mocks (~> 3.9.0)
|
|
92
|
-
rspec-core (3.9.0)
|
|
93
|
-
rspec-support (~> 3.9.0)
|
|
94
|
-
rspec-expectations (3.9.0)
|
|
95
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
96
|
-
rspec-support (~> 3.9.0)
|
|
97
|
-
rspec-mocks (3.9.0)
|
|
98
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
99
|
-
rspec-support (~> 3.9.0)
|
|
100
|
-
rspec-support (3.9.0)
|
|
101
|
-
rubocop (0.79.0)
|
|
102
|
-
jaro_winkler (~> 1.5.1)
|
|
103
|
-
parallel (~> 1.10)
|
|
104
|
-
parser (>= 2.7.0.1)
|
|
105
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
106
|
-
ruby-progressbar (~> 1.7)
|
|
107
|
-
unicode-display_width (>= 1.4.0, < 1.7)
|
|
108
|
-
ruby-progressbar (1.10.1)
|
|
109
|
-
ruby_dep (1.5.0)
|
|
110
|
-
shellany (0.0.1)
|
|
111
|
-
simplecov (0.17.1)
|
|
112
|
-
docile (~> 1.1)
|
|
113
|
-
json (>= 1.8, < 3)
|
|
114
|
-
simplecov-html (~> 0.10.0)
|
|
115
|
-
simplecov-html (0.10.2)
|
|
116
|
-
strings (0.1.8)
|
|
117
|
-
strings-ansi (~> 0.1)
|
|
118
|
-
unicode-display_width (~> 1.5)
|
|
119
|
-
unicode_utils (~> 1.4)
|
|
120
|
-
strings-ansi (0.2.0)
|
|
121
|
-
term-ansicolor (1.7.1)
|
|
122
|
-
tins (~> 1.0)
|
|
123
|
-
thor (1.0.1)
|
|
124
|
-
tins (1.21.1)
|
|
125
|
-
tty-color (0.5.0)
|
|
126
|
-
tty-pager (0.12.1)
|
|
127
|
-
strings (~> 0.1.4)
|
|
128
|
-
tty-screen (~> 0.6)
|
|
129
|
-
tty-which (~> 0.4)
|
|
130
|
-
tty-screen (0.7.0)
|
|
131
|
-
tty-tree (0.4.0)
|
|
132
|
-
tty-which (0.4.2)
|
|
133
|
-
unf (0.1.4)
|
|
134
|
-
unf_ext
|
|
135
|
-
unf_ext (0.0.7.6)
|
|
136
|
-
unicode-display_width (1.6.0)
|
|
137
|
-
unicode_utils (1.4.0)
|
|
138
|
-
|
|
139
|
-
PLATFORMS
|
|
140
|
-
ruby
|
|
141
|
-
|
|
142
|
-
DEPENDENCIES
|
|
143
|
-
bundler (>= 1.16)
|
|
144
|
-
coveralls
|
|
145
|
-
faker-bot!
|
|
146
|
-
guard-rspec
|
|
147
|
-
pry
|
|
148
|
-
rake (~> 13.0)
|
|
149
|
-
rspec (~> 3.0)
|
|
150
|
-
rubocop (~> 0.79.0)
|
|
151
|
-
simplecov (~> 0.12)
|
|
152
|
-
|
|
153
|
-
BUNDLED WITH
|
|
154
|
-
2.0.2
|
data/Guardfile
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# More info at https://github.com/guard/guard#readme
|
|
4
|
-
#
|
|
5
|
-
guard :rspec, cmd: 'bundle exec rspec' do
|
|
6
|
-
require 'guard/rspec/dsl'
|
|
7
|
-
dsl = Guard::RSpec::Dsl.new(self)
|
|
8
|
-
|
|
9
|
-
# Feel free to open issues for suggestions and improvements
|
|
10
|
-
|
|
11
|
-
# RSpec files
|
|
12
|
-
rspec = dsl.rspec
|
|
13
|
-
watch(rspec.spec_helper) { rspec.spec_dir }
|
|
14
|
-
watch(rspec.spec_support) { rspec.spec_dir }
|
|
15
|
-
watch(rspec.spec_files)
|
|
16
|
-
|
|
17
|
-
# Ruby files
|
|
18
|
-
ruby = dsl.ruby
|
|
19
|
-
dsl.watch_spec_files_for(ruby.lib_files)
|
|
20
|
-
end
|
data/Rakefile
DELETED
data/bin/console
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require 'bundler/setup'
|
|
5
|
-
require 'faker/bot'
|
|
6
|
-
|
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
-
|
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
-
require 'pry'
|
|
12
|
-
Pry.start
|
data/bin/setup
DELETED
data/faker-bot.gemspec
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require "faker/bot/version"
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = "faker-bot"
|
|
8
|
-
spec.version = Faker::Bot::VERSION
|
|
9
|
-
spec.authors = ["Austin Kabiru"]
|
|
10
|
-
spec.email = ["makabby@gmail.com"]
|
|
11
|
-
|
|
12
|
-
spec.summary = %q{A faker-ruby/faker lookup command line tool.}
|
|
13
|
-
spec.description = %q{Quickly look up Faker methods without leaving your terminal!}
|
|
14
|
-
spec.homepage = "https://github.com/faker-ruby/faker-bot"
|
|
15
|
-
spec.license = "MIT"
|
|
16
|
-
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
18
|
-
spec.bindir = 'bin'
|
|
19
|
-
spec.executables = ['faker']
|
|
20
|
-
spec.require_paths = ['lib']
|
|
21
|
-
|
|
22
|
-
spec.add_dependency "faker"
|
|
23
|
-
spec.add_dependency "pastel", "~> 0.7.2"
|
|
24
|
-
spec.add_dependency "thor", ">= 0.20", "< 1.1"
|
|
25
|
-
spec.add_dependency "tty-pager"
|
|
26
|
-
spec.add_dependency "tty-screen"
|
|
27
|
-
spec.add_dependency "tty-tree"
|
|
28
|
-
|
|
29
|
-
spec.add_development_dependency "bundler", ">= 1.16"
|
|
30
|
-
spec.add_development_dependency "coveralls"
|
|
31
|
-
spec.add_development_dependency "guard-rspec"
|
|
32
|
-
spec.add_development_dependency "pry"
|
|
33
|
-
spec.add_development_dependency "rake", "~> 13.0"
|
|
34
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
|
35
|
-
spec.add_development_dependency "rubocop", "~> 0.79.0"
|
|
36
|
-
spec.add_development_dependency "simplecov", "~> 0.12"
|
|
37
|
-
end
|