gloo-lang 0.9.7 → 0.9.8

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: 78f880bdd4bdd4c5b796b0bc6a273df959ea129075750649d8c76e1f039d916b
4
- data.tar.gz: df8cca545850962ae5151e3307ece3ff9e2cbeed1588c213326cb0ebfdb9c223
3
+ metadata.gz: dd3e269694e1c7aef191b9fcd1bae34b29932fc2215f90f372cfd5d5d2748bc0
4
+ data.tar.gz: 7976911ab79e1679c1940e43217f4c8fc533bab59fbf2a71b857ee4a7aeefed2
5
5
  SHA512:
6
- metadata.gz: 3bc34b8d10b6ce580189f868834170015a9d8f5305a02fc99705788c95a852d7e593d8326c3304e4b9a2bbd85faaa4b43b44e37271ac6d7399424b7b3a5a248f
7
- data.tar.gz: 0fd7f6347b859d8a945452eaa23f63742c49db49d5c2eb102a28ab3ddee362ef210c83cbbfb004bdae848303a02e514f13318901361660c2a9ff3be6d6ebca1c
6
+ metadata.gz: f9be9692d331f3767e78efc2e9a5fcb5d826e11429240cf77ae9d134a41408b2fbed7a144b54a6ba8291619ddc4bb108cecf3743deb53f96e425018937d8fc28
7
+ data.tar.gz: b29cc45d25aa4472d8112caaf08c20deccf245c9f3a0e3392e102a558e4c13daba147b9077d057d9fb67b847bc04e0ffdd5642292376857bacf1cf33896473ae
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gloo-lang (0.9.4)
4
+ gloo-lang (0.9.7)
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)
8
8
  openssl (~> 2.1, >= 2.1.0)
9
+ tty-platform (~> 0.3, >= 0.3.0)
9
10
 
10
11
  GEM
11
12
  remote: https://rubygems.org/
@@ -37,6 +38,7 @@ GEM
37
38
  rubocop-ast (1.16.0)
38
39
  parser (>= 3.1.1.0)
39
40
  ruby-progressbar (1.11.0)
41
+ tty-platform (0.3.0)
40
42
  unicode-display_width (2.1.0)
41
43
 
42
44
  PLATFORMS
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.7
1
+ 0.9.8
@@ -19,15 +19,14 @@ module GlooLang
19
19
  #
20
20
  # Set up the engine with basic elements.
21
21
  #
22
- def initialize( params = [], platform=nil, log=nil )
22
+ def initialize( params = [], platform=Platform, log=Log )
23
23
  $engine = self
24
24
  @args = Args.new( params )
25
25
  $settings = Settings.new( ENV[ 'GLOO_ENV' ] )
26
26
 
27
- $log = log ? log : Log.new
28
- $log.quiet = @args.quiet?
27
+ $log = log.new( @args.quiet? )
28
+ @platform = platform.new
29
29
 
30
- @platform = platform ? platform : Platform.new
31
30
  $log.debug 'engine intialized...'
32
31
  end
33
32
 
@@ -9,8 +9,7 @@ module GlooLang
9
9
  module App
10
10
  class Log
11
11
 
12
- attr_reader :logger
13
- attr_accessor :quiet
12
+ attr_reader :logger, :quiet
14
13
 
15
14
  #
16
15
  # Set up a logger.
@@ -21,6 +20,7 @@ module GlooLang
21
20
  f = File.join( $settings.log_path, 'gloo.log' )
22
21
  @logger = Logger.new( f )
23
22
  @logger.level = Logger::DEBUG
23
+ @quite = quiet
24
24
  end
25
25
 
26
26
  #
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: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane