warcraft-armory 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.1.1 2009-02-07
2
+
3
+ * Added more fields to WarcraftArmory::Character
4
+ * Realm, Battle group and Guild name.
5
+
1
6
  == 0.1.0 2009-02-06
2
7
 
3
8
  * Intial release of warcraft-armory:
data/README.rdoc CHANGED
@@ -1,10 +1,11 @@
1
1
  = Warcraft Armory
2
2
 
3
3
  * http://ariejan.net/tags/warcraft-armory
4
+ * http://github.com/ariejan/warcraft-armory
4
5
 
5
6
  == DESCRIPTION:
6
7
 
7
- The warcraft-armory gem allows your application to easily access information
8
+ The warcraft-armory gem allows your ruby application to easily access information
8
9
  from the World of Warcraft Armory site.
9
10
 
10
11
  == FEATURES/PROBLEMS:
data/Rakefile CHANGED
@@ -16,7 +16,7 @@ $hoe = Hoe.new('warcraft-armory', WarcraftArmory::VERSION) do |p|
16
16
  # p.description = "The warcraft-armory gem allows your application to easily access information from the World of Warcraft Armory site."
17
17
  p.clean_globs |= %w[**/.DS_Store tmp *.log]
18
18
  path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
19
- p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
19
+ p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''))
20
20
  p.rsync_args = '-av --delete --ignore-errors'
21
21
  end
22
22
 
data/config/config.yml CHANGED
@@ -21,4 +21,8 @@ character:
21
21
  faction: '(doc/:character).first["faction"]'
22
22
  faction_id: '(doc/:character).first["factionId"].to_i'
23
23
 
24
- last_modified_at: 'DateTime.parse((doc/:character).first["lastModified"])'
24
+ last_modified_at: 'DateTime.parse((doc/:character).first["lastModified"])'
25
+
26
+ realm: '(doc/:character).first["realm"]'
27
+ guild_name: '(doc/:character).first["guildName"]'
28
+ battle_group: '(doc/:character).first["battleGroup"]'
@@ -13,5 +13,5 @@ require 'warcraft_armory/character'
13
13
  require 'warcraft_armory/utils/parser'
14
14
 
15
15
  module WarcraftArmory
16
- VERSION = '0.1.0'
16
+ VERSION = '0.1.1'
17
17
  end
@@ -21,7 +21,10 @@ module WarcraftArmory
21
21
  # * <tt>gender</tt> - The character's gender. E.g. "Male"
22
22
  # * <tt>gender_id</tt> - The internal (World of Warcraft) id for gender.
23
23
  # * <tt>points</tt> - Total number of the character's achievement points.
24
- # * <tt>last_modifiedat</tt> - A <tt>DateTime</tt> object with the date the armory data was last updated.
24
+ # * <tt>last_modifiedat</tt> - A <tt>DateTime</tt> object with the date the armory data was last updated.
25
+ # * <tt>realm</tt> - The official realm name. E.g. "Aszune"
26
+ # * <tt>battle_group</tt> - The battle group for this character. E.g. "Blackout"
27
+ # * <tt>guild_name</tt> - The name of the character's guild. E.g. "Impact". Blank is no guild is available.
25
28
  #
26
29
  # ==== Available helper methods
27
30
  # * <tt>full_name</tt> - Returns the full name of the character, including the <tt>prefix</tt> and <tt>suffix</tt>
@@ -18,7 +18,10 @@ describe WarcraftArmory::Character do
18
18
  :class_id => 1,
19
19
  :prefix => "",
20
20
  :suffix => " the Explorer",
21
- :last_modified_at => DateTime.parse("February 2, 2009")
21
+ :last_modified_at => DateTime.parse("February 2, 2009"),
22
+ :realm => "Aszune",
23
+ :guild_name => "Impact",
24
+ :battle_group => "Blackout"
22
25
  }
23
26
  end
24
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warcraft-armory
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
  - Ariejan de Vroom
@@ -30,7 +30,7 @@ cert_chain:
30
30
  1hW2G0g9ib0=
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2009-02-06 00:00:00 +01:00
33
+ date: 2009-02-07 00:00:00 +01:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
@@ -63,7 +63,7 @@ dependencies:
63
63
  - !ruby/object:Gem::Version
64
64
  version: 1.8.0
65
65
  version:
66
- description: The warcraft-armory gem allows your application to easily access information from the World of Warcraft Armory site.
66
+ description: The warcraft-armory gem allows your ruby application to easily access information from the World of Warcraft Armory site.
67
67
  email:
68
68
  - ariejan@ariejan.net
69
69
  executables: []
@@ -121,6 +121,6 @@ rubyforge_project: warcraft-armory
121
121
  rubygems_version: 1.3.1
122
122
  signing_key:
123
123
  specification_version: 2
124
- summary: The warcraft-armory gem allows your application to easily access information from the World of Warcraft Armory site.
124
+ summary: The warcraft-armory gem allows your ruby application to easily access information from the World of Warcraft Armory site.
125
125
  test_files: []
126
126
 
metadata.gz.sig CHANGED
Binary file