fakerbot 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/.travis.yml +1 -3
- data/Gemfile.lock +35 -1
- data/README.md +19 -13
- data/faker_bot.gemspec +4 -2
- data/lib/faker_bot/version.rb +1 -1
- data/lib/faker_bot.rb +1 -1
- metadata +37 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 358826bfd98a8de853267fc8b8a62b444d92b81a
|
4
|
+
data.tar.gz: a3be66f3ebe0ac60de07ad643607ae28ee89563e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00b02d627a81a29b4a3a0a9557bd229317bdc492be99fb3e49c9d04a32a3529c8b01505b01b039691fddae7ed6f09b8cfd5372080a6c7ede005ba07b370a57bb
|
7
|
+
data.tar.gz: 39e80f5861634419c4854b9766ac432599422a5518eb87aae3b5606a6548438808b4701f48dcbb3f9f66c0978c0354f002349d8d625070ad95a067c29645af8a
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.0
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fakerbot (0.1.
|
4
|
+
fakerbot (0.1.1)
|
5
5
|
faker
|
6
6
|
pastel (~> 0.7.2)
|
7
7
|
thor (~> 0.20.0)
|
@@ -11,13 +11,30 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
coderay (1.1.2)
|
13
13
|
concurrent-ruby (1.0.5)
|
14
|
+
coveralls (0.7.1)
|
15
|
+
multi_json (~> 1.3)
|
16
|
+
rest-client
|
17
|
+
simplecov (>= 0.7)
|
18
|
+
term-ansicolor
|
19
|
+
thor
|
14
20
|
diff-lcs (1.3)
|
21
|
+
docile (1.3.1)
|
22
|
+
domain_name (0.5.20180417)
|
23
|
+
unf (>= 0.0.5, < 1.0.0)
|
15
24
|
equatable (0.5.0)
|
16
25
|
faker (1.8.7)
|
17
26
|
i18n (>= 0.7)
|
27
|
+
http-cookie (1.0.3)
|
28
|
+
domain_name (~> 0.5)
|
18
29
|
i18n (1.0.1)
|
19
30
|
concurrent-ruby (~> 1.0)
|
31
|
+
json (2.1.0)
|
20
32
|
method_source (0.9.0)
|
33
|
+
mime-types (3.1)
|
34
|
+
mime-types-data (~> 3.2015)
|
35
|
+
mime-types-data (3.2016.0521)
|
36
|
+
multi_json (1.13.1)
|
37
|
+
netrc (0.11.0)
|
21
38
|
pastel (0.7.2)
|
22
39
|
equatable (~> 0.5.0)
|
23
40
|
tty-color (~> 0.4.0)
|
@@ -25,6 +42,10 @@ GEM
|
|
25
42
|
coderay (~> 1.1.0)
|
26
43
|
method_source (~> 0.9.0)
|
27
44
|
rake (10.5.0)
|
45
|
+
rest-client (2.0.2)
|
46
|
+
http-cookie (>= 1.0.2, < 2.0)
|
47
|
+
mime-types (>= 1.16, < 4.0)
|
48
|
+
netrc (~> 0.8)
|
28
49
|
rspec (3.7.0)
|
29
50
|
rspec-core (~> 3.7.0)
|
30
51
|
rspec-expectations (~> 3.7.0)
|
@@ -38,18 +59,31 @@ GEM
|
|
38
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
39
60
|
rspec-support (~> 3.7.0)
|
40
61
|
rspec-support (3.7.1)
|
62
|
+
simplecov (0.16.1)
|
63
|
+
docile (~> 1.1)
|
64
|
+
json (>= 1.8, < 3)
|
65
|
+
simplecov-html (~> 0.10.0)
|
66
|
+
simplecov-html (0.10.2)
|
67
|
+
term-ansicolor (1.6.0)
|
68
|
+
tins (~> 1.0)
|
41
69
|
thor (0.20.0)
|
70
|
+
tins (1.16.3)
|
42
71
|
tty-color (0.4.2)
|
72
|
+
unf (0.1.4)
|
73
|
+
unf_ext
|
74
|
+
unf_ext (0.0.7.5)
|
43
75
|
|
44
76
|
PLATFORMS
|
45
77
|
ruby
|
46
78
|
|
47
79
|
DEPENDENCIES
|
48
80
|
bundler (~> 1.16)
|
81
|
+
coveralls
|
49
82
|
fakerbot!
|
50
83
|
pry
|
51
84
|
rake (~> 10.0)
|
52
85
|
rspec (~> 3.0)
|
86
|
+
simplecov (~> 0.12)
|
53
87
|
|
54
88
|
BUNDLED WITH
|
55
89
|
1.16.1
|
data/README.md
CHANGED
@@ -1,28 +1,34 @@
|
|
1
1
|
# FakerBot
|
2
2
|
|
3
|
-
|
3
|
+
[![codebeat badge](https://codebeat.co/badges/ef4839f2-3946-4435-8c0e-7025de5fac22)](https://codebeat.co/projects/github-com-akabiru-faker_bot-master) [![Inline docs](http://inch-ci.org/github/akabiru/faker_bot.svg?branch=master)](http://inch-ci.org/github/akabiru/faker_bot) [![Build Status](https://travis-ci.com/akabiru/faker_bot.svg?branch=master)](https://travis-ci.com/akabiru/faker_bot) [![Coverage Status](https://coveralls.io/repos/github/akabiru/faker_bot/badge.svg?branch=master)](https://coveralls.io/github/akabiru/faker_bot?branch=master) [![Gem Version](https://badge.fury.io/rb/fakerbot.svg)](https://badge.fury.io/rb/fakerbot)
|
4
4
|
|
5
|
-
|
5
|
+
> Quickly look up [Faker](https://github.com/stympy/faker) methods without leaving your terminal!
|
6
6
|
|
7
|
-
##
|
7
|
+
## Motivation
|
8
8
|
|
9
|
-
|
9
|
+
I'm a huge fan of the [Faker Gem](https://github.com/stympy/faker) and use it everywhere. However, sometimes I find myself digging through Faker's ReadMe when I'm unsure of a method's namespace
|
10
|
+
or I'm just not sure what's available. :see_no_evil: I've always wished I had some way to search for the method names without leaving my terminal.
|
10
11
|
|
11
|
-
```ruby
|
12
|
-
gem 'faker_bot'
|
13
|
-
```
|
14
12
|
|
15
|
-
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
```bash
|
16
|
+
$ gem install fakerbot
|
17
|
+
```
|
16
18
|
|
17
|
-
|
19
|
+
## Usage
|
18
20
|
|
19
|
-
|
21
|
+
Run a quick lookup
|
20
22
|
|
21
|
-
|
23
|
+
```bash
|
24
|
+
$ fakerbot search name
|
25
|
+
# Faker::FunnyName
|
26
|
+
# Faker::Name
|
27
|
+
```
|
22
28
|
|
23
|
-
##
|
29
|
+
## TODO
|
24
30
|
|
25
|
-
|
31
|
+
- [ ] List classes with methods E.g. Faker::FunnyName should list `.name`,`.first_name` e.t.c.
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|
data/faker_bot.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["makabby@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{A stympy/faker lookup command line tool.}
|
13
|
-
spec.description = %q{Quickly look up
|
13
|
+
spec.description = %q{Quickly look up Faker methods without leaving your terminal!}
|
14
14
|
spec.homepage = "https://github.com/akabiru/faker_bot"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
@@ -23,8 +23,10 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency "pastel", "~> 0.7.2"
|
24
24
|
spec.add_dependency "thor", "~> 0.20.0"
|
25
25
|
|
26
|
-
spec.add_development_dependency "pry"
|
27
26
|
spec.add_development_dependency "bundler", "~> 1.16"
|
27
|
+
spec.add_development_dependency "coveralls"
|
28
|
+
spec.add_development_dependency "pry"
|
28
29
|
spec.add_development_dependency "rake", "~> 10.0"
|
29
30
|
spec.add_development_dependency "rspec", "~> 3.0"
|
31
|
+
spec.add_development_dependency "simplecov", "~> 0.12"
|
30
32
|
end
|
data/lib/faker_bot/version.rb
CHANGED
data/lib/faker_bot.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require_relative 'faker_bot/cli'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fakerbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Kabiru
|
@@ -53,7 +53,21 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.20.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.16'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.16'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: coveralls
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - ">="
|
@@ -67,19 +81,19 @@ dependencies:
|
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: pry
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rake
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +122,21 @@ dependencies:
|
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '3.0'
|
111
|
-
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simplecov
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.12'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.12'
|
139
|
+
description: Quickly look up Faker methods without leaving your terminal!
|
112
140
|
email:
|
113
141
|
- makabby@gmail.com
|
114
142
|
executables:
|
@@ -119,6 +147,7 @@ files:
|
|
119
147
|
- ".gitignore"
|
120
148
|
- ".rspec"
|
121
149
|
- ".rubocop.yml"
|
150
|
+
- ".ruby-version"
|
122
151
|
- ".travis.yml"
|
123
152
|
- CODE_OF_CONDUCT.md
|
124
153
|
- Gemfile
|