afmotion 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afmotion (0.0.3)
4
+ afmotion (0.0.4)
5
5
  motion-cocoapods (>= 1.2.1)
6
6
 
7
7
  GEM
@@ -9,8 +9,4 @@ Motion::Project::App.setup do |app|
9
9
  Dir.glob(File.join(File.dirname(__FILE__), 'afmotion/**/*.rb')).each do |file|
10
10
  app.files.unshift(file)
11
11
  end
12
-
13
- app.pods do
14
- pod 'AFNetworking'
15
- end
16
12
  end
@@ -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
@@ -1,5 +1,5 @@
1
1
  module AFMotion
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
 
4
4
  HTTP_METHODS = [:get, :post, :put, :delete, :patch]
5
5
  end
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.3
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-03 00:00:00.000000000 Z
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: -2112569163746405091
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: -2112569163746405091
146
+ hash: 753636019916102226
146
147
  requirements: []
147
148
  rubyforge_project:
148
149
  rubygems_version: 1.8.23