hashema 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/hashema/schema.rb +2 -3
- data/lib/hashema/version.rb +1 -1
- metadata +2 -2
data/lib/hashema/schema.rb
CHANGED
@@ -243,15 +243,14 @@ module Hashema
|
|
243
243
|
def self.at(location, original)
|
244
244
|
new original.actual,
|
245
245
|
original.expected,
|
246
|
-
[location] + original.location
|
246
|
+
[location] + original.location,
|
247
|
+
original.verb
|
247
248
|
end
|
248
249
|
|
249
250
|
def message
|
250
251
|
"expected /#{location.join '/'} to #{verb}"
|
251
252
|
end
|
252
253
|
|
253
|
-
private
|
254
|
-
|
255
254
|
def verb
|
256
255
|
super || "match\n\t#{expected.inspect}\nbut got\n\t#{actual.inspect}"
|
257
256
|
end
|
data/lib/hashema/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hashema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -67,5 +67,5 @@ rubyforge_project:
|
|
67
67
|
rubygems_version: 1.8.23
|
68
68
|
signing_key:
|
69
69
|
specification_version: 3
|
70
|
-
summary: hashema-0.1.
|
70
|
+
summary: hashema-0.1.1
|
71
71
|
test_files: []
|