coloris 0.0.0 → 0.0.2

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: 3803126dae7a7df1b5dd5088fd3da081d6caeb1417bcbf12d8bcc7565a24df45
4
- data.tar.gz: 8fdb45d472872e66217dad460f44b34e25d082b6e2bb8d5280de2510266c185f
3
+ metadata.gz: d2c19bec0ed05c159bc9aea924c8218dcbaa5eaa4a45a0826ae56400b1fac018
4
+ data.tar.gz: 4d8787589f9a983a1af449c4d4ef49e3e2c53bb9dbcef9ffbce51c7727cfc881
5
5
  SHA512:
6
- metadata.gz: 790200a4f61a95c35b1f1016ff342a19a1f5bd60225cf7deebddc1b529588e2d4d725e8f23a65c74eab52f487d5383c3007e1cd03a2553d8f97d61fe8debef59
7
- data.tar.gz: d63dc143fd79a818144bf43422bf6e9928241040a7a3f736a147e4c880ebb976d7b3026adf0d80393e232c0ca4d37c49dd78fa2d6642a9bc5854e3a1dcadb91e
6
+ metadata.gz: 4788d2d0e52c542219bae10230f735a3a1d11518dafd69d6dbed222124074240b39dcffe6ad60736bb9f8b2c06efbc34317e20a9920401e8c422a0c3e68d2bb9
7
+ data.tar.gz: ecb1a93509fc1057a012e58b13a9c2412b71a8dd29c11372048eacaaaa57a6561444edac4dedcc3e06a8d58dbd92d433ab4e0f5ebb0129eab2c817da84ea4b39
@@ -1,11 +1,13 @@
1
- class Coloris::InstallGenerator < Rails::Generators::Base
2
- source_root File.expand_path("../../../coloris_assets", __FILE__)
3
- def install
4
- copy_file "coloris.css", "app/assets/stylesheets/coloris.css"
5
- copy_file "coloris.js", "app/javascript/coloris.js"
6
- inject_into_file "app/views/layouts/application.html.erb",
7
- " <%= javascript_include_tag 'coloris', 'data-turbo-track': 'reload', 'defer': 'true' %>\n ",
8
- before: "</head>"
9
- puts "Coloris assets have been intalled in your app successfully!"
1
+ module Coloris
2
+ class InstallGenerator < Rails::Generators::Base
3
+ source_root File.expand_path("../../coloris_assets", __FILE__)
4
+ def install
5
+ copy_file "coloris.css", "app/assets/stylesheets/coloris.css"
6
+ copy_file "coloris.js", "app/javascript/coloris.js"
7
+ inject_into_file "app/views/layouts/application.html.erb",
8
+ " <%= javascript_include_tag 'coloris', 'data-turbo-track': 'reload', 'defer': 'true' %>\n ",
9
+ before: "</head>"
10
+ puts "Coloris assets have been intalled in your app successfully!"
11
+ end
10
12
  end
11
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coloris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Indigo Tech Tutorials