gloo-lang 1.2.5 → 1.2.6

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: a72f890d762fc81128cf2e0108ac3659e50577cfbe7bac14c65fd6a9a2a2054d
4
- data.tar.gz: 76ce6d65e94e17e2640393e24380fdaef4652aa03a27e1ccc8cb152fdff69f25
3
+ metadata.gz: 9335e0a7a17938ea90557c3dfd56ac8362e5d038f8f9cc9a1508c06c94e28a2c
4
+ data.tar.gz: f7c9c2f81fb9a70bd84f5afaba25c82879b4043abf9ffb5e64da70d805a06061
5
5
  SHA512:
6
- metadata.gz: a202a6d526985f7aa570a2ec4e74727dbe3cdaec06e4984d8bc0b1017dd536c25eb4e5ce87376783e7405d5d410c6b093960a96c57c1e2d1521317aef10286ca
7
- data.tar.gz: 3861b2af545bd83c23a336010185eac174504d3412bf22c839600c71c15e084497d5d86ee7e47a52bc2fc7be15a2a9cbb5a23716ad62f7ca91d96d22e7e5fa47
6
+ metadata.gz: 97ab8e4b87348a19377d295d78451bf99985f237dbc3c59abfdfef06c5ef8f79461208ae0cd19b828da6b9e8c3733339cc6895cf5558971a9d2a7c92b5633641
7
+ data.tar.gz: 2102270c7e198bc1497baf07a396412b5f015ad9448a5da00b5af1225c6925cec01d127762518e5294cdfa2b4d771e4252f366d0ba052a7821c9dd343b05ff49
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.5
1
+ 1.2.6
@@ -120,10 +120,17 @@ module GlooLang
120
120
  # Then quit.
121
121
  #
122
122
  def run_files
123
- @args.files.each { |f| @persist_man.load( f ) }
123
+ load_files
124
124
  quit
125
125
  end
126
126
 
127
+ #
128
+ # Load all file specified in the CLI.
129
+ #
130
+ def load_files
131
+ @args.files.each { |f| @persist_man.load( f ) }
132
+ end
133
+
127
134
  #
128
135
  # Run in interactive mode.
129
136
  #
@@ -131,7 +138,8 @@ module GlooLang
131
138
  # Open default file(s)
132
139
  self.open_start_file
133
140
 
134
- # TODO: open any files specifed in args
141
+ # Open any files specifed in args
142
+ load_files
135
143
 
136
144
  unless @mode == Mode::SCRIPT || @args.quiet?
137
145
  self.loop
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo-lang
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane