sexp_processor 4.4.5 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +2 -0
- data/lib/sexp_processor.rb +18 -1
- data.tar.gz.sig +0 -0
- metadata +4 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b1a7852e40b91a5630473ef5ad0cb8ceee59926
|
4
|
+
data.tar.gz: 90ca1ab651c1a308f53c7f2e828d16bb43b43e4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df558f45a1c985550f2ac4910132b7f2a171e7db4252b3ca62d6f19ec871be46108874238b660eb0231a9f80ed275df3436ce611f55058310a9686de02a6f518
|
7
|
+
data.tar.gz: 07f4d089f5fb5f8bab28f8c96fb7b614decb8a94f3a7a18ae76607794c2498658838fb59d9d99acfc61c10e0f196512bb1f02fc9898666cac8d3eb5b4cc2faf5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
data/lib/sexp_processor.rb
CHANGED
@@ -33,7 +33,7 @@ require 'sexp'
|
|
33
33
|
|
34
34
|
class SexpProcessor
|
35
35
|
|
36
|
-
VERSION = "4.
|
36
|
+
VERSION = "4.5.0"
|
37
37
|
|
38
38
|
##
|
39
39
|
# Automatically shifts off the Sexp type before handing the
|
@@ -92,6 +92,23 @@ class SexpProcessor
|
|
92
92
|
|
93
93
|
attr_reader :env
|
94
94
|
|
95
|
+
##
|
96
|
+
# Expand an array of directories into a flattened array of paths, eg:
|
97
|
+
#
|
98
|
+
# MyProcessor.run MyProcessor.expand_dirs_to_files ARGV
|
99
|
+
|
100
|
+
def self.expand_dirs_to_files *dirs
|
101
|
+
extensions = %w[rb rake]
|
102
|
+
|
103
|
+
dirs.flatten.map { |p|
|
104
|
+
if File.directory? p then
|
105
|
+
Dir[File.join(p, '**', "*.{#{extensions.join(',')}}")]
|
106
|
+
else
|
107
|
+
p
|
108
|
+
end
|
109
|
+
}.flatten.sort
|
110
|
+
end
|
111
|
+
|
95
112
|
##
|
96
113
|
# Creates a new SexpProcessor. Use super to invoke this
|
97
114
|
# initializer from SexpProcessor subclasses, then use the
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sexp_processor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
30
30
|
VpzF30vNaJK6ZT7xlIsIlwmH
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2015-
|
32
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
@@ -122,13 +122,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.4.
|
125
|
+
rubygems_version: 2.4.5
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: sexp_processor branches from ParseTree bringing all the generic sexp processing
|
129
129
|
tools with it
|
130
|
-
test_files:
|
131
|
-
- test/test_composite_sexp_processor.rb
|
132
|
-
- test/test_environment.rb
|
133
|
-
- test/test_sexp.rb
|
134
|
-
- test/test_sexp_processor.rb
|
130
|
+
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|