hash_dealer 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/hash_dealer.gemspec +2 -2
- data/lib/path_string.rb +1 -1
- data/spec/lib/matcher_spec.rb +5 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/hash_dealer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{hash_dealer}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan Langevin"]
|
12
|
-
s.date = %q{2011-08-
|
12
|
+
s.date = %q{2011-08-15}
|
13
13
|
s.description = %q{Like Factory Girl but for Hashes only}
|
14
14
|
s.email = %q{dan.langevin@lifebooker.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/path_string.rb
CHANGED
data/spec/lib/matcher_spec.rb
CHANGED
@@ -5,4 +5,9 @@ describe "match_resonse Matcher" do
|
|
5
5
|
it "should match hashes" do
|
6
6
|
{:a => "b"}.should match_response({"a" => ":test"})
|
7
7
|
end
|
8
|
+
|
9
|
+
it "should match paths within hashes" do
|
10
|
+
{:a => {:b => "/test/test"}}.should match_response({"a" =>{"b" => "/:a/:b"}})
|
11
|
+
end
|
12
|
+
|
8
13
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: hash_dealer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Dan Langevin
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-15 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
requirements:
|
130
130
|
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
hash: -
|
132
|
+
hash: -4256885510828417571
|
133
133
|
segments:
|
134
134
|
- 0
|
135
135
|
version: "0"
|