url 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/url/endpoint.rb +1 -1
  2. data/lib/url/version.rb +1 -1
  3. metadata +22 -8
data/lib/url/endpoint.rb CHANGED
@@ -70,7 +70,7 @@ class URL
70
70
  end
71
71
  end
72
72
 
73
- if into ||= inflate_into && resp.is_a?(Hash)
73
+ if resp.is_a?(Hash) && (into ||= inflate_into)
74
74
  into.call(resp)
75
75
  else
76
76
  resp
data/lib/url/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class URL
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: url
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tal Atlas
@@ -18,8 +18,8 @@ cert_chain: []
18
18
  date: 2011-07-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: rspec
22
21
  prerelease: false
22
+ type: :development
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
@@ -29,12 +29,26 @@ dependencies:
29
29
  segments:
30
30
  - 2
31
31
  version: "2"
32
- type: :development
32
+ name: rspec
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
35
- name: yard
36
35
  prerelease: false
36
+ type: :development
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ name: rake
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ prerelease: false
50
+ type: :development
51
+ requirement: &id003 !ruby/object:Gem::Requirement
38
52
  none: false
39
53
  requirements:
40
54
  - - ">="
@@ -45,8 +59,8 @@ dependencies:
45
59
  - 7
46
60
  - 1
47
61
  version: 0.7.1
48
- type: :development
49
- version_requirements: *id002
62
+ name: yard
63
+ version_requirements: *id003
50
64
  description: A simple url object to allow for OO based manipulation and usage of a url
51
65
  email: me@tal.by
52
66
  executables: []