gloo-lang 0.9.3 → 0.9.4

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: a97b50f311067cb36399d283816c85ab0ca4756ffbd1e9c90c06776be38cf5fa
4
- data.tar.gz: c5bdb27db5edcb57fab3ec8bd0e50a4a2e6a2cd7f6c1b46001741da96c5b68c6
3
+ metadata.gz: 6b770d777cc2d3700fd6424ff1a150cd793aa111e89d22d519b2eb3c378e9498
4
+ data.tar.gz: 136de9811491851ffb46b8b630cb0a350cf46fcbb77045fe3be25a018ac160d0
5
5
  SHA512:
6
- metadata.gz: bc547e429ebe3ee5cc948d7647ef6a5226fa4d499adb467b832a276d1d9b83fb2f3ad56f91d1bc2033df46c3241f02257e05ea02369ad41f90a74897bbeab105
7
- data.tar.gz: c415a1953ceb79b38e6b445cecf566547fa5d1fcac4cd6b8b93f980dcdf087d4ecb4ed31b317b8cb2354c560905329e3e9e9473691b19dc68fe8fa1a2af6bdd6
6
+ metadata.gz: e79fd61865248c8091eae5d71685f5073159537b65535efcf2aec0d2c7d05d3af6894987397ef704c378d36b940f55a7198ccc547509e7ed9b63f81a7e1778f3
7
+ data.tar.gz: ead904b8714aad9a1dd100166a81d58f8c168a6f42b687ca2116f684d394d1d2cb59b6e5339df3783626ccd227a1ebf51794884e7dbeb0f037c02c82d4c7f752
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gloo-lang (0.9.0)
4
+ gloo-lang (0.9.3)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
  net-ssh (~> 6.1, >= 6.1.0)
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.3
1
+ 0.9.4
@@ -8,6 +8,14 @@ module GlooLang
8
8
  module App
9
9
  class Info
10
10
 
11
+ #
12
+ # Register other Info classes when they are loaded.
13
+ #
14
+ def self.inherited( subclass )
15
+ $infos = [] unless $infos
16
+ $infos << subclass
17
+ end
18
+
11
19
  #
12
20
  # Load the version from the VERSION file.
13
21
  #
@@ -28,6 +36,32 @@ module GlooLang
28
36
  return "#{APP_NAME}, version #{VERSION}"
29
37
  end
30
38
 
39
+ #
40
+ # Get the full application version information,
41
+ # including engine version.
42
+ #
43
+ def self.full_version
44
+ str = "#{display_title}"
45
+ if $infos
46
+ $infos.each do |o|
47
+ str << "\n#{o.display_title}"
48
+ end
49
+ end
50
+ return str
51
+ end
52
+
31
53
  end
54
+
55
+ #
56
+ # Add the ruby version information.
57
+ #
58
+ class RubyInfo < Info
59
+
60
+ def self.display_title
61
+ return "Ruby version: #{RUBY_VERSION}"
62
+ end
63
+
64
+ end
65
+
32
66
  end
33
67
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo-lang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-16 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler