plutonium 0.15.16 → 0.15.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a19b3d772cd65c45437466aab60afeb70d235bac9c2da42daf4153a3cefec7e0
4
- data.tar.gz: d07fd148541e1a8b04db4da812552d60ee0070b62dcd6cc56df8adf4dc67e6c1
3
+ metadata.gz: c5b52e10ff664f2ecc1e4b86ec73a1001d115d269385edc93791dfc362418ba9
4
+ data.tar.gz: 35df7064e49d6c219cfd92ea24a995363ec73864101b7fdeb970014113b6aca2
5
5
  SHA512:
6
- metadata.gz: 0ad497ecf8b3e56fab630b2ac3e6388d26a75ed784cec0fa5275f5307062f3a20916df91ff053d061b5cab8b31c51d677e30df633ea838849731812f6e67333d
7
- data.tar.gz: 8c4088f28c64b474217bcbe2e71cf73c522b75486573a05b999a486cf1eeaf788508f53754dbf537651c354ef8fb8a24e01f60b7f3acadbbcd8fe80591df7ad1
6
+ metadata.gz: 72770427e5337b78f2d9f7e1e56eed617b2341d8952f0a51de0041ab63e63a795958a0f35a2170d90a3745dc855a41c7fa0cb5c3b82ea32cb72764685a464ed0
7
+ data.tar.gz: 1d25b16a2cf39ce759eeb22a93c185e07e8898197ca182e382eb9fa649f40086f8f09557c16c6921aa6fab240b7b7eb82e0f8c510c41d969ffacafe593e496f2
@@ -43,7 +43,7 @@ module Pu
43
43
  inject_into_class(
44
44
  "app/models/application_record.rb",
45
45
  "ApplicationRecord",
46
- " include Plutonium::Resource::Record\n"
46
+ " include Plutonium::Resource::Record\n\n"
47
47
  )
48
48
  end
49
49
  end
@@ -15,7 +15,7 @@ module Pu
15
15
 
16
16
  def start
17
17
  source_feature = select_feature msg: "Select source feature"
18
- source_module = (source_feature == "main_app") ? "ResourceRecord" : "#{source_feature.camelize}::ResourceRecord"
18
+ source_module = (source_feature == "main_app") ? "ApplicationRecord" : "#{source_feature.camelize}::ResourceRecord"
19
19
 
20
20
  Plutonium.eager_load_rails!
21
21
  available_resources = source_module.constantize.descendants.map(&:to_s).sort
@@ -6,8 +6,8 @@ module Plutonium
6
6
  include Phlex::Rails::Helpers::CSPMetaTag
7
7
  include Phlex::Rails::Helpers::CSRFMetaTags
8
8
  include Phlex::Rails::Helpers::FaviconLinkTag
9
- include Phlex::Rails::Helpers::StyleSheetLinkTag
10
- include Phlex::Rails::Helpers::JavaScriptIncludeTag
9
+ include Phlex::Rails::Helpers::StylesheetLinkTag
10
+ include Phlex::Rails::Helpers::JavascriptIncludeTag
11
11
 
12
12
  def view_template(&)
13
13
  doctype
@@ -1,5 +1,5 @@
1
1
  module Plutonium
2
- VERSION = "0.15.16"
2
+ VERSION = "0.15.17"
3
3
  NEXT_MAJOR_VERSION = VERSION.split(".").tap { |v|
4
4
  v[1] = v[1].to_i + 1
5
5
  v[2] = 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plutonium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.16
4
+ version: 0.15.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk