multiapi_cli 0.1.4 → 0.1.6

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: ab8d5fe82562d619f96696e87f4aedb3686a70ea1ccd32c9e1cf121b61d4ef09
4
- data.tar.gz: b01ecafac479d55aebf7b9925a5138f8bf9b31824fa086e9f18eaf50e4127880
3
+ metadata.gz: 1f1ff048620425e716c9d13645333d9cc864dda96a2db2e268a15904311b2f20
4
+ data.tar.gz: 9ea62f1cadbdfc5bb093308ca3c781620f078d507449e218986b5259aa933b77
5
5
  SHA512:
6
- metadata.gz: 864666cd3e00fa0452c4e19c85d224278c2a248b641d8181fd58c706cb6254cbc20b22e2dccf13b5b6ec32df4c26a62851b72dc65b423512738a520e3567668a
7
- data.tar.gz: f2ced404cfa5e72634475feab912e11d3ea49b585b18a8ebd4f46a569f830079a96b2b6cd5b9386c70a7365010d4e1b3632a66b71d9330bf1062786ebbbea103
6
+ metadata.gz: 6d57e1deef7d30b711640485ed7e373aa2aacff541a5cdcdb093f2cbe221e4978a15c9e4eb22c48dde1009f532cedc0c08f7f08d4bc5ff3d8bc3c6de9b4d8c7d
7
+ data.tar.gz: f6df517721d46f9cdb66e3890f12ffc7c5c8a5eb7e0d89c7dc7c15ac539b6221ed2e5dc2d8ecf2c071e74f3d555d32b338d0cd394af2ec0e60ec0579a21ed7f0
@@ -1,3 +1,3 @@
1
1
  module MultiapiCli
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.6"
3
3
  end
data/lib/multiapi_cli.rb CHANGED
@@ -1012,7 +1012,7 @@ module MultiapiCli
1012
1012
  console.log('[Edit] ============ CICLO DE CARREGAMENTO ============')
1013
1013
  console.log('[Edit] Estado atual:', {
1014
1014
  id: props.id,
1015
- channels: store.#{plural_name}.length
1015
+ #{plural_name}: store.get#{plural_name.camelize}.length
1016
1016
  })
1017
1017
 
1018
1018
  if (!props.id) {
@@ -1022,7 +1022,7 @@ module MultiapiCli
1022
1022
  }
1023
1023
 
1024
1024
  // Buscar o registro diretamente do array no store
1025
- const item = store.#{plural_name}.find(c => c.id === props.id)
1025
+ const item = store.get#{plural_name.camelize}.find(c => c.id === props.id)
1026
1026
 
1027
1027
  if (!item) {
1028
1028
  console.error('[Edit] Item não encontrado no store')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiapi_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seu Nome