reve 0.0.96 → 0.0.99

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
@@ -664,7 +664,7 @@ module Reve #:nodoc:
664
664
  :order_state, :type_id, :range, :account_key, :duration, :escrow, :price, :bid, :created_at
665
665
  def initialize(elem) #:nodoc:
666
666
  @id = elem['orderID'].to_i
667
- @character_id = elem['characterID'].to_i
667
+ @character_id = elem['charID'].to_i
668
668
  @station_id = elem['stationID'].to_i
669
669
  @volume_entered = elem['volEntered'].to_i
670
670
  @volume_remaining = elem['volRemaining'].to_i
data/lib/reve.rb CHANGED
@@ -1,12 +1,8 @@
1
1
  #--
2
2
  # Code copyright Lisa Seelye, 2007-2008. www.crudvision.com
3
- # Reve is not licensed for commercial use. For other uses there are no
4
- # restrictions.
5
- #
6
- # The author is not adverse to tokens of appreciation in the form of Eve ISK,
7
- # ships, and feedback. Please use
8
- # http://www.crudvision.com/reve-ruby-eve-online-api-library/ to provide
9
- # feedback or send ISK to Raquel Smith in Eve. :-)
3
+ # This library is licensed under the terms of the MIT license. For full text
4
+ # see the LICENSE file distributed with this package.
5
+ # (Also, send Raquel Smith some ISK if you would like to show appreciation ;-)
10
6
  #++
11
7
 
12
8
  begin
data/test/test_reve.rb CHANGED
@@ -582,7 +582,8 @@ class TestReve < Test::Unit::TestCase
582
582
  assert_kind_of Time, order.created_at
583
583
  assert [TrueClass, FalseClass].include?(order.bid.class)
584
584
  buys += 1 if ! order.bid
585
- sells += 1 if order.bid
585
+ sells += 1 if order.bid
586
+ assert_not_equal(0, order.character_id)
586
587
  end
587
588
  assert_equal 4, buys
588
589
  assert_equal 7, sells
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.96
4
+ version: 0.0.99
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lisa Seelye
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-12 00:00:00 -04:00
12
+ date: 2008-08-14 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency