crudboy 0.1.3 → 0.1.5

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: 39c1af3267675b441d2178a7f08273bb8aa8de5615ea07807fe7911a3cc76739
4
- data.tar.gz: 8f96bf86ceffd5a4e6c7c5c935fa68cc1ba09b7ba8e66e19750a0f106e00eac7
3
+ metadata.gz: 69bd2e2762d42e2bbfd7b0a6c0c586013b5713791a376133dbe3bb16d037e133
4
+ data.tar.gz: 83d46592a8907a04665a5d5e99b3ee49b1c8ce09f9e75b91e67d61c4980ecea0
5
5
  SHA512:
6
- metadata.gz: df6fd7f911befc9df17f77afd81e0a0f7bea1c47b8384572a7f72e1af39ba5baf156725a16378ecc4aafa2aaf33617fe7f2366d217dbac8cc1a2e9dee0788461
7
- data.tar.gz: 054eba800ad56de772a06f02f6f407aa90030abcad7c3f3e45a9f38081376b44e7e7bb414e9011826d50af475332dd9d2d11019672a9ab06b765fd80f53072c4
6
+ metadata.gz: 0a088e7f282c40b833945de0db2c5f9b63f28aebc9234f2f8a3652e896ef740402ccb34b88fa326965f9388285ff30d6543173e5f1911d09c61f52ced372ea7b
7
+ data.tar.gz: 89941e6bca4b912959ada8414ba308cb1acf60874dca6e093b08e843fa0034946df744e5bf62178e0a8217d3fbdca4f27f23d24fd0057f2067c6fee253095f7e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- crudboy (0.1.3)
4
+ crudboy (0.1.5)
5
5
  activerecord (>= 6.0.3, < 6.2.0)
6
6
  activesupport (~> 6.0.3)
7
7
  composite_primary_keys (~> 12.0.3)
@@ -18,12 +18,12 @@ PATH
18
18
  GEM
19
19
  remote: https://rubygems.org/
20
20
  specs:
21
- activemodel (6.0.4.4)
22
- activesupport (= 6.0.4.4)
23
- activerecord (6.0.4.4)
24
- activemodel (= 6.0.4.4)
25
- activesupport (= 6.0.4.4)
26
- activesupport (6.0.4.4)
21
+ activemodel (6.0.5.1)
22
+ activesupport (= 6.0.5.1)
23
+ activerecord (6.0.5.1)
24
+ activemodel (= 6.0.5.1)
25
+ activesupport (= 6.0.5.1)
26
+ activesupport (6.0.5.1)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 0.7, < 2)
29
29
  minitest (~> 5.1)
@@ -33,13 +33,13 @@ GEM
33
33
  coderay (1.1.3)
34
34
  composite_primary_keys (12.0.10)
35
35
  activerecord (~> 6.0.0)
36
- concurrent-ruby (1.1.9)
37
- i18n (1.8.11)
36
+ concurrent-ruby (1.2.3)
37
+ i18n (1.14.1)
38
38
  concurrent-ruby (~> 1.0)
39
39
  method_source (1.0.0)
40
- minitest (5.15.0)
41
- mysql2 (0.5.3)
42
- net-ssh (6.1.0)
40
+ minitest (5.20.0)
41
+ mysql2 (0.5.4)
42
+ net-ssh (7.0.1)
43
43
  net-ssh-gateway (2.0.0)
44
44
  net-ssh (>= 4.0.0)
45
45
  pry (0.13.1)
@@ -48,23 +48,21 @@ GEM
48
48
  pry-byebug (3.9.0)
49
49
  byebug (~> 11.0)
50
50
  pry (~> 0.13.0)
51
- pry-doc (1.3.0)
51
+ pry-doc (1.4.0)
52
52
  pry (~> 0.11)
53
53
  yard (~> 0.9.11)
54
54
  rainbow (3.0.0)
55
55
  rake (12.3.3)
56
- sqlite3 (1.4.2)
56
+ sqlite3 (1.6.8-x86_64-darwin)
57
57
  table_print (1.5.7)
58
58
  terminal-table (1.8.0)
59
59
  unicode-display_width (~> 1.1, >= 1.1.1)
60
60
  thread_safe (0.3.6)
61
- tzinfo (1.2.9)
61
+ tzinfo (1.2.10)
62
62
  thread_safe (~> 0.1)
63
63
  unicode-display_width (1.8.0)
64
- webrick (1.7.0)
65
- yard (0.9.27)
66
- webrick (~> 1.7.0)
67
- zeitwerk (2.5.3)
64
+ yard (0.9.34)
65
+ zeitwerk (2.6.6)
68
66
 
69
67
  PLATFORMS
70
68
  ruby
@@ -5,12 +5,17 @@ module Crudboy
5
5
  "varchar" => 'String',
6
6
  "char" => 'String',
7
7
  "text" => 'String',
8
+ "longtext" => 'String',
8
9
  "int" => 'Integer',
10
+ "smallint" => 'Integer',
9
11
  "bigint" => 'Long',
10
12
  "tinyint" => 'Byte',
13
+ "double" => 'Double',
11
14
  "date" => 'LocalDate',
12
15
  "datetime" => 'LocalDateTime',
13
16
  "timestamp" => 'LocalDateTime',
17
+ "time" => 'LocalTime',
18
+ "blob" => 'byte[]',
14
19
  "decimal" => 'BigDecimal'
15
20
  }
16
21
 
@@ -18,12 +23,17 @@ module Crudboy
18
23
  "varchar" => 'VARCHAR',
19
24
  "char" => 'CHAR',
20
25
  "text" => 'TEXT',
26
+ "longtext" => 'LONGVARCHAR',
21
27
  "int" => 'INTEGER',
28
+ "smallint" => 'INTEGER',
22
29
  "bigint" => 'BIGINT',
23
30
  "tinyint" => 'TINYINT',
31
+ "double" => 'DOUBLE',
24
32
  "date" => 'TIMESTAMP',
25
33
  "datetime" => 'TIMESTAMP',
26
34
  "timestamp" => 'TIMESTAMP',
35
+ "time" => 'TIME',
36
+ "blob" => 'BLOB',
27
37
  "decimal" => 'DECIMAL'
28
38
  }
29
39
 
@@ -1,3 +1,3 @@
1
1
  module Crudboy
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crudboy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-13 00:00:00.000000000 Z
11
+ date: 2024-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  requirements: []
252
- rubygems_version: 3.3.3
252
+ rubygems_version: 3.4.1
253
253
  signing_key:
254
254
  specification_version: 4
255
255
  summary: CRUD code generator using Rails ActiveRecord