flipper-active_record 1.3.2 → 1.3.3
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 +4 -4
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/adapters/active_record_spec.rb +7 -4
- metadata +7 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45c10d391c587e3416261de98fd324e912f4406d1f436fc44acadf3720ab6bd0
|
4
|
+
data.tar.gz: d150526b605738b91bc37a0c7dab8964ad4b2ddcfa07bc5400739074e39af73b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72806c21616f5fe5abc4696898b8e0071ab23930c5789c88e235f71f5aa578e8814b19d1a292c8a58863a6666a2b50e00e79034b1277708896ae2f9f44099b99
|
7
|
+
data.tar.gz: b6f5e80ea899277afcb0cde6b1ffeaed61171a2dc82ade9cc732dfb51f6f055bda327e8f9bacb5bbfb7f1e03fc33ad89e99c1c9fe863a21a5385049cc3cd00c0
|
data/lib/flipper/version.rb
CHANGED
@@ -9,9 +9,10 @@ RSpec.describe Flipper::Adapters::ActiveRecord do
|
|
9
9
|
|
10
10
|
before(:all) do
|
11
11
|
# Eval migration template so we can run migration against each database
|
12
|
-
|
12
|
+
template_path = File.join(File.dirname(__FILE__), '../../../lib/generators/flipper/templates/migration.erb')
|
13
|
+
migration = ERB.new(File.read(template_path))
|
13
14
|
migration_version = "[#{ActiveRecord::VERSION::MAJOR}.#{ActiveRecord::VERSION::MINOR}]"
|
14
|
-
eval migration.
|
15
|
+
eval migration.result_with_hash(migration_version: migration_version) # defines CreateFlipperTables
|
15
16
|
end
|
16
17
|
|
17
18
|
[
|
@@ -52,8 +53,10 @@ RSpec.describe Flipper::Adapters::ActiveRecord do
|
|
52
53
|
end
|
53
54
|
|
54
55
|
before(:each) do
|
55
|
-
|
56
|
-
|
56
|
+
silence do
|
57
|
+
ActiveRecord::Tasks::DatabaseTasks.purge(config)
|
58
|
+
CreateFlipperTables.migrate(:up)
|
59
|
+
end
|
57
60
|
end
|
58
61
|
|
59
62
|
after(:all) do
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-active_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: flipper
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3.
|
18
|
+
version: 1.3.3
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.3.
|
25
|
+
version: 1.3.3
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: activerecord
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,7 +43,6 @@ dependencies:
|
|
44
43
|
- - "<"
|
45
44
|
- !ruby/object:Gem::Version
|
46
45
|
version: '9'
|
47
|
-
description:
|
48
46
|
email: support@flippercloud.io
|
49
47
|
executables: []
|
50
48
|
extensions: []
|
@@ -74,8 +72,8 @@ metadata:
|
|
74
72
|
homepage_uri: https://www.flippercloud.io
|
75
73
|
source_code_uri: https://github.com/flippercloud/flipper
|
76
74
|
bug_tracker_uri: https://github.com/flippercloud/flipper/issues
|
77
|
-
changelog_uri: https://github.com/flippercloud/flipper/releases/tag/v1.3.
|
78
|
-
|
75
|
+
changelog_uri: https://github.com/flippercloud/flipper/releases/tag/v1.3.3
|
76
|
+
funding_uri: https://github.com/sponsors/flippercloud
|
79
77
|
rdoc_options: []
|
80
78
|
require_paths:
|
81
79
|
- lib
|
@@ -90,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
88
|
- !ruby/object:Gem::Version
|
91
89
|
version: '0'
|
92
90
|
requirements: []
|
93
|
-
rubygems_version: 3.5
|
94
|
-
signing_key:
|
91
|
+
rubygems_version: 3.6.5
|
95
92
|
specification_version: 4
|
96
93
|
summary: ActiveRecord feature flag adapter for Flipper
|
97
94
|
test_files:
|