gloo 0.7.3 → 0.7.4

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: 2bde3abf2469d93630317c5741886d95ac5fb4f3e8443a69759ca94da0763da6
4
- data.tar.gz: 1d55662af6bfc582bea4a0e33fd33a6bdab36d65220f0287d6924e09b5907197
3
+ metadata.gz: 86384bdaceb688e8ce21ccceea1d51795bc76f1e8db187f04caed2dcd87ec7fb
4
+ data.tar.gz: 4770f98bdbc6529e89c6a613f2aadff646210aa3574f132c84bdaea017febc65
5
5
  SHA512:
6
- metadata.gz: 6ba7c772993cce30e4a854eb8d296e7017105ef6f2e64f7db2ba03ecadfd4ef5b5d2adb8e9f47658f6821b98ce4f3525e812d648f815b51fee8d6f0a7c4bd188
7
- data.tar.gz: ad4edc2a464229f86566c35fe64c26f35ee057f043a83f5cb65e24a0672d5686e0842e8b4ac04cda5e30e14a116abc97c7435385e585c76fbff6395d783a67ef
6
+ metadata.gz: 8e99639d6828f815a891d55478e494624e2306aac02e445294d39919f10570fa800da6535702f67e5c011d44e926ba08791ed4bde0876643561c3fe66e32cef7
7
+ data.tar.gz: b1c5b4580804e77c80f50814f6d5b743450007b8896c721f1f11dd2c9bc4c1375f0ea28e8a5180a7bb6d070e311dba3d4c485af4300b040b675988152e26958b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gloo (0.7.2)
4
+ gloo (0.7.4)
5
5
  activesupport (~> 5.2, >= 5.2.4.3)
6
6
  chronic (~> 0.10, >= 0.10.2)
7
7
  colorize (~> 0.8, >= 0.8.1)
@@ -8,7 +8,7 @@ module Gloo
8
8
  module App
9
9
  class Info
10
10
 
11
- VERSION = '0.7.3'.freeze
11
+ VERSION = '0.7.4'.freeze
12
12
  APP_NAME = 'Gloo'.freeze
13
13
 
14
14
  #
@@ -24,6 +24,8 @@ FILE OBJECT TYPE
24
24
  regular file. <It> will be true or false.
25
25
  check_is_dir - Check to see if the file specified is a
26
26
  diretory. <It> will be true or false.
27
+ find_match - Look for the existence of a file matching
28
+ the file's pattern. <It> will be true or false.
27
29
 
28
30
  EXAMPLE
29
31
 
@@ -38,4 +40,9 @@ FILE OBJECT TYPE
38
40
  tell exists.f to check_is_file
39
41
  show "is a file? " + it
40
42
 
43
+ f [file] : /Users/me/gloo/*.gemspec
44
+ pattern [script] :
45
+ tell f to find_match
46
+ show it
47
+
41
48
  SEE ALSO
@@ -36,8 +36,9 @@ module Gloo
36
36
  def self.messages
37
37
  basic = %w[read write]
38
38
  checks = %w[check_exists check_is_file check_is_dir]
39
+ search = %w[find_match]
39
40
  show = %w[show page open]
40
- return super + basic + show + checks
41
+ return super + basic + show + checks + search
41
42
  end
42
43
 
43
44
  #
@@ -124,6 +125,14 @@ module Gloo
124
125
  $engine.heap.it.set_to result
125
126
  end
126
127
 
128
+ #
129
+ # Look for any file matching pattern.
130
+ #
131
+ def msg_find_match
132
+ result = ! Dir.glob( value ).empty?
133
+ $engine.heap.it.set_to result
134
+ end
135
+
127
136
  end
128
137
  end
129
138
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane