eveapi 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 (34) hide show
  1. checksums.yaml +8 -8
  2. data/ChangeLog.md +8 -1
  3. data/lib/eveapi.rb +2 -0
  4. data/lib/eveapi/crest.rb +21 -0
  5. data/lib/eveapi/version.rb +1 -1
  6. data/spec/cassettes/EVEApi/calling_a_method_not_present_in_the_EVEApi_should_fail.yml +3 -3
  7. data/spec/cassettes/EVEApi/calling_a_method_present_in_the_EVEApi_should_success.yml +5 -5
  8. data/spec/cassettes/EVEApi/calling_api_method_account_account_status.yml +4 -4
  9. data/spec/cassettes/EVEApi/calling_api_method_account_api_key_info.yml +5 -5
  10. data/spec/cassettes/EVEApi/calling_api_method_account_characters.yml +5 -5
  11. data/spec/cassettes/EVEApi/calling_api_method_char_account_balance.yml +4 -4
  12. data/spec/cassettes/EVEApi/calling_api_method_char_asset_list.yml +4 -4
  13. data/spec/cassettes/EVEApi/calling_api_method_char_character_sheet.yml +5 -5
  14. data/spec/cassettes/EVEApi/calling_api_method_char_contact_list.yml +4 -4
  15. data/spec/cassettes/EVEApi/calling_api_method_char_contact_notifications.yml +4 -4
  16. data/spec/cassettes/EVEApi/calling_api_method_char_contracts.yml +4 -4
  17. data/spec/cassettes/EVEApi/calling_api_method_char_industry_jobs.yml +4 -4
  18. data/spec/cassettes/EVEApi/calling_api_method_char_mail_messages.yml +4 -4
  19. data/spec/cassettes/EVEApi/calling_api_method_char_mailing_lists.yml +4 -4
  20. data/spec/cassettes/EVEApi/calling_api_method_char_market_orders.yml +4 -4
  21. data/spec/cassettes/EVEApi/calling_api_method_char_medals.yml +4 -4
  22. data/spec/cassettes/EVEApi/calling_api_method_char_notifications.yml +4 -4
  23. data/spec/cassettes/EVEApi/calling_api_method_char_research.yml +4 -4
  24. data/spec/cassettes/EVEApi/calling_api_method_char_skill_in_training.yml +5 -5
  25. data/spec/cassettes/EVEApi/calling_api_method_char_skill_queue.yml +4 -4
  26. data/spec/cassettes/EVEApi/calling_api_method_char_standings.yml +4 -4
  27. data/spec/cassettes/EVEApi/calling_api_method_char_upcoming_calendar_events.yml +11 -5
  28. data/spec/cassettes/EVEApi/calling_api_method_char_wallet_journal.yml +4 -4
  29. data/spec/cassettes/EVEApi/calling_api_method_char_wallet_transactions.yml +4 -4
  30. data/spec/cassettes/EVEApi/calling_api_method_server_server_status.yml +5 -5
  31. data/spec/cassettes/EVEApi/calling_api_methods_should_return_an_Array_of_method_symobls.yml +5 -5
  32. data/spec/cassettes/EVEApi_Crest/alliances_crest_methods_should_return_an_Array_of_alliances.yml +13577 -0
  33. data/spec/eveapi_spec.rb +15 -0
  34. metadata +4 -2
@@ -56,3 +56,18 @@ describe EVEApi::Request, :vcr do
56
56
  expect { Request }.not_to raise_error
57
57
  end
58
58
  end
59
+
60
+ describe EVEApi::Crest, :vcr do
61
+ before :each do
62
+ @crest = Crest.new
63
+ end
64
+
65
+ it 'Crest.new should succeed' do
66
+ expect { @crest }.not_to raise_error
67
+ end
68
+
69
+ it 'alliances crest methods should return an Array of alliances' do
70
+ expect { @crest.alliances }.not_to raise_error
71
+ expect(@crest.alliances).to be_an(Array)
72
+ end
73
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eveapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Ladachowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -190,6 +190,7 @@ files:
190
190
  - lib/eveapi.rb
191
191
  - lib/eveapi/client.rb
192
192
  - lib/eveapi/console.rb
193
+ - lib/eveapi/crest.rb
193
194
  - lib/eveapi/request.rb
194
195
  - lib/eveapi/util.rb
195
196
  - lib/eveapi/version.rb
@@ -219,6 +220,7 @@ files:
219
220
  - spec/cassettes/EVEApi/calling_api_method_char_wallet_transactions.yml
220
221
  - spec/cassettes/EVEApi/calling_api_method_server_server_status.yml
221
222
  - spec/cassettes/EVEApi/calling_api_methods_should_return_an_Array_of_method_symobls.yml
223
+ - spec/cassettes/EVEApi_Crest/alliances_crest_methods_should_return_an_Array_of_alliances.yml
222
224
  - spec/eveapi_spec.rb
223
225
  - spec/spec_helper.rb
224
226
  homepage: https://github.com/aladac/eveapi