wow_community_api 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
data/README.md CHANGED
@@ -1,4 +1,7 @@
1
- # WoW Community Platform API Ruby library
1
+ # WoW Community Platform API Ruby library [![Travis Build Status][2]][1]
2
+
3
+ [1]: http://travis-ci.org/defeated/wow_community_api
4
+ [2]: http://travis-ci.org/defeated/wow_community_api.png
2
5
 
3
6
  A Ruby library for Blizzard's World of Warcraft Community Platform API. <http://blizzard.github.com/api-wow-docs>
4
7
 
data/Rakefile CHANGED
@@ -1,4 +1,6 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
 
4
- RSpec::Core::RakeTask.new(:spec)
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -12,7 +12,7 @@ module WowCommunityApi
12
12
 
13
13
  def self.get(path, options = {})
14
14
  results = super(URI.encode(path), options)
15
- results.to_ostruct if results.response.code == "200"
15
+ results.parsed_response.to_ostruct if results.response.code == "200"
16
16
  end
17
17
 
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module WowCommunityApi
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency "httparty"
22
22
  s.add_dependency "hash-to-ostruct"
23
23
 
24
+ s.add_development_dependency "rake"
24
25
  s.add_development_dependency "rspec"
25
26
  s.add_development_dependency "webmock"
26
27
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wow_community_api
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease:
5
- version: 0.0.7
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 8
10
+ version: 0.0.8
6
11
  platform: ruby
7
12
  authors:
8
13
  - eddie cianci
@@ -10,7 +15,8 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-07-22 00:00:00 Z
18
+ date: 2011-07-22 00:00:00 -04:00
19
+ default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: httparty
@@ -20,6 +26,9 @@ dependencies:
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
23
32
  version: "0"
24
33
  type: :runtime
25
34
  version_requirements: *id001
@@ -31,31 +40,54 @@ dependencies:
31
40
  requirements:
32
41
  - - ">="
33
42
  - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
34
46
  version: "0"
35
47
  type: :runtime
36
48
  version_requirements: *id002
37
49
  - !ruby/object:Gem::Dependency
38
- name: rspec
50
+ name: rake
39
51
  prerelease: false
40
52
  requirement: &id003 !ruby/object:Gem::Requirement
41
53
  none: false
42
54
  requirements:
43
55
  - - ">="
44
56
  - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
45
60
  version: "0"
46
61
  type: :development
47
62
  version_requirements: *id003
48
63
  - !ruby/object:Gem::Dependency
49
- name: webmock
64
+ name: rspec
50
65
  prerelease: false
51
66
  requirement: &id004 !ruby/object:Gem::Requirement
52
67
  none: false
53
68
  requirements:
54
69
  - - ">="
55
70
  - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
56
74
  version: "0"
57
75
  type: :development
58
76
  version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ name: webmock
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ hash: 3
86
+ segments:
87
+ - 0
88
+ version: "0"
89
+ type: :development
90
+ version_requirements: *id005
59
91
  description: a Ruby library for Blizzard's World of Warcraft Community Platform API
60
92
  email:
61
93
  - defeated2k4@gmail.com
@@ -69,6 +101,7 @@ files:
69
101
  - .autotest
70
102
  - .gitignore
71
103
  - .rspec
104
+ - .travis.yml
72
105
  - Gemfile
73
106
  - LICENSE
74
107
  - README.md
@@ -99,6 +132,7 @@ files:
99
132
  - spec/regions_spec.rb
100
133
  - spec/spec_helper.rb
101
134
  - wow_community_api.gemspec
135
+ has_rdoc: true
102
136
  homepage: http://github.com/defeated/wow_community_api
103
137
  licenses: []
104
138
 
@@ -112,17 +146,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
146
  requirements:
113
147
  - - ">="
114
148
  - !ruby/object:Gem::Version
149
+ hash: 3
150
+ segments:
151
+ - 0
115
152
  version: "0"
116
153
  required_rubygems_version: !ruby/object:Gem::Requirement
117
154
  none: false
118
155
  requirements:
119
156
  - - ">="
120
157
  - !ruby/object:Gem::Version
158
+ hash: 3
159
+ segments:
160
+ - 0
121
161
  version: "0"
122
162
  requirements: []
123
163
 
124
164
  rubyforge_project: wow_community_api
125
- rubygems_version: 1.8.5
165
+ rubygems_version: 1.6.2
126
166
  signing_key:
127
167
  specification_version: 3
128
168
  summary: World of Warcraft Community Platform API