activerecord-forbid_implicit_connection_checkout 0.3.0 → 0.4.0

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
  SHA1:
3
- metadata.gz: 66ce93f1d0d249cf25cec1d3433dc2d3de69b8fe
4
- data.tar.gz: 86243d25200feaa7145abc1a179986056812b62c
3
+ metadata.gz: 3ac747df3b94bb873439f6ee43c6ba4df6a20597
4
+ data.tar.gz: 1c7befbb431600ab107f80c19a08aeecbac1d079
5
5
  SHA512:
6
- metadata.gz: e2c8c2d0467848886581261f19913eff10f4915b53c31a820cbe5ddac178dafc19784b71130f767999d3c57be4491fbc5e518beb6e7e22a27f2138156b4b4e36
7
- data.tar.gz: 59528c8ce3398d38eff918bffbf5067529dc0947840b649e6886949f367dc37a2901e480e9d4dcd38a73b8d912f51a15aac0bcc6be3b22e1474820102c9ff456
6
+ metadata.gz: 48834c83f812311634c80e14377e641b65008f8dd075bd5c4e31737113f7bf4cf282dec4c8f0dbb6e540db02dc318c4f88c35ce904cb353cbf01542d9b76ad2d
7
+ data.tar.gz: 0a7871f5e9adcdbf5b25618391a74b0fe153c013d3703612bd45f018334f5e2568df3664601cdfd26b923f3614016ee0d20a223ae6111a29e563f4fcce3dc0b1
data/.travis.yml CHANGED
@@ -2,10 +2,12 @@ language: ruby
2
2
  gemfile:
3
3
  - gemfiles/rails_5.0.gemfile
4
4
  - gemfiles/rails_5.1.gemfile
5
+ - gemfiles/rails_5.2.gemfile
5
6
  rvm:
6
7
  - 2.2.8
7
8
  - 2.3.6
8
9
  - 2.4.3
10
+ - 2.5.1
9
11
  before_install: gem install bundler -v 1.12.4
10
12
  script:
11
13
  - bundle exec rubocop
data/Appraisals CHANGED
@@ -1,11 +1,17 @@
1
1
  appraise 'rails-5.0' do
2
- gem 'activerecord', '5.0.6'
3
- gem 'activesupport', '5.0.6'
4
- gem 'activemodel', '5.0.6'
2
+ gem 'activerecord', '5.0.7'
3
+ gem 'activesupport', '5.0.7'
4
+ gem 'activemodel', '5.0.7'
5
5
  end
6
6
 
7
7
  appraise 'rails-5.1' do
8
- gem 'activerecord', '5.1.4'
9
- gem 'activesupport', '5.1.4'
10
- gem 'activemodel', '5.1.4'
8
+ gem 'activerecord', '5.1.6'
9
+ gem 'activesupport', '5.1.6'
10
+ gem 'activemodel', '5.1.6'
11
+ end
12
+
13
+ appraise 'rails-5.2' do
14
+ gem 'activerecord', '5.2.0'
15
+ gem 'activesupport', '5.2.0'
16
+ gem 'activemodel', '5.2.0'
11
17
  end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # activerecord-forbid_implicit_checkout
2
2
 
3
+ ## v0.4.0
4
+ - Add rails 5.2 support
5
+
3
6
  ## v0.3.0
4
7
  - Set required_ruby_version >= 2.2 in gemspec
5
8
 
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/salsify/activerecord-forbid_implicit_connection_checkout.svg?branch=master)](https://travis-ci.org/salsify/activerecord-forbid_implicit_connection_checkout)
2
+
1
3
  # ActiveRecord-ForbidImplicitCheckout
2
4
 
3
5
  This gem allows a `Thread` to prevent itself from checking out out an ActiveRecord connection. This can be useful
@@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
29
29
  spec.bindir = 'bin'
30
30
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
31
31
  spec.require_paths = ['lib']
32
- spec.add_dependency 'activerecord', '>= 5', '< 5.2'
33
- spec.add_dependency 'activemodel', '>= 5', '< 5.2'
34
- spec.add_dependency 'activesupport', '>= 5', '< 5.2'
32
+ spec.add_dependency 'activerecord', '>= 5', '< 5.3'
33
+ spec.add_dependency 'activemodel', '>= 5', '< 5.3'
34
+ spec.add_dependency 'activesupport', '>= 5', '< 5.3'
35
35
 
36
36
  spec.add_development_dependency 'bundler', '~> 1.12'
37
37
  spec.add_development_dependency 'appraisal'
@@ -2,8 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "5.0.6"
6
- gem "activesupport", "5.0.6"
7
- gem "activemodel", "5.0.6"
5
+ gem "activerecord", "5.0.7"
6
+ gem "activesupport", "5.0.7"
7
+ gem "activemodel", "5.0.7"
8
8
 
9
9
  gemspec path: "../"
@@ -2,8 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "5.1.4"
6
- gem "activesupport", "5.1.4"
7
- gem "activemodel", "5.1.4"
5
+ gem "activerecord", "5.1.6"
6
+ gem "activesupport", "5.1.6"
7
+ gem "activemodel", "5.1.6"
8
8
 
9
9
  gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.2.0"
6
+ gem "activesupport", "5.2.0"
7
+ gem "activemodel", "5.2.0"
8
+
9
+ gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module ForbidImplicitConnectionCheckout
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.4.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-forbid_implicit_connection_checkout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-20 00:00:00.000000000 Z
11
+ date: 2018-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.2'
22
+ version: '5.3'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.2'
32
+ version: '5.3'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activemodel
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '5'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '5.2'
42
+ version: '5.3'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '5'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '5.2'
52
+ version: '5.3'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: activesupport
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '5'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '5.2'
62
+ version: '5.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '5'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '5.2'
72
+ version: '5.3'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: bundler
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -224,6 +224,7 @@ files:
224
224
  - gemfiles/.bundle/config
225
225
  - gemfiles/rails_5.0.gemfile
226
226
  - gemfiles/rails_5.1.gemfile
227
+ - gemfiles/rails_5.2.gemfile
227
228
  - lib/active_record-forbid_implicit_connection_checkout.rb
228
229
  - lib/active_record/forbid_implicit_connection_checkout/connection_override.rb
229
230
  - lib/active_record/forbid_implicit_connection_checkout/prevent_connection_checkout.rb