pickaname 0.1.3 → 0.1.4
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.lock +1 -1
- data/README.md +4 -0
- data/lib/pickaname.rb +3 -3
- data/lib/pickaname/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ffc31a31f0c0508880411269fa826b5af04748c99215fe663d542ca7595cbed
|
|
4
|
+
data.tar.gz: 659efe4317bed982d0d740d468864e91cacbf64581962b95287d301dcd208066
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d586b7cbcaafa14b573575c5e38d08c8c1a28fcb631dc1ea2cc662b30434404611581c647b7c70fa0faf06732d697317456e7bbf9ef19bb4154bec89cfec3f5
|
|
7
|
+
data.tar.gz: d5b084b1d67e3bc4cc58075ab57e21b5efc1cb5f881b9f7e82ee83eef4ce423f3735cf88291f48797f8d32f8d57a9e1a05109bc6dcef415c918c4b6a6374017a
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -50,3 +50,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
50
50
|
## Code of Conduct
|
|
51
51
|
|
|
52
52
|
Everyone interacting in the Pickaname project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/binarylHq/pickaname/blob/master/CODE_OF_CONDUCT.md).
|
|
53
|
+
|
|
54
|
+
## Authors and acknowledgment
|
|
55
|
+
|
|
56
|
+
[](https://github.com/karandocs)
|
data/lib/pickaname.rb
CHANGED
|
@@ -4,9 +4,9 @@ module Pickaname
|
|
|
4
4
|
class Error < StandardError; end
|
|
5
5
|
|
|
6
6
|
class Robot
|
|
7
|
-
PREFIX = File.foreach(
|
|
8
|
-
SUFFIX = File.foreach(
|
|
9
|
-
FUNNY = File.foreach(
|
|
7
|
+
PREFIX = File.foreach(File.join(File.dirname(__FILE__), '.', 'data', 'prefix.txt')).map { |line| line.split(' ') }
|
|
8
|
+
SUFFIX = File.foreach(File.join(File.dirname(__FILE__), '.', 'data', 'suffix.txt')).map { |line| line.split(' ') }
|
|
9
|
+
FUNNY = File.foreach(File.join(File.dirname(__FILE__), '.', 'data', 'funny.txt')).map { |line| line.split(' ') }
|
|
10
10
|
PREFIX_SIZE = 1
|
|
11
11
|
SUFFIX_SIZE = 1
|
|
12
12
|
|
data/lib/pickaname/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pickaname
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Randomly generates a name
|
|
14
14
|
email:
|