rspec-raml 0.1.0 → 0.1.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: a5ae1aeda8f77496f297580603fd96c4e5154bf5
4
- data.tar.gz: 8bc9b4a703c8279424066f96b495bb6bdfb31726
3
+ metadata.gz: 6a6db8a35d8f744d098a9ab59a2e6eb60d2bcc7a
4
+ data.tar.gz: 85f483ed670f830e4c2009691af1feb338c0c4f7
5
5
  SHA512:
6
- metadata.gz: 68c8ee7ef5fece8bc49284a9f09b0f1d5979eb5db9321640e7ffa887c74d94a641ce4804fec3905b79db441d04e41a7e99d5ae964a28151122874517fc6cdff1
7
- data.tar.gz: c7cea7d5077cab65be77bbcf28879fcab012d764e52591c4598632de90c3ae3351dba6bc33cdcc25fe9d9a343504f8af5edd035b01ed03563765b96e79a7f3ed
6
+ metadata.gz: 1c74f9978ce417af1cce5bfc8ccd23591df7faf55dbc4554149290b2fb4e9648ac187e310532b084f244e90a580123341999fdfa182fc2c99adf0cce4c6842f9
7
+ data.tar.gz: 34ed73307ce6dc4fbf3e87080c2421351bfb181ff0dc91f7d91a6019f20d7bafbb38c47bc84248663b55a85355e2017686d2d4ee8e328e50102f8927da8b77c5
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.1.8
4
+ - 2.3.1
5
5
  before_install: gem install bundler -v 1.12.3
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Rspec::Raml
2
2
 
3
+ [![Build Status](https://travis-ci.org/rzane/rspec-raml.svg?branch=master)](https://travis-ci.org/rzane/rspec-raml)
4
+
3
5
  RSpec matchers for working with [RAML](http://raml.org).
4
6
 
5
7
  ## Installation
@@ -15,8 +15,10 @@ module RSpec
15
15
  node.children.flat_map do |child|
16
16
  if child.kind_of?(::Raml::Resource) && child.resource_path == path
17
17
  child
18
- else
18
+ elsif child.respond_to?(:children)
19
19
  find_resources(path, child)
20
+ else
21
+ []
20
22
  end
21
23
  end
22
24
  end
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module Raml
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
data/rspec-raml.gemspec CHANGED
@@ -24,5 +24,4 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.12"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
27
- spec.add_development_dependency "rspec", "~> 3.0"
28
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-raml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Zane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-12 00:00:00.000000000 Z
11
+ date: 2016-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: raml_ruby
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '10.0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '3.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.0'
83
69
  description: RSpec matchers for working with RAML.
84
70
  email:
85
71
  - raymondzane@gmail.com
@@ -126,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
112
  version: '0'
127
113
  requirements: []
128
114
  rubyforge_project:
129
- rubygems_version: 2.5.1
115
+ rubygems_version: 2.4.8
130
116
  signing_key:
131
117
  specification_version: 4
132
118
  summary: RSpec matchers for working with RAML.