lesli_system 1.0.1 → 1.0.3

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: ca2f985bba41f1b07e9c73bbe003b8851f52977d136286f101a9b3bd9844d615
4
- data.tar.gz: bbc7cfa278a1f0bee91abd7a303eecc5dede64160a936745a16e30352a967d68
3
+ metadata.gz: cf98e3b8f2ae67c50087359d623885e3d0eb9d7974a39d0bc92157daefebb0e3
4
+ data.tar.gz: 7481b33a73135a5ea7aa3901fd48ae35a1bd14716eb3c4c7c1009033c1a4a411
5
5
  SHA512:
6
- metadata.gz: db1e71ff6101e27e74aba23657fe7fc999555d2cfae99a7cadfac6d8355fc409e8d828a1c0f9919336d809a408ae15acff7ed947197ebd37e7949188d27fbdf4
7
- data.tar.gz: 249f5cd623dfd877ce2cd8c677c02394dddddf47b537a5619acc7157cf2b44590071b80a755946e52bda150df4ef27ca5e16286ba6a08201e7813d2cc86d797b
6
+ metadata.gz: 2ee90673c706601113133207b24e9ff11ec3b8d86df0ce4925e7d06939f6bc41e09701596891202eb03b9523c794cead8d82ec8ed3186753e70b81e4bddc7528
7
+ data.tar.gz: 057ca8386bfb54ade31c147ab09c700ffd17c9fc1920dfb9065e974cfa8c3d4f52276c47e6878f1e289b5eae019affc5a5097e1d9133c89c5ead00e7c9ac4595
@@ -7,7 +7,7 @@ module LesliSystem
7
7
  # engine("LesliAdmin", "name")
8
8
  def self.engine(engine, property=nil)
9
9
 
10
- engine = engine.camelize
10
+ engine = engine.to_s.camelize
11
11
 
12
12
  engines() if ENGINES.empty?
13
13
 
@@ -47,6 +47,8 @@ module LesliSystem
47
47
  # do not include engines if not is locally installed
48
48
  next unless File.exist?(engine_local_path)
49
49
  end
50
+
51
+ gem_specification = Gem::Specification.find_by_name(engine.underscore)
50
52
 
51
53
  # engine completelly information
52
54
  ENGINES[engine] = {
@@ -54,9 +56,11 @@ module LesliSystem
54
56
  :name => engine,
55
57
  :path => engine_instance::Engine.routes.find_script_name({}),
56
58
  :version => engine_instance::VERSION,
57
- :description => Gem::Specification.find_by_name(engine.underscore).description,
59
+ :summary => gem_specification.summary,
60
+ :description => gem_specification.description,
61
+ :metadata => gem_specification.metadata,
58
62
  :build => engine_instance::BUILD,
59
- :dir => Gem::Specification.find_by_name(engine.underscore).gem_dir
63
+ :dir => gem_specification.gem_dir
60
64
  }
61
65
  end
62
66
 
@@ -66,6 +70,9 @@ module LesliSystem
66
70
  :name => "Root",
67
71
  :path => "/",
68
72
  :version => "1.0.0",
73
+ :summary => "",
74
+ :description => "",
75
+ :metadata => [],
69
76
  :build => "0000000",
70
77
  :dir => Rails.root.to_s
71
78
  }
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LesliSystem
4
- VERSION = "1.0.1"
5
- BUILD = "1752158466"
4
+ VERSION = "1.0.3"
5
+ BUILD = "1753332652"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-10 00:00:00.000000000 Z
11
+ date: 2025-07-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  LesliSystem provides shared, reusable system-level components for The Lesli Framework.