shakespeareIpsum 0.0.4 → 0.0.5
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 +7 -0
- data/lib/shakespeareIpsum/names.rb +4 -3
- metadata +20 -39
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 40141989a21dca26312981cb394676c623e4aba7
|
|
4
|
+
data.tar.gz: 6993dccf8244f063d61164f8a092ab0bcbc3a30c
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 992e230952ff21cac4c8c569571101e422c7a31c850ceed469aea1aa192bb7efe0b51c18b3158a7af12dde86542f8ea6d90e5128882030ffe64d060b1d81159d
|
|
7
|
+
data.tar.gz: 25c2baedb8247d3fe4963ad62c52cb388b76aa93ae7077bc5f0077708b83a412fded54fee48ac89c0b10cbc77341a1d5773a6beb5f73c3e98e21be6dc609c47e
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
module ShakespeareIpsum
|
|
2
2
|
class Name
|
|
3
3
|
class << self
|
|
4
|
-
file =
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
file = File.read(File.dirname(File.expand_path(__FILE__)) + "/names.txt")
|
|
5
|
+
# file = File.read(File.dirname(File.expand_path(__FILE__)) + "/sonnets.txt")
|
|
6
|
+
# names = file.read
|
|
7
|
+
CHARACTER_NAMES = file.split(',')
|
|
7
8
|
|
|
8
9
|
def name
|
|
9
10
|
return CHARACTER_NAMES.sample
|
metadata
CHANGED
|
@@ -1,66 +1,47 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shakespeareIpsum
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
segments:
|
|
6
|
-
- 0
|
|
7
|
-
- 0
|
|
8
|
-
- 4
|
|
9
|
-
version: 0.0.4
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.5
|
|
10
5
|
platform: ruby
|
|
11
|
-
authors:
|
|
6
|
+
authors:
|
|
12
7
|
- Jimmi Carney
|
|
13
8
|
autorequire:
|
|
14
9
|
bindir: bin
|
|
15
10
|
cert_chain: []
|
|
16
|
-
|
|
17
|
-
date: 2013-08-11 00:00:00 -05:00
|
|
18
|
-
default_executable:
|
|
11
|
+
date: 2013-08-11 00:00:00.000000000 Z
|
|
19
12
|
dependencies: []
|
|
20
|
-
|
|
21
13
|
description:
|
|
22
14
|
email: jamescarney10@gmail.com
|
|
23
15
|
executables: []
|
|
24
|
-
|
|
25
16
|
extensions: []
|
|
26
|
-
|
|
27
17
|
extra_rdoc_files: []
|
|
28
|
-
|
|
29
|
-
files:
|
|
18
|
+
files:
|
|
30
19
|
- lib/shakespeareIpsum.rb
|
|
31
20
|
- lib/shakespeareIpsum/sonnets.rb
|
|
32
21
|
- lib/shakespeareIpsum/sonnets.txt
|
|
33
22
|
- lib/shakespeareIpsum/names.rb
|
|
34
23
|
- lib/shakespeareIpsum/names.txt
|
|
35
|
-
has_rdoc: true
|
|
36
24
|
homepage:
|
|
37
25
|
licenses: []
|
|
38
|
-
|
|
26
|
+
metadata: {}
|
|
39
27
|
post_install_message:
|
|
40
28
|
rdoc_options: []
|
|
41
|
-
|
|
42
|
-
require_paths:
|
|
29
|
+
require_paths:
|
|
43
30
|
- lib
|
|
44
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
|
-
requirements:
|
|
46
|
-
- -
|
|
47
|
-
- !ruby/object:Gem::Version
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- !ruby/object:Gem::Version
|
|
55
|
-
segments:
|
|
56
|
-
- 0
|
|
57
|
-
version: "0"
|
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
32
|
+
requirements:
|
|
33
|
+
- - '>='
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: '0'
|
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '>='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
58
41
|
requirements: []
|
|
59
|
-
|
|
60
42
|
rubyforge_project:
|
|
61
|
-
rubygems_version:
|
|
43
|
+
rubygems_version: 2.0.6
|
|
62
44
|
signing_key:
|
|
63
|
-
specification_version:
|
|
45
|
+
specification_version: 4
|
|
64
46
|
summary: A better Ipsum generator, now with more Victorian insults!
|
|
65
47
|
test_files: []
|
|
66
|
-
|