trix-genius 0.0.11 → 0.0.12

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: baaf509c27813f29f422005956926f5867d8c871d718cfdfff70758a2bbe1da4
4
- data.tar.gz: 1285ce3f39c78cbe26baf9666e0b4c15770b010d27bafcdef827802b44018777
3
+ metadata.gz: 12c330540b0ad83c3419f7f3504189f7990b6bc69d28d721e35265bb1f252d30
4
+ data.tar.gz: e7014dd5db388632445e0c362cf4430ce89106cfe8b1e309edd8150ff186889b
5
5
  SHA512:
6
- metadata.gz: '0939fff0b6691f87db1c615503b9de5744e95a8b892bdfa6d666bb3025d296eca8c3baf27a709ad41430928d8c71a4949f863ebbd4f0edadf83224a0f6d27880'
7
- data.tar.gz: 68bdea101e83fe38d68afa5d694d059d72e93bccabb508df3da351e8fcc73a33eea2b2d3e99bb8afe6a9c977bfeda9061c1a540f5eb241ac36b529f1f8efb2f8
6
+ metadata.gz: b284e6d6b25567262adc270289b393a2d64752592e80ca8bca0a96b2ec7d6b7ca464a6dd5dc98a30cf6381f0e1e7de2853478a13d76b834b6bb5723c51bd4f27
7
+ data.tar.gz: 0705a76cc11e399ec8951c39616de7344d6f1acd415ef2accc81a482611fa3e2e4b160478a4087f07fcfe7eb45d76c6e3e2abe995b552426ea1ad8130537d6ea
@@ -45,9 +45,9 @@ module TrixGenius
45
45
  copy_file "trix_genius_controller.js", "app/javascript/controllers/trix_genius_controller.js"
46
46
  end
47
47
 
48
- def update_file lines, file_content, path
48
+ def update_file lines, content, path
49
49
  lines.each do |line|
50
- unless application_file.include?(line)
50
+ unless content.include?(line)
51
51
  append_to_file path, "\n#{line}\n"
52
52
  else
53
53
  say_status("skipped", "Import already present in application.js", :yellow)
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.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giménez Silva Germán Alberto https://rubystacknews.com/