ffxiv-lodestone 0.9.3 → 0.9.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.
- data/HISTORY +8 -0
- data/lib/ffxiv-lodestone.rb +2 -2
- data/test/characters/1124548.html +1761 -0
- data/test/searches/ryoko-antihaijin_7.html +1300 -0
- data/test/spec.rb +9 -1
- metadata +5 -3
data/test/spec.rb
CHANGED
@@ -66,7 +66,7 @@ describe 'Character(invalid)' do
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
describe "Character(:name =>
|
69
|
+
describe "Character.new(:name => foo, :world => bar)" do
|
70
70
|
it 'should find the character' do
|
71
71
|
char = FFXIVLodestone::Character.new(:name => 'Lady Simmons', :world => 'Selbina')
|
72
72
|
char.name.should.equal 'Lady Simmons'
|
@@ -80,6 +80,14 @@ describe "Character(:name => 'Lady Simmons', :world => 'Selbina')" do
|
|
80
80
|
char = FFXIVLodestone::Character.new(:id => 2172370)
|
81
81
|
char.name.should.equal 'Karen Kranfel'
|
82
82
|
char.character_id.should.equal 2172370
|
83
|
+
|
84
|
+
# This character started in LL. The page structure is slightly different than a Gridanian
|
85
|
+
# character. Why? So the top box can be red. :psyduck:
|
86
|
+
char = FFXIVLodestone::Character.new(:name => 'Ryoko Antihaijin', :world => 'Figaro')
|
87
|
+
char.name.should.equal 'Ryoko Antihaijin'
|
88
|
+
char.character_id.should.equal 1124548
|
89
|
+
char.starting_city.should.equal 'Limsa Lominsa'
|
90
|
+
char.jobs.thaumaturge.rank.should.equal 29 # pro-tier
|
83
91
|
end
|
84
92
|
end
|
85
93
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffxiv-lodestone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 51
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 4
|
10
|
+
version: 0.9.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- owlmanatt
|
@@ -64,8 +64,10 @@ files:
|
|
64
64
|
- test/searches/lady_12.html
|
65
65
|
- test/searches/abloo-bloo-uguu_12.html
|
66
66
|
- test/searches/lady-simmons_12.html
|
67
|
+
- test/searches/ryoko-antihaijin_7.html
|
67
68
|
- test/searches/fakey-fakerson_12.html
|
68
69
|
- test/characters/2172370.html
|
70
|
+
- test/characters/1124548.html
|
69
71
|
- test/characters/1502635.html
|
70
72
|
- test/characters/invalid.html
|
71
73
|
- test/characters/1015990.html
|