crudboy 0.2.2 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6bcfe144b77ac91aa4ad9e8eae4532d1b24810cd624a7c87bab5db2c7cc604b
4
- data.tar.gz: 29a225393068acf8e63d4e94fe9296b072aaea0b9b5a22a5fa6036dba17d7e0c
3
+ metadata.gz: e8def8432424bc521f2da4ff1b25d6fe36673c8b811e997368d4a5e7967dd1ce
4
+ data.tar.gz: 2177c45565034ec452b8b6e8eba105c26143e1c9a165d59bdb9cdeaae100460c
5
5
  SHA512:
6
- metadata.gz: 491c91fd67de77810b7c2b34f0f8ed2e28d7ffafe3aa5dd7ae7e70dea26ab162b331eb1eccc1958939c8c347d507406075e19846befaf7c27d70d3e0b3659cd4
7
- data.tar.gz: 06a30402773090b514e56c1bc7cf9e26f59ba63faa8e79bd366995cca0d6aaf50200fd6e6c6ab9f93d38571d11801c56f67ff6221417be0cd1b3277320733e3e
6
+ metadata.gz: 53fe549ebabd9e6ba66ad4316657ed67747b14fc064a792bf702299c46a5f9bc8b718ec5c860e9f4bd8e799b440b892674363e376910965f0760e5cf0c49a545
7
+ data.tar.gz: c5d3cffccd0565d70f57dada5be7cf05fc5a9779076812d875d1eec69b792d1d7906d7d5e8118c7b2b4f83b4ba22640b3676aeb45efb1c202700f6da5ad167c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- crudboy (0.2.2)
4
+ crudboy (0.2.3)
5
5
  activerecord (>= 6.0.3, < 6.2.0)
6
6
  activesupport (~> 6.0.3)
7
7
  composite_primary_keys (~> 12.0.3)
@@ -120,9 +120,9 @@ module Crudboy
120
120
  if raw_type == 'varchar'
121
121
  format('%s: %s = Field(default_factory=gen_uuid, primary_key=True, max_length=%s, description="%s")', name, python_type, limit, comment)
122
122
  elsif raw_type == 'bigint'
123
- format('%s: %s = Field(default_factory=gen_bigint_id, primary_key=True, max_length=%s, description="%s")', name, python_type, limit, comment)
123
+ format('%s: %s = Field(default_factory=gen_bigint_id, primary_key=True,description="%s")', name, python_type, comment)
124
124
  else
125
- format('%s: %s = Field(primary_key=True, max_length=%s, description="%s")', name, python_type, limit, comment)
125
+ format('%s: %s = Field(primary_key=True, description="%s")', name, python_type, comment)
126
126
  end
127
127
  end
128
128
 
@@ -1,3 +1,3 @@
1
1
  module Crudboy
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crudboy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang