rspec-match_ruby 0.1.2 → 0.1.3

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: 9314614cb0cdeb5add657806c70ab86508fbef9e
4
- data.tar.gz: 0c5ceff59d1131e8c4eb1131d735a9248ae29fc5
3
+ metadata.gz: 52f694475f7f198e41bff0b6f83dff4db471322c
4
+ data.tar.gz: 7ac0e0cf104e8472ec540aa631e7d90d059ae630
5
5
  SHA512:
6
- metadata.gz: a7ac6d5c51d7b309e396753373f457bab4b43404e3bbafb6129598dd1141ea343349a87966e6f2d88cc2cf6f61af6465b646f2e1df1773fb8f8ffcd93555af27
7
- data.tar.gz: 2cc69a89909ca988dbc610339767c18179f404d205451d85153e5ca95caa5ea6aad23ade066e80bb28d8057e6beed8c146fc3a86b1f1030cc49fe12cc69798e1
6
+ metadata.gz: 7aaf3680b08969ff51c2b94128ae15ff1071bd31d2f144d9385adf3d446a2f154d37d1f7e4f1783d2f609a1542fa76de59eb31aa789f23bb79b73e435c64f2b1
7
+ data.tar.gz: 88dc57f6797fd913f0752cd3d60affd1105b4565d2c416b3879f83b811b576faae68fc28d63833aed2bb90a7f9a81a852de0f6d712e8450ac2a1e3a6d787d2b1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-match_ruby (0.1.2)
4
+ rspec-match_ruby (0.1.3)
5
5
  parser
6
6
  rspec (~> 3)
7
7
 
@@ -11,6 +11,8 @@ module RSpecMatchRuby
11
11
  module_function :match
12
12
 
13
13
  def expand_node(node)
14
+ return nil if node.nil?
15
+
14
16
  children = node.children
15
17
 
16
18
  if node.type == :hash
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'rspec-match_ruby'
7
- spec.version = '0.1.2'
7
+ spec.version = '0.1.3'
8
8
  spec.authors = ['winebarrel']
9
9
  spec.email = ['sugawara@winebarrel.jp']
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-match_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-15 00:00:00.000000000 Z
11
+ date: 2017-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec