nrser-rash 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -2
- data/lib/nrser/rash/cli/call.rb +4 -3
- data/lib/nrser/rash/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94e23afa0c21f69bf7808df18eb4691d3019c750
|
4
|
+
data.tar.gz: a71698db070d73deeb59117e9c81d08e49b920e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7025b9a628fb3bccccb4ed41cd55236736b36b89f9ec0f8b14423d551416a0ea7682fbd57d9e620d2e1234779b532a4779d48cc9cc0bcc58620ef748a2fbb44
|
7
|
+
data.tar.gz: d166e9bcecd037c0bb51b5567ef02f8027cc7e8751eabfc377f2ae5a06355645523dda34c65ef490f0235aa889d547a70f39a19c1819eefb908b6aaceb153b11
|
data/Gemfile
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Install my user functions' deps too
|
4
|
-
|
3
|
+
# Install my user functions' deps too (need to comment-out the `nrser-rash`
|
4
|
+
# line in there too)
|
5
|
+
# eval_gemfile File.join( ENV['ENV_SUPPORT_DIR'], 'rash', 'Gemfile' )
|
5
6
|
|
6
7
|
# Use dev versions
|
7
8
|
# gem 'nrser', path: './dev/packages/gems/nrser'
|
data/lib/nrser/rash/cli/call.rb
CHANGED
@@ -55,8 +55,8 @@ module NRSER::Rash::CLI
|
|
55
55
|
|
56
56
|
NRSER::Rash.load_functions
|
57
57
|
if name.include? '.'
|
58
|
-
namespace, method_name = name.split '.'
|
59
|
-
namespace = namespace.split '::'
|
58
|
+
*namespace, method_name = name.split '.'
|
59
|
+
namespace = namespace.flat_map { |s| s.split '::' }
|
60
60
|
else
|
61
61
|
namespace = []
|
62
62
|
method_name = name
|
@@ -129,7 +129,8 @@ module NRSER::Rash::CLI
|
|
129
129
|
# it, which i think means we shouldn't print anything
|
130
130
|
else
|
131
131
|
# otherwise, send it to the default formatter
|
132
|
-
NRSER::Rash::Formatters.send
|
132
|
+
NRSER::Rash::Formatters.send \
|
133
|
+
NRSER::Rash.config('DEFAULT_FORMATTER'), obj
|
133
134
|
end
|
134
135
|
end
|
135
136
|
end
|
data/lib/nrser/rash/version.rb
CHANGED