data_spec 0.0.2 → 0.0.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: 38a6a7c19a43116b793ccc2565beba91ec40ad58
4
- data.tar.gz: 78178e54b3ad7afc932a487ca8ce453104e95a52
3
+ metadata.gz: b79b98a6f53064229c53780fd01191330c150ad6
4
+ data.tar.gz: 8a8956b12f0275bf4d7382bc581d7b7b10489b76
5
5
  SHA512:
6
- metadata.gz: ebd55fded46197f459fd651d339bcef2798f36681a8a0c5d27e96087f13dd92c3cd61d3788fdb90f840cabe2e24337409f40449921b87d503b8718bb0b915fc2
7
- data.tar.gz: 23239a0654bdd2c85c817fcb00ff8b810a63c5f4d0eb77bf39fedd0b0d6495357858128c443416c15bff0bed87e67e6b50bdcd5a130f5900d52ed9b71298f449
6
+ metadata.gz: 94562eec7f447ad849ee5bd83e53f9cdd3d0e2ad8f40c9066cf892ff181c0bf3b887cd57e65e3df6dfb435753ea643a81ade068dcf0d09261ec3b5796bda816b
7
+ data.tar.gz: aabe115c6e36327812531afa444d5215e49000ec91c637872083711015572bf25f2e2ba786f7ac907d54d7b56fcfbadba1d9eec7efdcc41ca7f096c5ec881728
@@ -26,7 +26,7 @@ Then(/^the data(?: at "(.*?)")? should include:?(?: "(.*?)")?$/) do |path, inlin
26
26
  data.should include_data(DataSpec.parse(inline || block.first)).at(path)
27
27
  end
28
28
 
29
- Then(/^the data at "(.*?)" should be of type ([A-Z][a-z]+)$/) do |path, type|
29
+ Then(/^the data at "(.*?)" should be of type ([A-Za-z]+)$/) do |path, type|
30
30
  if type == "Time"
31
31
  #JSON doesn't actually interpret a time string into a Time,
32
32
  # YAML will, but Time doesn't parse a Time object
@@ -1,3 +1,3 @@
1
1
  module DataSpec
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - narfanator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-09 00:00:00.000000000 Z
11
+ date: 2013-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake