gotfaker 0.1.6 → 0.1.7
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/gotfaker-0.1.6.gem +0 -0
- data/gotfaker.gemspec +1 -0
- data/lib/gotfaker/character.rb +1 -1
- data/lib/gotfaker/quote.rb +1 -1
- data/lib/gotfaker/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dce8510ee50e85a3001b2e2be98c462fec67a29
|
4
|
+
data.tar.gz: a209a828f9c96bfed8d75b6684a33276c1d841f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5435e6a2febe5a8293e96b504049c283dbc1427713347acd41d66a58e5f1cdd4a75aed9adad8cafea24abc78352aa9002db880effd229d3f9f466532c8384041
|
7
|
+
data.tar.gz: 102c3cfb66855c04b74ff25e9baaf648e1b825a8b2e4706e5ba94e9f529b517f011df9f8a2b8ba7742c6d269ca8c6339a1b3744cbd17bd75a9f4f54438a18e2d
|
data/gotfaker-0.1.6.gem
ADDED
Binary file
|
data/gotfaker.gemspec
CHANGED
@@ -9,6 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Tony Mai","Andrew Dye","Kevin Ceballos","Mikhail Delos Trinos"]
|
10
10
|
spec.email = ["sf.sea.lions.2015@devbootcamp.com"]
|
11
11
|
spec.licenses = ['MIT']
|
12
|
+
spec.homepage = 'https://github.com/tonymai/gotfaker/'
|
12
13
|
spec.summary = %q{Easily generate fake Game of Thrones data}
|
13
14
|
spec.description = %q{Faker, but for Game of Thrones fake data}
|
14
15
|
|
data/lib/gotfaker/character.rb
CHANGED
@@ -63,7 +63,7 @@ module GOTFaker
|
|
63
63
|
Nokogiri::HTML(open("http://awoiaf.westeros.org/index.php/Category:Characters_from_Dorne")).search('tr>td>ul>li').map{|name| name.inner_text}.sample
|
64
64
|
end
|
65
65
|
def self.meereen
|
66
|
-
Nokogiri::HTML(open("http://awoiaf.westeros.org/index.php/Category:Characters_from_Meereen")).search('tr>td>ul>li').
|
66
|
+
Nokogiri::HTML(open("http://awoiaf.westeros.org/index.php/Category:Characters_from_Meereen")).search('tr>td>ul>li').map{|name| name.inner_text}.sample
|
67
67
|
end
|
68
68
|
def self.dothraki_sea
|
69
69
|
Nokogiri::HTML(open("http://awoiaf.westeros.org/index.php/Category:Characters_from_the_Dothraki_sea")).search('tr>td>ul>li').map{|name| name.inner_text}.sample
|
data/lib/gotfaker/quote.rb
CHANGED
@@ -31,7 +31,7 @@ module GOTFaker
|
|
31
31
|
"Anyone who isn't us is our enemy",
|
32
32
|
"It's the family name that lives on. That's all that lives on. Not your personal glory, not your honor, but family.",
|
33
33
|
"A Lannister always pays his debts.",
|
34
|
-
"There are no men like me. Only me."].sample
|
34
|
+
"There are no men like me. Only me.","Boy, girl, You are a sword, that is all.","My words lied. My eyes and my arm shouted out the truth, but you were not seeing.","Swift as a deer. Quiet as a shadow. Fear cuts deeper than swords. Quick as a snake. Calm as still water. Fear cuts deeper than swords. Strong as a bear. Fierce as a wolverine. Fear cuts deeper than swords. The man who fears losing has already lost. Fear cuts deeper than swords. Fear cuts deeper than swords. Fear cuts deeper than swords.","A ruler who hides behind paid executioners soon forgets what death is.", "Know the men who follow you and let them know you. Don't ask your men to die for a stranger.","I am the blood of the dragon.","No, no, my good knight, do not fear for me. The fire is mine. I am Daenerys Stormborn, daughter of dragons, bride of dragons, mother of dragons, don't you see? Don't you SEE?","It seems to me that a queen who trusts no one is as foolish as a queen who trusts everyone.","A queen must listen to all. The highborn and the low, the strong and the weak, the noble and the venal. One voice may speak you false, but in many there is always truth to be found.","I am the blood of the dragon.","There’s no shame in fear, my father told me, what matters is how we face it.","We look up at the same stars, and see such different things.","You know nothing, Jon Snow","You’re mine. Mine, as I’m yours. And if we die, we die. All men must die, Jon Snow. But first we’ll live."].sample
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
data/lib/gotfaker/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gotfaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Mai
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- bin/setup
|
58
58
|
- gotfaker-0.1.0.gem
|
59
59
|
- gotfaker-0.1.5.gem
|
60
|
+
- gotfaker-0.1.6.gem
|
60
61
|
- gotfaker.gemspec
|
61
62
|
- lib/gotfaker.rb
|
62
63
|
- lib/gotfaker/character.rb
|
@@ -65,7 +66,7 @@ files:
|
|
65
66
|
- lib/gotfaker/quote.rb
|
66
67
|
- lib/gotfaker/religion.rb
|
67
68
|
- lib/gotfaker/version.rb
|
68
|
-
homepage:
|
69
|
+
homepage: https://github.com/tonymai/gotfaker/
|
69
70
|
licenses:
|
70
71
|
- MIT
|
71
72
|
metadata:
|