wowget 0.1.0 → 0.1.1
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/lib/wowget/item.rb +18 -18
- data/lib/wowget.rb +4 -3
- metadata +3 -3
data/lib/wowget/item.rb
CHANGED
@@ -158,31 +158,31 @@ module Wowget
|
|
158
158
|
}
|
159
159
|
}
|
160
160
|
INVENTORY_SLOTS = {
|
161
|
-
|
162
|
-
|
161
|
+
1 => 'Head',
|
162
|
+
2 => 'Neck',
|
163
|
+
3 => 'Shoulder',
|
164
|
+
4 => 'Shirt',
|
163
165
|
5 => 'Chest',
|
166
|
+
6 => 'Waist',
|
167
|
+
7 => 'Legs',
|
164
168
|
8 => 'Feet',
|
165
|
-
|
169
|
+
9 => 'Wrist',
|
166
170
|
10 => 'Hands',
|
167
|
-
|
168
|
-
|
169
|
-
7 => 'Legs',
|
170
|
-
21 => 'Main Hand',
|
171
|
-
2 => 'Neck',
|
172
|
-
22 => 'Off Hand',
|
171
|
+
11 => 'Finger',
|
172
|
+
12 => 'Trinket',
|
173
173
|
13 => 'One-Hand',
|
174
|
-
24 => 'Projectile',
|
175
|
-
15 => 'Ranged',
|
176
|
-
28 => 'Relic',
|
177
174
|
14 => 'Shield',
|
178
|
-
|
179
|
-
|
175
|
+
15 => 'Ranged',
|
176
|
+
16 => 'Back',
|
177
|
+
17 => 'Two-Hand',
|
178
|
+
18 => 'Bag',
|
180
179
|
19 => 'Tabard',
|
180
|
+
21 => 'Main Hand',
|
181
|
+
22 => 'Off Hand',
|
182
|
+
23 => 'Held In Off-hand',
|
183
|
+
24 => 'Projectile',
|
181
184
|
25 => 'Thrown',
|
182
|
-
|
183
|
-
17 => 'Two-Hand',
|
184
|
-
6 => 'Waist',
|
185
|
-
9 => 'Wrist'
|
185
|
+
28 => 'Relic'
|
186
186
|
}
|
187
187
|
|
188
188
|
def initialize(item_id)
|
data/lib/wowget.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wowget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ben Darlow
|