ardb 0.29.2 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.l.yml +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +7 -4
- data/ardb.gemspec +7 -7
- data/lib/ardb/cli/clirb.rb +2 -6
- data/lib/ardb/relation_spy.rb +1 -1
- data/lib/ardb/require_autoloaded_active_record_files.rb +85 -0
- data/lib/ardb/test_helpers.rb +25 -20
- data/lib/ardb/use_db_default.rb +4 -3
- data/lib/ardb/version.rb +1 -1
- data/lib/ardb.rb +6 -2
- data/test/support/postgresql/setup_test_db.rb +13 -12
- data/test/unit/ardb_tests.rb +11 -4
- data/test/unit/cli_tests.rb +4 -3
- data/test/unit/default_order_by_tests.rb +5 -4
- data/test/unit/record_spy_tests.rb +9 -7
- data/test/unit/use_db_default_tests.rb +13 -10
- metadata +20 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f61742815afbcc9e0a4e2a450864e15297d2dc3d6e4d1b61fcaf62d87551b048
|
4
|
+
data.tar.gz: 388acb5b938c3c51a8d6f9aa1c382fe2310d7ba919c4ef9c2d62bc50c4fffc87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c05d1cefea07609365899f0f08d067a39b326859d86e13c669163658a0f56c0b162fda248be764ecf2c0638108b302893cd58717162027ce474d5fd06cd1db5a
|
7
|
+
data.tar.gz: 5080cb134c4f67bc6a8a6280f70945c0909bcdc4975123069663f5f061c8f63054970b87898e4a9d6f77171bb9ebbc3a88f766b5607040da637713667b5e305c
|
data/.l.yml
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.1.0
|
data/Gemfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
ruby "
|
5
|
+
ruby ">= 2.5"
|
6
6
|
|
7
7
|
gemspec
|
8
8
|
|
@@ -12,9 +12,12 @@ gemspec
|
|
12
12
|
#
|
13
13
|
# to test a specific version.
|
14
14
|
#
|
15
|
+
# Rails 7.0
|
16
|
+
gem "activerecord", "~> 7.0.1"
|
17
|
+
gem "activesupport", "~> 7.0.1"
|
15
18
|
# Rails 6.1
|
16
|
-
gem "activerecord", "~> 6.1"
|
17
|
-
gem "activesupport", "~> 6.1"
|
19
|
+
# gem "activerecord", "~> 6.1"
|
20
|
+
# gem "activesupport", "~> 6.1"
|
18
21
|
# Rails 6.0
|
19
22
|
# gem "activerecord", "~> 6.0.3"
|
20
23
|
# gem "activesupport", "~> 6.0.3"
|
@@ -22,5 +25,5 @@ gem "activesupport", "~> 6.1"
|
|
22
25
|
# gem "activerecord", "~> 5.2.4"
|
23
26
|
# gem "activesupport", "~> 5.2.4"
|
24
27
|
|
25
|
-
gem "pg", "~> 1.
|
28
|
+
gem "pg", "~> 1.3"
|
26
29
|
gem "pry"
|
data/ardb.gemspec
CHANGED
@@ -20,13 +20,13 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
21
21
|
gem.require_paths = ["lib"]
|
22
22
|
|
23
|
-
gem.required_ruby_version = "
|
23
|
+
gem.required_ruby_version = ">= 2.5"
|
24
24
|
|
25
|
-
gem.add_development_dependency("much-style-guide", ["~> 0.6.
|
26
|
-
gem.add_development_dependency("assert", ["~> 2.19.
|
25
|
+
gem.add_development_dependency("much-style-guide", ["~> 0.6.7"])
|
26
|
+
gem.add_development_dependency("assert", ["~> 2.19.8"])
|
27
27
|
|
28
|
-
gem.add_dependency("activerecord", ["
|
29
|
-
gem.add_dependency("activesupport", ["
|
30
|
-
gem.add_dependency("much-mixin", ["~> 0.2.
|
31
|
-
gem.add_dependency("scmd", ["~> 3.0.
|
28
|
+
gem.add_dependency("activerecord", [">= 5.0"])
|
29
|
+
gem.add_dependency("activesupport", [">= 5.0"])
|
30
|
+
gem.add_dependency("much-mixin", ["~> 0.2.5"])
|
31
|
+
gem.add_dependency("scmd", ["~> 3.0.5"])
|
32
32
|
end
|
data/lib/ardb/cli/clirb.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Ardb; end
|
2
2
|
|
3
3
|
class Ardb::CLI
|
4
|
-
class CLIRB # Version 1.
|
4
|
+
class CLIRB # Version 1.2.0, https://github.com/redding/cli.rb
|
5
5
|
Error = Class.new(RuntimeError);
|
6
6
|
HelpExit = Class.new(RuntimeError); VersionExit = Class.new(RuntimeError)
|
7
7
|
attr_reader :argv, :args, :opts, :data
|
@@ -18,17 +18,14 @@ class Ardb::CLI
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
-
def option(*args); @options << Option.new(*args); end
|
22
|
-
|
21
|
+
def option(*args, **kargs); @options << Option.new(*args, **kargs); end
|
23
22
|
def parse!(argv)
|
24
23
|
@args = (argv || []).dup.tap do |args_list|
|
25
24
|
begin; @parser.parse!(args_list)
|
26
25
|
rescue OptionParser::ParseError => err; raise Error, err.message; end
|
27
26
|
end; @data = @args + [@opts]
|
28
27
|
end
|
29
|
-
|
30
28
|
def to_s; @parser.to_s; end
|
31
|
-
|
32
29
|
def inspect
|
33
30
|
"#<#{self.class}:#{"0x0%x" % (object_id << 1)} @data=#{@data.inspect}>"
|
34
31
|
end
|
@@ -54,7 +51,6 @@ class Ardb::CLI
|
|
54
51
|
custom_abbrev || processed_name.gsub(/[^a-z]/, "").chars.first || "a"
|
55
52
|
]
|
56
53
|
end
|
57
|
-
|
58
54
|
def gvalinfo(v); v.kind_of?(Class) ? [nil,v] : [v,v.class]; end
|
59
55
|
end
|
60
56
|
end
|
data/lib/ardb/relation_spy.rb
CHANGED
@@ -15,6 +15,91 @@
|
|
15
15
|
require "active_record"
|
16
16
|
|
17
17
|
if (
|
18
|
+
ActiveRecord.version.segments[0] == 7 &&
|
19
|
+
ActiveRecord.version.segments[1] >= 0
|
20
|
+
)
|
21
|
+
require "active_record/aggregations"
|
22
|
+
require "active_record/association_relation"
|
23
|
+
require "active_record/associations"
|
24
|
+
require "active_record/associations/alias_tracker"
|
25
|
+
require "active_record/associations/association"
|
26
|
+
require "active_record/associations/association_scope"
|
27
|
+
require "active_record/associations/belongs_to_association"
|
28
|
+
require "active_record/associations/belongs_to_polymorphic_association"
|
29
|
+
require "active_record/associations/builder/association"
|
30
|
+
require "active_record/associations/builder/belongs_to"
|
31
|
+
require "active_record/associations/builder/collection_association"
|
32
|
+
require "active_record/associations/builder/has_and_belongs_to_many"
|
33
|
+
require "active_record/associations/builder/has_many"
|
34
|
+
require "active_record/associations/builder/has_one"
|
35
|
+
require "active_record/associations/collection_association"
|
36
|
+
require "active_record/associations/collection_proxy"
|
37
|
+
require "active_record/associations/disable_joins_association_scope"
|
38
|
+
require "active_record/associations/foreign_association"
|
39
|
+
require "active_record/associations/has_many_association"
|
40
|
+
require "active_record/associations/has_many_through_association"
|
41
|
+
require "active_record/associations/has_one_association"
|
42
|
+
require "active_record/associations/has_one_through_association"
|
43
|
+
require "active_record/associations/join_dependency"
|
44
|
+
require "active_record/associations/join_dependency/join_association"
|
45
|
+
require "active_record/associations/join_dependency/join_base"
|
46
|
+
require "active_record/associations/preloader"
|
47
|
+
require "active_record/associations/preloader/association"
|
48
|
+
require "active_record/associations/preloader/batch"
|
49
|
+
require "active_record/associations/preloader/branch"
|
50
|
+
require "active_record/associations/preloader/through_association"
|
51
|
+
require "active_record/asynchronous_queries_tracker"
|
52
|
+
require "active_record/attribute_assignment"
|
53
|
+
require "active_record/attribute_methods/before_type_cast"
|
54
|
+
require "active_record/attribute_methods/dirty"
|
55
|
+
require "active_record/attribute_methods/primary_key"
|
56
|
+
require "active_record/attribute_methods/query"
|
57
|
+
require "active_record/attribute_methods/read"
|
58
|
+
require "active_record/attribute_methods/serialization"
|
59
|
+
require "active_record/attribute_methods/time_zone_conversion"
|
60
|
+
require "active_record/attribute_methods/write"
|
61
|
+
require "active_record/attributes"
|
62
|
+
require "active_record/autosave_association"
|
63
|
+
require "active_record/base"
|
64
|
+
require "active_record/coders/json"
|
65
|
+
require "active_record/disable_joins_association_relation"
|
66
|
+
require "active_record/encryption/cipher/aes256_gcm"
|
67
|
+
require "active_record/encryption/derived_secret_key_provider"
|
68
|
+
require "active_record/encryption/deterministic_key_provider"
|
69
|
+
require "active_record/encryption/encrypted_attribute_type"
|
70
|
+
require "active_record/encryption/encrypted_fixtures"
|
71
|
+
require "active_record/encryption/encrypting_only_encryptor"
|
72
|
+
require "active_record/encryption/envelope_encryption_key_provider"
|
73
|
+
require "active_record/encryption/extended_deterministic_queries"
|
74
|
+
require "active_record/encryption/extended_deterministic_uniqueness_validator"
|
75
|
+
require "active_record/encryption/key"
|
76
|
+
require "active_record/encryption/message"
|
77
|
+
require "active_record/encryption/null_encryptor"
|
78
|
+
require "active_record/encryption/properties"
|
79
|
+
require "active_record/encryption/read_only_null_encryptor"
|
80
|
+
require "active_record/encryption/scheme"
|
81
|
+
require "active_record/future_result"
|
82
|
+
require "active_record/internal_metadata"
|
83
|
+
require "active_record/legacy_yaml_adapter"
|
84
|
+
require "active_record/middleware/database_selector"
|
85
|
+
require "active_record/middleware/shard_selector"
|
86
|
+
require "active_record/null_relation"
|
87
|
+
require "active_record/query_logs"
|
88
|
+
require "active_record/relation/predicate_builder"
|
89
|
+
require "active_record/relation/record_fetch_warning"
|
90
|
+
require "active_record/result"
|
91
|
+
require "active_record/runtime_registry"
|
92
|
+
require "active_record/statement_cache"
|
93
|
+
require "active_record/table_metadata"
|
94
|
+
require "active_record/tasks/database_tasks"
|
95
|
+
require "active_record/tasks/mysql_database_tasks"
|
96
|
+
require "active_record/tasks/postgresql_database_tasks"
|
97
|
+
require "active_record/tasks/sqlite_database_tasks"
|
98
|
+
require "arel/collectors/bind"
|
99
|
+
require "arel/collectors/composite"
|
100
|
+
require "arel/collectors/substitute_binds"
|
101
|
+
|
102
|
+
elsif (
|
18
103
|
ActiveRecord.version.segments[0] == 6 &&
|
19
104
|
ActiveRecord.version.segments[1] > 0
|
20
105
|
)
|
data/lib/ardb/test_helpers.rb
CHANGED
@@ -23,10 +23,11 @@ module Ardb
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def create_db
|
26
|
-
@create_db ||=
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
@create_db ||=
|
27
|
+
begin
|
28
|
+
create_db!
|
29
|
+
true
|
30
|
+
end
|
30
31
|
end
|
31
32
|
|
32
33
|
def drop_db!
|
@@ -34,10 +35,11 @@ module Ardb
|
|
34
35
|
end
|
35
36
|
|
36
37
|
def drop_db
|
37
|
-
@drop_db ||=
|
38
|
-
|
39
|
-
|
40
|
-
|
38
|
+
@drop_db ||=
|
39
|
+
begin
|
40
|
+
drop_db!
|
41
|
+
true
|
42
|
+
end
|
41
43
|
end
|
42
44
|
|
43
45
|
def connect_db!
|
@@ -45,10 +47,11 @@ module Ardb
|
|
45
47
|
end
|
46
48
|
|
47
49
|
def connect_db
|
48
|
-
@connect_db ||=
|
49
|
-
|
50
|
-
|
51
|
-
|
50
|
+
@connect_db ||=
|
51
|
+
begin
|
52
|
+
connect_db!
|
53
|
+
true
|
54
|
+
end
|
52
55
|
end
|
53
56
|
|
54
57
|
def migrate_db!
|
@@ -56,10 +59,11 @@ module Ardb
|
|
56
59
|
end
|
57
60
|
|
58
61
|
def migrate_db
|
59
|
-
@migrate_db ||=
|
60
|
-
|
61
|
-
|
62
|
-
|
62
|
+
@migrate_db ||=
|
63
|
+
begin
|
64
|
+
migrate_db!
|
65
|
+
true
|
66
|
+
end
|
63
67
|
end
|
64
68
|
|
65
69
|
def reset_db!
|
@@ -69,10 +73,11 @@ module Ardb
|
|
69
73
|
end
|
70
74
|
|
71
75
|
def reset_db
|
72
|
-
@reset_db ||=
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
+
@reset_db ||=
|
77
|
+
begin
|
78
|
+
reset_db!
|
79
|
+
true
|
80
|
+
end
|
76
81
|
end
|
77
82
|
end
|
78
83
|
end
|
data/lib/ardb/use_db_default.rb
CHANGED
@@ -30,9 +30,10 @@ module Ardb
|
|
30
30
|
# this allows the attr to be defaulted by the DB, this keeps
|
31
31
|
# activerecord from adding the attr into the sql `INSERT`, which will
|
32
32
|
# make the DB default its value
|
33
|
-
unchanged_names =
|
34
|
-
|
35
|
-
|
33
|
+
unchanged_names =
|
34
|
+
self.class.ardb_use_db_default_attrs.reject do |name|
|
35
|
+
send("#{name}_changed?")
|
36
|
+
end
|
36
37
|
unchanged_names.each{ |name| @attributes.delete(name) }
|
37
38
|
yield
|
38
39
|
# we have to go and fetch the attr value from the DB, otherwise
|
data/lib/ardb/version.rb
CHANGED
data/lib/ardb.rb
CHANGED
@@ -37,7 +37,11 @@ module Ardb
|
|
37
37
|
@adapter = Adapter.new(config)
|
38
38
|
|
39
39
|
# setup AR
|
40
|
-
ActiveRecord
|
40
|
+
if ActiveRecord.respond_to?(:default_timezone=)
|
41
|
+
ActiveRecord.default_timezone = config.default_timezone
|
42
|
+
else
|
43
|
+
ActiveRecord::Base.default_timezone = config.default_timezone
|
44
|
+
end
|
41
45
|
ActiveRecord::Base.logger = config.logger
|
42
46
|
adapter.connect_db if establish_connection
|
43
47
|
end
|
@@ -120,7 +124,7 @@ module Ardb
|
|
120
124
|
end
|
121
125
|
|
122
126
|
def activerecord_connect_hash
|
123
|
-
ACTIVERECORD_ATTRS.
|
127
|
+
ACTIVERECORD_ATTRS.reduce({}) do |h, attr_name|
|
124
128
|
value = send(attr_name)
|
125
129
|
!value.nil? ? h.merge!(attr_name.to_s => value) : h
|
126
130
|
end
|
@@ -11,18 +11,19 @@ class PostgresqlDbTests < Assert::Context
|
|
11
11
|
# we"re manually configuring ardb so we don"t need this to do anything
|
12
12
|
ENV["ARDB_DB_FILE"] = File.join(TEST_SUPPORT_PATH, "require_test_db_file")
|
13
13
|
|
14
|
-
@ardb_config =
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
14
|
+
@ardb_config =
|
15
|
+
Ardb::Config.new.tap do |c|
|
16
|
+
c.adapter = "postgresql"
|
17
|
+
c.database = "redding_ardb_test"
|
18
|
+
c.encoding = "unicode"
|
19
|
+
c.min_messages = "WARNING"
|
20
|
+
|
21
|
+
c.logger = TEST_LOGGER
|
22
|
+
c.root_path = File.join(TEST_SUPPORT_PATH, "postgresql")
|
23
|
+
c.migrations_path = "migrations"
|
24
|
+
c.schema_path = "schema"
|
25
|
+
c.schema_format = :ruby
|
26
|
+
end
|
26
27
|
Assert.stub(Ardb, :config){ @ardb_config }
|
27
28
|
|
28
29
|
Ardb.init(false)
|
data/test/unit/ardb_tests.rb
CHANGED
@@ -116,10 +116,17 @@ module Ardb
|
|
116
116
|
subject.init
|
117
117
|
|
118
118
|
assert_equal subject.config.logger, ActiveRecord::Base.logger
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
119
|
+
if ActiveRecord.respond_to?(:default_timezone=)
|
120
|
+
assert_equal(
|
121
|
+
subject.config.default_timezone,
|
122
|
+
ActiveRecord.default_timezone,
|
123
|
+
)
|
124
|
+
else
|
125
|
+
assert_equal(
|
126
|
+
subject.config.default_timezone,
|
127
|
+
ActiveRecord::Base.default_timezone,
|
128
|
+
)
|
129
|
+
end
|
123
130
|
end
|
124
131
|
|
125
132
|
should "optionally establish an AR connection" do
|
data/test/unit/cli_tests.rb
CHANGED
@@ -277,9 +277,10 @@ class Ardb::CLI
|
|
277
277
|
end
|
278
278
|
|
279
279
|
should "take custom CLIRB build procs" do
|
280
|
-
cmd =
|
281
|
-
|
282
|
-
|
280
|
+
cmd =
|
281
|
+
@command_class.new do
|
282
|
+
option "test", "testing", abbrev: "t"
|
283
|
+
end
|
283
284
|
cmd.run(["-t"], @stdout, @stderr)
|
284
285
|
assert_true cmd.clirb.opts["test"]
|
285
286
|
end
|
@@ -12,10 +12,11 @@ module Ardb::DefaultOrderBy
|
|
12
12
|
setup do
|
13
13
|
order_by_attribute = @order_by_attribute = Factory.string.to_sym
|
14
14
|
@scope_proc = proc{ self.class.where(grouping: grouping) }
|
15
|
-
@record_class =
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
@record_class =
|
16
|
+
Ardb::RecordSpy.new do
|
17
|
+
include Ardb::DefaultOrderBy
|
18
|
+
attr_accessor order_by_attribute, :grouping
|
19
|
+
end
|
19
20
|
end
|
20
21
|
subject{ @record_class }
|
21
22
|
|
@@ -9,10 +9,11 @@ module Ardb::RecordSpy
|
|
9
9
|
class UnitTests < Assert::Context
|
10
10
|
desc "Ardb::RecordSpy"
|
11
11
|
setup do
|
12
|
-
@record_spy_class =
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
@record_spy_class =
|
13
|
+
Class.new do
|
14
|
+
include Ardb::RecordSpy
|
15
|
+
attr_accessor :name
|
16
|
+
end
|
16
17
|
end
|
17
18
|
subject{ @record_spy_class }
|
18
19
|
|
@@ -297,9 +298,10 @@ module Ardb::RecordSpy
|
|
297
298
|
class GeneratorTests < UnitTests
|
298
299
|
desc "to generate record spy classes"
|
299
300
|
setup do
|
300
|
-
@record_spy_class =
|
301
|
-
|
302
|
-
|
301
|
+
@record_spy_class =
|
302
|
+
Ardb::RecordSpy.new do
|
303
|
+
attr_accessor :name
|
304
|
+
end
|
303
305
|
@instance = @record_spy_class.new
|
304
306
|
end
|
305
307
|
subject{ @record_spy_class }
|
@@ -10,10 +10,11 @@ module Ardb::UseDbDefault
|
|
10
10
|
class UnitTests < Assert::Context
|
11
11
|
desc "Ardb::UseDbDefault"
|
12
12
|
setup do
|
13
|
-
@record_class =
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
@record_class =
|
14
|
+
Class.new do
|
15
|
+
include UseDbDefaultRecordSpy
|
16
|
+
include Ardb::UseDbDefault
|
17
|
+
end
|
17
18
|
end
|
18
19
|
subject{ @record_class }
|
19
20
|
|
@@ -70,9 +71,10 @@ module Ardb::UseDbDefault
|
|
70
71
|
@record = @record_class.new
|
71
72
|
|
72
73
|
# simulate activerecords `@attributes` hash
|
73
|
-
@original_attrs =
|
74
|
-
|
75
|
-
|
74
|
+
@original_attrs =
|
75
|
+
@attr_names.reduce({}) do |h, n|
|
76
|
+
h.merge!(n => [nil, Factory.string, Factory.integer].sample)
|
77
|
+
end
|
76
78
|
@original_attrs.merge!(Factory.string => Factory.string)
|
77
79
|
@record.attributes = @original_attrs.dup
|
78
80
|
|
@@ -83,9 +85,10 @@ module Ardb::UseDbDefault
|
|
83
85
|
# we should always get the record we just inserted back
|
84
86
|
@record_class.relation_spy.results = [@record]
|
85
87
|
# add pluck values into the relation spy
|
86
|
-
@record_class.relation_spy.pluck_values =
|
87
|
-
|
88
|
-
|
88
|
+
@record_class.relation_spy.pluck_values =
|
89
|
+
@attr_names.reduce({}) do |h, n|
|
90
|
+
h.merge!(n => Factory.string)
|
91
|
+
end
|
89
92
|
end
|
90
93
|
subject{ @record }
|
91
94
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ardb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
8
8
|
- Collin Redding
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: much-style-guide
|
@@ -17,96 +17,84 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.6.
|
20
|
+
version: 0.6.7
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.6.
|
27
|
+
version: 0.6.7
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: assert
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.19.
|
34
|
+
version: 2.19.8
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 2.19.
|
41
|
+
version: 2.19.8
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: activerecord
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '5.0'
|
49
|
-
- - "<"
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version: '7.0'
|
52
49
|
type: :runtime
|
53
50
|
prerelease: false
|
54
51
|
version_requirements: !ruby/object:Gem::Requirement
|
55
52
|
requirements:
|
56
|
-
- - "
|
53
|
+
- - ">="
|
57
54
|
- !ruby/object:Gem::Version
|
58
55
|
version: '5.0'
|
59
|
-
- - "<"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '7.0'
|
62
56
|
- !ruby/object:Gem::Dependency
|
63
57
|
name: activesupport
|
64
58
|
requirement: !ruby/object:Gem::Requirement
|
65
59
|
requirements:
|
66
|
-
- - "
|
60
|
+
- - ">="
|
67
61
|
- !ruby/object:Gem::Version
|
68
62
|
version: '5.0'
|
69
|
-
- - "<"
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: '7.0'
|
72
63
|
type: :runtime
|
73
64
|
prerelease: false
|
74
65
|
version_requirements: !ruby/object:Gem::Requirement
|
75
66
|
requirements:
|
76
|
-
- - "
|
67
|
+
- - ">="
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '5.0'
|
79
|
-
- - "<"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '7.0'
|
82
70
|
- !ruby/object:Gem::Dependency
|
83
71
|
name: much-mixin
|
84
72
|
requirement: !ruby/object:Gem::Requirement
|
85
73
|
requirements:
|
86
74
|
- - "~>"
|
87
75
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.2.
|
76
|
+
version: 0.2.5
|
89
77
|
type: :runtime
|
90
78
|
prerelease: false
|
91
79
|
version_requirements: !ruby/object:Gem::Requirement
|
92
80
|
requirements:
|
93
81
|
- - "~>"
|
94
82
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.2.
|
83
|
+
version: 0.2.5
|
96
84
|
- !ruby/object:Gem::Dependency
|
97
85
|
name: scmd
|
98
86
|
requirement: !ruby/object:Gem::Requirement
|
99
87
|
requirements:
|
100
88
|
- - "~>"
|
101
89
|
- !ruby/object:Gem::Version
|
102
|
-
version: 3.0.
|
90
|
+
version: 3.0.5
|
103
91
|
type: :runtime
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
94
|
requirements:
|
107
95
|
- - "~>"
|
108
96
|
- !ruby/object:Gem::Version
|
109
|
-
version: 3.0.
|
97
|
+
version: 3.0.5
|
110
98
|
description: Activerecord database tools.
|
111
99
|
email:
|
112
100
|
- kelly@kellyredding.com
|
@@ -119,6 +107,7 @@ files:
|
|
119
107
|
- ".gitignore"
|
120
108
|
- ".l.yml"
|
121
109
|
- ".rubocop.yml"
|
110
|
+
- ".ruby-version"
|
122
111
|
- ".t.yml"
|
123
112
|
- Gemfile
|
124
113
|
- LICENSE
|
@@ -173,13 +162,13 @@ homepage: http://github.com/redding/ardb
|
|
173
162
|
licenses:
|
174
163
|
- MIT
|
175
164
|
metadata: {}
|
176
|
-
post_install_message:
|
165
|
+
post_install_message:
|
177
166
|
rdoc_options: []
|
178
167
|
require_paths:
|
179
168
|
- lib
|
180
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
181
170
|
requirements:
|
182
|
-
- - "
|
171
|
+
- - ">="
|
183
172
|
- !ruby/object:Gem::Version
|
184
173
|
version: '2.5'
|
185
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -188,8 +177,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
177
|
- !ruby/object:Gem::Version
|
189
178
|
version: '0'
|
190
179
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
192
|
-
signing_key:
|
180
|
+
rubygems_version: 3.3.5
|
181
|
+
signing_key:
|
193
182
|
specification_version: 4
|
194
183
|
summary: Activerecord database tools.
|
195
184
|
test_files:
|