ghost_adapter 0.3.0 → 0.4.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: b3ea686449861456ca4af2d1131a05a2a3b93d902204735d7e4d9b08db5558ce
4
- data.tar.gz: dd72fcde19d24978fbdc164de6b8484b1ed5af236cb518276328134e116468df
3
+ metadata.gz: 7a5270ce864f3b341d77d8185acd6ffe0f69b5c74d6334c86e9be29bce4bee02
4
+ data.tar.gz: 7647406246ef3276dc83a6f296b9c9a72e2b769ea3ad8f8b17063394540975c1
5
5
  SHA512:
6
- metadata.gz: 2e7ee85dcaa85e110c74f375b2ac84722cd14e873e78e4e36ea76308dac4382999e7bbbc0a625840e3aa5859e4b1a88a1536f7842429059469570192b96bfbd5
7
- data.tar.gz: 465882ed84263542c08736980d20fe01e8442019c85171cc587ae8283bc74b7c56c6750d8d3485dabc4bcc8c6b616b7a6e5b551ca09eb0a0cef77d8e474a273b
6
+ metadata.gz: 16fb9da864e52fe07ecab35359ac06d1cd626acbe2640b70793aea63bbc55472cc9b7b3490b5416a5388248232eed282a60db356e900be1c75882ff5181efffe
7
+ data.tar.gz: a7b1f75edd691223e582bda09b10679b819644fdb42e673b0b61d8621250786597810d33f27edce9fa1f21257697dfcf8d5414813c537b3f562d43490c14adb8
@@ -24,6 +24,7 @@ jobs:
24
24
  - "gemfiles/activerecord-5.2.Gemfile"
25
25
  - "gemfiles/activerecord-6.0.Gemfile"
26
26
  - "gemfiles/activerecord-6.1.Gemfile"
27
+ - "gemfiles/activerecord-7.0.Gemfile"
27
28
  exclude:
28
29
  # Ruby 3 is not supported for ActiveRecord < 6.1
29
30
  - ruby-version: "3.0"
@@ -34,6 +35,11 @@ jobs:
34
35
  gemfile: "gemfiles/activerecord-5.2.Gemfile"
35
36
  - ruby-version: "3.0"
36
37
  gemfile: "gemfiles/activerecord-6.0.Gemfile"
38
+ # Ruby >= 2.7 is required for ActiveRecord >= 7
39
+ - ruby-version: "2.5"
40
+ gemfile: "gemfiles/activerecord-7.0.Gemfile"
41
+ - ruby-version: "2.6"
42
+ gemfile: "gemfiles/activerecord-7.0.Gemfile"
37
43
  steps:
38
44
  - uses: actions/checkout@v2
39
45
  - name: Set up Ruby
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.4.0
4
+ - Add support for ActiveRecord 7 ([#67](https://github.com/WeTransfer/ghost_adapter/pull/67))
5
+
3
6
  ## 0.3.0
4
7
  - Fix compatibility for ActiveRecord 6.1 ([#61](https://github.com/WeTransfer/ghost_adapter/pull/61))
5
8
 
@@ -0,0 +1,5 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'activerecord', '~> 7.0'
4
+
5
+ gemspec path: '../'
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.metadata['homepage_uri'] = spec.homepage
16
16
  spec.metadata['source_code_uri'] = spec.homepage
17
+ spec.metadata['rubygems_mfa_required'] = 'true'
17
18
 
18
19
  # Specify which files should be added to the gem when it is released.
19
20
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -22,7 +23,7 @@ Gem::Specification.new do |spec|
22
23
  end
23
24
  spec.require_paths = ['lib']
24
25
 
25
- spec.add_dependency 'activerecord', '>= 5', '< 6.2'
26
+ spec.add_dependency 'activerecord', '>= 5', '<= 7.0'
26
27
  spec.add_dependency 'mysql2', '>= 0.4.0', '< 0.6.0'
27
28
 
28
29
  spec.add_development_dependency 'bump', '~> 0'
@@ -1,3 +1,3 @@
1
1
  module GhostAdapter
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghost_adapter
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
  - Austin C Roos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -17,9 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5'
20
- - - "<"
20
+ - - "<="
21
21
  - !ruby/object:Gem::Version
22
- version: '6.2'
22
+ version: '7.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +27,9 @@ dependencies:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '5'
30
- - - "<"
30
+ - - "<="
31
31
  - !ruby/object:Gem::Version
32
- version: '6.2'
32
+ version: '7.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: mysql2
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -161,6 +161,7 @@ files:
161
161
  - gemfiles/activerecord-5.2.Gemfile
162
162
  - gemfiles/activerecord-6.0.Gemfile
163
163
  - gemfiles/activerecord-6.1.Gemfile
164
+ - gemfiles/activerecord-7.0.Gemfile
164
165
  - ghost_adapter.gemspec
165
166
  - lib/active_record/connection_adapters/mysql2_ghost_adapter.rb
166
167
  - lib/generators/ghost_adapter/install_generator.rb
@@ -180,6 +181,7 @@ licenses:
180
181
  metadata:
181
182
  homepage_uri: https://github.com/wetransfer/ghost_adapter
182
183
  source_code_uri: https://github.com/wetransfer/ghost_adapter
184
+ rubygems_mfa_required: 'true'
183
185
  post_install_message:
184
186
  rdoc_options: []
185
187
  require_paths: