crudboy 0.1.0 → 0.1.1

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: d6dc8118318a3ba0b12135bedf428cd4a56fd39aaab7cb3389cc5cacb5713c10
4
- data.tar.gz: 2cb2c93182d2f582e6829e23fe6e506704dd0d1083bc232bef9402dfb16b9fc3
3
+ metadata.gz: 49683e6e09439bc2b473d364df200886d88326c38d0afb414c220eb200f80d58
4
+ data.tar.gz: 5ed276121ffc42a2702acdb7bb2b4f35038d33fdae626aaf788b6d259df20e89
5
5
  SHA512:
6
- metadata.gz: 00a0f03e7788ecf4972ca98fa3a310658b1e0ba868e723146ea84f6754ebc5a4043f0aad31457065938129a2932cc309863b2dbcabe431694be4610b4b8d2b18
7
- data.tar.gz: 2603679bc0997601dab38ef1619bc3f7979aa5db433f7d06281e926448682dcdfe0556ce49874d3c98d78252dd3be810d8ae96bb75af082bb18328e259991ebc
6
+ metadata.gz: 38dc41ad2cc78ed27447ae58e362c81535b7e605479aedd8d360e22e5e4f8db2c0018be97a1a157957b3838d7cd3274df239e7534e503a4b8af2784b368cf05f
7
+ data.tar.gz: 6c8e0f31d6e9ac94c4f3617474e3163ee2b960bca69c02a3b5fe03fc639613ed7b158a91dbd3024104d23d5db9620910d595952899c513f886aa49d628637031
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- crudboy (0.1.0)
4
+ crudboy (0.1.1)
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.3.5)
22
- activesupport (= 6.0.3.5)
23
- activerecord (6.0.3.5)
24
- activemodel (= 6.0.3.5)
25
- activesupport (= 6.0.3.5)
26
- activesupport (6.0.3.5)
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)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 0.7, < 2)
29
29
  minitest (~> 5.1)
@@ -31,13 +31,13 @@ GEM
31
31
  zeitwerk (~> 2.2, >= 2.2.2)
32
32
  byebug (11.1.3)
33
33
  coderay (1.1.3)
34
- composite_primary_keys (12.0.9)
34
+ composite_primary_keys (12.0.10)
35
35
  activerecord (~> 6.0.0)
36
- concurrent-ruby (1.1.8)
37
- i18n (1.8.9)
36
+ concurrent-ruby (1.1.9)
37
+ i18n (1.8.11)
38
38
  concurrent-ruby (~> 1.0)
39
39
  method_source (1.0.0)
40
- minitest (5.14.4)
40
+ minitest (5.15.0)
41
41
  mysql2 (0.5.3)
42
42
  net-ssh (6.1.0)
43
43
  net-ssh-gateway (2.0.0)
@@ -60,9 +60,11 @@ GEM
60
60
  thread_safe (0.3.6)
61
61
  tzinfo (1.2.9)
62
62
  thread_safe (~> 0.1)
63
- unicode-display_width (1.7.0)
64
- yard (0.9.26)
65
- zeitwerk (2.4.2)
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.1)
66
68
 
67
69
  PLATFORMS
68
70
  ruby
data/lib/crudboy/app.rb CHANGED
@@ -63,6 +63,8 @@ module Crudboy
63
63
  end
64
64
 
65
65
  def config
66
+ @config ||= YAML.load(IO.read(File.expand_path(@options.config_file)), aliases: true).with_indifferent_access
67
+ rescue ArgumentError
66
68
  @config ||= YAML.load(IO.read(File.expand_path(@options.config_file))).with_indifferent_access
67
69
  end
68
70
 
@@ -1,3 +1,3 @@
1
1
  module Crudboy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2022-01-05 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.2.3
252
+ rubygems_version: 3.3.3
253
253
  signing_key:
254
254
  specification_version: 4
255
255
  summary: CRUD code generator using Rails ActiveRecord