sequel-data-migrate 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/lib/sequel_data/migrate/generator.rb +3 -1
- data/lib/sequel_data/migrate/version.rb +1 -1
- data/lib/sequel_data/migrate.rb +7 -1
- metadata +4 -9
- data/.rspec +0 -2
- data/.rubocop.yml +0 -28
- data/.ruby-version +0 -1
- data/Gemfile +0 -17
- data/Rakefile +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e5819bb49e852cd25b5ebf696d596b64f153fd2db0bee30dda364feabf3c55
|
4
|
+
data.tar.gz: 99cd1ec8286e2a55f11239780ea4e2f9318919dd9bdb211cd7a25a8f40903272
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3570a2f93a7ef13f99c9880147133f9cb7d44055898c93ed9da26c2216761dc0b814ec42a6278ac69aa0c6e7dbfa689f622f2257819d89449e40bcd8e0cc0fb1
|
7
|
+
data.tar.gz: 6ddc755e0ba9a21315195a2c5957ac897864b07bfd0e203049bd3b0f82d1f98868a9856ae71c0f9e9eb990b236b16fc17b752684cfcf643f2ca36a817a2d9129
|
data/CHANGELOG.md
CHANGED
data/lib/sequel_data/migrate.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "dry-configurable"
|
4
|
+
require "dry/configurable/version"
|
4
5
|
require "sequel_data/migrate/version"
|
5
6
|
require "sequel_data/migrate/errors"
|
6
7
|
require "sequel_data/migrate/migrator"
|
@@ -13,7 +14,12 @@ module SequelData
|
|
13
14
|
setting :db_configuration do
|
14
15
|
setting :host
|
15
16
|
end
|
16
|
-
|
17
|
+
|
18
|
+
if Dry::Configurable::VERSION >= "0.13.0"
|
19
|
+
setting :migration_path, default: "db/data"
|
20
|
+
else
|
21
|
+
setting :migration_path, "db/data"
|
22
|
+
end
|
17
23
|
|
18
24
|
def self.migrate
|
19
25
|
Migrator.new(config).migrate
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-data-migrate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hieu Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.10.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.10.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sequel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,14 +45,9 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- ".rspec"
|
49
|
-
- ".rubocop.yml"
|
50
|
-
- ".ruby-version"
|
51
48
|
- CHANGELOG.md
|
52
|
-
- Gemfile
|
53
49
|
- LICENSE.txt
|
54
50
|
- README.md
|
55
|
-
- Rakefile
|
56
51
|
- lib/sequel_data/migrate.rb
|
57
52
|
- lib/sequel_data/migrate/errors.rb
|
58
53
|
- lib/sequel_data/migrate/generator.rb
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-rspec
|
3
|
-
|
4
|
-
AllCops:
|
5
|
-
TargetRubyVersion: 2.7
|
6
|
-
NewCops: enable
|
7
|
-
|
8
|
-
Layout/LineLength:
|
9
|
-
Max: 120
|
10
|
-
|
11
|
-
Metrics/AbcSize:
|
12
|
-
Max: 50
|
13
|
-
Metrics/MethodLength:
|
14
|
-
Max: 20
|
15
|
-
|
16
|
-
RSpec/ExampleLength:
|
17
|
-
Max: 20
|
18
|
-
RSpec/MultipleExpectations:
|
19
|
-
Enabled: false
|
20
|
-
|
21
|
-
Style/Documentation:
|
22
|
-
Enabled: false
|
23
|
-
Style/StringLiterals:
|
24
|
-
Enabled: true
|
25
|
-
EnforcedStyle: double_quotes
|
26
|
-
Style/StringLiteralsInInterpolation:
|
27
|
-
Enabled: true
|
28
|
-
EnforcedStyle: double_quotes
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
3.1.2
|
data/Gemfile
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
# Specify your gem's dependencies in sequel-data-migrate.gemspec
|
6
|
-
gemspec
|
7
|
-
|
8
|
-
gem "rake", "~> 13.0"
|
9
|
-
gem "rbs"
|
10
|
-
gem "sqlite3"
|
11
|
-
|
12
|
-
gem "rspec"
|
13
|
-
|
14
|
-
gem "rubocop"
|
15
|
-
gem "rubocop-rspec"
|
16
|
-
|
17
|
-
gem "byebug"
|