profitbricks 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -0
- data/lib/profitbricks/firewall.rb +1 -1
- data/lib/profitbricks/model.rb +1 -2
- data/lib/profitbricks.rb +1 -1
- metadata +7 -7
data/CHANGELOG.md
CHANGED
data/lib/profitbricks/model.rb
CHANGED
@@ -11,7 +11,6 @@ module Profitbricks
|
|
11
11
|
else
|
12
12
|
initialize_getter(attribute, type_cast(hash[k]))
|
13
13
|
end
|
14
|
-
|
15
14
|
end
|
16
15
|
end
|
17
16
|
|
@@ -77,7 +76,7 @@ module Profitbricks
|
|
77
76
|
self.class.send :define_method, name do
|
78
77
|
instance_variable_get("@#{name}")
|
79
78
|
end
|
80
|
-
self.instance_variable_set("@#{name}", value) if value
|
79
|
+
self.instance_variable_set("@#{name}", value) if value != nil
|
81
80
|
end
|
82
81
|
|
83
82
|
def initialize_association name, association, value
|
data/lib/profitbricks.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: profitbricks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-04-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|
16
|
-
requirement: &
|
16
|
+
requirement: &15492480 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *15492480
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdoc
|
27
|
-
requirement: &
|
27
|
+
requirement: &15391660 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.10'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *15391660
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hoe
|
38
|
-
requirement: &
|
38
|
+
requirement: &15390920 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3.0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *15390920
|
47
47
|
description: A Ruby client for the ProfitBricks API.
|
48
48
|
email:
|
49
49
|
- git@dsander.de
|