afmotion 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/afmotion.rb +0 -4
- data/lib/afmotion/image.rb +2 -2
- data/lib/afmotion/version.rb +1 -1
- data/pkg/afmotion-0.0.3.gem +0 -0
- metadata +5 -4
data/Gemfile.lock
CHANGED
data/lib/afmotion.rb
CHANGED
data/lib/afmotion/image.rb
CHANGED
@@ -2,9 +2,9 @@ class UIImageView
|
|
2
2
|
def url=(url)
|
3
3
|
case url
|
4
4
|
when Hash
|
5
|
-
self.setImageWithURL(url[:url].to_url, placeholderImage: url[:placeholder])
|
5
|
+
self.setImageWithURL((url[:url] && url[:url].to_url), placeholderImage: url[:placeholder])
|
6
6
|
else
|
7
|
-
self.setImageWithURL(url.to_url)
|
7
|
+
self.setImageWithURL(url && url.to_url)
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
data/lib/afmotion/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: afmotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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-11-
|
12
|
+
date: 2012-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: motion-cocoapods
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- lib/afmotion/patch/NSString_NSUrl.rb
|
67
67
|
- lib/afmotion/version.rb
|
68
68
|
- pkg/afmotion-0.0.2.gem
|
69
|
+
- pkg/afmotion-0.0.3.gem
|
69
70
|
- spec/http_client_spec.rb
|
70
71
|
- spec/http_spec.rb
|
71
72
|
- spec/operation_spec.rb
|
@@ -133,7 +134,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
134
|
version: '0'
|
134
135
|
segments:
|
135
136
|
- 0
|
136
|
-
hash:
|
137
|
+
hash: 753636019916102226
|
137
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
139
|
none: false
|
139
140
|
requirements:
|
@@ -142,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
143
|
version: '0'
|
143
144
|
segments:
|
144
145
|
- 0
|
145
|
-
hash:
|
146
|
+
hash: 753636019916102226
|
146
147
|
requirements: []
|
147
148
|
rubyforge_project:
|
148
149
|
rubygems_version: 1.8.23
|