gloo-lang 1.0.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/lib/VERSION +1 -1
  6. data/lib/gloo_lang/app/engine.rb +47 -12
  7. data/lib/gloo_lang/app/log.rb +42 -3
  8. data/lib/gloo_lang/app/platform.rb +8 -0
  9. data/lib/gloo_lang/core/heap.rb +2 -2
  10. data/lib/gloo_lang/persist/disc_mech.rb +87 -0
  11. data/lib/gloo_lang/persist/file_loader.rb +3 -2
  12. data/lib/gloo_lang/persist/file_saver.rb +2 -1
  13. data/lib/gloo_lang/persist/persist_man.rb +6 -19
  14. metadata +5 -81
  15. data/Gemfile.lock +0 -68
  16. data/lib/gloo_lang/app/help.rb +0 -118
  17. data/lib/gloo_lang/help/app/application.txt +0 -22
  18. data/lib/gloo_lang/help/app/configuration.txt +0 -7
  19. data/lib/gloo_lang/help/app/default_help.txt +0 -14
  20. data/lib/gloo_lang/help/app/logging.txt +0 -16
  21. data/lib/gloo_lang/help/core/color.txt +0 -31
  22. data/lib/gloo_lang/help/core/error.txt +0 -33
  23. data/lib/gloo_lang/help/core/events.txt +0 -21
  24. data/lib/gloo_lang/help/core/gloo_system.txt +0 -57
  25. data/lib/gloo_lang/help/core/here.txt +0 -30
  26. data/lib/gloo_lang/help/core/it.txt +0 -23
  27. data/lib/gloo_lang/help/core/ops.txt +0 -16
  28. data/lib/gloo_lang/help/core/pathname.txt +0 -29
  29. data/lib/gloo_lang/help/objs/basic/alias.txt +0 -36
  30. data/lib/gloo_lang/help/objs/basic/boolean.txt +0 -28
  31. data/lib/gloo_lang/help/objs/basic/container.txt +0 -33
  32. data/lib/gloo_lang/help/objs/basic/decimal.txt +0 -28
  33. data/lib/gloo_lang/help/objs/basic/integer.txt +0 -27
  34. data/lib/gloo_lang/help/objs/basic/script.txt +0 -29
  35. data/lib/gloo_lang/help/objs/basic/string.txt +0 -28
  36. data/lib/gloo_lang/help/objs/basic/text.txt +0 -27
  37. data/lib/gloo_lang/help/objs/basic/untyped.txt +0 -22
  38. data/lib/gloo_lang/help/objs/cli/banner.txt +0 -49
  39. data/lib/gloo_lang/help/objs/cli/bar.txt +0 -37
  40. data/lib/gloo_lang/help/objs/cli/colorize.txt +0 -33
  41. data/lib/gloo_lang/help/objs/cli/confirm.txt +0 -26
  42. data/lib/gloo_lang/help/objs/cli/menu.txt +0 -44
  43. data/lib/gloo_lang/help/objs/cli/menu_item.txt +0 -26
  44. data/lib/gloo_lang/help/objs/cli/pastel.txt +0 -43
  45. data/lib/gloo_lang/help/objs/cli/prompt.txt +0 -27
  46. data/lib/gloo_lang/help/objs/cli/select.txt +0 -34
  47. data/lib/gloo_lang/help/objs/ctrl/each.txt +0 -48
  48. data/lib/gloo_lang/help/objs/ctrl/repeat.txt +0 -38
  49. data/lib/gloo_lang/help/objs/data/markdown.txt +0 -25
  50. data/lib/gloo_lang/help/objs/data/mysql.txt +0 -40
  51. data/lib/gloo_lang/help/objs/data/query.txt +0 -37
  52. data/lib/gloo_lang/help/objs/data/sqlite.txt +0 -26
  53. data/lib/gloo_lang/help/objs/data/table.txt +0 -46
  54. data/lib/gloo_lang/help/objs/dev/git_repo.txt +0 -36
  55. data/lib/gloo_lang/help/objs/dev/stats.txt +0 -36
  56. data/lib/gloo_lang/help/objs/dt/date.txt +0 -23
  57. data/lib/gloo_lang/help/objs/dt/datetime.txt +0 -24
  58. data/lib/gloo_lang/help/objs/dt/time.txt +0 -23
  59. data/lib/gloo_lang/help/objs/ror/erb.txt +0 -37
  60. data/lib/gloo_lang/help/objs/ror/eval.txt +0 -24
  61. data/lib/gloo_lang/help/objs/snd/play.txt +0 -23
  62. data/lib/gloo_lang/help/objs/snd/say.txt +0 -28
  63. data/lib/gloo_lang/help/objs/system/file.txt +0 -48
  64. data/lib/gloo_lang/help/objs/system/ssh_exec.txt +0 -30
  65. data/lib/gloo_lang/help/objs/system/system.txt +0 -32
  66. data/lib/gloo_lang/help/objs/web/http_get.txt +0 -35
  67. data/lib/gloo_lang/help/objs/web/http_post.txt +0 -34
  68. data/lib/gloo_lang/help/objs/web/json.txt +0 -34
  69. data/lib/gloo_lang/help/objs/web/slack.txt +0 -33
  70. data/lib/gloo_lang/help/objs/web/teams.txt +0 -30
  71. data/lib/gloo_lang/help/objs/web/uri.txt +0 -38
  72. data/lib/gloo_lang/help/verbs/alert.txt +0 -33
  73. data/lib/gloo_lang/help/verbs/beep.txt +0 -25
  74. data/lib/gloo_lang/help/verbs/cls.txt +0 -24
  75. data/lib/gloo_lang/help/verbs/context.txt +0 -43
  76. data/lib/gloo_lang/help/verbs/create.txt +0 -33
  77. data/lib/gloo_lang/help/verbs/execute.txt +0 -27
  78. data/lib/gloo_lang/help/verbs/help.txt +0 -34
  79. data/lib/gloo_lang/help/verbs/if.txt +0 -37
  80. data/lib/gloo_lang/help/verbs/list.txt +0 -34
  81. data/lib/gloo_lang/help/verbs/load.txt +0 -38
  82. data/lib/gloo_lang/help/verbs/move.txt +0 -42
  83. data/lib/gloo_lang/help/verbs/put.txt +0 -38
  84. data/lib/gloo_lang/help/verbs/quit.txt +0 -25
  85. data/lib/gloo_lang/help/verbs/run.txt +0 -41
  86. data/lib/gloo_lang/help/verbs/save.txt +0 -26
  87. data/lib/gloo_lang/help/verbs/show.txt +0 -30
  88. data/lib/gloo_lang/help/verbs/tell.txt +0 -34
  89. data/lib/gloo_lang/help/verbs/unless.txt +0 -38
  90. data/lib/gloo_lang/help/verbs/version.txt +0 -32
  91. data/lib/gloo_lang/help/verbs/wait.txt +0 -29
  92. data/lib/gloo_lang/verbs/help.rb +0 -264
  93. data/lib/gloo_lang/verbs/version.rb +0 -37
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e39e4d4fb490581f9c5654fda0457758fcff2e53238c08e52e32c7e472758734
4
- data.tar.gz: 36c3dca779b92f306be7fc2a8bc93531c15d61e74e007cd65a11ef1b98c11530
3
+ metadata.gz: 6746a91317e31e0a887b5c338cc22e14b92c739abbbb00273222d6b4180303ea
4
+ data.tar.gz: 39aa1c78c462853229b9e976f36a562a71ba44141160238408f364f3da9e919c
5
5
  SHA512:
