rspec-match_table 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: 70ddaa683ec6febaad8108d84096a1059787493f
4
- data.tar.gz: 4ace972c201e555f231c8756343ee10653841ed2
3
+ metadata.gz: ca8daf2f1cccc67255b114eafdd3b8f22e5c9194
4
+ data.tar.gz: a754cd3330586af6ff841e2dc66f2a80560f0588
5
5
  SHA512:
6
- metadata.gz: 2dccf24f6ce8025e45f134e2b564d465b5c808d01557691ee55807c55fe10ec08d3378be9da8eaf22dbdaa035fd670fa85879dd711ee108f33e60197c60fecc4
7
- data.tar.gz: 4b80fdb99c06d898414a391859c761774d58ba8027c4a73bd9adb1c221c7d397eb5412e2adb5b99e71596297a1e168f38cc8070b7ac5c7602883587ead7dbefe
6
+ metadata.gz: a73bf2a551f76cc8f8a87442d50d9cb99edaf878934d18f2388bbb6647ebaea7d92b108f6c6e0354b2b2de8b5f075022eba704f9fc0c4c44f98f159c93aa4d45
7
+ data.tar.gz: 012dbb297d1133179a7fa7f49abab4c66099c8e3b79bf59bdef7e2a50e40ba382d5312bb328affe7bf6c2c5823dcdbc1f72fb633c89f282023881ae5321d6789
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-match_table (0.1.0)
4
+ rspec-match_table (0.1.1)
5
5
  pp_sort_hash
6
6
  rspec (~> 3)
7
7
 
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  It is array of hashes matcher.
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/rspec-match_table.svg)](https://badge.fury.io/rb/rspec-match_table)
5
6
  [![Build Status](https://travis-ci.org/winebarrel/rspec-match_table.svg?branch=master)](https://travis-ci.org/winebarrel/rspec-match_table)
6
7
 
7
8
  ## Installation
@@ -1,7 +1,7 @@
1
1
  module RSpecMatchTable
2
2
  def check_type(obj)
3
- unless obj.is_a?(Array) and obj.all? {|i| i.is_a?(Hash) }
4
- raise TypeError, "wrong type #{obj.inspect} (expected Array<Hash>)"
3
+ unless obj.is_a?(Array)
4
+ raise TypeError, "wrong type #{obj.inspect} (expected Array)"
5
5
  end
6
6
  end
7
7
  module_function :check_type
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "rspec-match_table"
6
- spec.version = '0.1.0'
6
+ spec.version = '0.1.1'
7
7
  spec.authors = ['winebarrel']
8
8
  spec.email = ['sugawara@winebarrel.jp']
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-match_table
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
  - winebarrel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-27 00:00:00.000000000 Z
11
+ date: 2017-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec