kentaa-api 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58138e9b4ca52fbd0e9af4db524365bfed6f349ba30fb498c2078aaeeb280dd8
4
- data.tar.gz: 01b8334eb0e53bee3cc4d5bc6f48047a1ec8189348c142deeefeee9c54ac32ab
3
+ metadata.gz: 171b132f3b3b7a9df26cf45561d616267e497fc67c73db1c4461b5de843c88db
4
+ data.tar.gz: 224ff4b957155d37c4bb01419b9fbdb6a5c73d86f40cc31b7f2e914c88800269
5
5
  SHA512:
6
- metadata.gz: 67f498117301de1f06b0e233fa7771cc41a8afbc41f27f3dc1a5124a1145463efeb9dae068d758fc8f867484f83973dce97972998307eea663e77a78367ed843
7
- data.tar.gz: e5b371bac8cdaaccc5c133581176a1c28c364c997fecb6d7611ad60d0fb60faba2452ac7bb39e0b450db084761c8644a8c7f0768d863f5efb118e43cff945d96
6
+ metadata.gz: 57a28c3a2dfc6722541b377c93d9b0ce195fde1ed3920ad5d1e434fbb7124da785f26265a8ce83d1c4240ae02d617a2b6fd5cb060ae43ab246cd29e973aac75b
7
+ data.tar.gz: 510d16535648a9987e652305cae84ebc4665c1084558cb87e0b3e82ff578a443ee1c671cf5309ea4ea868753e70b82514fa2f49cd8c023effaa179a35add3f6f
data/.rubocop.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  # Kentaa-API RuboCop configuration
2
2
 
3
- require: rubocop-rspec
3
+ require:
4
+ - rubocop-performance
5
+ - rubocop-rspec
4
6
 
5
7
  AllCops:
6
8
  TargetRubyVersion: 2.3
data/.travis.yml CHANGED
@@ -6,6 +6,6 @@ before_install:
6
6
  - gem update bundler
7
7
  rvm:
8
8
  - 2.3.8
9
- - 2.4.6
10
- - 2.5.5
11
- - 2.6.3
9
+ - 2.4.9
10
+ - 2.5.7
11
+ - 2.6.5
data/Gemfile CHANGED
@@ -5,5 +5,6 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in kentaa-api.gemspec
6
6
  gemspec
7
7
 
8
- gem 'rubocop', '~> 0.72.0'
9
- gem 'rubocop-rspec', '~> 1.33.0'
8
+ gem 'rubocop', '~> 0.75.0'
9
+ gem 'rubocop-performance', '~> 1.5.0'
10
+ gem 'rubocop-rspec', '~> 1.36.0'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kentaa-api (0.3.0)
4
+ kentaa-api (0.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -14,8 +14,8 @@ GEM
14
14
  diff-lcs (1.3)
15
15
  hashdiff (0.3.7)
16
16
  jaro_winkler (1.5.3)
17
- parallel (1.17.0)
18
- parser (2.6.3.0)
17
+ parallel (1.18.0)
18
+ parser (2.6.5.0)
19
19
  ast (~> 2.4.0)
20
20
  public_suffix (3.0.3)
21
21
  rainbow (3.0.0)
@@ -33,15 +33,17 @@ GEM
33
33
  diff-lcs (>= 1.2.0, < 2.0)
34
34
  rspec-support (~> 3.8.0)
35
35
  rspec-support (3.8.0)
36
- rubocop (0.72.0)
36
+ rubocop (0.75.0)
37
37
  jaro_winkler (~> 1.5.1)
38
38
  parallel (~> 1.10)
39
39
  parser (>= 2.6)
40
40
  rainbow (>= 2.2.2, < 4.0)
41
41
  ruby-progressbar (~> 1.7)
42
42
  unicode-display_width (>= 1.4.0, < 1.7)
43
- rubocop-rspec (1.33.0)
44
- rubocop (>= 0.60.0)
43
+ rubocop-performance (1.5.0)
44
+ rubocop (>= 0.71.0)
45
+ rubocop-rspec (1.36.0)
46
+ rubocop (>= 0.68.1)
45
47
  ruby-progressbar (1.10.1)
46
48
  safe_yaml (1.0.4)
47
49
  unicode-display_width (1.6.0)
@@ -58,9 +60,10 @@ DEPENDENCIES
58
60
  kentaa-api!
59
61
  rake (~> 10.0)
60
62
  rspec (~> 3.0)
61
- rubocop (~> 0.72.0)
62
- rubocop-rspec (~> 1.33.0)
63
+ rubocop (~> 0.75.0)
64
+ rubocop-performance (~> 1.5.0)
65
+ rubocop-rspec (~> 1.36.0)
63
66
  webmock (~> 2.3, >= 2.3.2)
64
67
 
65
68
  BUNDLED WITH
66
- 1.17.1
69
+ 1.17.3
@@ -15,7 +15,7 @@ module Kentaa
15
15
  end
16
16
 
17
17
  def http_code
18
- response.code
18
+ response.http_code
19
19
  end
20
20
  end
21
21
  end
@@ -24,6 +24,10 @@ module Kentaa
24
24
  response.code.to_i
25
25
  end
26
26
 
27
+ def request_uri
28
+ response.uri
29
+ end
30
+
27
31
  def message
28
32
  body[:message]
29
33
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kentaa
4
4
  module Api
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kentaa-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-03 00:00:00.000000000 Z
11
+ date: 2019-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler