couch_potato 1.11.0 → 1.12.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: fc65386f8f391b222c93733fbf83cb00050bc37b2fa1787be8d73e4847b2fa43
4
- data.tar.gz: a2c6fe4017c646b3bceaa9baaa236044ffe286fd3380095296a602034511d817
3
+ metadata.gz: 5a7bdcd820492f1ac93c757f8438d2659610ed06dc8b6dd2dcb62d6bcfa8434f
4
+ data.tar.gz: 4d3d52005c4d7647291d35f1437c7be05326526f71ab3232d46556f398b2d0fe
5
5
  SHA512:
6
- metadata.gz: 5f7c933270982e090183aacdb7fdd52e76e2739476e7e4d87cbcad1239c62b4973f31ce62278f181c33612bc6c2dc8ee7abbc2ffca0bef4560b919b8a37359c8
7
- data.tar.gz: 7f79c9a6b3c31f5f1fc0eea3f4a16da6e7cb6ace5a68232a9a127d7d056b5144d88714e12e128a64eba34a9377e073311408077958c14b818c0f4037853a59a5
6
+ metadata.gz: ac20227b8dfb0288d09e70dc515e90f0625660606ab130b0d0b8433591a2fd3247030b88c6137e60f20cf9e87862fa683276143ddfee3c8f7016e42deb69ea9d
7
+ data.tar.gz: 4c57160eb81d99070ee30bcb53723ece6de752af76b97ea7349f1bd0a5266bdd27f50b71461203d9b57799891a5f933333689a18a53e0badc1d304957d70337b
@@ -16,11 +16,8 @@ jobs:
16
16
  strategy:
17
17
  fail-fast: false
18
18
  matrix:
19
- ruby: [2.7, '3.0', "jruby"]
19
+ ruby: [2.7, "3.0", "3.1", "jruby"]
20
20
  gemfile:
21
- - "active_support_5_0"
22
- - "active_support_5_1"
23
- - "active_support_5_2"
24
21
  - "active_support_6_0"
25
22
  - "active_support_6_1"
26
23
  - "active_support_7_0"
@@ -28,12 +25,8 @@ jobs:
28
25
  - ruby: "jruby"
29
26
  gemfile: "active_support_7_0"
30
27
  - ruby: "3.0"
31
- gemfile: "active_support_5_0"
32
- - ruby: "3.0"
33
- gemfile: "active_support_5_1"
34
- - ruby: "3.0"
35
- gemfile: "active_support_5_2"
36
- - ruby: "3.0"
28
+ gemfile: "active_support_6_0"
29
+ - ruby: "3.1"
37
30
  gemfile: "active_support_6_0"
38
31
  steps:
39
32
  - uses: actions/checkout@v2
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## Changes
2
2
 
3
+ # 1.12.0
4
+
5
+ - remove active_support 5.x
6
+ - add Ruby 3.1 support (active_support 6.1, 7.0)
7
+
3
8
  # 1.11.0
4
9
 
5
10
  - improve view_in_batches performance by switching to using startkey_docid over skip
@@ -1,6 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '~>6.0.2.2'
3
+ gem 'railties', '~>6.0.2.2'
4
+ gem 'activemodel'
4
5
  gem 'execjs'
5
6
 
6
7
  gemspec name: 'couch_potato', path: '..'
@@ -1,6 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '~>6.1'
3
+ gem 'railties', '~>6.1'
4
+ gem 'activemodel'
4
5
  gem 'execjs'
5
6
 
6
7
  gemspec name: 'couch_potato', path: '..'
@@ -1,6 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '~>7.0'
3
+ gem 'railties', '~>7.0.4'
4
+ gem 'activemodel'
4
5
  gem 'execjs'
5
6
 
6
7
  gemspec name: 'couch_potato', path: '..'
@@ -8,7 +8,10 @@ module CouchPotato
8
8
  path = Rails.root.join('config/couchdb.yml')
9
9
  if File.exist?(path)
10
10
  require 'yaml'
11
- config = YAML.safe_load(ERB.new(File.read(path)).result, [Symbol], [], ['default'])[Rails.env]
11
+ config = YAML.safe_load(
12
+ ERB.new(File.read(path)).result,
13
+ permitted_classes: [Symbol],
14
+ )[Rails.env]
12
15
  CouchPotato.configure(config)
13
16
  else
14
17
  Rails.logger.warn 'Rails.root/config/couchdb.yml does not exist. Not configuring a database.'
@@ -1,4 +1,4 @@
1
1
  module CouchPotato
2
- VERSION = '1.11.0'.freeze
2
+ VERSION = '1.12.0'.freeze
3
3
  RSPEC_VERSION = '4.0.2'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couch_potato
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Lang
@@ -130,9 +130,6 @@ files:
130
130
  - Rakefile
131
131
  - couch_potato-rspec.gemspec
132
132
  - couch_potato.gemspec
133
- - gemfiles/active_support_5_0
134
- - gemfiles/active_support_5_1
135
- - gemfiles/active_support_5_2
136
133
  - gemfiles/active_support_6_0
137
134
  - gemfiles/active_support_6_1
138
135
  - gemfiles/active_support_7_0
@@ -234,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
231
  - !ruby/object:Gem::Version
235
232
  version: '0'
236
233
  requirements: []
237
- rubygems_version: 3.2.32
234
+ rubygems_version: 3.3.3
238
235
  signing_key:
239
236
  specification_version: 4
240
237
  summary: Ruby persistence layer for CouchDB
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rails', '~>5.0.0'
4
- gem 'execjs'
5
-
6
- gemspec name: 'couch_potato', path: '..'
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activemodel', '~>5.1.7'
4
- gem 'rails', '~>5.1.7'
5
- gem 'execjs'
6
-
7
- gemspec name: 'couch_potato', path: '..'
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rails', '~>5.2.3'
4
- gem 'execjs'
5
-
6
- gemspec name: 'couch_potato', path: '..'