trix-genius 0.0.9 → 0.0.10

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: a5fefe1165c4da04776c26bd111fd8d8c1cff35f02ec09a6701c73b73b5f73d4
4
- data.tar.gz: 1b999ec5cd7a8f222ba686bb13d69f05fe568e220f84edc5f3b54da8fb0f2775
3
+ metadata.gz: d2ddb31fb89d2c3c905bfdf4eb9a338e6586246719261a620f7b2d7699532e89
4
+ data.tar.gz: 13cacd38012d4349942c990a66a95ab92b2523c73102e568b7077bd8cc863b55
5
5
  SHA512:
6
- metadata.gz: c90aa3173acc0ee03069c14b1631f335e526b06961e760b7a8112d9cdd45c3589953fd1141f24db71f00f8765298467174b18b0aa8e9c5fceac6c3911109e2fa
7
- data.tar.gz: 954827de8a41678ed79e986d9553e6bbeacbe93b4e2bc1269f2e1afcb3b3f071f193566c6b587acb2c8d953954075fc247eb557fb3a632f606f50854bd88b1d9
6
+ metadata.gz: e2ca48c48b1210fe80ea7f5baf8c0633e0e7d14c1d9f018176996b371dc835271d793e72ca265ef87eae6103f25a842f641eebc350d7985131874cd840be1419
7
+ data.tar.gz: ee45b0be8956f65df16edb341f100bfa891515aeb5e4b1fa9c4c089e97503b715c0f1658606d7e79b8c354fcd19c3a6831759a3baf2ce58dc286af3cce620d45
@@ -20,7 +20,7 @@ module TrixGenius
20
20
  application_lines << "import \"trix\""
21
21
  application_lines << "import \"@rails/actiontext\""
22
22
 
23
- if File.exists?(js_application_path)
23
+ if File.exist?(js_application_path)
24
24
  application_file = File.read(js_application_path)
25
25
  update_file application_lines, application_file
26
26
  else
@@ -33,7 +33,7 @@ module TrixGenius
33
33
  application_controller_lines << "import TrixController from \"controllers/trix-controller\""
34
34
  application_controller_lines << "application.register(\"trix\", TrixController)"
35
35
 
36
- if File.exists?(js_application_controller_path)
36
+ if File.exist?(js_application_controller_path)
37
37
  application_controller_file = File.read(js_application_controller_path)
38
38
  update_file application_controller_lines, application_controller_file
39
39
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trix-genius
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giménez Silva Germán Alberto https://rubystacknews.com/