my_api_client 0.10.3 → 0.11.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
2
  SHA256:
3
- metadata.gz: fc8721bbc228972f91e1f89b3bcc6a64f677d8568e0b892c938cc75bd18a2dc2
4
- data.tar.gz: 1b09474e9bfb2525435b20ad7241089f2c235c98dbb812498a0eecf6471d3345
3
+ metadata.gz: e2bc661b02a6845ae92ba2548be624861c3438fd094ab9644ae8fe340cf4adf7
4
+ data.tar.gz: 99b85fe9d44cf89095318ebfcff92996d688d0aacf5ef86c65943aab13086c43
5
5
  SHA512:
6
- metadata.gz: 87da5de5e39be01d08be5e2e4cf5dcf02340da658b0c6fce3b5fde9ae7ad175c61bf912bbed0155bce242f51c1c7306306415f38f860ae97ece7737d52c19d0e
7
- data.tar.gz: f2edcb592799dc26e4fbc5ebfc55abc1eb2edc3e120e5c6c297b5397c4f2c381668664070edcaf14780040f07d77e9a37cbc027254c0a87af4c6fb734015123a
6
+ metadata.gz: ac1dcb549f29b4c5abfecf3ec38b87c17758fe4ac2d442b9d6ff873c0ca6a140bafe6d9c5d84ee3a0fde54f098c439ebde7d072a87c883aec138681d8bbb7b4a
7
+ data.tar.gz: 0e18aadcfa83643371ea029552240b8d67826f5c65ffd7ff1a4c9e8c26e0af71839ffccf19a9426fc57182e23601865615ed4d06f060e61c8a5e797f6298ec5d
data/.circleci/config.yml CHANGED
@@ -12,13 +12,13 @@ references:
12
12
  - &ruby_version
13
13
  ruby_version:
14
14
  type: enum
15
- enum: ['2.4', '2.5', '2.6']
16
- default: '2.4'
15
+ enum: ['2.4', '2.5', '2.6', '2.7']
16
+ default: '2.7'
17
17
  - &rails_version
18
18
  rails_version:
19
19
  type: enum
20
20
  enum: ['4.2', '5.0', '5.1', '5.2', '6.0']
21
- default: '4.2'
21
+ default: '6.0'
22
22
  - &bundler_options
23
23
  bundler_options:
24
24
  type: string
@@ -115,6 +115,9 @@ commands:
115
115
  <<: *bundler_options
116
116
  steps:
117
117
  - checkout
118
+ - run:
119
+ name: Install Bundler 2.x
120
+ command: gem install bundler:2.1.2
118
121
  - ruby-orbs/bundle-install:
119
122
  cache_key_prefix: v1-dependencies-<< parameters.ruby_version >>
120
123
  bundle_extra_args: << parameters.bundler_options >>
@@ -151,7 +154,7 @@ jobs:
151
154
  - code-climate/install
152
155
  - code-climate/sum-coverage:
153
156
  input: codeclimate.*.json
154
- parts: 16
157
+ parts: 19
155
158
  - code-climate/upload-coverage
156
159
  rubocop:
157
160
  executor: default
@@ -228,23 +231,33 @@ workflows:
228
231
  ruby_version: '2.6'
229
232
  rails_version: '5.1'
230
233
  - build:
231
- name: build_on_ruby_2.6_and_rails_5.2_with_integrations
234
+ name: build_on_ruby_2.6_and_rails_5.2
232
235
  ruby_version: '2.6'
233
236
  rails_version: '5.2'
234
- bundler_options: '--with integrations'
235
237
  - build:
236
- name: build_on_ruby_2.6_and_rails_5.2_without_integrations
238
+ name: build_on_ruby_2.6_and_rails_6.0
237
239
  ruby_version: '2.6'
240
+ rails_version: '6.0'
241
+ - build:
242
+ name: build_on_ruby_2.7_and_rails_5.0
243
+ ruby_version: '2.7'
244
+ rails_version: '5.0'
245
+ - build:
246
+ name: build_on_ruby_2.7_and_rails_5.1
247
+ ruby_version: '2.7'
248
+ rails_version: '5.1'
249
+ - build:
250
+ name: build_on_ruby_2.7_and_rails_5.2
251
+ ruby_version: '2.7'
238
252
  rails_version: '5.2'
239
- bundler_options: '--without integrations'
240
253
  - build:
241
- name: build_on_ruby_2.6_and_rails_6.0_with_integrations
242
- ruby_version: '2.6'
254
+ name: build_on_ruby_2.7_and_rails_6.0_with_integrations
255
+ ruby_version: '2.7'
243
256
  rails_version: '6.0'
244
257
  bundler_options: '--with integrations'
245
258
  - build:
246
- name: build_on_ruby_2.6_and_rails_6.0_without_integrations
247
- ruby_version: '2.6'
259
+ name: build_on_ruby_2.7_and_rails_6.0_without_integrations
260
+ ruby_version: '2.7'
248
261
  rails_version: '6.0'
249
262
  bundler_options: '--without integrations'
250
263
  - rubocop
