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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f259bb56c8c8193c060dd6b3e14b9c90fbe8e5105046ebbefcd9e140656fd176
4
- data.tar.gz: 6b5d498ac6dfde45c7a2306942baf0bdef2dba66d5a3073e7fe886d6092e4cdf
3
+ metadata.gz: e7156f99da51fe3ee205b17442595dfb56da0de39b0bb3995997c306832b7a46
4
+ data.tar.gz: c3a09ae5f3b6d2a1895f0b5d518fbae1c607e8dd31419438b111c01fe19a33b1
5
5
  SHA512:
6
- metadata.gz: 3ed96d3b0f2d451544d0154a1840342b4bd873fcd416d9c65f17181d22e1742ea39deb17abc03e52002a204e80943390975087ff46992501283dc658e71a9253
7
- data.tar.gz: eb533bb2e3613b82fc3ca2e11f1d1b6d4a17e8238030acaba0f679b31b11798d7accd9347d4c1e575cbf09da3de95851244360735a024ea77fa904962aab13d0
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
- * 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'
5
5
  end
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.1'
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.beta
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-22 00:00:00.000000000 Z
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.1
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.1
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: 1.3.1
349
+ version: '0'
336
350
  requirements: []
337
- rubygems_version: 3.3.7
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.