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 +4 -4
- data/.github/workflows/ruby.yml +3 -10
- data/CHANGES.md +5 -0
- data/gemfiles/active_support_6_0 +2 -1
- data/gemfiles/active_support_6_1 +2 -1
- data/gemfiles/active_support_7_0 +2 -1
- data/lib/couch_potato/railtie.rb +4 -1
- data/lib/couch_potato/version.rb +1 -1
- metadata +2 -5
- data/gemfiles/active_support_5_0 +0 -6
- data/gemfiles/active_support_5_1 +0 -7
- data/gemfiles/active_support_5_2 +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a7bdcd820492f1ac93c757f8438d2659610ed06dc8b6dd2dcb62d6bcfa8434f
|
4
|
+
data.tar.gz: 4d3d52005c4d7647291d35f1437c7be05326526f71ab3232d46556f398b2d0fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac20227b8dfb0288d09e70dc515e90f0625660606ab130b0d0b8433591a2fd3247030b88c6137e60f20cf9e87862fa683276143ddfee3c8f7016e42deb69ea9d
|
7
|
+
data.tar.gz: 4c57160eb81d99070ee30bcb53723ece6de752af76b97ea7349f1bd0a5266bdd27f50b71461203d9b57799891a5f933333689a18a53e0badc1d304957d70337b
|
data/.github/workflows/ruby.yml
CHANGED
@@ -16,11 +16,8 @@ jobs:
|
|
16
16
|
strategy:
|
17
17
|
fail-fast: false
|
18
18
|
matrix:
|
19
|
-
ruby: [2.7,
|
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: "
|
32
|
-
- ruby: "3.
|
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
data/gemfiles/active_support_6_0
CHANGED
data/gemfiles/active_support_6_1
CHANGED
data/gemfiles/active_support_7_0
CHANGED
data/lib/couch_potato/railtie.rb
CHANGED
@@ -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(
|
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.'
|
data/lib/couch_potato/version.rb
CHANGED
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.
|
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.
|
234
|
+
rubygems_version: 3.3.3
|
238
235
|
signing_key:
|
239
236
|
specification_version: 4
|
240
237
|
summary: Ruby persistence layer for CouchDB
|
data/gemfiles/active_support_5_0
DELETED
data/gemfiles/active_support_5_1
DELETED