6
- metadata.gz: 2eaca7aa162a9d77bc7dfce7ef57b28284faa5f9e0791bb127ad2d49d30c36a890e3fd459cccf7b6182e21d8d920d2709751a67c0a65b9c5e28998384f543036
7
- data.tar.gz: e5252175c051d475fedd0c6aa605f636adcd5123a47ec9db488be9fd1fcc49ae3159cb837cbd136c3a227d2b23190a48566592d2dda55afa537672ffef8940f5
6
+ metadata.gz: 5417428f1a6d7f251003fac7b30fb9bc3f0fabbc0b1a90b851c7bb78e410278e5bd2947ace1e04c4f3a61934c3fab1e81b721d7e542326e43ba0981adc7dc21b
7
+ data.tar.gz: 167b5abaf8e6fb186f8886665f916b688a28b56c8b61f164275b7bd6f429bf2407b0e2e3de273de47297957fcf97837e3f475feade5709b39550c3f879367809
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
  *.log
11
11
  test/gloo/debug/*
12
12
  .DS_Store
13
+ Gemfile.lock
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ gloo-gem
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-3.0.2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.2.0
@@ -15,7 +15,7 @@ module GlooLang
15
15
  attr_reader :args, :mode, :running, :platform,
16
16
  :dictionary, :parser, :heap, :factory
17
17
  attr_accessor :last_cmd, :persist_man, :event_manager,
18
- :exec_env, :help, :converter
18
+ :exec_env, :converter
19
19
 
20
20
  #
21
21
  # Set up the engine with basic elements.
@@ -52,13 +52,48 @@ module GlooLang
52
52
  @event_manager = GlooLang::Core::EventManager.new( self )
53
53
 
54
54
  @exec_env = GlooLang::Exec::ExecEnv.new( self )
55
- @help = GlooLang::App::Help.new( self )
56
55
  @converter = GlooLang::Convert::Converter.new( self )
57
56
 
58
57
  @log.debug 'the engine has started'
59
58
  run_mode
60
59
  end
61
60
 
61
+ # ---------------------------------------------------------------------
62
+ # Serialization
63
+ # ---------------------------------------------------------------------
64
+
65
+ #
66
+ # Prepare for serialization by removing any file references.
67
+ # Without this, the engine cannot be serialized.
68
+ #
69
+ def prep_serialize
70
+ @log.prep_serialize
71
+ end
72
+
73
+ #
74
+ # Get the serialized version of this Engine.
75
+ #
76
+ def serialize
77
+ prep_serialize
78
+ Marshal::dump( self )
79
+ end
80
+
81
+ #
82
+ # Deserialize the Engine data.
83
+ #
84
+ def self.deserialize data
85
+ e = Marshal::load( data )
86
+ e.restore_after_deserialization
87
+ return e
88
+ end
89
+
90
+ #
91
+ # Restore the engine after deserialization.
92
+ #
93
+ def restore_after_deserialization
94
+ @log.restore_after_deserialization
95
+ end
96
+
62
97
  # ---------------------------------------------------------------------
63
98
  # Run
64
99
  # ---------------------------------------------------------------------
@@ -71,10 +106,10 @@ module GlooLang
71
106
 
72
107
  if @mode == Mode::VERSION
73
108
  run_version
74
- elsif @mode == Mode::HELP
75
- show_help_and_quit
76
109
  elsif @mode == Mode::SCRIPT
77
110
  run_files
111
+ elsif @mode == Mode::EMBED
112
+ run_keep_alive
78
113
  else
79
114
  run
80
115
  end
@@ -105,6 +140,14 @@ module GlooLang
105
140
  quit
106
141
  end
107
142
 
143
+ #
144
+ # Run in Embedded mode, which means we'll
145
+ # start the engine, but wait for external inputs.
146
+ #
147
+ def run_keep_alive
148
+ @log.debug 'Running in Embedded mode...'
149
+ end
150
+
108
151
  #
109
152
  # Get the setting for the start_with file and open it.
110
153
  #
@@ -171,14 +214,6 @@ module GlooLang
171
214
  quit
172
215
  end
173
216
 
174
- #
175
- # Show the help information and then quit.
176
- #
177
- def show_help_and_quit
178
- @help.show_app_help
179
- quit
180
- end
181
-
182
217
  # ---------------------------------------------------------------------
183
218
  # Error Handling
184
219
  # ---------------------------------------------------------------------
@@ -12,6 +12,10 @@ module GlooLang
12
12
  attr_accessor :quiet
13
13
  attr_reader :logger
14
14
 
15
+ # ---------------------------------------------------------------------
16
+ # Initialization
17
+ # ---------------------------------------------------------------------
18
+
15
19
  #
16
20
  # Set up a logger.
17
21
  # If quiet is true, then message are written to the log
@@ -19,14 +23,26 @@ module GlooLang
19
23
  #
20
24
  def initialize( engine, quiet=true )
21
25
  @engine = engine
22
- f = File.join( @engine.settings.log_path, 'gloo.log' )
23
- @logger = Logger.new( f )
24
- @logger.level = Logger::DEBUG
25
26
  @quite = quiet
26
27
 
28
+ create_logger
29
+
27
30
  debug 'log intialized...'
28
31
  end
29
32
 
33
+ #
34
+ # Create the default [file] logger.
35
+ #
36
+ def create_logger
37
+ f = File.join( @engine.settings.log_path, 'gloo.log' )
38
+ @logger = Logger.new( f )
39
+ @logger.level = Logger::DEBUG
40
+ end
41
+
42
+ # ---------------------------------------------------------------------
43
+ # Standard Output
44
+ # ---------------------------------------------------------------------
45
+
30
46
  #
31
47
  # Show a message unless we're in quite mode.
32
48
  #
@@ -34,6 +50,10 @@ module GlooLang
34
50
  puts msg unless @quiet
35
51
  end
36
52
 
53
+ # ---------------------------------------------------------------------
54
+ # Logging functions
55
+ # ---------------------------------------------------------------------
56
+
37
57
  #
38
58
  # Write a debug message to the log.
39
59
  #
@@ -78,6 +98,25 @@ module GlooLang
78
98
  end
79
99
  end
80
100
 
101
+ # ---------------------------------------------------------------------
102
+ # Serialization
103
+ # ---------------------------------------------------------------------
104
+
105
+ #
106
+ # Prepare for serialization by removing the file reference.
107
+ # Without this, the engine cannot be serialized.
108
+ #
109
+ def prep_serialize
110
+ @logger = nil
111
+ end
112
+
113
+ #
114
+ # Restore the logger after deserialization.
115
+ #
116
+ def restore_after_deserialization
117
+ create_logger
118
+ end
119
+
81
120
  end
82
121
  end
83
122
  end
@@ -70,6 +70,14 @@ module GlooLang
70
70
  def cols
71
71
  return 80
72
72
  end
73
+
74
+ #
75
+ # Get the file mechanism for this platform.
76
+ #
77
+ def getFileMech( engine )
78
+ return GlooLang::Persist::DiscMech.new( engine )
79
+ end
80
+
73
81
  end
74
82
  end
75
83
  end
@@ -23,10 +23,10 @@ module GlooLang
23
23
  @engine = engine
24
24
  @engine.log.debug 'object heap intialized...'
25
25
 
26
- @root = GlooLang::Objs::Container.new( @engine)
26
+ @root = GlooLang::Objs::Container.new( @engine )
27
27
  @root.name = 'root'
28
28
 
29
- @context = Pn.root engine
29
+ @context = Pn.root @engine
30
30
  @it = It.new
31
31
  @error = Error.new
32
32
  end
@@ -0,0 +1,87 @@
1
+ # Author:: Eric Crane (mailto:eric.crane@mac.com)
2
+ # Copyright:: Copyright (c) 2022 Eric Crane. All rights reserved.
3
+ #
4
+ # Disc based mechanism for files.
5
+ # Provides interaction between the persistance classes and the OS
6
+ # file and folder system.
7
+ # This class might be overiden elsewhere to provide other mechanism.
8
+ # For example, in gloo-web, there will be a db based mechanism.
9
+ #
10
+
11
+ module GlooLang
12
+ module Persist
13
+ class DiscMech
14
+
15
+ #
16
+ # Set up a disc based file mechanism.
17
+ #
18
+ def initialize( engine )
19
+ @engine = engine
20
+ end
21
+
22
+ #
23
+ # Get the default file extention.
24
+ #
25
+ def file_ext
26
+ return '.gloo'
27
+ end
28
+
29
+ #
30
+ # Get all the gloo files in the folder (partial path).
31
+ #
32
+ def get_all_files_in( folder )
33
+ pns = []
34
+ dir = File.join( @engine.settings.project_path, folder )
35
+ Dir.glob( "#{dir}*.gloo" ).each do |f|
36
+ pns << f
37
+ end
38
+ return pns
39
+ end
40
+
41
+ #
42
+ # Check if a file exists.
43
+ #
44
+ def exist?( file )
45
+ File.exist?( file )
46
+ end
47
+
48
+ #
49
+ # Check to see if the file is valid.
50
+ #
51
+ def valid?( file )
52
+ return false unless file
53
+ return false unless File.exist?( file )
54
+ return false unless File.file?( file )
55
+ return false unless file.end_with?( self.file_ext )
56
+
57
+ return true
58
+ end
59
+
60
+ #
61
+ # Expand a single file path.
62
+ #
63
+ def expand( name )
64
+ ext_path = File.expand_path( name )
65
+ return [ ext_path ] if self.valid?( ext_path )
66
+
67
+ full_name = "#{name}#{file_ext}"
68
+ return [ File.join( @engine.settings.project_path, full_name ) ]
69
+ end
70
+
71
+ #
72
+ # Read in the contents of a single file.
73
+ #
74
+ def read( file )
75
+ return File.read( file )
76
+ end
77
+
78
+ #
79
+ # Write data to the file.
80
+ #
81
+ def write( pn, data )
82
+ File.write( pn, data )
83
+ end
84
+
85
+ end
86
+ end
87
+ end
@@ -19,6 +19,7 @@ module GlooLang
19
19
  #
20
20
  def initialize( engine, pn )
21
21
  @engine = engine
22
+ @mech = @engine.platform.getFileMech( @engine )
22
23
  @pn = pn
23
24
  @tabs = 0
24
25
  @obj = nil
@@ -33,7 +34,7 @@ module GlooLang
33
34
  # Load the objects from the file.
34
35
  #
35
36
  def load
36
- unless File.exist?( @pn )
37
+ unless @mech.exist?( @pn )
37
38
  @engine.log.error "File '#{@pn}' does not exist."
38
39
  return
39
40
  end
@@ -43,7 +44,7 @@ module GlooLang
43
44
  @parent_stack = []
44
45
  @parent = @engine.heap.root
45
46
  @parent_stack.push @parent
46
- f = File.open( @pn, 'r' )
47
+ f = @mech.read( @pn )
47
48
  f.each_line do |line|
48
49
  next if skip_line? line
49
50
 
@@ -13,6 +13,7 @@ module GlooLang
13
13
  #
14
14
  def initialize( engine, pn, obj )
15
15
  @engine = engine
16
+ @mech = @engine.platform.getFileMech( @engine )
16
17
  @pn = pn
17
18
  @obj = obj
18
19
  end
@@ -22,7 +23,7 @@ module GlooLang
22
23
  #
23
24
  def save
24
25
  data = get_obj( @obj )
25
- File.write( @pn, data )
26
+ @mech.write( @pn, data )
26
27
  end
27
28
 
28
29
  #
@@ -10,7 +10,7 @@ module GlooLang
10
10
  module Persist
11
11
  class PersistMan
12
12
 
13
- attr_reader :maps
13
+ attr_reader :maps, :mech
14
14
 
15
15
  #
16
16
  # Contructor for the persistence manager.
@@ -18,6 +18,7 @@ module GlooLang
18
18
  def initialize( engine )
19
19
  @engine = engine
20
20
  @maps = []
21
+ @mech = @engine.platform.getFileMech( @engine )
21
22
  end
22
23
 
23
24
  #
@@ -72,18 +73,9 @@ module GlooLang
72
73
  return nil if name.strip.empty?
73
74
 
74
75
  if name.strip[ -1 ] == '*'
75
- pns = []
76
- dir = File.join( @engine.settings.project_path, name[ 0..-2 ] )
77
- Dir.glob( "#{dir}*.gloo" ).each do |f|
78
- pns << f
79
- end
80
- return pns
76
+ return @mech.get_all_files_in( name[ 0..-2 ] )
81
77
  else
82
- ext_path = File.expand_path( name )
83
- return [ ext_path ] if self.gloo_file?( ext_path )
84
-
85
- full_name = "#{name}#{file_ext}"
86
- return [ File.join( @engine.settings.project_path, full_name ) ]
78
+ return @mech.expand( name )
87
79
  end
88
80
  end
89
81
 
@@ -91,19 +83,14 @@ module GlooLang
91
83
  # Check to see if a given path name refers to a gloo object file.
92
84
  #
93
85
  def gloo_file?( name )
94
- return false unless name
95
- return false unless File.exist?( name )
96
- return false unless File.file?( name )
97
- return false unless name.end_with?( self.file_ext )
98
-
99
- return true
86
+ return @mech.valid?( name )
100
87
  end
101
88
 
102
89
  #
103
90
  # Get the default file extention.
104
91
  #
105
92
  def file_ext
106
- return '.gloo'
93
+ return @mech.file_ext
107
94
  end
108
95
 
109
96
  #
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: 1.0.1
4
+ version: 1.2.0
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-25 00:00:00.000000000 Z
11
+ date: 2022-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -192,9 +192,10 @@ extensions: []
192
192
  extra_rdoc_files: []
193
193
  files:
194
194
  - ".gitignore"
195
+ - ".ruby-gemset"
196
+ - ".ruby-version"
195
197
  - CODE_OF_CONDUCT.md
196
198
  - Gemfile
197
- - Gemfile.lock
198
199
  - LICENSE.txt
199
200
  - README.md
200
201
  - Rakefile
@@ -207,7 +208,6 @@ files:
207
208
  - lib/gloo_lang/app/args.rb
208
209
  - lib/gloo_lang/app/engine.rb
209
210
  - lib/gloo_lang/app/engine_context.rb
210
- - lib/gloo_lang/app/help.rb
211
211
  - lib/gloo_lang/app/info.rb
212
212
  - lib/gloo_lang/app/log.rb
213
213
  - lib/gloo_lang/app/mode.rb
@@ -249,81 +249,6 @@ files:
249
249
  - lib/gloo_lang/expr/op_minus.rb
250
250
  - lib/gloo_lang/expr/op_mult.rb
251
251
  - lib/gloo_lang/expr/op_plus.rb
252
- - lib/gloo_lang/help/app/application.txt
253
- - lib/gloo_lang/help/app/configuration.txt
254
- - lib/gloo_lang/help/app/default_help.txt
255
- - lib/gloo_lang/help/app/logging.txt
256
- - lib/gloo_lang/help/core/color.txt
257
- - lib/gloo_lang/help/core/error.txt
258
- - lib/gloo_lang/help/core/events.txt
259
- - lib/gloo_lang/help/core/gloo_system.txt
260
- - lib/gloo_lang/help/core/here.txt
261
- - lib/gloo_lang/help/core/it.txt
262
- - lib/gloo_lang/help/core/ops.txt
263
- - lib/gloo_lang/help/core/pathname.txt
264
- - lib/gloo_lang/help/objs/basic/alias.txt
265
- - lib/gloo_lang/help/objs/basic/boolean.txt
266
- - lib/gloo_lang/help/objs/basic/container.txt
267
- - lib/gloo_lang/help/objs/basic/decimal.txt
268
- - lib/gloo_lang/help/objs/basic/integer.txt
269
- - lib/gloo_lang/help/objs/basic/script.txt
270
- - lib/gloo_lang/help/objs/basic/string.txt
271
- - lib/gloo_lang/help/objs/basic/text.txt
272
- - lib/gloo_lang/help/objs/basic/untyped.txt
273
- - lib/gloo_lang/help/objs/cli/banner.txt
274
- - lib/gloo_lang/help/objs/cli/bar.txt
275
- - lib/gloo_lang/help/objs/cli/colorize.txt
276
- - lib/gloo_lang/help/objs/cli/confirm.txt
277
- - lib/gloo_lang/help/objs/cli/menu.txt
278
- - lib/gloo_lang/help/objs/cli/menu_item.txt
279
- - lib/gloo_lang/help/objs/cli/pastel.txt
280
- - lib/gloo_lang/help/objs/cli/prompt.txt
281
- - lib/gloo_lang/help/objs/cli/select.txt
282
- - lib/gloo_lang/help/objs/ctrl/each.txt
283
- - lib/gloo_lang/help/objs/ctrl/repeat.txt
284
- - lib/gloo_lang/help/objs/data/markdown.txt
285
- - lib/gloo_lang/help/objs/data/mysql.txt
286
- - lib/gloo_lang/help/objs/data/query.txt
287
- - lib/gloo_lang/help/objs/data/sqlite.txt
288
- - lib/gloo_lang/help/objs/data/table.txt
289
- - lib/gloo_lang/help/objs/dev/git_repo.txt
290
- - lib/gloo_lang/help/objs/dev/stats.txt
291
- - lib/gloo_lang/help/objs/dt/date.txt
292
- - lib/gloo_lang/help/objs/dt/datetime.txt
293
- - lib/gloo_lang/help/objs/dt/time.txt
294
- - lib/gloo_lang/help/objs/ror/erb.txt
295
- - lib/gloo_lang/help/objs/ror/eval.txt
296
- - lib/gloo_lang/help/objs/snd/play.txt
297
- - lib/gloo_lang/help/objs/snd/say.txt
298
- - lib/gloo_lang/help/objs/system/file.txt
299
- - lib/gloo_lang/help/objs/system/ssh_exec.txt
300
- - lib/gloo_lang/help/objs/system/system.txt
301
- - lib/gloo_lang/help/objs/web/http_get.txt
302
- - lib/gloo_lang/help/objs/web/http_post.txt
303
- - lib/gloo_lang/help/objs/web/json.txt
304
- - lib/gloo_lang/help/objs/web/slack.txt
305
- - lib/gloo_lang/help/objs/web/teams.txt
306
- - lib/gloo_lang/help/objs/web/uri.txt
307
- - lib/gloo_lang/help/verbs/alert.txt
308
- - lib/gloo_lang/help/verbs/beep.txt
309
- - lib/gloo_lang/help/verbs/cls.txt
310
- - lib/gloo_lang/help/verbs/context.txt
311
- - lib/gloo_lang/help/verbs/create.txt
312
- - lib/gloo_lang/help/verbs/execute.txt
313
- - lib/gloo_lang/help/verbs/help.txt
314
- - lib/gloo_lang/help/verbs/if.txt
315
- - lib/gloo_lang/help/verbs/list.txt
316
- - lib/gloo_lang/help/verbs/load.txt
317
- - lib/gloo_lang/help/verbs/move.txt
318
- - lib/gloo_lang/help/verbs/put.txt
319
- - lib/gloo_lang/help/verbs/quit.txt
320
- - lib/gloo_lang/help/verbs/run.txt
321
- - lib/gloo_lang/help/verbs/save.txt
322
- - lib/gloo_lang/help/verbs/show.txt
323
- - lib/gloo_lang/help/verbs/tell.txt
324
- - lib/gloo_lang/help/verbs/unless.txt
325
- - lib/gloo_lang/help/verbs/version.txt
326
- - lib/gloo_lang/help/verbs/wait.txt
327
252
  - lib/gloo_lang/objs/basic/alias.rb
328
253
  - lib/gloo_lang/objs/basic/boolean.rb
329
254
  - lib/gloo_lang/objs/basic/container.rb
@@ -349,6 +274,7 @@ files:
349
274
  - lib/gloo_lang/objs/web/slack.rb
350
275
  - lib/gloo_lang/objs/web/teams.rb
351
276
  - lib/gloo_lang/objs/web/uri.rb
277
+ - lib/gloo_lang/persist/disc_mech.rb
352
278
  - lib/gloo_lang/persist/file_loader.rb
353
279
  - lib/gloo_lang/persist/file_saver.rb
354
280
  - lib/gloo_lang/persist/file_storage.rb
@@ -360,7 +286,6 @@ files:
360
286
  - lib/gloo_lang/verbs/context.rb
361
287
  - lib/gloo_lang/verbs/create.rb
362
288
  - lib/gloo_lang/verbs/execute.rb
363
- - lib/gloo_lang/verbs/help.rb
364
289
  - lib/gloo_lang/verbs/if.rb
365
290
  - lib/gloo_lang/verbs/list.rb
366
291
  - lib/gloo_lang/verbs/load.rb
@@ -372,7 +297,6 @@ files:
372
297
  - lib/gloo_lang/verbs/show.rb
373
298
  - lib/gloo_lang/verbs/tell.rb
374
299
  - lib/gloo_lang/verbs/unless.rb
375
- - lib/gloo_lang/verbs/version.rb
376
300
  - lib/gloo_lang/verbs/wait.rb
377
301
  homepage: http://github.com/ecrane/gloo_lang
378
302
  licenses:
data/Gemfile.lock DELETED
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gloo-lang (1.0.0)
5
- activesupport (~> 6.1, >= 6.1.4.6)
6
- chronic (~> 0.10, >= 0.10.2)
7
- json (~> 2.1, >= 2.1.0)
8
- net-ssh (~> 6.1, >= 6.1.0)
9
- openssl (~> 2.1, >= 2.1.0)
10
- tty-platform (~> 0.3, >= 0.3.0)
11
-
12
- GEM
13
- remote: https://rubygems.org/
14
- specs:
15
- activesupport (6.1.5)
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 1.6, < 2)
18
- minitest (>= 5.1)
19
- tzinfo (~> 2.0)
20
- zeitwerk (~> 2.3)
21
- ast (2.4.2)
22
- chronic (0.10.2)
23
- concurrent-ruby (1.1.10)
24
- i18n (1.10.0)
25
- concurrent-ruby (~> 1.0)
26
- ipaddr (1.2.4)
27
- json (2.6.1)
28
- minitest (5.15.0)
29
- net-ssh (6.1.0)
30
- openssl (2.2.1)
31
- ipaddr
32
- parallel (1.21.0)
33
- parser (3.1.1.0)
34
- ast (~> 2.4.1)
35
- rainbow (3.1.1)
36
- rake (13.0.6)
37
- regexp_parser (2.2.1)
38
- rexml (3.2.5)
39
- rubocop (1.25.1)
40
- parallel (~> 1.10)
41
- parser (>= 3.1.0.0)
42
- rainbow (>= 2.2.2, < 4.0)
43
- regexp_parser (>= 1.8, < 3.0)
44
- rexml
45
- rubocop-ast (>= 1.15.1, < 2.0)
46
- ruby-progressbar (~> 1.7)
47
- unicode-display_width (>= 1.4.0, < 3.0)
48
- rubocop-ast (1.16.0)
49
- parser (>= 3.1.1.0)
50
- ruby-progressbar (1.11.0)
51
- tty-platform (0.3.0)
52
- tzinfo (2.0.4)
53
- concurrent-ruby (~> 1.0)
54
- unicode-display_width (2.1.0)
55
- zeitwerk (2.5.4)
56
-
57
- PLATFORMS
58
- x86_64-darwin-21
59
-
60
- DEPENDENCIES
61
- bundler (~> 2.2.22)
62
- gloo-lang!
63
- minitest (~> 5.1, >= 5.14.2)
64
- rake (~> 13.0, >= 13.0.1)
65
- rubocop
66
-
67
- BUNDLED WITH
68
- 2.2.22