codersdojo 1.2.19 → 1.2.20
Sign up to get free protection for your applications and to get access to all the features.
- data/app/shell_wrapper.rb +2 -2
- metadata +7 -7
data/app/shell_wrapper.rb
CHANGED
@@ -66,9 +66,9 @@ class ShellWrapper
|
|
66
66
|
Dir.new(dir).entries - ["..", "."]
|
67
67
|
end
|
68
68
|
|
69
|
-
def files_in_dir dir
|
69
|
+
def files_in_dir dir, regexp_pattern=nil
|
70
70
|
Dir.new(dir).entries.find_all{|entry|
|
71
|
-
File.file? entry
|
71
|
+
File.file?(entry) and (not regexp_pattern or entry =~ Regexp.new(regexp_pattern))
|
72
72
|
}
|
73
73
|
end
|
74
74
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codersdojo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 20
|
10
|
+
version: 1.2.20
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- CodersDojo-Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-25 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -204,12 +204,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
204
204
|
requirements:
|
205
205
|
- - ">="
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
hash:
|
207
|
+
hash: 59
|
208
208
|
segments:
|
209
209
|
- 1
|
210
210
|
- 8
|
211
|
-
-
|
212
|
-
version: 1.8.
|
211
|
+
- 6
|
212
|
+
version: 1.8.6
|
213
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
214
|
none: false
|
215
215
|
requirements:
|