amoeba 3.3.0 → 3.4.1
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/CHANGELOG.md +61 -0
- data/README.md +26 -1
- data/docs/contributing.md +19 -0
- data/docs/test_refactor.md +20 -0
- data/lib/amoeba/cloner.rb +6 -2
- data/lib/amoeba/config.rb +8 -3
- data/lib/amoeba/macros.rb +1 -0
- data/lib/amoeba/version.rb +1 -1
- metadata +20 -116
- data/.cane +0 -4
- data/.github/workflows/jruby.yml +0 -27
- data/.github/workflows/ruby_25.yml +0 -30
- data/.github/workflows/ruby_26.yml +0 -30
- data/.github/workflows/ruby_27.yml +0 -30
- data/.github/workflows/ruby_30.yml +0 -34
- data/.github/workflows/ruby_31.yml +0 -34
- data/.github/workflows/ruby_32.yml +0 -34
- data/.github/workflows/ruby_head.yml +0 -34
- data/.gitignore +0 -9
- data/.rspec +0 -2
- data/.rubocop.yml +0 -21
- data/.rubocop_todo.yml +0 -120
- data/Appraisals +0 -59
- data/Gemfile +0 -15
- data/Rakefile +0 -8
- data/amoeba.gemspec +0 -42
- data/defaults.reek +0 -11
- data/gemfiles/activerecord_5.2.gemfile +0 -19
- data/gemfiles/activerecord_6.0.gemfile +0 -19
- data/gemfiles/activerecord_6.1.gemfile +0 -19
- data/gemfiles/activerecord_7.0.gemfile +0 -19
- data/gemfiles/activerecord_head.gemfile +0 -21
- data/gemfiles/jruby_activerecord_7.0.gemfile +0 -20
- data/gemfiles/jruby_activerecord_head.gemfile +0 -26
- data/spec/lib/amoeba_spec.rb +0 -418
- data/spec/spec_helper.rb +0 -37
- data/spec/support/data.rb +0 -106
- data/spec/support/models.rb +0 -416
- data/spec/support/schema.rb +0 -235
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: Ruby head
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [ master ]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: [ master ]
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
test:
|
|
11
|
-
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
strategy:
|
|
14
|
-
matrix:
|
|
15
|
-
gemfile: [ activerecord_6.0, activerecord_6.1, activerecord_7.0, activerecord_head ]
|
|
16
|
-
# sqlite 1.3 is not compatible with Ruby 3.0+. If this changes or
|
|
17
|
-
# sqlite is no longer a dependency then the Active Record 5.2 tests
|
|
18
|
-
# can be added:
|
|
19
|
-
# gemfile: [ activerecord_5.2, activerecord_6.0, activerecord_6.1, activerecord_head ]
|
|
20
|
-
env:
|
|
21
|
-
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
|
22
|
-
steps:
|
|
23
|
-
- uses: actions/checkout@v4
|
|
24
|
-
- name: Set up Ruby
|
|
25
|
-
uses: ruby/setup-ruby@v1
|
|
26
|
-
with:
|
|
27
|
-
ruby-version: head
|
|
28
|
-
bundler-cache: true
|
|
29
|
-
- name: Run tests
|
|
30
|
-
run: bundle exec rspec
|
|
31
|
-
- name: Coveralls
|
|
32
|
-
uses: coverallsapp/github-action@master
|
|
33
|
-
with:
|
|
34
|
-
github-token: ${{ secrets.GITHUB_TOKEN }}
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
require:
|
|
2
|
-
- rubocop-rspec
|
|
3
|
-
- rubocop-rake
|
|
4
|
-
|
|
5
|
-
inherit_from: .rubocop_todo.yml
|
|
6
|
-
|
|
7
|
-
AllCops:
|
|
8
|
-
TargetRubyVersion: 2.5
|
|
9
|
-
NewCops: enable
|
|
10
|
-
Layout/LineLength:
|
|
11
|
-
Max: 99
|
|
12
|
-
Naming/FileName:
|
|
13
|
-
Enabled: false
|
|
14
|
-
Style/ModuleFunction:
|
|
15
|
-
Enabled: false
|
|
16
|
-
Style/Encoding:
|
|
17
|
-
Enabled: false
|
|
18
|
-
Style/Documentation:
|
|
19
|
-
Enabled: false
|
|
20
|
-
Metrics/MethodLength:
|
|
21
|
-
Max: 15
|
data/.rubocop_todo.yml
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2021-07-10 17:38:28 UTC using RuboCop version 1.16.1.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 10
|
|
10
|
-
# Cop supports --auto-correct.
|
|
11
|
-
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
12
|
-
# URISchemes: http, https
|
|
13
|
-
Layout/LineLength:
|
|
14
|
-
Max: 110
|
|
15
|
-
|
|
16
|
-
# Offense count: 1
|
|
17
|
-
Lint/MissingSuper:
|
|
18
|
-
Exclude:
|
|
19
|
-
- 'lib/amoeba/macros/base.rb'
|
|
20
|
-
|
|
21
|
-
# Offense count: 17
|
|
22
|
-
Lint/UselessAssignment:
|
|
23
|
-
Exclude:
|
|
24
|
-
- 'spec/support/data.rb'
|
|
25
|
-
|
|
26
|
-
# Offense count: 8
|
|
27
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
|
28
|
-
# IgnoredMethods: refine
|
|
29
|
-
Metrics/BlockLength:
|
|
30
|
-
Max: 339
|
|
31
|
-
|
|
32
|
-
# Offense count: 2
|
|
33
|
-
# Configuration parameters: CountComments, CountAsOne.
|
|
34
|
-
Metrics/ClassLength:
|
|
35
|
-
Max: 141
|
|
36
|
-
|
|
37
|
-
# Offense count: 3
|
|
38
|
-
# Configuration parameters: ForbiddenDelimiters.
|
|
39
|
-
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
|
40
|
-
Naming/HeredocDelimiterNaming:
|
|
41
|
-
Exclude:
|
|
42
|
-
- 'lib/amoeba/config.rb'
|
|
43
|
-
|
|
44
|
-
# Offense count: 2
|
|
45
|
-
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
|
|
46
|
-
# SupportedStyles: snake_case, normalcase, non_integer
|
|
47
|
-
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
|
|
48
|
-
Naming/VariableNumber:
|
|
49
|
-
Exclude:
|
|
50
|
-
- 'spec/support/data.rb'
|
|
51
|
-
|
|
52
|
-
# Offense count: 1
|
|
53
|
-
RSpec/BeforeAfterAll:
|
|
54
|
-
Exclude:
|
|
55
|
-
- 'spec/spec_helper.rb'
|
|
56
|
-
- 'spec/rails_helper.rb'
|
|
57
|
-
- 'spec/support/**/*.rb'
|
|
58
|
-
- 'spec/lib/amoeba_spec.rb'
|
|
59
|
-
|
|
60
|
-
# Offense count: 12
|
|
61
|
-
# Configuration parameters: Prefixes.
|
|
62
|
-
# Prefixes: when, with, without
|
|
63
|
-
RSpec/ContextWording:
|
|
64
|
-
Exclude:
|
|
65
|
-
- 'spec/lib/amoeba_spec.rb'
|
|
66
|
-
|
|
67
|
-
# Offense count: 1
|
|
68
|
-
# Configuration parameters: IgnoredMetadata.
|
|
69
|
-
RSpec/DescribeClass:
|
|
70
|
-
Exclude:
|
|
71
|
-
- 'spec/lib/amoeba_spec.rb'
|
|
72
|
-
|
|
73
|
-
# Offense count: 3
|
|
74
|
-
# Configuration parameters: CountAsOne.
|
|
75
|
-
RSpec/ExampleLength:
|
|
76
|
-
Max: 134
|
|
77
|
-
|
|
78
|
-
# Offense count: 1
|
|
79
|
-
# Configuration parameters: .
|
|
80
|
-
# SupportedStyles: have_received, receive
|
|
81
|
-
RSpec/MessageSpies:
|
|
82
|
-
EnforcedStyle: receive
|
|
83
|
-
|
|
84
|
-
# Offense count: 7
|
|
85
|
-
RSpec/MultipleExpectations:
|
|
86
|
-
Max: 55
|
|
87
|
-
|
|
88
|
-
# Offense count: 18
|
|
89
|
-
# Configuration parameters: IgnoreSharedExamples.
|
|
90
|
-
RSpec/NamedSubject:
|
|
91
|
-
Exclude:
|
|
92
|
-
- 'spec/lib/amoeba_spec.rb'
|
|
93
|
-
|
|
94
|
-
# Offense count: 1
|
|
95
|
-
# Cop supports --auto-correct.
|
|
96
|
-
# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
|
|
97
|
-
# SupportedStyles: inflected, explicit
|
|
98
|
-
RSpec/PredicateMatcher:
|
|
99
|
-
Exclude:
|
|
100
|
-
- 'spec/lib/amoeba_spec.rb'
|
|
101
|
-
|
|
102
|
-
# Offense count: 5
|
|
103
|
-
# Cop supports --auto-correct.
|
|
104
|
-
# Configuration parameters: EnforcedStyle.
|
|
105
|
-
# SupportedStyles: always, always_true, never
|
|
106
|
-
Style/FrozenStringLiteralComment:
|
|
107
|
-
Exclude:
|
|
108
|
-
- 'spec/lib/amoeba_spec.rb'
|
|
109
|
-
- 'spec/spec_helper.rb'
|
|
110
|
-
- 'spec/support/data.rb'
|
|
111
|
-
- 'spec/support/models.rb'
|
|
112
|
-
- 'spec/support/schema.rb'
|
|
113
|
-
|
|
114
|
-
# Offense count: 5
|
|
115
|
-
# Cop supports --auto-correct.
|
|
116
|
-
Style/StringConcatenation:
|
|
117
|
-
Exclude:
|
|
118
|
-
- 'spec/lib/amoeba_spec.rb'
|
|
119
|
-
- 'spec/spec_helper.rb'
|
|
120
|
-
- 'spec/support/models.rb'
|
data/Appraisals
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
appraise 'activerecord-5.2' do
|
|
4
|
-
gem 'activerecord', '~> 5.2.0'
|
|
5
|
-
group :development, :test do
|
|
6
|
-
gem 'sqlite3', '~> 1.3.0'
|
|
7
|
-
end
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
appraise 'activerecord-6.0' do
|
|
11
|
-
gem 'activerecord', '~> 6.0.0'
|
|
12
|
-
group :development, :test do
|
|
13
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
appraise 'activerecord-6.1' do
|
|
18
|
-
gem 'activerecord', '~> 6.1.0'
|
|
19
|
-
group :development, :test do
|
|
20
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
appraise 'activerecord-7.0' do
|
|
25
|
-
gem 'activerecord', '~> 7.0.0'
|
|
26
|
-
group :development, :test do
|
|
27
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
appraise 'jruby-activerecord-7.0' do
|
|
32
|
-
gem 'activerecord', '~> 7.0.0'
|
|
33
|
-
group :development, :test do
|
|
34
|
-
gem 'activerecord-jdbc-adapter', '~> 70.1'
|
|
35
|
-
gem 'activerecord-jdbcsqlite3-adapter', '~> 70.1'
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
appraise 'activerecord-head' do
|
|
40
|
-
git 'https://github.com/rails/rails.git', branch: 'main' do
|
|
41
|
-
gem 'activerecord'
|
|
42
|
-
end
|
|
43
|
-
group :development, :test do
|
|
44
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
appraise 'jruby-activerecord-head' do
|
|
49
|
-
git 'https://github.com/rails/rails.git', branch: 'main' do
|
|
50
|
-
gem 'activerecord'
|
|
51
|
-
end
|
|
52
|
-
group :development, :test do
|
|
53
|
-
git 'https://github.com/jruby/activerecord-jdbc-adapter' do
|
|
54
|
-
gem 'activerecord-jdbc-adapter'
|
|
55
|
-
gem 'activerecord-jdbcsqlite3-adapter',
|
|
56
|
-
glob: 'activerecord-jdbcsqlite3-adapter/activerecord-jdbcsqlite3-adapter.gemspec'
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
end
|
data/Gemfile
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
gemspec
|
|
5
|
-
|
|
6
|
-
group :development, :test do
|
|
7
|
-
gem 'rake'
|
|
8
|
-
gem 'simplecov', '~> 0.21.2'
|
|
9
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
group :local_development do
|
|
13
|
-
gem 'appraisal'
|
|
14
|
-
gem 'pry'
|
|
15
|
-
end
|
data/Rakefile
DELETED
data/amoeba.gemspec
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
|
5
|
-
require 'amoeba/version'
|
|
6
|
-
|
|
7
|
-
Gem::Specification.new do |s|
|
|
8
|
-
s.name = 'amoeba'
|
|
9
|
-
s.version = Amoeba::VERSION
|
|
10
|
-
s.authors = ['Vaughn Draughon', 'Oleksandr Simonov']
|
|
11
|
-
s.email = 'alex@simonov.me'
|
|
12
|
-
s.homepage = 'http://github.com/amoeba-rb/amoeba'
|
|
13
|
-
s.license = 'BSD-2-Clause'
|
|
14
|
-
s.summary = 'Easy copying of rails models and their child associations.'
|
|
15
|
-
s.required_ruby_version = '>= 2.5'
|
|
16
|
-
|
|
17
|
-
s.description = <<~DESCRIPTION
|
|
18
|
-
An extension to ActiveRecord to allow the duplication method to also copy associated children, with recursive support for nested of grandchildren. The behavior is controllable with a simple DSL both on your rails models and on the fly, i.e. per instance. Numerous configuration styles and preprocessing directives are included for power and flexibility. Supports preprocessing of field values to prepend strings such as "Copy of ", to nullify or process field values with regular expressions. Supports most association types including has_one :through and has_many :through.
|
|
19
|
-
|
|
20
|
-
Tags: copy child associations, copy nested children, copy associated child records, nested copy, copy associations, copy relations, copy relationships, duplicate associations, duplicate associated records, duplicate child records, duplicate children, copy all, duplicate all, clone child associations, clone nested children, clone associated child records, nested clone, clone associations, clone relations, clone relationships, cloning child associations, cloning nested children, cloning associated child records, deep_cloning, nested cloning, cloning associations, cloning relations, cloning relationships, cloning child associations, cloning nested children, cloning associated child records, nested cloning, cloning associations, cloning relations, cloning relationships, cloning child associations, cloning nested children, cloning associated child records, deep_cloning, nested cloning, cloning associations, cloning relations, cloning relationships, duplicate child associations, duplicate nested children, duplicate associated child records, nested duplicate, duplicate associations, duplicate relations, duplicate relationships, duplicate child associations, duplicate nested children, duplicate associated child records, deep_duplicate, nested duplicate, duplicate associations, duplicate relations, duplicate relationships, deep_copy, deep_clone, deep_cloning, deep clone, deep cloning, has_one, has_many, has_and_belongs_to_many
|
|
21
|
-
DESCRIPTION
|
|
22
|
-
|
|
23
|
-
s.files = `git ls-files`.split("\n")
|
|
24
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
25
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
|
26
|
-
s.require_paths = ['lib']
|
|
27
|
-
|
|
28
|
-
# specify any dependencies here; for example:
|
|
29
|
-
s.add_development_dependency 'rspec', '>= 3.0.0'
|
|
30
|
-
s.add_development_dependency 'rubocop', '~> 1.16'
|
|
31
|
-
s.add_development_dependency 'rubocop-rake', '~> 0.6'
|
|
32
|
-
s.add_development_dependency 'rubocop-rspec', '~> 2.4'
|
|
33
|
-
|
|
34
|
-
if RUBY_PLATFORM == 'java'
|
|
35
|
-
s.add_development_dependency 'activerecord-jdbc-adapter', '~> 70.0'
|
|
36
|
-
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter', '~> 70.0'
|
|
37
|
-
else
|
|
38
|
-
s.add_development_dependency 'sqlite3', '>= 1.3'
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
s.add_dependency 'activerecord', '>= 5.2.0'
|
|
42
|
-
end
|
data/defaults.reek
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
gem 'activerecord', '~> 5.2.0'
|
|
6
|
-
|
|
7
|
-
group :development, :test do
|
|
8
|
-
gem 'rake'
|
|
9
|
-
gem 'simplecov', '~> 0.21.2'
|
|
10
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
11
|
-
gem 'sqlite3', '~> 1.3.0'
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
group :local_development do
|
|
15
|
-
gem 'appraisal'
|
|
16
|
-
gem 'pry'
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
gemspec path: '../'
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
gem 'activerecord', '~> 6.0.0'
|
|
6
|
-
|
|
7
|
-
group :development, :test do
|
|
8
|
-
gem 'rake'
|
|
9
|
-
gem 'simplecov', '~> 0.21.2'
|
|
10
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
11
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
group :local_development do
|
|
15
|
-
gem 'appraisal'
|
|
16
|
-
gem 'pry'
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
gemspec path: '../'
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
gem 'activerecord', '~> 6.1.0'
|
|
6
|
-
|
|
7
|
-
group :development, :test do
|
|
8
|
-
gem 'rake'
|
|
9
|
-
gem 'simplecov', '~> 0.21.2'
|
|
10
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
11
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
group :local_development do
|
|
15
|
-
gem 'appraisal'
|
|
16
|
-
gem 'pry'
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
gemspec path: '../'
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
gem 'activerecord', '~> 7.0.0'
|
|
6
|
-
|
|
7
|
-
group :development, :test do
|
|
8
|
-
gem 'rake'
|
|
9
|
-
gem 'simplecov', '~> 0.21.2'
|
|
10
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
11
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
group :local_development do
|
|
15
|
-
gem 'appraisal'
|
|
16
|
-
gem 'pry'
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
gemspec path: '../'
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
git 'https://github.com/rails/rails.git', branch: 'main' do
|
|
6
|
-
gem 'activerecord'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :development, :test do
|
|
10
|
-
gem 'rake'
|
|
11
|
-
gem 'simplecov', '~> 0.21.2'
|
|
12
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
13
|
-
gem 'sqlite3', '~> 1.6.0'
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
group :local_development do
|
|
17
|
-
gem 'appraisal'
|
|
18
|
-
gem 'pry'
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
gemspec path: '../'
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
gem 'activerecord', '~> 7.0.0'
|
|
6
|
-
|
|
7
|
-
group :development, :test do
|
|
8
|
-
gem 'activerecord-jdbc-adapter', '~> 70.1'
|
|
9
|
-
gem 'activerecord-jdbcsqlite3-adapter', '~> 70.1'
|
|
10
|
-
gem 'rake'
|
|
11
|
-
gem 'simplecov', '~> 0.21.2'
|
|
12
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
group :local_development do
|
|
16
|
-
gem 'appraisal'
|
|
17
|
-
gem 'pry'
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
gemspec path: '../'
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
git 'https://github.com/rails/rails.git', branch: 'main' do
|
|
6
|
-
gem 'activerecord'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :development, :test do
|
|
10
|
-
git 'https://github.com/jruby/activerecord-jdbc-adapter' do
|
|
11
|
-
gem 'activerecord-jdbc-adapter'
|
|
12
|
-
gem 'activerecord-jdbcsqlite3-adapter',
|
|
13
|
-
glob: 'activerecord-jdbcsqlite3-adapter/activerecord-jdbcsqlite3-adapter.gemspec'
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gem 'rake'
|
|
17
|
-
gem 'simplecov', '~> 0.21.2'
|
|
18
|
-
gem 'simplecov-lcov', '~> 0.8.0'
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
group :local_development do
|
|
22
|
-
gem 'appraisal'
|
|
23
|
-
gem 'pry'
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
gemspec path: '../'
|