hypermedia 1.1.0 → 1.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/api/form.rb +1 -1
- data/lib/api/link.rb +1 -1
- metadata +2 -2
data/lib/api/form.rb
CHANGED
|
@@ -11,6 +11,6 @@ class HypermediaAPI::Form
|
|
|
11
11
|
when 'post' then HypermediaAPI.post(@action_uri, options.merge(inputs: inputs))
|
|
12
12
|
end
|
|
13
13
|
rescue SocketError
|
|
14
|
-
raise BadURI, "The client was unable to interact with a resource at #{@action_uri}."
|
|
14
|
+
raise HypermediaAPI::BadURI, "The client was unable to interact with a resource at #{@action_uri}."
|
|
15
15
|
end
|
|
16
16
|
end
|
data/lib/api/link.rb
CHANGED
|
@@ -8,6 +8,6 @@ class HypermediaAPI::Link
|
|
|
8
8
|
def click (options = {})
|
|
9
9
|
document = HypermediaAPI.get(@href_uri, options)
|
|
10
10
|
rescue SocketError
|
|
11
|
-
raise BadURI, "The client was unable to interact with a resource at #{@href_uri}."
|
|
11
|
+
raise HypermediaAPI::BadURI, "The client was unable to interact with a resource at #{@href_uri}."
|
|
12
12
|
end
|
|
13
13
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hypermedia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-07-
|
|
12
|
+
date: 2012-07-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|