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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d0f57a64fe559654975e0fc3d90ad753cd0dec7
4
- data.tar.gz: e4109821d0a8d6f44b8462be4e1ed838554f2a8b
3
+ metadata.gz: 94e23afa0c21f69bf7808df18eb4691d3019c750
4
+ data.tar.gz: a71698db070d73deeb59117e9c81d08e49b920e6
5
5
  SHA512:
6
- metadata.gz: 31577bfde3938e07e52e9127be4a20258233f966f8e50d28698bdab042369741b7e1693a69355a268696331f03f229cc3180380045c01ca8ef52fa5069bdfae2
7
- data.tar.gz: 261ebf0901fdc034ab7e5019ec4329a3259820a331ec9bba5bb5a57f93d3a854fa60c79ab59d01fe913276caf4298ec72b88ca5dca670af1321190bdfa77e8c5
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
- eval_gemfile File.join( ENV['ENV_SUPPORT_DIR'], 'rash', 'Gemfile' )
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'
@@ -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 config('DEFAULT_FORMATTER'), obj
132
+ NRSER::Rash::Formatters.send \
133
+ NRSER::Rash.config('DEFAULT_FORMATTER'), obj
133
134
  end
134
135
  end
135
136
  end
@@ -6,7 +6,7 @@ module NRSER
6
6
  #
7
7
  # @return [String]
8
8
  #
9
- VERSION = "0.2.0"
9
+ VERSION = "0.2.1"
10
10
 
11
11
  # Absolute, expanded path to the gem's root directory.
12
12
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nrser-rash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nrser