bungie_client 2.1.2.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +26 -0
- data/.gitignore +0 -0
- data/.travis.yml +0 -0
- data/CHANGELOG.md +7 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +5 -3
- data/bin/console +4 -3
- data/bin/setup +0 -0
- data/bungie_client.gemspec +21 -19
- data/lib/bungie_client/client.rb +75 -65
- data/lib/bungie_client/service.rb +26 -22
- data/lib/bungie_client/services.yml +0 -0
- data/lib/bungie_client/version.rb +3 -1
- data/lib/bungie_client/wrapper.rb +60 -52
- data/lib/bungie_client.rb +10 -8
- data/lib/tasks/parse_services.rake +5 -3
- data/lib/underscore.rb +8 -6
- metadata +26 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: df5f143d312b49b9319a8285899ae48ec401857195ae60ca1162fe9e5a52fb45
|
4
|
+
data.tar.gz: b80230dae35564621e550e4c936436d576bc31cd355818d3e80c08931dbd879a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efe67dd8d9b270984fc1918e88574fb4ed8c6aee0a170da2d58ca978a837d17f103ae90a3a909a902ae332e998ed244061d40541598ec44d7e02b29d5c93b13f
|
7
|
+
data.tar.gz: a657040b4afc0271efeb4770c919ae80d75fb83d4041d0808a27386087eb94844be3171b98e59d55acffe7d79086de563e00ea3ac1c6196153a9a9e73114a871
|
@@ -0,0 +1,26 @@
|
|
1
|
+
version: 2.1
|
2
|
+
jobs:
|
3
|
+
test:
|
4
|
+
parameters:
|
5
|
+
ruby-version:
|
6
|
+
type: string
|
7
|
+
docker:
|
8
|
+
- image: << parameters.ruby-version >>
|
9
|
+
steps:
|
10
|
+
- checkout
|
11
|
+
- run:
|
12
|
+
name: Gem install bundler
|
13
|
+
command: gem update --system && gem install bundler
|
14
|
+
- run:
|
15
|
+
name: Bundle install
|
16
|
+
command: bundle install --jobs=4 --retry=3 --path vendor/bundle
|
17
|
+
- run:
|
18
|
+
name: Run tests
|
19
|
+
command: bundle exec rake
|
20
|
+
workflows:
|
21
|
+
all-tests:
|
22
|
+
jobs:
|
23
|
+
- test:
|
24
|
+
matrix:
|
25
|
+
parameters:
|
26
|
+
ruby-version: ["ruby:3.0.1", "ruby:2.7.3", "ruby:2.6.7"]
|
data/.gitignore
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
require 'rspec/core/rake_task'
|
3
5
|
|
4
6
|
RSpec::Core::RakeTask.new(:spec)
|
5
7
|
|
6
|
-
task :
|
8
|
+
task default: :spec
|
7
9
|
|
8
10
|
Dir.glob('lib/tasks/*.rake').each { |r| import r }
|
data/bin/console
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
require
|
4
|
-
require
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'bungie_client'
|
5
6
|
|
6
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
8
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +11,5 @@ require "bungie_client"
|
|
10
11
|
# require "pry"
|
11
12
|
# Pry.start
|
12
13
|
|
13
|
-
require
|
14
|
+
require 'irb'
|
14
15
|
IRB.start
|
data/bin/setup
CHANGED
File without changes
|
data/bungie_client.gemspec
CHANGED
@@ -1,31 +1,33 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
2
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
5
|
require 'bungie_client/version'
|
4
6
|
|
5
7
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name =
|
8
|
+
spec.name = 'bungie_client'
|
7
9
|
spec.version = BungieClient::VERSION
|
8
|
-
spec.authors = [
|
9
|
-
spec.email = [
|
10
|
+
spec.authors = ['Dmitry Ruban']
|
11
|
+
spec.email = ['dkruban@gmail.com']
|
10
12
|
|
11
|
-
spec.summary =
|
12
|
-
spec.description =
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
13
|
+
spec.summary = 'This gem makes possible to use Bungie API (and Destiny API too).'
|
14
|
+
spec.description = 'This gem makes possible to use Bungie API (and Destiny API too). It can be useful, if you decide create your application for Destiny Game (https://www.bungie.net/en/pub/AboutDestiny).'
|
15
|
+
spec.homepage = 'https://github.com/RuBAN-GT/bungie_client'
|
16
|
+
spec.license = 'MIT'
|
15
17
|
|
16
18
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
-
spec.bindir =
|
19
|
+
spec.bindir = 'exe'
|
18
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
-
spec.require_paths = [
|
21
|
+
spec.require_paths = ['lib']
|
20
22
|
|
21
|
-
spec.add_development_dependency
|
22
|
-
spec.add_development_dependency
|
23
|
-
spec.add_development_dependency
|
24
|
-
spec.add_development_dependency
|
23
|
+
spec.add_development_dependency 'bundler'
|
24
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
25
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
26
|
+
spec.add_development_dependency 'webmock', '~> 3.0'
|
25
27
|
|
26
|
-
spec.add_runtime_dependency
|
27
|
-
spec.add_runtime_dependency
|
28
|
-
spec.add_runtime_dependency
|
29
|
-
spec.add_runtime_dependency
|
30
|
-
spec.add_runtime_dependency
|
28
|
+
spec.add_runtime_dependency 'faraday', '~> 0.11'
|
29
|
+
spec.add_runtime_dependency 'faraday_middleware', '~> 0'
|
30
|
+
spec.add_runtime_dependency 'hashie', '~> 3.4'
|
31
|
+
spec.add_runtime_dependency 'httpclient', '~> 2.8'
|
32
|
+
spec.add_runtime_dependency 'multi_json', '~> 1.12'
|
31
33
|
end
|
data/lib/bungie_client/client.rb
CHANGED
@@ -1,82 +1,92 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Class Client for GET/POST requests to Bungie.
|
2
4
|
# For specific HTTP operations you can use @conn [Faraday].
|
3
|
-
|
4
|
-
|
5
|
+
module BungieClient
|
6
|
+
class Client
|
7
|
+
BUNGIE_URI = 'https://www.bungie.net/Platform'
|
5
8
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
# Format answer from Bungie
|
10
|
+
#
|
11
|
+
# @param [String] response
|
12
|
+
#
|
13
|
+
# @return [Mash]
|
14
|
+
def self.parse(response)
|
15
|
+
response = begin
|
16
|
+
MultiJson.load response
|
17
|
+
rescue StandardError
|
18
|
+
{}
|
19
|
+
end
|
13
20
|
|
14
|
-
|
15
|
-
|
21
|
+
Hashie::Mash.new response
|
22
|
+
end
|
16
23
|
|
17
|
-
|
18
|
-
attr_reader :token
|
19
|
-
attr_reader :conn
|
24
|
+
attr_reader :api_key, :token, :conn
|
20
25
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
# Init client
|
27
|
+
#
|
28
|
+
# @see https://www.bungie.net/en/user/api
|
29
|
+
#
|
30
|
+
# Initialize client for bungie api throw hash:
|
31
|
+
#
|
32
|
+
# @param [Hash] options
|
33
|
+
# @option options [String] :api_key
|
34
|
+
# @option options [String] :token is authorization token from oauth2
|
35
|
+
def initialize(options)
|
36
|
+
# Checking options and @api_key
|
37
|
+
raise 'Wrong options: It must be Hash.' unless options.is_a? Hash
|
33
38
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
+
if options[:api_key].nil?
|
40
|
+
raise 'The API-key required for every request to bungie.'
|
41
|
+
else
|
42
|
+
@api_key = options[:api_key].to_s
|
43
|
+
end
|
39
44
|
|
40
|
-
|
41
|
-
|
45
|
+
# Set token
|
46
|
+
@token = options[:token].to_s unless options[:token].nil?
|
42
47
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
48
|
+
# Init connection
|
49
|
+
@conn = Faraday.new url: BUNGIE_URI do |builder|
|
50
|
+
builder.headers['Content-Type'] = 'application/json'
|
51
|
+
builder.headers['Accept'] = 'application/json'
|
52
|
+
builder.headers['X-API-Key'] = @api_key
|
53
|
+
builder.headers['Authorization'] = "Bearer #{@token}" unless @token.nil?
|
49
54
|
|
50
|
-
|
51
|
-
|
55
|
+
builder.options.timeout = 5
|
56
|
+
builder.options.open_timeout = 2
|
52
57
|
|
53
|
-
|
58
|
+
builder.use FaradayMiddleware::FollowRedirects, limit: 5
|
54
59
|
|
55
|
-
|
60
|
+
builder.adapter :httpclient
|
61
|
+
end
|
56
62
|
end
|
57
|
-
end
|
58
63
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
64
|
+
# Get request to bungie service
|
65
|
+
#
|
66
|
+
# @see http://destinydevs.github.io/BungieNetPlatform/docs/Endpoints
|
67
|
+
#
|
68
|
+
# @param [String] url
|
69
|
+
# @param [Hash] parameters for http-query
|
70
|
+
# @param [Hash] headers
|
71
|
+
#
|
72
|
+
# @return [Mash]
|
73
|
+
def get(url, parameters = {}, headers = {})
|
74
|
+
self.class.parse @conn.get(url, parameters, headers).body
|
75
|
+
rescue StandardError
|
76
|
+
Hashie::Mash.new
|
77
|
+
end
|
71
78
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
79
|
+
# Post data to Bungie services
|
80
|
+
#
|
81
|
+
# @param [String] url
|
82
|
+
# @param [Hash] query
|
83
|
+
# @param [Hash] headers
|
84
|
+
#
|
85
|
+
# @return [Mash]
|
86
|
+
def post(url, query = {}, headers = {})
|
87
|
+
self.class.parse @conn.post(url, query, headers).body
|
88
|
+
rescue StandardError
|
89
|
+
Hashie::Mash.new
|
90
|
+
end
|
81
91
|
end
|
82
92
|
end
|
@@ -1,30 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Simple class for service structure
|
2
|
-
|
3
|
-
|
4
|
+
module BungieClient
|
5
|
+
class Service
|
6
|
+
attr_reader :type, :name, :endpoint
|
4
7
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
# Get list of services
|
9
|
+
#
|
10
|
+
# @see http://destinydevs.github.io/BungieNetPlatform/docs/Endpoints
|
11
|
+
#
|
12
|
+
# @return [Hash]
|
13
|
+
def self.services
|
14
|
+
return @services unless @services.nil?
|
12
15
|
|
13
|
-
|
14
|
-
|
16
|
+
@services = YAML.load_file "#{File.dirname(__FILE__)}/services.yml" || {}
|
17
|
+
end
|
15
18
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
# Initialize service by name with snake case style
|
20
|
+
#
|
21
|
+
# @example service =
|
22
|
+
#
|
23
|
+
# @param [String] name
|
24
|
+
def initialize(name)
|
25
|
+
service = self.class.services[name]
|
23
26
|
|
24
|
-
|
27
|
+
raise 'Undefined service' if service.nil?
|
25
28
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
+
@type = service[:method]
|
30
|
+
@name = service[:name]
|
31
|
+
@endpoint = service[:endpoint]
|
32
|
+
end
|
29
33
|
end
|
30
34
|
end
|
File without changes
|
@@ -1,64 +1,72 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Wrapper class for simple api requests
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
4
|
+
module BungieClient
|
5
|
+
class Wrapper
|
6
|
+
# Initialize wrapper with client
|
7
|
+
#
|
8
|
+
# This initializer create wrapper object with client.
|
9
|
+
# If you `options` contain `:client` key, it will be taken as client object [BungieClient::Client]. Otherwise it will be passed in client initializer.
|
10
|
+
#
|
11
|
+
# @see BungieClient::Client
|
12
|
+
#
|
13
|
+
# @param [BungieClient::Client] client initialized for wrapper
|
14
|
+
# @param [Hash] options for initialization of client
|
15
|
+
def initialize(options = {})
|
16
|
+
if options[:client].nil?
|
17
|
+
@options = options
|
18
|
+
elsif options[:client].is_a? BungieClient::Client
|
19
|
+
@client = options[:client]
|
20
|
+
end
|
17
21
|
end
|
18
|
-
end
|
19
22
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
23
|
+
# Get wrapper client
|
24
|
+
#
|
25
|
+
# @return [BungieClient::Client]
|
26
|
+
def client
|
27
|
+
return @client unless @client.nil?
|
25
28
|
|
26
|
-
|
27
|
-
end
|
28
|
-
|
29
|
-
# Change all url parameters to hash value
|
30
|
-
#
|
31
|
-
# @param [String] url
|
32
|
-
# @param [Hash] params
|
33
|
-
#
|
34
|
-
# @return [String]
|
35
|
-
def fill_url(url, params)
|
36
|
-
params.each do |key, value|
|
37
|
-
url = url.gsub "{#{key}}", value.to_s
|
29
|
+
@client = BungieClient::Client.new @options
|
38
30
|
end
|
39
31
|
|
40
|
-
url
|
41
|
-
|
32
|
+
# Change all url parameters to hash value
|
33
|
+
#
|
34
|
+
# @param [String] url
|
35
|
+
# @param [Hash] params
|
36
|
+
#
|
37
|
+
# @return [String]
|
38
|
+
def fill_url(url, params)
|
39
|
+
params.each do |key, value|
|
40
|
+
url = url.gsub "{#{key}}", value.to_s
|
41
|
+
end
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
# @param [String] service name in snake case
|
46
|
-
# @param [Hash] params service parameters
|
47
|
-
# @param [Hash] options for client request (get/post)
|
48
|
-
# @param [Hash] headers
|
49
|
-
#
|
50
|
-
# @return [Hashie::Mash]
|
51
|
-
def call_service(service, params = {}, options = {}, headers = {})
|
52
|
-
service = BungieClient::Service.new service rescue raise NoMethodError
|
43
|
+
url
|
44
|
+
end
|
53
45
|
|
54
|
-
#
|
55
|
-
|
46
|
+
# Call needed service from services list
|
47
|
+
#
|
48
|
+
# @param [String] service name in snake case
|
49
|
+
# @param [Hash] params service parameters
|
50
|
+
# @param [Hash] options for client request (get/post)
|
51
|
+
# @param [Hash] headers
|
52
|
+
#
|
53
|
+
# @return [Hashie::Mash]
|
54
|
+
def call_service(service, params = {}, options = {}, headers = {})
|
55
|
+
service = begin
|
56
|
+
BungieClient::Service.new service
|
57
|
+
rescue StandardError
|
58
|
+
raise NoMethodError
|
59
|
+
end
|
56
60
|
|
57
|
-
|
58
|
-
|
59
|
-
end
|
61
|
+
# change url
|
62
|
+
url = fill_url service.endpoint, params
|
60
63
|
|
61
|
-
|
62
|
-
|
64
|
+
# send request
|
65
|
+
client.send service.type, url, options, headers
|
66
|
+
end
|
67
|
+
|
68
|
+
def method_missing(*args)
|
69
|
+
call_service args[0].to_s, args[1] || {}, args[2] || {}, args[3] || {}
|
70
|
+
end
|
63
71
|
end
|
64
72
|
end
|
data/lib/bungie_client.rb
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
|
2
|
-
require "hashie"
|
3
|
-
require "faraday"
|
4
|
-
require "faraday_middleware"
|
1
|
+
# frozen_string_literal: true
|
5
2
|
|
6
|
-
require
|
7
|
-
require
|
8
|
-
require
|
9
|
-
require
|
3
|
+
require 'multi_json'
|
4
|
+
require 'hashie'
|
5
|
+
require 'faraday'
|
6
|
+
require 'faraday_middleware'
|
7
|
+
|
8
|
+
require 'bungie_client/version'
|
9
|
+
require 'bungie_client/client'
|
10
|
+
require 'bungie_client/service'
|
11
|
+
require 'bungie_client/wrapper'
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'yaml'
|
2
4
|
require 'hashie'
|
3
5
|
require 'nokogiri'
|
@@ -17,9 +19,9 @@ task :parse_services do
|
|
17
19
|
next if tds.nil? || tds[1].nil?
|
18
20
|
|
19
21
|
service = {
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
22
|
+
name: tds[1].text,
|
23
|
+
method: (tds[0]&.text.downcase || 'get'),
|
24
|
+
endpoint: (tds[2]&.text || '')
|
23
25
|
}
|
24
26
|
service[:endpoint].slice! 0
|
25
27
|
|
data/lib/underscore.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class String
|
2
4
|
# Transform string to snake case
|
3
5
|
def underscore
|
4
|
-
|
5
|
-
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2')
|
6
|
-
gsub(/([a-z\d])([A-Z])/,'\1_\2')
|
7
|
-
tr(
|
8
|
-
downcase
|
6
|
+
gsub(/::/, '/')
|
7
|
+
.gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
|
8
|
+
.gsub(/([a-z\d])([A-Z])/, '\1_\2')
|
9
|
+
.tr('- ', '_')
|
10
|
+
.downcase
|
9
11
|
end
|
10
|
-
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bungie_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Ruban
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,75 +67,75 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: faraday
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0.11'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0.11'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: faraday_middleware
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: hashie
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '3.4'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '3.4'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: httpclient
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '2.8'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '2.8'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: multi_json
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '1.12'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '1.12'
|
139
139
|
description: This gem makes possible to use Bungie API (and Destiny API too). It can
|
140
140
|
be useful, if you decide create your application for Destiny Game (https://www.bungie.net/en/pub/AboutDestiny).
|
141
141
|
email:
|
@@ -144,6 +144,7 @@ executables: []
|
|
144
144
|
extensions: []
|
145
145
|
extra_rdoc_files: []
|
146
146
|
files:
|
147
|
+
- ".circleci/config.yml"
|
147
148
|
- ".gitignore"
|
148
149
|
- ".travis.yml"
|
149
150
|
- CHANGELOG.md
|
@@ -167,7 +168,7 @@ homepage: https://github.com/RuBAN-GT/bungie_client
|
|
167
168
|
licenses:
|
168
169
|
- MIT
|
169
170
|
metadata: {}
|
170
|
-
post_install_message:
|
171
|
+
post_install_message:
|
171
172
|
rdoc_options: []
|
172
173
|
require_paths:
|
173
174
|
- lib
|
@@ -182,9 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
183
|
- !ruby/object:Gem::Version
|
183
184
|
version: '0'
|
184
185
|
requirements: []
|
185
|
-
|
186
|
-
|
187
|
-
signing_key:
|
186
|
+
rubygems_version: 3.2.3
|
187
|
+
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: This gem makes possible to use Bungie API (and Destiny API too).
|
190
190
|
test_files: []
|