@@ -263,10 +276,13 @@ workflows:
263
276
  - build_on_ruby_2.6_and_rails_4.2
264
277
  - build_on_ruby_2.6_and_rails_5.0
265
278
  - build_on_ruby_2.6_and_rails_5.1
266
- - build_on_ruby_2.6_and_rails_5.2_with_integrations
267
- - build_on_ruby_2.6_and_rails_5.2_without_integrations
268
- - build_on_ruby_2.6_and_rails_6.0_with_integrations
269
- - build_on_ruby_2.6_and_rails_6.0_without_integrations
279
+ - build_on_ruby_2.6_and_rails_5.2
280
+ - build_on_ruby_2.6_and_rails_6.0
281
+ - build_on_ruby_2.7_and_rails_5.0
282
+ - build_on_ruby_2.7_and_rails_5.1
283
+ - build_on_ruby_2.7_and_rails_5.2
284
+ - build_on_ruby_2.7_and_rails_6.0_with_integrations
285
+ - build_on_ruby_2.7_and_rails_6.0_without_integrations
270
286
  - release:
271
287
  context: RubyGems API Key
272
288
  requires:
@@ -282,10 +298,13 @@ workflows:
282
298
  - build_on_ruby_2.6_and_rails_4.2
283
299
  - build_on_ruby_2.6_and_rails_5.0
284
300
  - build_on_ruby_2.6_and_rails_5.1
285
- - build_on_ruby_2.6_and_rails_5.2_with_integrations
286
- - build_on_ruby_2.6_and_rails_5.2_without_integrations
287
- - build_on_ruby_2.6_and_rails_6.0_with_integrations
288
- - build_on_ruby_2.6_and_rails_6.0_without_integrations
301
+ - build_on_ruby_2.6_and_rails_5.2
302
+ - build_on_ruby_2.6_and_rails_6.0
303
+ - build_on_ruby_2.7_and_rails_5.0
304
+ - build_on_ruby_2.7_and_rails_5.1
305
+ - build_on_ruby_2.7_and_rails_5.2
306
+ - build_on_ruby_2.7_and_rails_6.0_with_integrations
307
+ - build_on_ruby_2.7_and_rails_6.0_without_integrations
289
308
  - rubocop
290
309
  filters:
291
310
  branches:
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-11-27 23:40:54 +0000 using RuboCop version 0.77.0.
3
+ # on 2020-01-08 23:41:00 +0000 using RuboCop version 0.79.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Change log
2
2
 
