ridgepole 2.0.0.beta → 2.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f259bb56c8c8193c060dd6b3e14b9c90fbe8e5105046ebbefcd9e140656fd176
4
- data.tar.gz: 6b5d498ac6dfde45c7a2306942baf0bdef2dba66d5a3073e7fe886d6092e4cdf
3
+ metadata.gz: fd139cacfc2a24027ca2fd0dca97c4090ca338d579a867db3e37d0cb6be37593
4
+ data.tar.gz: 16d8c4e9558d8c7690c3edf3198ca0d9565edbd418487f7c808f0d0612d0439b
5
5
  SHA512:
6
- metadata.gz: 3ed96d3b0f2d451544d0154a1840342b4bd873fcd416d9c65f17181d22e1742ea39deb17abc03e52002a204e80943390975087ff46992501283dc658e71a9253
7
- data.tar.gz: eb533bb2e3613b82fc3ca2e11f1d1b6d4a17e8238030acaba0f679b31b11798d7accd9347d4c1e575cbf09da3de95851244360735a024ea77fa904962aab13d0
6
+ metadata.gz: 97986dcde4b904d8a8e29b294ad359a37378ee5c78c9bbc686bb03d29fe581729b0e5aff8167bdca939b4af3b05cad3c53779f086d686edfb8acd97af5392d52
7
+ data.tar.gz: 8ef1b3f2283145b573ea0aa6cda3006138c14c2c89e32b73753618781c8160a1f161dc18cf26617c09c7b7ccc5fb3196ec4ef8d5876882052608ae45db5845d1
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## 2.0
4
4
 
5
+ ### 2.0.0.beta2 (2023/10/26)
6
+
7
+ * Support Rails 7.1 [pull#447](https://github.com/ridgepole/ridgepole/pull/447)
8
+ * Drop Rails 6.0 support [pull#440](https://github.com/ridgepole/ridgepole/pull/440)
9
+
5
10
  ### 2.0.0.beta (2023/10/22)
6
11
 
7
12
  * 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
- * Support Rails 7.1 ridgepole v2.0.0.
15
- * Drop support AcriveRecord 6.0 in ridgepole v2.0.0.
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
- boolean: 1,
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ridgepole
4
- VERSION = '2.0.0.beta'
4
+ VERSION = '2.0.0.beta2'
5
5
  end
data/ridgepole.gemspec CHANGED
@@ -43,5 +43,6 @@ Gem::Specification.new do |spec|
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.beta
4
+ version: 2.0.0.beta2
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-22 00:00:00.000000000 Z
11
+ date: 2023-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -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: