wowget 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/wowget/item.rb +18 -18
  2. data/lib/wowget.rb +4 -3
  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
- 16 => 'Back',
162
- 18 => 'Bag',
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
- 11 => 'Finger',
169
+ 9 => 'Wrist',
166
170
  10 => 'Hands',
167
- 1 => 'Head',
168
- 23 => 'Held In Off-hand',
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
- 4 => 'Shirt',
179
- 3 => 'Shoulder',
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
- 12 => 'Trinket',
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
@@ -1,5 +1,6 @@
1
- require 'wowget/item.rb'
2
-
3
1
  module Wowget
4
2
  # ...
5
- end
3
+ end
4
+
5
+ require 'wowget/item.rb'
6
+ require 'wowget/spell.rb'
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Darlow