3
+ ## v0.11.0 (Jan 16, 2020)
4
+
5
+ ### Feature
6
+
7
+ * [#170](https://github.com/ryz310/my_api_client/pull/170) Support ruby 2.7 ([@ryz310](https://github.com/ryz310))
8
+
9
+ ### Rubocop Challenge
10
+
11
+ * [#158](https://github.com/ryz310/my_api_client/pull/158) Re-generate .rubocop_todo.yml with RuboCop v0.78.0 ([@ryz310](https://github.com/ryz310))
12
+ * [#168](https://github.com/ryz310/my_api_client/pull/168) Re-generate .rubocop_todo.yml with RuboCop v0.79.0 ([@ryz310](https://github.com/ryz310))
13
+
14
+ ### Dependabot
15
+
16
+ * [#156](https://github.com/ryz310/my_api_client/pull/156) Bump rubocop-rspec from 1.37.0 to 1.37.1 ([@ryz310](https://github.com/ryz310))
17
+ * [#159](https://github.com/ryz310/my_api_client/pull/159) Bump rubocop-performance from 1.5.1 to 1.5.2 ([@ryz310](https://github.com/ryz310))
18
+
3
19
  ## v0.10.3 (Dec 05, 2019)
4
20
 
5
21
  ### Bugfix
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my_api_client (0.10.3)
4
+ my_api_client (0.11.0)
5
5
  activesupport (>= 4.2.0)
6
6
  faraday (>= 0.17.1)
7
7
  jsonpath
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (5.2.4)
13
+ activesupport (5.2.4.1)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
15
  i18n (>= 0.7, < 2)
16
16
  minitest (~> 5.1)
@@ -27,22 +27,22 @@ GEM
27
27
  safe_yaml (~> 1.0.0)
28
28
  diff-lcs (1.3)
29
29
  docile (1.3.2)
30
- faraday (0.17.1)
30
+ faraday (1.0.0)
31
31
  multipart-post (>= 1.2, < 3)
32
32
  hashdiff (1.0.0)
33
- i18n (1.7.0)
33
+ i18n (1.8.2)
34
34
  concurrent-ruby (~> 1.0)
35
35
  jaro_winkler (1.5.4)
36
- json (2.2.0)
36
+ json (2.3.0)
37
37
  jsonpath (1.0.5)
38
38
  multi_json
39
39
  to_regexp (~> 0.2.1)
40
40
  method_source (0.9.2)
41
- minitest (5.13.0)
41
+ minitest (5.14.0)
42
42
  multi_json (1.14.1)
43
43
  multipart-post (2.1.1)
44
44
  parallel (1.19.1)
45
- parser (2.6.5.0)
45
+ parser (2.7.0.2)
46
46
  ast (~> 2.4.0)
47
47
  pry (0.12.2)
48
48
  coderay (~> 1.1.0)
@@ -50,34 +50,34 @@ GEM
50
50
  pry-byebug (3.7.0)
51
51
  byebug (~> 11.0)
52
52
  pry (~> 0.10)
53
- public_suffix (4.0.1)
53
+ public_suffix (4.0.3)
54
54
  rainbow (3.0.0)
55
55
  rake (13.0.1)
56
56
  rspec (3.9.0)
57
57
  rspec-core (~> 3.9.0)
58
58
  rspec-expectations (~> 3.9.0)
59
59
  rspec-mocks (~> 3.9.0)
60
- rspec-core (3.9.0)
61
- rspec-support (~> 3.9.0)
60
+ rspec-core (3.9.1)
61
+ rspec-support (~> 3.9.1)
62
62
  rspec-expectations (3.9.0)
63
63
  diff-lcs (>= 1.2.0, < 2.0)
64
64
  rspec-support (~> 3.9.0)
65
- rspec-mocks (3.9.0)
65
+ rspec-mocks (3.9.1)
66
66
  diff-lcs (>= 1.2.0, < 2.0)
67
67
  rspec-support (~> 3.9.0)
68
- rspec-support (3.9.0)
68
+ rspec-support (3.9.2)
69
69
  rspec_junit_formatter (0.4.1)
70
70
  rspec-core (>= 2, < 4, != 2.12.0)
71
- rubocop (0.77.0)
71
+ rubocop (0.79.0)
72
72
  jaro_winkler (~> 1.5.1)
73
73
  parallel (~> 1.10)
74
- parser (>= 2.6)
74
+ parser (>= 2.7.0.1)
75
75
  rainbow (>= 2.2.2, < 4.0)
76
76
  ruby-progressbar (~> 1.7)
77
77
  unicode-display_width (>= 1.4.0, < 1.7)
78
- rubocop-performance (1.5.1)
78
+ rubocop-performance (1.5.2)
79
79
  rubocop (>= 0.71.0)
80
- rubocop-rspec (1.37.0)
80
+ rubocop-rspec (1.37.1)
81
81
  rubocop (>= 0.68.1)
82
82
  ruby-progressbar (1.10.1)
83
83
  safe_yaml (1.0.5)
@@ -91,14 +91,14 @@ GEM
91
91
  simplecov-html (0.10.2)
92
92
  thread_safe (0.3.6)
93
93
  to_regexp (0.2.1)
94
- tzinfo (1.2.5)
94
+ tzinfo (1.2.6)
95
95
  thread_safe (~> 0.1)
96
96
  unicode-display_width (1.6.0)
97
- webmock (3.7.6)
97
+ webmock (3.8.0)
98
98
  addressable (>= 2.3.6)
99
99
  crack (>= 0.3.2)
100
100
  hashdiff (>= 0.4.0, < 2.0.0)
101
- yard (0.9.20)
101
+ yard (0.9.24)
102
102
 
103
103
  PLATFORMS
104
104
  ruby
@@ -106,7 +106,7 @@ PLATFORMS
106
106
  DEPENDENCIES
107
107
  activesupport (< 6.0.0)
108
108
  bugsnag (>= 6.11.0)
109
- bundler (~> 1.16)
109
+ bundler (>= 2.0)
110
110
  my_api_client!
111
111
  pry-byebug
112
112
  rake (~> 13.0)
@@ -120,4 +120,4 @@ DEPENDENCIES
120
120
  yard
121
121
 
122
122
  BUNDLED WITH
123
- 1.17.3
123
+ 2.1.2
data/README.jp.md CHANGED
@@ -10,7 +10,7 @@ MyApiClient は API リクエストクラスを作成するための汎用的な
10
10
 
11
11
  ## Supported Versions
12
12
 
13
- * Ruby 2.4, 2.5, 2.6
13
+ * Ruby 2.4, 2.5, 2.6, 2.7
14
14
  * Rails 4.2, 5.0, 5.1, 5.2, 6.0
15
15
 
16
16
  ## Installation
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MyApiClient
4
- VERSION = '0.10.3'
4
+ VERSION = '0.11.0'
5
5
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'jsonpath'
28
28
  spec.add_dependency 'sawyer', '>= 0.8.2'
29
29
 
30
- spec.add_development_dependency 'bundler', '~> 1.16'
30
+ spec.add_development_dependency 'bundler', '>= 2.0'
31
31
  spec.add_development_dependency 'pry-byebug'
32
32
  spec.add_development_dependency 'rake', '~> 13.0'
33
33
  spec.add_development_dependency 'rspec'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryz310
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2020-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '1.16'
75
+ version: '2.0'
76
76
  type: :development
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.16'
82
+ version: '2.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry-byebug
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -296,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
296
  - !ruby/object:Gem::Version
297
297
  version: '0'
298
298
  requirements: []
299
- rubygems_version: 3.0.3
299
+ rubygems_version: 3.1.2
300
300
  signing_key:
301
301
  specification_version: 4
302
302
  summary: The framework of Web API Client