bnet_api 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +5 -2
- data/.travis.yml +1 -0
- data/.yardopts +7 -0
- data/CHANGELOG.md +4 -0
- data/README.md +0 -2
- data/lib/bnet_api/d3.rb +23 -0
- data/lib/bnet_api/oauth.rb +17 -0
- data/lib/bnet_api/sc2.rb +27 -0
- data/lib/bnet_api/version.rb +1 -1
- data/lib/bnet_api/wow.rb +73 -0
- data/lib/bnet_api/wow_data.rb +31 -0
- data/lib/bnet_api.rb +24 -0
- metadata +2 -2
- data/Gemfile.lock +0 -59
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjEwNzFmMzlkNTRhZDAwMzYwMjU3MTI4NmNlYmM2OTg2YTBmMDAyZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Njg1Y2JiNmJmMmU2ODk5ZjNkZmZjYmVkODk1ZGI5MzM3MzljNGJjZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2VhNzgzZDcyODk3YWY2NGRhNDQ4ZDBkNmI4MTg5MjYyNTE2MGJmZWFmN2Uw
|
10
|
+
OGY0OTdkN2Y0NjkwZmI4ZmJjNjgzMTg3ZTBjMzIxZDZmMGY3OGY5NDZhZmE1
|
11
|
+
OWRmZmQ4MjhiNDI5MTYzOTAxMmUxNDA5NzRjNWFkMjJjYmJiNjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2IzYTM4MjRjYjM0MmM2ODlkMWM5M2ZhNWI4NmY0YzE5NjM4OTU3Mjc0NzY0
|
14
|
+
ZGJmMjFjMGM2ODBkZjU5ZjM4NDI4NzhhMTY5MDk4NjI2MTViZjhmYmZkN2Qw
|
15
|
+
Y2VmMjY0MmQ2Y2EwY2U3NzczZWEyYjgzYjUxYjczMDU4ODY4Nzc=
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/bnet_api/d3.rb
CHANGED
@@ -1,25 +1,48 @@
|
|
1
1
|
require 'uri'
|
2
2
|
|
3
3
|
module BnetApi
|
4
|
+
# All API methods relating to Diablo III are contained in this module.
|
4
5
|
module D3
|
5
6
|
extend self
|
6
7
|
|
8
|
+
# Retrieves the career profile for the user with the specified battletag.
|
9
|
+
#
|
10
|
+
# @param battletag [String] The battletag of the user profile.
|
11
|
+
# @return [Hash] A hash containing the career profile data.
|
7
12
|
def career_profile(battletag)
|
8
13
|
BnetApi.make_request("/d3/profile/#{URI.encode(battletag)}/")
|
9
14
|
end
|
10
15
|
|
16
|
+
# Retrieves the hero profile for the hero with the specified ID belonging
|
17
|
+
# to the user with the specified battletag.
|
18
|
+
#
|
19
|
+
# @param battletag [String] The battletag of the user profile.
|
20
|
+
# @param id [Integer] The ID of the hero.
|
21
|
+
# @return [Hash] A hash containing the hero profile data.
|
11
22
|
def hero_profile(battletag, id)
|
12
23
|
BnetApi.make_request("/d3/profile/#{URI.encode(battletag)}/hero/#{id}")
|
13
24
|
end
|
14
25
|
|
26
|
+
# Retrieves the data for an item with the specified item data string.
|
27
|
+
#
|
28
|
+
# @param data [String] The item data string of the item.
|
29
|
+
# @return [Hash] A hash containing the item data.
|
15
30
|
def item_data(data)
|
16
31
|
BnetApi.make_request("/d3/data/item/#{data}")
|
17
32
|
end
|
18
33
|
|
34
|
+
# Retrieves the data for the specified follower.
|
35
|
+
#
|
36
|
+
# @param follower [String] The name of the follower.
|
37
|
+
# @return [Hash] A hash containing the follower data.
|
19
38
|
def follower_data(follower)
|
20
39
|
BnetApi.make_request("/d3/data/follower/#{follower}")
|
21
40
|
end
|
22
41
|
|
42
|
+
# Retrieves the data for the specified artisan.
|
43
|
+
#
|
44
|
+
# @param artisan [String] The name of the artisan.
|
45
|
+
# @return [Hash] A hash containing the artisan data.
|
23
46
|
def artisan_data(artisan)
|
24
47
|
BnetApi.make_request("/d3/data/artisan/#{artisan}")
|
25
48
|
end
|
data/lib/bnet_api/oauth.rb
CHANGED
@@ -1,19 +1,36 @@
|
|
1
1
|
module BnetApi
|
2
|
+
# All API methods requiring OAuth authentication are contained in this module.
|
2
3
|
module OAuth
|
3
4
|
extend self
|
4
5
|
|
6
|
+
# Retrieves the account ID number for the user with the specified access token.
|
7
|
+
#
|
8
|
+
# @param access_token [String] The user's OAuth access token.
|
9
|
+
# @return [Hash] A hash containing the user's account ID.
|
5
10
|
def account_id(access_token)
|
6
11
|
BnetApi.make_request_oauth('/account/user/id', access_token)
|
7
12
|
end
|
8
13
|
|
14
|
+
# Retrieves the battletag for the user with the specified access token.
|
15
|
+
#
|
16
|
+
# @param access_token [String] The user's OAuth access token.
|
17
|
+
# @return [Hash] A hash containing the user's battletag.
|
9
18
|
def battletag(access_token)
|
10
19
|
BnetApi.make_request_oauth('/account/user/battletag', access_token)
|
11
20
|
end
|
12
21
|
|
22
|
+
# Retrieves the Starcraft II profile for the user with the specified access token.
|
23
|
+
#
|
24
|
+
# @param access_token [String] The user's OAuth access token.
|
25
|
+
# @return [Hash] A hash containing the user's Starcraft II profile data.
|
13
26
|
def sc2_profile(access_token)
|
14
27
|
BnetApi.make_request_oauth('/sc2/profile/user', access_token)
|
15
28
|
end
|
16
29
|
|
30
|
+
# Retrieves the World of Warcraft profile for the user with the specified access token.
|
31
|
+
#
|
32
|
+
# @param access_token [String] The user's OAuth access token.
|
33
|
+
# @return [Hash] A hash containing the user's World of Warcraft profile data.
|
17
34
|
def wow_profile(access_token)
|
18
35
|
BnetApi.make_request_oauth('/wow/user/characters', access_token)
|
19
36
|
end
|
data/lib/bnet_api/sc2.rb
CHANGED
@@ -1,29 +1,56 @@
|
|
1
1
|
require 'uri'
|
2
2
|
|
3
3
|
module BnetApi
|
4
|
+
# All API methods relating to Starcraft II are contained in this module.
|
4
5
|
module SC2
|
5
6
|
extend self
|
6
7
|
|
8
|
+
# Retrieves the profile for specified user.
|
9
|
+
#
|
10
|
+
# @param id [Integer] The user's profile ID.
|
11
|
+
# @param region [Integer] The region the user is in.
|
12
|
+
# @param name [String] The name of the user's profile.
|
13
|
+
# @return [Hash] A hash containing the profile data.
|
7
14
|
def profile(id, region, name)
|
8
15
|
BnetApi.make_request("/sc2/profile/#{id}/#{region}/#{name}/")
|
9
16
|
end
|
10
17
|
|
18
|
+
# Retrieves the ladders a profile is in.
|
19
|
+
#
|
20
|
+
# @param id [Integer] The user's profile ID.
|
21
|
+
# @param region [Integer] The region the user is in.
|
22
|
+
# @param name [String] The name of the user's profile.
|
23
|
+
# @return [Hash] A hash containing the profile's ladder data.
|
11
24
|
def profile_ladders(id, region, name)
|
12
25
|
BnetApi.make_request("/sc2/profile/#{id}/#{region}/#{name}/ladders")
|
13
26
|
end
|
14
27
|
|
28
|
+
# Retrieves the match history for the specified profile.
|
29
|
+
#
|
30
|
+
# @param id [Integer] The user's profile ID.
|
31
|
+
# @param region [Integer] The region the user is in.
|
32
|
+
# @param name [String] The name of the user's profile.
|
33
|
+
# @return [Hash] A hash containing the profile's match history data.
|
15
34
|
def match_history(id, region, name)
|
16
35
|
BnetApi.make_request("/sc2/profile/#{id}/#{region}/#{name}/matches")
|
17
36
|
end
|
18
37
|
|
38
|
+
# Retrieves the ladder data for the ladder with the specified ID.
|
39
|
+
#
|
40
|
+
# @param id [String] The ID of the ladder.
|
41
|
+
# @return [Hash] A hash containing the ladder data.
|
19
42
|
def ladder(id)
|
20
43
|
BnetApi.make_request("/sc2/ladder/#{id}")
|
21
44
|
end
|
22
45
|
|
46
|
+
# Retrieves all achievements data.
|
47
|
+
# @return [Hash] A hash containing the achievements data.
|
23
48
|
def achievements_data
|
24
49
|
BnetApi.make_request('/sc2/data/achievements')
|
25
50
|
end
|
26
51
|
|
52
|
+
# Retrieves all rewards data.
|
53
|
+
# @return [Hash] A hash containing the rewards data.
|
27
54
|
def rewards_data
|
28
55
|
BnetApi.make_request('/sc2/data/rewards')
|
29
56
|
end
|
data/lib/bnet_api/version.rb
CHANGED
data/lib/bnet_api/wow.rb
CHANGED
@@ -1,25 +1,50 @@
|
|
1
1
|
require 'uri'
|
2
2
|
|
3
3
|
module BnetApi
|
4
|
+
# All API methods relating to World of Warcraft are contained in this module.
|
4
5
|
module WoW
|
5
6
|
extend self
|
6
7
|
|
8
|
+
# Retrieves the achievement with the specified ID.
|
9
|
+
#
|
10
|
+
# @param id [Integer] The ID of the achievement.
|
11
|
+
# @return [Hash] A hash containing the achievement data.
|
7
12
|
def achievement(id)
|
8
13
|
BnetApi.make_request("/wow/achievement/#{id}")
|
9
14
|
end
|
10
15
|
|
16
|
+
# Retrieves the URL of a JSON file containing the most recent auction data dump.
|
17
|
+
#
|
18
|
+
# @param realm [String] The realm to retrieve auction data for.
|
19
|
+
# @return [Hash] A hash containing the URL of the auction data file.
|
11
20
|
def auction_data(realm)
|
12
21
|
BnetApi.make_request("/wow/auction/data/#{realm}")
|
13
22
|
end
|
14
23
|
|
24
|
+
# Retrieves the battlepet ability with the specified ID.
|
25
|
+
#
|
26
|
+
# @param id [Integer] The ID of the ability.
|
27
|
+
# @return [Hash] A hash containing the ability data.
|
15
28
|
def battlepet_ability(id)
|
16
29
|
BnetApi.make_request("/wow/battlePet/ability/#{id}")
|
17
30
|
end
|
18
31
|
|
32
|
+
# Retrieves the battlepet species with the specified ID.
|
33
|
+
#
|
34
|
+
# @param id [Integer] The ID of the species.
|
35
|
+
# @return [Hash] A hash containing the species data.
|
19
36
|
def battlepet_species(id)
|
20
37
|
BnetApi.make_request("/wow/battlePet/species/#{id}")
|
21
38
|
end
|
22
39
|
|
40
|
+
# Retrieves the stats for the battlepet with the specified ID.
|
41
|
+
#
|
42
|
+
# @param species_id [Integer] The ID of the battlepet species.
|
43
|
+
# @param options [Hash] Any additional options.
|
44
|
+
# @option options [Integer] :level The level of the species.
|
45
|
+
# @option options [Integer] :breedId The ID of the breed.
|
46
|
+
# @option options [Integer] :qualityId The quality of the battlepet.
|
47
|
+
# @return [Hash] A hash containing the battlepet stats data.
|
23
48
|
def battlepet_stats(species_id, options = {})
|
24
49
|
level = options[:level] || 1
|
25
50
|
breedId = options[:breedId] || 3
|
@@ -33,14 +58,27 @@ module BnetApi
|
|
33
58
|
)
|
34
59
|
end
|
35
60
|
|
61
|
+
# Retrieves the challenge mode leaderboard for the specified realm.
|
62
|
+
#
|
63
|
+
# @param realm [String] The realm to retrieve the leaderboard for.
|
64
|
+
# @return [Hash] A hash containing the leaderboard data.
|
36
65
|
def challenge_mode_realm(realm)
|
37
66
|
BnetApi.make_request("/wow/challenge/#{realm}")
|
38
67
|
end
|
39
68
|
|
69
|
+
# Retrieves the challenge mode leaderboard for the current API region.
|
70
|
+
#
|
71
|
+
# @return [Hash] A hash containing the leaderboard data.
|
40
72
|
def challenge_mode_region
|
41
73
|
BnetApi.make_request('/wow/challenge/region')
|
42
74
|
end
|
43
75
|
|
76
|
+
# Retrieves the character with the specified name on the specified realm.
|
77
|
+
#
|
78
|
+
# @param realm [String] The realm the character is on.
|
79
|
+
# @param name [String] The name of the character.
|
80
|
+
# @param *optional_fields [Array<Symbol>] Any optional fields to retrieve data for.
|
81
|
+
# @return [Hash] A hash containing the character data.
|
44
82
|
def character(realm, name, *optional_fields)
|
45
83
|
if optional_fields[0] == :all
|
46
84
|
optional_fields = :achievements, :appearance, :feed, :guild, :items, :mounts, :pets, :petSlots, :progression, :pvp, :quests, :reputation, :stats, :talents, :titles, :audit
|
@@ -48,14 +86,28 @@ module BnetApi
|
|
48
86
|
BnetApi.make_request("/wow/character/#{URI.escape(realm)}/#{URI.escape(name)}", optional_fields)
|
49
87
|
end
|
50
88
|
|
89
|
+
# Retrieves the item with the specified ID.
|
90
|
+
#
|
91
|
+
# @param id [Integer] The ID of the item.
|
92
|
+
# @return [Hash] A hash containing the item data.
|
51
93
|
def item(id)
|
52
94
|
BnetApi.make_request("/wow/item/#{id}")
|
53
95
|
end
|
54
96
|
|
97
|
+
# Retrieves the item set with the specified ID.
|
98
|
+
#
|
99
|
+
# @param id [Integer] The ID of the item set.
|
100
|
+
# @return [Hash] A hash containing the item set data.
|
55
101
|
def item_set(id)
|
56
102
|
BnetApi.make_request("/wow/item/set/#{id}")
|
57
103
|
end
|
58
104
|
|
105
|
+
# Retrieves the guild with the specified name on the specified realm.
|
106
|
+
#
|
107
|
+
# @param realm [String] The realm the guild is on.
|
108
|
+
# @param name [String] The name of the guild.
|
109
|
+
# @param *optional_fields[Array<Symbol>] Any optional fields to retrieve data for.
|
110
|
+
# @return [Hash] A hash containing the guild data.
|
59
111
|
def guild(realm, name, *optional_fields)
|
60
112
|
if optional_fields[0] == :all
|
61
113
|
optional_fields = :members, :achievements, :news, :challenge
|
@@ -63,14 +115,27 @@ module BnetApi
|
|
63
115
|
BnetApi.make_request("/wow/guild/#{URI.escape(realm)}/#{URI.escape(name)}", optional_fields)
|
64
116
|
end
|
65
117
|
|
118
|
+
# Retrieves the PvP leaderboard for the specified bracket.
|
119
|
+
#
|
120
|
+
# @param bracket [String] The PvP bracket to retrieve data for.
|
121
|
+
# @return [Hash] A hash containing the leaderboard data.
|
66
122
|
def pvp(bracket)
|
67
123
|
BnetApi.make_request("/wow/leaderboard/#{bracket}")
|
68
124
|
end
|
69
125
|
|
126
|
+
# Retrieves the quest with the specified ID.
|
127
|
+
#
|
128
|
+
# @param id [Integer] The ID of the quest.
|
129
|
+
# @return [Hash] A hash containing the quest data.
|
70
130
|
def quest(id)
|
71
131
|
BnetApi.make_request("/wow/quest/#{id}")
|
72
132
|
end
|
73
133
|
|
134
|
+
# Retrieves the realm status for the region. If any realms are specified as parameters,
|
135
|
+
# only the status of these realms will be returned.
|
136
|
+
#
|
137
|
+
# @param *realms [Array<String>] Any realms to restrict the data to.
|
138
|
+
# @return [Hash] A hash containing the realm status data.
|
74
139
|
def realm_status(*realms)
|
75
140
|
if realms.count > 0
|
76
141
|
BnetApi.make_request_with_params("/wow/realm/status", { realms: realms.join(',') })
|
@@ -79,10 +144,18 @@ module BnetApi
|
|
79
144
|
end
|
80
145
|
end
|
81
146
|
|
147
|
+
# Retrieves the recipe with the specified ID.
|
148
|
+
#
|
149
|
+
# @param id [Integer] The ID of the recipe.
|
150
|
+
# @return [Hash] A hash containing the recipe data.
|
82
151
|
def recipe(id)
|
83
152
|
BnetApi.make_request("/wow/recipe/#{id}")
|
84
153
|
end
|
85
154
|
|
155
|
+
# Retrieves the spell with the specified ID.
|
156
|
+
#
|
157
|
+
# @param id [Integer] The ID of the spell.
|
158
|
+
# @return [Hash] A hash containing the spell data.
|
86
159
|
def spell(id)
|
87
160
|
BnetApi.make_request("/wow/spell/#{id}")
|
88
161
|
end
|
data/lib/bnet_api/wow_data.rb
CHANGED
@@ -1,44 +1,75 @@
|
|
1
1
|
module BnetApi
|
2
2
|
module WoW
|
3
|
+
# All API methods relating to World of Warcraft Data are contained in this module.
|
3
4
|
module Data
|
4
5
|
extend self
|
5
6
|
|
7
|
+
# Retrieves all battlegroups for the region.
|
8
|
+
#
|
9
|
+
# @return [Hash] A hash containing the battlegroups.
|
6
10
|
def battlegroups
|
7
11
|
BnetApi::make_request('/wow/data/battlegroups/')
|
8
12
|
end
|
9
13
|
|
14
|
+
# Retrieves all character races.
|
15
|
+
#
|
16
|
+
# @return [Hash] A hash containing the character races.
|
10
17
|
def character_races
|
11
18
|
BnetApi::make_request('/wow/data/character/races')
|
12
19
|
end
|
13
20
|
|
21
|
+
# Retrieves all character classes.
|
22
|
+
#
|
23
|
+
# @return [Hash] A hash containing the character classes.
|
14
24
|
def character_classes
|
15
25
|
BnetApi::make_request('/wow/data/character/classes')
|
16
26
|
end
|
17
27
|
|
28
|
+
# Retrieves all character achievements.
|
29
|
+
#
|
30
|
+
# @return [Hash] A hash containing the character achievements.
|
18
31
|
def character_achievements
|
19
32
|
BnetApi::make_request('/wow/data/character/achievements')
|
20
33
|
end
|
21
34
|
|
35
|
+
# Retrieves all guild rewards.
|
36
|
+
#
|
37
|
+
# @return [Hash] A hash containing the guild rewards.
|
22
38
|
def guild_rewards
|
23
39
|
BnetApi::make_request('/wow/data/guild/rewards')
|
24
40
|
end
|
25
41
|
|
42
|
+
# Retrieves all guild perks.
|
43
|
+
#
|
44
|
+
# @return [Hash] A hash containing the guild perks.
|
26
45
|
def guild_perks
|
27
46
|
BnetApi::make_request('/wow/data/guild/perks')
|
28
47
|
end
|
29
48
|
|
49
|
+
# Retrieves all guild achievements.
|
50
|
+
#
|
51
|
+
# @return [Hash] A hash containing the guild achievements.
|
30
52
|
def guild_achievements
|
31
53
|
BnetApi::make_request('/wow/data/guild/achievements')
|
32
54
|
end
|
33
55
|
|
56
|
+
# Retrieves all item classes.
|
57
|
+
#
|
58
|
+
# @return [Hash] A hash containing the item classes.
|
34
59
|
def item_classes
|
35
60
|
BnetApi::make_request('/wow/data/item/classes')
|
36
61
|
end
|
37
62
|
|
63
|
+
# Retrieves all talents.
|
64
|
+
#
|
65
|
+
# @return [Hash] A hash containing the talents.
|
38
66
|
def talents
|
39
67
|
BnetApi::make_request('/wow/data/talents')
|
40
68
|
end
|
41
69
|
|
70
|
+
# Retrieves all pet types.
|
71
|
+
#
|
72
|
+
# @return [Hash] A hash containing the pet types.
|
42
73
|
def pet_types
|
43
74
|
BnetApi::make_request('/wow/data/pet/types')
|
44
75
|
end
|
data/lib/bnet_api.rb
CHANGED
@@ -8,22 +8,36 @@ require 'bnet_api/version'
|
|
8
8
|
require 'httparty'
|
9
9
|
require 'ostruct'
|
10
10
|
|
11
|
+
# The base module namespace for the BnetApi library.
|
11
12
|
module BnetApi
|
12
13
|
extend self
|
13
14
|
include HTTParty
|
14
15
|
|
16
|
+
# Yields the API configuration object.
|
15
17
|
def configure
|
16
18
|
yield config
|
17
19
|
end
|
18
20
|
|
21
|
+
# Sets up the configuration of the API.
|
19
22
|
def config
|
20
23
|
@config ||= OpenStruct.new(region: :eu, locale: :en_GB)
|
21
24
|
end
|
22
25
|
|
26
|
+
# Sends a HTTPS GET request to the Battle.net API and returns the retrieved data in a hash.
|
27
|
+
#
|
28
|
+
# @param request [String] The API endpoint to request.
|
29
|
+
# @param *optional_fields[Array<Symbol>] Any optional fields to be requested from the API.
|
30
|
+
# @return [Hash] A hash of the data returned from the API.
|
23
31
|
def make_request(request, *optional_fields)
|
24
32
|
self.get("https://#{@config.region}.api.battle.net/#{request}#{build_url_params(optional_fields)}")
|
25
33
|
end
|
26
34
|
|
35
|
+
# Sends a HTTPS GET request to the Battle.net API with some additional URL parameters
|
36
|
+
# and returns the retrieved data in a hash.
|
37
|
+
#
|
38
|
+
# @param request [String] The API endpoint to request.
|
39
|
+
# @param params [Hash] A hash containing key/value pairs of URL parameters.
|
40
|
+
# @return [Hash] A hash of the data returned from the API.
|
27
41
|
def make_request_with_params(request, params)
|
28
42
|
url = "https://#{@config.region}.api.battle.net/#{request}?"
|
29
43
|
params.each do |k, v|
|
@@ -34,11 +48,21 @@ module BnetApi
|
|
34
48
|
self.get(url)
|
35
49
|
end
|
36
50
|
|
51
|
+
# Sends a HTTPS GET request to the Battle.net API using OAuth instead of API key authentication
|
52
|
+
# and returns the retrieved data in a hash.
|
53
|
+
#
|
54
|
+
# @param request [String] The API endpoint to request.
|
55
|
+
# @param access_token [String] The user's OAuth access token.
|
56
|
+
# @return [Hash] A hash of the data returned from the API.
|
37
57
|
def make_request_oauth(request, access_token)
|
38
58
|
self.get("https://#{@config.region}.api.battle.net/#{request}?locale=#{@config.locale}&access_token=#{access_token}")
|
39
59
|
end
|
40
60
|
|
41
61
|
private
|
62
|
+
# Builds the URL parameters for the make_request method.
|
63
|
+
#
|
64
|
+
# @params *optional_fields [Array<Symbol>] Any optional fields to put in the URL.
|
65
|
+
# @return [String] The URL parameters for the request.
|
42
66
|
def build_url_params(*optional_fields)
|
43
67
|
url_params = "?locale=#{@config.locale}&apikey=#{@config.api_key}"
|
44
68
|
if optional_fields != nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bnet_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Connolly
|
@@ -62,9 +62,9 @@ files:
|
|
62
62
|
- .gitignore
|
63
63
|
- .rspec
|
64
64
|
- .travis.yml
|
65
|
+
- .yardopts
|
65
66
|
- CHANGELOG.md
|
66
67
|
- Gemfile
|
67
|
-
- Gemfile.lock
|
68
68
|
- LICENSE.md
|
69
69
|
- README.md
|
70
70
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
bnet_api (0.1.3)
|
5
|
-
httparty (= 0.13.3)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
coveralls (0.7.2)
|
11
|
-
multi_json (~> 1.3)
|
12
|
-
rest-client (= 1.6.7)
|
13
|
-
simplecov (>= 0.7)
|
14
|
-
term-ansicolor (= 1.2.2)
|
15
|
-
thor (= 0.18.1)
|
16
|
-
diff-lcs (1.2.5)
|
17
|
-
docile (1.1.5)
|
18
|
-
httparty (0.13.3)
|
19
|
-
json (~> 1.8)
|
20
|
-
multi_xml (>= 0.5.2)
|
21
|
-
json (1.8.1)
|
22
|
-
mime-types (2.4.3)
|
23
|
-
multi_json (1.10.1)
|
24
|
-
multi_xml (0.5.5)
|
25
|
-
rake (10.4.2)
|
26
|
-
rest-client (1.6.7)
|
27
|
-
mime-types (>= 1.16)
|
28
|
-
rspec (3.1.0)
|
29
|
-
rspec-core (~> 3.1.0)
|
30
|
-
rspec-expectations (~> 3.1.0)
|
31
|
-
rspec-mocks (~> 3.1.0)
|
32
|
-
rspec-core (3.1.7)
|
33
|
-
rspec-support (~> 3.1.0)
|
34
|
-
rspec-expectations (3.1.2)
|
35
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
36
|
-
rspec-support (~> 3.1.0)
|
37
|
-
rspec-mocks (3.1.3)
|
38
|
-
rspec-support (~> 3.1.0)
|
39
|
-
rspec-support (3.1.2)
|
40
|
-
simplecov (0.9.1)
|
41
|
-
docile (~> 1.1.0)
|
42
|
-
multi_json (~> 1.0)
|
43
|
-
simplecov-html (~> 0.8.0)
|
44
|
-
simplecov-html (0.8.0)
|
45
|
-
term-ansicolor (1.2.2)
|
46
|
-
tins (~> 0.8)
|
47
|
-
thor (0.18.1)
|
48
|
-
tins (0.13.2)
|
49
|
-
|
50
|
-
PLATFORMS
|
51
|
-
x64-mingw32
|
52
|
-
x86-mingw32
|
53
|
-
|
54
|
-
DEPENDENCIES
|
55
|
-
bnet_api!
|
56
|
-
bundler
|
57
|
-
coveralls
|
58
|
-
rake
|
59
|
-
rspec (>= 2.14)
|