fakerbot 0.1.1 → 0.1.2
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/Gemfile +1 -1
- data/README.md +3 -2
- data/bin/console +1 -1
- data/bin/fakerbot +1 -1
- data/{faker_bot.gemspec → fakerbot.gemspec} +2 -2
- data/lib/fakerbot.rb +1 -0
- data/lib/{faker_bot → fakerbot}/bot.rb +0 -0
- data/lib/{faker_bot → fakerbot}/cli.rb +4 -4
- data/lib/{faker_bot → fakerbot}/commands/search.rb +1 -1
- data/lib/{faker_bot → fakerbot}/version.rb +1 -1
- metadata +9 -9
- data/lib/faker_bot.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9e62943ce7b36a4ab383901b4b281daf350a1e4
|
4
|
+
data.tar.gz: d1370e82322c2b570e6741f69251323fbde712aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf248135d9f6479bbba38b6cebdc43db3e94bdbd5af936f6a9da78edf8e3a77ee4647330e21cd89988c7bf2dcaed97520833605eb47f7107baef9bf673104f7e
|
7
|
+
data.tar.gz: 6709287731922e6cda4b897f65aec24eac92f83684912417d633cde4400409cb5bca630aa4c8bb6df3f4f97f86c905f66176429f8fadccee38ef841f186ea9ba
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -29,6 +29,7 @@ $ fakerbot search name
|
|
29
29
|
## TODO
|
30
30
|
|
31
31
|
- [ ] List classes with methods E.g. Faker::FunnyName should list `.name`,`.first_name` e.t.c.
|
32
|
+
- [ ] Expand search to Faker::Base sub classes i.e."fakerbot search email" should include `Faker::Internet.email`
|
32
33
|
|
33
34
|
## Development
|
34
35
|
|
@@ -38,7 +39,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
38
39
|
|
39
40
|
## Contributing
|
40
41
|
|
41
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/akabiru/
|
42
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/akabiru/fakerbot. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
42
43
|
|
43
44
|
## License
|
44
45
|
|
@@ -46,4 +47,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
46
47
|
|
47
48
|
## Code of Conduct
|
48
49
|
|
49
|
-
Everyone interacting in the FakerBot project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/akabiru/
|
50
|
+
Everyone interacting in the FakerBot project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/akabiru/fakerbot/blob/master/CODE_OF_CONDUCT.md).
|
data/bin/console
CHANGED
data/bin/fakerbot
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "
|
4
|
+
require "fakerbot/version"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "fakerbot"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{A stympy/faker lookup command line tool.}
|
13
13
|
spec.description = %q{Quickly look up Faker methods without leaving your terminal!}
|
14
|
-
spec.homepage = "https://github.com/akabiru/
|
14
|
+
spec.homepage = "https://github.com/akabiru/fakerbot"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
data/lib/fakerbot.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require_relative 'fakerbot/cli'
|
File without changes
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'thor'
|
4
|
-
require '
|
5
|
-
require '
|
6
|
-
require '
|
4
|
+
require 'fakerbot/cli'
|
5
|
+
require 'fakerbot/version'
|
6
|
+
require 'fakerbot/commands/search'
|
7
7
|
|
8
8
|
module FakerBot
|
9
9
|
class CLI < Thor
|
10
10
|
Error = Class.new(StandardError)
|
11
11
|
|
12
|
-
desc 'version', '
|
12
|
+
desc 'version', 'fakerbot version'
|
13
13
|
def version
|
14
14
|
require_relative 'version'
|
15
15
|
puts "v#{FakerBot::VERSION}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Kabiru
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faker
|
@@ -158,13 +158,13 @@ files:
|
|
158
158
|
- bin/console
|
159
159
|
- bin/fakerbot
|
160
160
|
- bin/setup
|
161
|
-
-
|
162
|
-
- lib/
|
163
|
-
- lib/
|
164
|
-
- lib/
|
165
|
-
- lib/
|
166
|
-
- lib/
|
167
|
-
homepage: https://github.com/akabiru/
|
161
|
+
- fakerbot.gemspec
|
162
|
+
- lib/fakerbot.rb
|
163
|
+
- lib/fakerbot/bot.rb
|
164
|
+
- lib/fakerbot/cli.rb
|
165
|
+
- lib/fakerbot/commands/search.rb
|
166
|
+
- lib/fakerbot/version.rb
|
167
|
+
homepage: https://github.com/akabiru/fakerbot
|
168
168
|
licenses:
|
169
169
|
- MIT
|
170
170
|
metadata: {}
|
data/lib/faker_bot.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require_relative 'faker_bot/cli'
|