afmotion 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 011f772995d61a7e43c5eeadd4a4104cc216d0dd
4
- data.tar.gz: 94d4568ef65b8a1720d8b199d450831c35cc0f0b
3
+ metadata.gz: 69787414b3be0ca464dfb2d7454c8e7eecd1d88f
4
+ data.tar.gz: 5c34b19456c5e5c6b0e2acd47000fb848ce408ed
5
5
  SHA512:
6
- metadata.gz: 0c21825682d61862faed7f4b1fbcd88c539a089dc8995dd0ce5d8485586525816622eea4ecb97a121edbecd172d32a85292d841a2f17225b50c3509864db08f9
7
- data.tar.gz: bfc95a53fff941d25db09b94beda17a632a25509c4d8c956b22a19202abb43820e47978b66fb7503f7317486adf67fa38e1674600763af569f7e483bf5fcd8f8
6
+ metadata.gz: 34ec767cca0a59b869d3d5f504c48653d3418dd5c68c5d802f60802dbc23a3d37caa6b43201b0c40f1d50e8210a54fbddec188a4beface966f5600115a873de7
7
+ data.tar.gz: 4428cf7d886665c4dadfa1e147e989a8036b834cfe65726dcec517229f3fbc4a25bce510d88f5833b1aed8f813e7a1eb6865f61ccd5ab53220c7498d56d55739
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afmotion (2.1.3)
4
+ afmotion (2.1.4)
5
5
  motion-cocoapods (~> 1.4.0)
6
6
  motion-require (>= 0.1)
7
7
 
data/lib/afmotion/http.rb CHANGED
@@ -42,7 +42,7 @@ module AFMotion
42
42
  [HTTP, JSON, XML, PLIST, Image].each do |base|
43
43
  AFMotion::HTTP_METHODS.each do |method_name|
44
44
  method_signature = "#{method_name.to_s.upcase}:parameters:success:failure:"
45
- base.define_singleton_method(method_name, -> (url, parameters = {}, &callback) do
45
+ base.define_singleton_method(method_name, -> (url, parameters = nil, &callback) do
46
46
  base.operation_manager.send(method_signature, url,
47
47
  parameters,
48
48
  AFMotion::Operation.success_block_for_http_method(method_name, callback),
@@ -1,5 +1,5 @@
1
1
  module AFMotion
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
3
3
 
4
4
  HTTP_METHODS = [:get, :post, :put, :delete, :patch, :head]
5
5
  end
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: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clay Allsopp