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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 851207be796c415e6fa8ed192403ea7e49408e2d
4
- data.tar.gz: 775fb8b8253cfaf97f7ecd7a41c75676c494e2f6
2
+ SHA256:
3
+ metadata.gz: df5f143d312b49b9319a8285899ae48ec401857195ae60ca1162fe9e5a52fb45
4
+ data.tar.gz: b80230dae35564621e550e4c936436d576bc31cd355818d3e80c08931dbd879a
5
5
  SHA512:
6
- metadata.gz: b9c75608b9725bcbf82c588f6490caf082ed3a252361cd02bda5fd2b7216f2b95d6da56629e88815eff01f7f1391f846e62caf29b04a1d9dd81009228af9a91b
7
- data.tar.gz: 5d3ced710095d04152499232831db7aacf13c90913f958f4de34b8466e7fec576e725ebeb606364d6e9187d6dbc6b0b8f41dd6d7b1151d492d7bfdf2a94211f8
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
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.2.0
4
+
5
+ Thank you [brrusselburg](https://github.com/brrusselburg) for this release.
6
+
7
+ * Actualised dependencies ([#2](https://github.com/RuBAN-GT/bungie_client/pull/2))
8
+ * Code style updates
9
+
3
10
  ## 2.1.3
4
11
 
5
12
  Hotfix
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
@@ -1,8 +1,10 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
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 :default => :spec
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 "bundler/setup"
4
- require "bungie_client"
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 "irb"
14
+ require 'irb'
14
15
  IRB.start
data/bin/setup CHANGED
File without changes
@@ -1,31 +1,33 @@
1
- lib = File.expand_path('../lib', __FILE__)
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 = "bungie_client"
8
+ spec.name = 'bungie_client'
7
9
  spec.version = BungieClient::VERSION
8
- spec.authors = ["Dmitry Ruban"]
9
- spec.email = ["dkruban@gmail.com"]
10
+ spec.authors = ['Dmitry Ruban']
11
+ spec.email = ['dkruban@gmail.com']
10
12
 
11
- spec.summary = "This gem makes possible to use Bungie API (and Destiny API too)."
12
- 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)."
13
- spec.homepage = "https://github.com/RuBAN-GT/bungie_client"
14
- spec.license = "MIT"
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 = "exe"
19
+ spec.bindir = 'exe'
18
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
- spec.require_paths = ["lib"]
21
+ spec.require_paths = ['lib']
20
22
 
21
- spec.add_development_dependency "bundler", "~> 1.12"
22
- spec.add_development_dependency "rake", "~> 10.0"
23
- spec.add_development_dependency "rspec", "~> 3.0"
24
- spec.add_development_dependency "webmock", "~> 3.0"
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 "multi_json", "~> 1.12"
27
- spec.add_runtime_dependency "hashie", "~> 3.4"
28
- spec.add_runtime_dependency "httpclient", '~> 2.8'
29
- spec.add_runtime_dependency "faraday", "~> 0.11"
30
- spec.add_runtime_dependency "faraday_middleware", "~> 0"
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
@@ -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
- class BungieClient::Client
4
- BUNGIE_URI = 'https://www.bungie.net/Platform'
5
+ module BungieClient
6
+ class Client
7
+ BUNGIE_URI = 'https://www.bungie.net/Platform'
5
8
 
6
- # Format answer from Bungie
7
- #
8
- # @param [String] response
9
- #
10
- # @return [Mash]
11
- def self.parse(response)
12
- response = MultiJson.load response rescue {}
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
- Hashie::Mash.new response
15
- end
21
+ Hashie::Mash.new response
22
+ end
16
23
 
17
- attr_reader :api_key
18
- attr_reader :token
19
- attr_reader :conn
24
+ attr_reader :api_key, :token, :conn
20
25
 
21
- # Init client
22
- #
23
- # @see https://www.bungie.net/en/user/api
24
- #
25
- # Initialize client for bungie api throw hash:
26
- #
27
- # @param [Hash] options
28
- # @option options [String] :api_key
29
- # @option options [String] :token is authorization token from oauth2
30
- def initialize(options)
31
- # Checking options and @api_key
32
- raise 'Wrong options: It must be Hash.' unless options.is_a? Hash
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
- if options[:api_key].nil?
35
- raise "The API-key required for every request to bungie."
36
- else
37
- @api_key = options[:api_key].to_s
38
- end
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
- # Set token
41
- @token = options[:token].to_s unless options[:token].nil?
45
+ # Set token
46
+ @token = options[:token].to_s unless options[:token].nil?
42
47
 
43
- # Init connection
44
- @conn = Faraday.new :url => BUNGIE_URI do |builder|
45
- builder.headers['Content-Type'] = 'application/json'
46
- builder.headers['Accept'] = 'application/json'
47
- builder.headers['X-API-Key'] = @api_key
48
- builder.headers['Authorization'] = "Bearer #{@token}" unless @token.nil?
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
- builder.options.timeout = 5
51
- builder.options.open_timeout = 2
55
+ builder.options.timeout = 5
56
+ builder.options.open_timeout = 2
52
57
 
53
- builder.use FaradayMiddleware::FollowRedirects, :limit => 5
58
+ builder.use FaradayMiddleware::FollowRedirects, limit: 5
54
59
 
55
- builder.adapter :httpclient
60
+ builder.adapter :httpclient
61
+ end
56
62
  end
57
- end
58
63
 
59
- # Get request to bungie service
60
- #
61
- # @see http://destinydevs.github.io/BungieNetPlatform/docs/Endpoints
62
- #
63
- # @param [String] url
64
- # @param [Hash] parameters for http-query
65
- # @param [Hash] headers
66
- #
67
- # @return [Mash]
68
- def get(url, parameters = {}, headers = {})
69
- self.class.parse @conn.get(url, parameters, headers).body rescue Hashie::Mash.new
70
- end
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
- # Post data to Bungie services
73
- #
74
- # @param [String] url
75
- # @param [Hash] query
76
- # @param [Hash] headers
77
- #
78
- # @return [Mash]
79
- def post(url, query = {}, headers = {})
80
- self.class.parse @conn.post(url, query, headers).body rescue Hashie::Mash.new
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
- class BungieClient::Service
3
- attr_reader :type, :name, :endpoint
4
+ module BungieClient
5
+ class Service
6
+ attr_reader :type, :name, :endpoint
4
7
 
5
- # Get list of services
6
- #
7
- # @see http://destinydevs.github.io/BungieNetPlatform/docs/Endpoints
8
- #
9
- # @return [Hash]
10
- def self.services
11
- return @services unless @services.nil?
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
- @services = YAML.load_file "#{File.dirname(__FILE__)}/services.yml" || {}
14
- end
16
+ @services = YAML.load_file "#{File.dirname(__FILE__)}/services.yml" || {}
17
+ end
15
18
 
16
- # Initialize service by name with snake case style
17
- #
18
- # @example service =
19
- #
20
- # @param [String] name
21
- def initialize(name)
22
- service = self.class.services[name]
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
- raise 'Undefined service' if service.nil?
27
+ raise 'Undefined service' if service.nil?
25
28
 
26
- @type = service[:method]
27
- @name = service[:name]
28
- @endpoint = service[:endpoint]
29
+ @type = service[:method]
30
+ @name = service[:name]
31
+ @endpoint = service[:endpoint]
32
+ end
29
33
  end
30
34
  end
File without changes
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module BungieClient
2
- VERSION = '2.1.2.1'
4
+ VERSION = '2.2.0'
3
5
  end
@@ -1,64 +1,72 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Wrapper class for simple api requests
2
- class BungieClient::Wrapper
3
- # Initialize wrapper with client
4
- #
5
- # This initializer create wrapper object with client.
6
- # If you `options` contain `:client` key, it will be taken as client object [BungieClient::Client]. Otherwise it will be passed in client initializer.
7
- #
8
- # @see BungieClient::Client
9
- #
10
- # @param [BungieClient::Client] client initialized for wrapper
11
- # @param [Hash] options for initialization of client
12
- def initialize(options = {})
13
- if options[:client].nil?
14
- @options = options
15
- elsif options[:client].is_a? BungieClient::Client
16
- @client = options[:client]
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
- # Get wrapper client
21
- #
22
- # @return [BungieClient::Client]
23
- def client
24
- return @client unless @client.nil?
23
+ # Get wrapper client
24
+ #
25
+ # @return [BungieClient::Client]
26
+ def client
27
+ return @client unless @client.nil?
25
28
 
26
- @client = BungieClient::Client.new @options
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
- end
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
- # Call needed service from services list
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
- # change url
55
- url = self.fill_url service.endpoint, params
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
- # send request
58
- client.send service.type, url, options, headers
59
- end
61
+ # change url
62
+ url = fill_url service.endpoint, params
60
63
 
61
- def method_missing(*args)
62
- call_service args[0].to_s, args[1] || {}, args[2] || {}, args[3] || {}
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
- require "multi_json"
2
- require "hashie"
3
- require "faraday"
4
- require "faraday_middleware"
1
+ # frozen_string_literal: true
5
2
 
6
- require "bungie_client/version"
7
- require "bungie_client/client"
8
- require "bungie_client/service"
9
- require "bungie_client/wrapper"
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
- :name => tds[1].text,
21
- :method => (tds[0]&.text.downcase || 'get'),
22
- :endpoint => (tds[2]&.text || '')
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
- self.gsub(/::/, '/').
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.1.2.1
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: 2017-09-06 00:00:00.000000000 Z
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: '1.12'
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: '1.12'
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: multi_json
70
+ name: faraday
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.12'
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: '1.12'
82
+ version: '0.11'
83
83
  - !ruby/object:Gem::Dependency
84
- name: hashie
84
+ name: faraday_middleware
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.4'
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: '3.4'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: httpclient
98
+ name: hashie
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.8'
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: '2.8'
110
+ version: '3.4'
111
111
  - !ruby/object:Gem::Dependency
112
- name: faraday
112
+ name: httpclient
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0.11'
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: '0.11'
124
+ version: '2.8'
125
125
  - !ruby/object:Gem::Dependency
126
- name: faraday_middleware
126
+ name: multi_json
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
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: '0'
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
- rubyforge_project:
186
- rubygems_version: 2.6.12
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: []