faker-bot 0.5.2 → 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 +32 -57
- data/.codeclimate.yml +0 -21
- 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,6 +79,7 @@
|
|
|
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))
|
|
64
84
|
- Add CI & QA Badges [\#34](https://github.com/faker-ruby/faker-bot/pull/34) ([akabiru](https://github.com/akabiru))
|
|
65
85
|
- Chore: CleanUp [\#32](https://github.com/faker-ruby/faker-bot/pull/32) ([akabiru](https://github.com/akabiru))
|
|
@@ -73,10 +93,6 @@
|
|
|
73
93
|
- Gem name should be faker-bot [\#31](https://github.com/faker-ruby/faker-bot/pull/31) ([vbrazo](https://github.com/vbrazo))
|
|
74
94
|
- Distribute Faker::Reflector Responsibilities [\#22](https://github.com/faker-ruby/faker-bot/pull/22) ([akabiru](https://github.com/akabiru))
|
|
75
95
|
|
|
76
|
-
**Fixed bugs:**
|
|
77
|
-
|
|
78
|
-
- Support `search` for ruby less than 2.4.0 [\#12](https://github.com/faker-ruby/faker-bot/pull/12) ([kfpo](https://github.com/kfpo))
|
|
79
|
-
|
|
80
96
|
**Closed issues:**
|
|
81
97
|
|
|
82
98
|
- Integrate faker-bot in faker-ruby organization [\#27](https://github.com/faker-ruby/faker-bot/issues/27)
|
|
@@ -126,6 +142,7 @@
|
|
|
126
142
|
**Fixed bugs:**
|
|
127
143
|
|
|
128
144
|
- Handle Deprecation Warnings [\#7](https://github.com/faker-ruby/faker-bot/issues/7)
|
|
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))
|
|
129
146
|
|
|
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)
|
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,30 +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
|
|
47
|
+
version: '0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0
|
|
54
|
+
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: tty-pager
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -96,20 +96,6 @@ dependencies:
|
|
|
96
96
|
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: bundler
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - ">="
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: '1.16'
|
|
104
|
-
type: :development
|
|
105
|
-
prerelease: false
|
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
-
requirements:
|
|
108
|
-
- - ">="
|
|
109
|
-
- !ruby/object:Gem::Version
|
|
110
|
-
version: '1.16'
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: coveralls
|
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
|
114
100
|
requirements:
|
|
115
101
|
- - ">="
|
|
@@ -154,58 +140,64 @@ dependencies:
|
|
|
154
140
|
name: rake
|
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
|
156
142
|
requirements:
|
|
157
|
-
- - "
|
|
143
|
+
- - ">="
|
|
158
144
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: '
|
|
145
|
+
version: '0'
|
|
160
146
|
type: :development
|
|
161
147
|
prerelease: false
|
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
149
|
requirements:
|
|
164
|
-
- - "
|
|
150
|
+
- - ">="
|
|
165
151
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '
|
|
152
|
+
version: '0'
|
|
167
153
|
- !ruby/object:Gem::Dependency
|
|
168
154
|
name: rspec
|
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
|
170
156
|
requirements:
|
|
171
|
-
- - "
|
|
157
|
+
- - ">="
|
|
172
158
|
- !ruby/object:Gem::Version
|
|
173
|
-
version: '
|
|
159
|
+
version: '0'
|
|
174
160
|
type: :development
|
|
175
161
|
prerelease: false
|
|
176
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
177
163
|
requirements:
|
|
178
|
-
- - "
|
|
164
|
+
- - ">="
|
|
179
165
|
- !ruby/object:Gem::Version
|
|
180
|
-
version: '
|
|
166
|
+
version: '0'
|
|
181
167
|
- !ruby/object:Gem::Dependency
|
|
182
168
|
name: rubocop
|
|
183
169
|
requirement: !ruby/object:Gem::Requirement
|
|
184
170
|
requirements:
|
|
185
|
-
- - "
|
|
171
|
+
- - ">="
|
|
186
172
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: 0
|
|
173
|
+
version: '0'
|
|
188
174
|
type: :development
|
|
189
175
|
prerelease: false
|
|
190
176
|
version_requirements: !ruby/object:Gem::Requirement
|
|
191
177
|
requirements:
|
|
192
|
-
- - "
|
|
178
|
+
- - ">="
|
|
193
179
|
- !ruby/object:Gem::Version
|
|
194
|
-
version: 0
|
|
180
|
+
version: '0'
|
|
195
181
|
- !ruby/object:Gem::Dependency
|
|
196
182
|
name: simplecov
|
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
|
198
184
|
requirements:
|
|
199
185
|
- - "~>"
|
|
200
186
|
- !ruby/object:Gem::Version
|
|
201
|
-
version: '0.
|
|
187
|
+
version: '0.10'
|
|
188
|
+
- - "<"
|
|
189
|
+
- !ruby/object:Gem::Version
|
|
190
|
+
version: '0.18'
|
|
202
191
|
type: :development
|
|
203
192
|
prerelease: false
|
|
204
193
|
version_requirements: !ruby/object:Gem::Requirement
|
|
205
194
|
requirements:
|
|
206
195
|
- - "~>"
|
|
207
196
|
- !ruby/object:Gem::Version
|
|
208
|
-
version: '0.
|
|
197
|
+
version: '0.10'
|
|
198
|
+
- - "<"
|
|
199
|
+
- !ruby/object:Gem::Version
|
|
200
|
+
version: '0.18'
|
|
209
201
|
description: Quickly look up Faker methods without leaving your terminal!
|
|
210
202
|
email:
|
|
211
203
|
- makabby@gmail.com
|
|
@@ -214,27 +206,10 @@ executables:
|
|
|
214
206
|
extensions: []
|
|
215
207
|
extra_rdoc_files: []
|
|
216
208
|
files:
|
|
217
|
-
- ".codeclimate.yml"
|
|
218
|
-
- ".github/main.workflow"
|
|
219
|
-
- ".gitignore"
|
|
220
|
-
- ".rspec"
|
|
221
|
-
- ".rubocop.yml"
|
|
222
|
-
- ".rubocop_todo.yml"
|
|
223
|
-
- ".ruby-version"
|
|
224
|
-
- ".travis.yml"
|
|
225
209
|
- CHANGELOG.md
|
|
226
|
-
- CODE_OF_CONDUCT.md
|
|
227
|
-
- CONTRIBUTING.md
|
|
228
|
-
- Gemfile
|
|
229
|
-
- Gemfile.lock
|
|
230
|
-
- Guardfile
|
|
231
210
|
- LICENSE.txt
|
|
232
211
|
- README.md
|
|
233
|
-
- Rakefile
|
|
234
|
-
- bin/console
|
|
235
212
|
- bin/faker
|
|
236
|
-
- bin/setup
|
|
237
|
-
- faker-bot.gemspec
|
|
238
213
|
- lib/faker-bot.rb
|
|
239
214
|
- lib/faker/bot.rb
|
|
240
215
|
- lib/faker/bot/command.rb
|
|
@@ -257,14 +232,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
257
232
|
requirements:
|
|
258
233
|
- - ">="
|
|
259
234
|
- !ruby/object:Gem::Version
|
|
260
|
-
version:
|
|
235
|
+
version: 3.3.4
|
|
261
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
237
|
requirements:
|
|
263
238
|
- - ">="
|
|
264
239
|
- !ruby/object:Gem::Version
|
|
265
240
|
version: '0'
|
|
266
241
|
requirements: []
|
|
267
|
-
rubygems_version: 3.
|
|
242
|
+
rubygems_version: 3.4.19
|
|
268
243
|
signing_key:
|
|
269
244
|
specification_version: 4
|
|
270
245
|
summary: A faker-ruby/faker lookup command line tool.
|
data/.codeclimate.yml
DELETED
|
@@ -1,21 +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
|
-
exclude_patterns:
|
|
15
|
-
- "spec/"
|
|
16
|
-
- "vendor/"
|
|
17
|
-
- "Guardfile"
|
|
18
|
-
- "Rakefile"
|
|
19
|
-
- "bin/**/*"
|
|
20
|
-
- "config/**/*.rb"
|
|
21
|
-
- "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.2)
|
|
5
|
-
faker
|
|
6
|
-
pastel (~> 0.7.2)
|
|
7
|
-
thor (~> 0.20.0)
|
|
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.5.0)
|
|
30
|
-
i18n (~> 1.6.0)
|
|
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.6.0)
|
|
51
|
-
concurrent-ruby (~> 1.0)
|
|
52
|
-
jaro_winkler (1.5.3)
|
|
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.17.0)
|
|
70
|
-
parser (2.6.4.0)
|
|
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.0)
|
|
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.8.0)
|
|
89
|
-
rspec-core (~> 3.8.0)
|
|
90
|
-
rspec-expectations (~> 3.8.0)
|
|
91
|
-
rspec-mocks (~> 3.8.0)
|
|
92
|
-
rspec-core (3.8.2)
|
|
93
|
-
rspec-support (~> 3.8.0)
|
|
94
|
-
rspec-expectations (3.8.4)
|
|
95
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
96
|
-
rspec-support (~> 3.8.0)
|
|
97
|
-
rspec-mocks (3.8.1)
|
|
98
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
99
|
-
rspec-support (~> 3.8.0)
|
|
100
|
-
rspec-support (3.8.2)
|
|
101
|
-
rubocop (0.74.0)
|
|
102
|
-
jaro_winkler (~> 1.5.1)
|
|
103
|
-
parallel (~> 1.10)
|
|
104
|
-
parser (>= 2.6)
|
|
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.6)
|
|
117
|
-
strings-ansi (~> 0.1)
|
|
118
|
-
unicode-display_width (~> 1.5)
|
|
119
|
-
unicode_utils (~> 1.4)
|
|
120
|
-
strings-ansi (0.1.0)
|
|
121
|
-
term-ansicolor (1.7.1)
|
|
122
|
-
tins (~> 1.0)
|
|
123
|
-
thor (0.20.3)
|
|
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.3.0)
|
|
132
|
-
tty-which (0.4.1)
|
|
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.74.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.0"
|
|
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.74.0"
|
|
36
|
-
spec.add_development_dependency "simplecov", "~> 0.12"
|
|
37
|
-
end
|