api-auth 2.4.0 → 2.4.1

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: d436a907531dd36a529a79d60ef5192d6b65379e80a35545cd1640ec9c4a08cd
4
- data.tar.gz: 2aaaffd472c764c872b740ba1a17870ad41dc9651863cc71c164a2e1ddfc2074
3
+ metadata.gz: 60f6b22c31a0167767c8aa90d9e831bde874fd6831798d1c1a5104849005a4f4
4
+ data.tar.gz: 9be6acbac2c38e6fc0d0af33d6ba9fd6f9bc4ca0dc5dc6050fee1a8e139d94b5
5
5
  SHA512:
6
- metadata.gz: 484fd40c118f14077f5e5a281729d776a06ff35b2c8c44864436a1ac4f4d2c540b842ff8dc469bf4519c31d8255af87777f552d7eb1e0b6233a3e2d91b4d6e38
7
- data.tar.gz: e2b7f7861678234ead914d4fa06f15c25d4f43274c32e29f962c8e625f5a16c44e8e49840a6ab19b3832fe48af9e491c691b6c3ba4d23d5cadd3e3b7b4c66885
6
+ metadata.gz: 30f33a8543297ceb7e99bb028cca8377e5af639957d9edc06e36f1968d252a0012357030e726d9ff7024ebc99da30e9a1bb324eba686ffb6c784931ac2063620
7
+ data.tar.gz: 00b796d683a878643d152f8bad511f38d92fcf6182e941eff490609b5f122b301b08c8820af7229b9a5b744414ded4069054523244bba571a1bc408da6b4ba06
@@ -8,7 +8,7 @@ Metrics/AbcSize:
8
8
 
9
9
  # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
10
10
  # URISchemes: http, https
11
- Metrics/LineLength:
11
+ Layout/LineLength:
12
12
  Max: 140
13
13
 
14
14
  Metrics/MethodLength:
@@ -2,10 +2,10 @@ language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.3.6
6
5
  - 2.4.3
7
6
  - 2.5.3
8
7
  - 2.6.1
8
+ - 2.7.1
9
9
  gemfile:
10
10
  - gemfiles/rails_5.gemfile
11
11
  - gemfiles/rails_51.gemfile
@@ -25,12 +25,10 @@ script:
25
25
 
26
26
  matrix:
27
27
  include:
28
- - rvm: 2.6.1
28
+ - rvm: 2.7.1
29
29
  gemfile: gemfiles/rails_60.gemfile
30
30
  env: TEST_SUITE="rubocop lib/ spec/"
31
31
  exclude:
32
- - rvm: 2.3.6
33
- gemfile: gemfiles/rails_60.gemfile
34
32
  - rvm: 2.4.3
35
33
  gemfile: gemfiles/rails_60.gemfile
36
34
  env: TEST_SUITE=rake
@@ -1,3 +1,6 @@
1
+ # 2.4.1 (2020-06-23)
2
+ - Fix inadvertant ActiveSupport dependecy (#189 taylorthurlow)
3
+
1
4
  # 2.4.0 (2020-05-05)
2
5
  - Improved support for Rails 6.0 (#179 taylorthurlow, #177 fwininger)
3
6
  - Added Ruby 2.6.0 support (#174 fwininger)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.4.1
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.authors = ['Mauricio Gomes']
10
10
  s.email = 'mauricio@edge14.com'
11
11
 
12
- s.required_ruby_version = '>= 2.3.0'
12
+ s.required_ruby_version = '>= 2.4.0'
13
13
 
14
14
  s.add_development_dependency 'actionpack', '< 6.1', '> 4.0'
15
15
  s.add_development_dependency 'activeresource', '>= 4.0'
@@ -13,8 +13,10 @@ module ApiAuth
13
13
  end
14
14
  end
15
15
 
16
- ActiveSupport.on_load(:action_controller) do
17
- ActionController::Base.include(ControllerMethods::InstanceMethods)
16
+ if defined?(ActiveSupport)
17
+ ActiveSupport.on_load(:action_controller) do
18
+ ActionController::Base.include(ControllerMethods::InstanceMethods)
19
+ end
18
20
  end
19
21
  end # ControllerMethods
20
22
 
@@ -80,9 +82,11 @@ module ApiAuth
80
82
  end
81
83
  end # Connection
82
84
 
83
- ActiveSupport.on_load(:active_resource) do
84
- ActiveResource::Base.include(ActiveResourceApiAuth)
85
- ActiveResource::Connection.include(Connection)
85
+ if defined?(ActiveSupport)
86
+ ActiveSupport.on_load(:active_resource) do
87
+ ActiveResource::Base.include(ActiveResourceApiAuth)
88
+ ActiveResource::Connection.include(Connection)
89
+ end
86
90
  end
87
91
  end # ActiveResourceExtension
88
92
  end # Rails
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauricio Gomes
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-05 00:00:00.000000000 Z
11
+ date: 2020-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -296,7 +296,7 @@ files:
296
296
  homepage: https://github.com/mgomes/api_auth
297
297
  licenses: []
298
298
  metadata: {}
299
- post_install_message:
299
+ post_install_message:
300
300
  rdoc_options: []
301
301
  require_paths:
302
302
  - lib
@@ -304,7 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
304
304
  requirements:
305
305
  - - ">="
306
306
  - !ruby/object:Gem::Version
307
- version: 2.3.0
307
+ version: 2.4.0
308
308
  required_rubygems_version: !ruby/object:Gem::Requirement
309
309
  requirements:
310
310
  - - ">="
@@ -312,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  version: '0'
313
313
  requirements: []
314
314
  rubygems_version: 3.1.2
315
- signing_key:
315
+ signing_key:
316
316
  specification_version: 4
317
317
  summary: Simple HMAC authentication for your APIs
318
318
  test_files: