flex 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/flex/class_proxy/loader.rb +1 -1
- data/lib/flex/http_clients/rest_client.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -17,7 +17,7 @@ module Flex
|
|
17
17
|
if source.nil? || source != /\n/
|
18
18
|
paths = [ "#{Configuration.flex_dir}/#{source}.yml",
|
19
19
|
"#{Configuration.flex_dir}/#{ModelManager.class_name_to_type(host_class.name)}.yml",
|
20
|
-
source ]
|
20
|
+
source.to_s ]
|
21
21
|
source = paths.find {|p| File.exist?(p)}
|
22
22
|
end
|
23
23
|
raise ArgumentError, "expected a string (got #{source.inspect})." \
|
@@ -12,7 +12,7 @@ module Flex
|
|
12
12
|
response = ::RestClient::Request.new( args ).execute
|
13
13
|
extend_response(response, url)
|
14
14
|
|
15
|
-
rescue ::RestClient::ExceptionWithResponse
|
15
|
+
rescue ::RestClient::ExceptionWithResponse => e
|
16
16
|
extend_response(e.response, url)
|
17
17
|
end
|
18
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.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-08-
|
12
|
+
date: 2012-08-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|