rubymonolith 0.1.6 → 0.1.7

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: 99a4d823bd217e148a5bdc6499edccf29f945189d1953e9a6315f63f8fba1230
4
- data.tar.gz: 380581ef6ce997e7136caa3bd26277bd98108db2f02617ebd446c86a7afd14d3
3
+ metadata.gz: b0ebcc614f051018cca6551d4d1fef7b4c1c340d363251b877d03fcfc405b9d2
4
+ data.tar.gz: 6e59a974eb52a2ed798bc6b2aae3d052d941c5a821fabf66e51a9099a01e4056
5
5
  SHA512:
6
- metadata.gz: 86ff18a6821057a36b6d6748300c5b3b84cafca7dd31f1e756b408bd4d8898d9df912602ed2f3e43c3412a1aa96ee1db7c0a1bff95c6863de60ee98e47fc6ed5
7
- data.tar.gz: a27bce71a7e623800667e41d936e21ddf3e088af7b07f748e51294e78c1437b875bb529ea513c4beac863070e74ef074f77bccf5d96fe9f3b737c9147777355a
6
+ metadata.gz: a35c253a7ad262fe7874981b548a4efba8e7cafb7183f85cc9f88671b8fe39ad4c9ed75b33078fcad7a178e3875acd90cf6ac94662cac7a5daa855f9a451bd61
7
+ data.tar.gz: c00781a70ff79c20583ee6def60ab6291feeb0a49537faea7901fa5b3e491854361139c09cfd3d9aac84a1422f2b0b98c17f5a4cb4db5e3ddc5b756680995c36
@@ -38,6 +38,13 @@ after_bundle do
38
38
  run "npm init -y"
39
39
  run "npm install daisyui@latest @tailwindcss/typography@latest"
40
40
 
41
+ # Add node_modules to .gitignore
42
+ append_to_file '.gitignore', <<~GITIGNORE
43
+
44
+ # Node modules
45
+ /node_modules/*
46
+ GITIGNORE
47
+
41
48
  # Add sources and plugins to Tailwind CSS
42
49
  append_to_file 'app/assets/tailwind/application.css', <<~CSS
43
50
 
@@ -50,6 +57,12 @@ after_bundle do
50
57
  @plugin "@tailwindcss/typography";
51
58
  @plugin "daisyui";
52
59
  CSS
60
+
61
+ # Add Superview and Superform includes to ApplicationController
62
+ inject_into_class "app/controllers/application_controller.rb", "ApplicationController", <<~RUBY
63
+ include Superview::Actions
64
+ include Superform::Rails::StrongParameters
65
+ RUBY
53
66
  end
54
67
 
55
68
  # File-based content management system for static pages and markdown content
@@ -1,3 +1,3 @@
1
1
  module Monolith
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubymonolith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Gessler