ridgepole 2.0.0.beta → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +4 -2
- data/lib/ridgepole/default_limit.rb +12 -9
- data/lib/ridgepole/version.rb +1 -1
- data/ridgepole.gemspec +2 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7156f99da51fe3ee205b17442595dfb56da0de39b0bb3995997c306832b7a46
|
4
|
+
data.tar.gz: c3a09ae5f3b6d2a1895f0b5d518fbae1c607e8dd31419438b111c01fe19a33b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a78015bac866b9afd2036dad939b187ffeeadd1e4d96a1a144b87cadf83fba274368f529bc488dd6462a5618c3c6ea83e59cb5981ddafa9a3278feb9bc4ba8d
|
7
|
+
data.tar.gz: 673e1d69957bb24e284551a509c0d515f16926cf61a0f17ca4080cc24ee71088c909b814269865069c07dfd592b2a7adc40ec0b6c1522d4935a995e59e585938
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
## 2.0
|
4
4
|
|
5
|
+
### 2.0.0 (2023/11/10)
|
6
|
+
|
7
|
+
* Bump up version.
|
8
|
+
|
9
|
+
### 2.0.0.beta2 (2023/10/26)
|
10
|
+
|
11
|
+
* Support Rails 7.1 [pull#447](https://github.com/ridgepole/ridgepole/pull/447)
|
12
|
+
* Drop Rails 6.0 support [pull#440](https://github.com/ridgepole/ridgepole/pull/440)
|
13
|
+
|
5
14
|
### 2.0.0.beta (2023/10/22)
|
6
15
|
|
7
16
|
* Support Rails 7.1 [pull#441](https://github.com/ridgepole/ridgepole/pull/441)
|
data/README.md
CHANGED
@@ -11,8 +11,10 @@ It defines DB schema using [Rails DSL](http://guides.rubyonrails.org/migrations.
|
|
11
11
|
|
12
12
|
**Notice**
|
13
13
|
|
14
|
-
*
|
15
|
-
*
|
14
|
+
* ridgepole v2.0.0
|
15
|
+
* Support Trilogy (cf. https://github.com/ridgepole/ridgepole/pull/447)
|
16
|
+
* Support Rails 7.1 (cf. https://github.com/ridgepole/ridgepole/pull/441)
|
17
|
+
* Drop support AcriveRecord 6.0 (cf. https://github.com/ridgepole/ridgepole/pull/440)
|
16
18
|
* Drop support ActiveRecord 5.x in ridgepole v1.2.0.
|
17
19
|
* Partitioning is no longer supported in ridgepole v1.1.0.
|
18
20
|
* ActiveRecord 7.x has some incompatible changes. If you get unintended differences in `datetime` columns consider changing `precision`:
|
@@ -2,16 +2,19 @@
|
|
2
2
|
|
3
3
|
module Ridgepole
|
4
4
|
class DefaultsLimit
|
5
|
+
DEFAULT_LIMIT_FOR_MYSQL = {
|
6
|
+
boolean: 1,
|
7
|
+
integer: 4,
|
8
|
+
bigint: 8,
|
9
|
+
float: 24,
|
10
|
+
string: 255,
|
11
|
+
text: 65_535,
|
12
|
+
binary: 65_535,
|
13
|
+
}.freeze
|
14
|
+
|
5
15
|
DEFAULTS_LIMITS = {
|
6
|
-
mysql2:
|
7
|
-
|
8
|
-
integer: 4,
|
9
|
-
bigint: 8,
|
10
|
-
float: 24,
|
11
|
-
string: 255,
|
12
|
-
text: 65_535,
|
13
|
-
binary: 65_535,
|
14
|
-
},
|
16
|
+
mysql2: DEFAULT_LIMIT_FOR_MYSQL,
|
17
|
+
trilogy: DEFAULT_LIMIT_FOR_MYSQL,
|
15
18
|
}.freeze
|
16
19
|
|
17
20
|
class << self
|
data/lib/ridgepole/version.rb
CHANGED
data/ridgepole.gemspec
CHANGED
@@ -38,10 +38,11 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_development_dependency 'rspec', '>= 3.0.0'
|
39
39
|
spec.add_development_dependency 'rspec-match_fuzzy', '>= 0.1.3'
|
40
40
|
spec.add_development_dependency 'rspec-match_ruby', '>= 0.1.3'
|
41
|
-
spec.add_development_dependency 'rubocop', '1.57.
|
41
|
+
spec.add_development_dependency 'rubocop', '1.57.2'
|
42
42
|
spec.add_development_dependency 'rubocop-rake', '>= 0.5.1'
|
43
43
|
spec.add_development_dependency 'rubocop-rspec', '>= 2.1.0'
|
44
44
|
spec.add_development_dependency 'simplecov'
|
45
45
|
spec.add_development_dependency 'simplecov-lcov'
|
46
|
+
spec.add_development_dependency 'trilogy'
|
46
47
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
47
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ridgepole
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10
|
11
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -204,14 +204,14 @@ dependencies:
|
|
204
204
|
requirements:
|
205
205
|
- - '='
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
version: 1.57.
|
207
|
+
version: 1.57.2
|
208
208
|
type: :development
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
212
|
- - '='
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: 1.57.
|
214
|
+
version: 1.57.2
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: rubocop-rake
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -268,6 +268,20 @@ dependencies:
|
|
268
268
|
- - ">="
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: '0'
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: trilogy
|
273
|
+
requirement: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - ">="
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '0'
|
278
|
+
type: :development
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
requirements:
|
282
|
+
- - ">="
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '0'
|
271
285
|
description: Ridgepole is a tool to manage DB schema. It defines DB schema using Rails
|
272
286
|
DSL, and updates DB schema according to DSL.
|
273
287
|
email:
|
@@ -330,11 +344,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
330
344
|
version: '2.7'
|
331
345
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
332
346
|
requirements:
|
333
|
-
- - "
|
347
|
+
- - ">="
|
334
348
|
- !ruby/object:Gem::Version
|
335
|
-
version:
|
349
|
+
version: '0'
|
336
350
|
requirements: []
|
337
|
-
rubygems_version: 3.
|
351
|
+
rubygems_version: 3.4.10
|
338
352
|
signing_key:
|
339
353
|
specification_version: 4
|
340
354
|
summary: Ridgepole is a tool to manage DB schema.
|