restify 0.4.0.b1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/restify/resource.rb +8 -0
- data/lib/restify/version.rb +1 -1
- data/spec/restify/resource_spec.rb +6 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53afb4149e4a7cf9a74f1adefb033fddbff747b1
|
4
|
+
data.tar.gz: 08a921b2651ed0b7f1a4b7bfe9cc3902bbdcc025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e36cddfca76ff7cb128eda9c4063fc1c331e9da02a386ee42fa3e2c294c6d6857ec2bc1eb9d4fae59d2bb6c4e5d2c34e26e8742190437d7196cfb61d16b39dc3
|
7
|
+
data.tar.gz: 2480565bdd848d2e6d4574fa664418b4bf387d91752d8e4f678673764a31e1cb4924b88901f1f04f28e5b40017454273024d683b97b1fb8cfafa196e7bf836b3
|
data/lib/restify/resource.rb
CHANGED
@@ -49,6 +49,14 @@ module Restify
|
|
49
49
|
|
50
50
|
alias_method :rel, :relation
|
51
51
|
|
52
|
+
# @!method data
|
53
|
+
#
|
54
|
+
# Return response data. Usually a hash or array.
|
55
|
+
#
|
56
|
+
# @return [Object] Response data.
|
57
|
+
#
|
58
|
+
attr_reader :data
|
59
|
+
|
52
60
|
# @!method response
|
53
61
|
#
|
54
62
|
# Return response if available.
|
data/lib/restify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -155,12 +155,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- - "
|
158
|
+
- - ">="
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
160
|
+
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.5.1
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: An experimental hypermedia REST client.
|