ntq_tools 0.4.7 → 0.5.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: a82614809d5e0fd47499b7cf0a64353e23f59c512a1035899978b59eb9e18013
4
- data.tar.gz: 36d41ccd2dbaeed6257036f046a92d47bd9420a5be01829f52667b46ec802dde
3
+ metadata.gz: e852b85c98ac5a88f421e947d452f27c454dd0c6642b90513d312ac0f79bc7b9
4
+ data.tar.gz: eb9e04c44a0ed9b046b119eb1a4e6dde0ef57887c7d077687dfb458b5d2300f3
5
5
  SHA512:
6
- metadata.gz: 382f14dd86d57805747dc87b090f289ef6d85e3dc129c45550985e8fb07b0cff4cbe726bd26a3942eebf807bcf8838f0997977a183d44fa0fc87865f86da8cd4
7
- data.tar.gz: 590f5d6b2a1a8dd8d4c70c2006333090599775ecce8bb1fcf2a685cb51a152108f9977751e9a367edca2e27834ef369c49f02bd0fcebd715ccfb202fc958e6c0
6
+ metadata.gz: 159a98d24dcf9298112f3db9c8e2d399a0a7ebc68e66a1957f6288775825533a40c2559576e502ec6688a9dec20d6d97beb383f8155897d8d1f6e90d7c6b97ae
7
+ data.tar.gz: 359ab06d15629daa95a49775838a2e8a5b0a68a5fcc76a260322840e28896c3dfd9f267ebaacbeece3a35d40e613dfcdec4e76a1ce85273c9d2e89e34fdd2db2
@@ -62,7 +62,7 @@ module NtqTools
62
62
  %i[belongs_to has_one].each do |association_type|
63
63
  class_name.constantize.reflect_on_all_associations(association_type).each do |asso|
64
64
  asso_class_name = asso.options.dig(:class_name) || asso.name.to_s.singularize.camelcase
65
- associations << "field :#{asso.name}, Types::#{asso_class_name.downcase.pluralize.camelcase}::#{asso_class_name}Type"
65
+ associations << "field :#{asso.name}, Types::#{asso_class_name.pluralize.camelcase}::#{asso_class_name}Type"
66
66
  end
67
67
  end
68
68
  [:has_many].each do |association_type|
@@ -70,7 +70,7 @@ module NtqTools
70
70
  asso_class_name = asso.options.dig(:class_name) || asso.name.to_s.singularize.camelcase
71
71
  next if asso_class_name == 'PaperTrail::Version'
72
72
 
73
- associations << "field :#{asso.name}, [Types::#{asso_class_name.downcase.pluralize.camelcase}::#{asso_class_name}Type]"
73
+ associations << "field :#{asso.name}, [Types::#{asso_class_name.pluralize.camelcase}::#{asso_class_name}Type]"
74
74
  end
75
75
  end
76
76
 
@@ -1,3 +1,3 @@
1
1
  module NtqTools
2
- VERSION = "0.4.7"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ntq_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-05 00:00:00.000000000 Z
11
+ date: 2023-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -82,7 +82,7 @@ metadata:
82
82
  homepage_uri: https://github.com
83
83
  source_code_uri: https://github.com
84
84
  changelog_uri: https://github.com
85
- post_install_message:
85
+ post_install_message:
86
86
  rdoc_options: []
87
87
  require_paths:
88
88
  - lib
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubygems_version: 3.3.7
101
- signing_key:
101
+ signing_key:
102
102
  specification_version: 4
103
103
  summary: Toolkit 9tq
104
104
  test_files: []