reve 0.0.91 → 0.0.94

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/reve/classes.rb CHANGED
@@ -597,7 +597,7 @@ module Reve #:nodoc:
597
597
  attr_accessor :id, :unpublished, :skillpoints, :level
598
598
  def initialize(elem) #:nodoc:
599
599
  @id = elem['typeID'].to_i
600
- @skillpoints = elem['skillPoints'].to_i
600
+ @skillpoints = elem['skillpoints'].to_i
601
601
  @level = elem['level'].to_i
602
602
  end
603
603
  end
data/test/test_reve.rb CHANGED
@@ -760,6 +760,7 @@ class TestReve < Test::Unit::TestCase
760
760
  sheet.enhancers.each do |enhancer|
761
761
  assert_kind_of Reve::Classes::AttributeEnhancer, enhancer
762
762
  end
763
+ assert_equal 24500, sheet.skills.inject(0) { |sum,s| sum += s.skillpoints }
763
764
 
764
765
  sheet.skills.each do |skill|
765
766
  assert_kind_of Reve::Classes::Skill, skill
@@ -0,0 +1,5 @@
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <eveapi version="1">
3
+ <currentTime>Sat Jun 07 17:10:28 UTC 2008</currentTime>
4
+ <error code="122">Invalid or missing list of names.</error>
5
+ </eveapi>
@@ -0,0 +1,5 @@
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <eveapi version="1">
3
+ <currentTime>Sat Jun 07 17:10:28 UTC 2008</currentTime>
4
+ <error code="123">Invalid or missing list of IDs.</error>
5
+ </eveapi>
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: reve
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.91
7
- date: 2008-06-06 00:00:00 -04:00
6
+ version: 0.0.94
7
+ date: 2008-06-13 00:00:00 -04:00
8
8
  summary: Reve is a Ruby library to interface with the Eve Online API
9
9
  require_paths:
10
10
  - lib
@@ -76,6 +76,8 @@ test_files:
76
76
  - test/xml/errors/error_119.xml
77
77
  - test/xml/errors/error_120.xml
78
78
  - test/xml/errors/error_121.xml
79
+ - test/xml/errors/error_122.xml
80
+ - test/xml/errors/error_123.xml
79
81
  - test/xml/errors/error_200.xml
80
82
  - test/xml/errors/error_201.xml
81
83
  - test/xml/errors/error_202.xml