afmotion 2.1.2 → 2.1.3

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: feb411ae1cc9016d32050f6b0aa9d2f973eeac94
4
- data.tar.gz: 905b1a32582ea72e76d9fcdb78c21b214cd42305
3
+ metadata.gz: 011f772995d61a7e43c5eeadd4a4104cc216d0dd
4
+ data.tar.gz: 94d4568ef65b8a1720d8b199d450831c35cc0f0b
5
5
  SHA512:
6
- metadata.gz: 84e5f9c1137271ca6dd3c92d7d26b78fa1302ee9bb81dfe1c8bdb4888ea2308dd18991f19be79a489f0a7700288442a68b379ad6702e0f085dcdca03c0d299d4
7
- data.tar.gz: 1d1e4545eed25d301ea615615c1dd5ae596df0404536b22b049c0f72f68f99fbe08f41969f78623423facef7e2764b414d0ba6223bb4e5b4deaa07ee611b122e
6
+ metadata.gz: 0c21825682d61862faed7f4b1fbcd88c539a089dc8995dd0ce5d8485586525816622eea4ecb97a121edbecd172d32a85292d841a2f17225b50c3509864db08f9
7
+ data.tar.gz: bfc95a53fff941d25db09b94beda17a632a25509c4d8c956b22a19202abb43820e47978b66fb7503f7317486adf67fa38e1674600763af569f7e483bf5fcd8f8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afmotion (2.1.2)
4
+ afmotion (2.1.3)
5
5
  motion-cocoapods (~> 1.4.0)
6
6
  motion-require (>= 0.1)
7
7
 
@@ -11,42 +11,41 @@ GEM
11
11
  activesupport (3.2.17)
12
12
  i18n (~> 0.6, >= 0.6.4)
13
13
  multi_json (~> 1.0)
14
- claide (0.4.0)
15
- cocoapods (0.29.0)
14
+ claide (0.5.0)
15
+ cocoapods (0.32.1)
16
16
  activesupport (>= 3.2.15, < 4)
17
- claide (~> 0.4.0)
18
- cocoapods-core (= 0.29.0)
19
- cocoapods-downloader (~> 0.3.0)
20
- cocoapods-try-release-fix (~> 0.1.1)
17
+ claide (~> 0.5.0)
18
+ cocoapods-core (= 0.32.1)
19
+ cocoapods-downloader (~> 0.5.0)
20
+ cocoapods-try (~> 0.2.0)
21
21
  colored (~> 1.2)
22
22
  escape (~> 0.0.4)
23
23
  json_pure (~> 1.8)
24
- nap (~> 0.5)
24
+ nap (~> 0.7)
25
25
  open4 (~> 1.3)
26
- xcodeproj (~> 0.14.1)
27
- cocoapods-core (0.29.0)
26
+ xcodeproj (~> 0.16.1)
27
+ cocoapods-core (0.32.1)
28
28
  activesupport (>= 3.2.15, < 4)
29
29
  fuzzy_match (~> 2.0.4)
30
30
  json_pure (~> 1.8)
31
31
  nap (~> 0.5)
32
- cocoapods-downloader (0.3.0)
33
- cocoapods-try-release-fix (0.1.2)
32
+ cocoapods-downloader (0.5.0)
33
+ cocoapods-try (0.2.0)
34
34
  colored (1.2)
35
35
  escape (0.0.4)
36
36
  fuzzy_match (2.0.4)
37
37
  i18n (0.6.9)
38
38
  json_pure (1.8.1)
39
- motion-cocoapods (1.4.0)
40
- cocoapods (>= 0.26.2)
39
+ motion-cocoapods (1.4.1)
40
+ cocoapods (>= 0.32.1)
41
41
  motion-require (0.1.1)
42
- multi_json (1.9.0)
43
- nap (0.6.0)
42
+ multi_json (1.9.2)
43
+ nap (0.7.0)
44
44
  open4 (1.3.3)
45
45
  rake (10.1.0)
46
- xcodeproj (0.14.1)
46
+ xcodeproj (0.16.1)
47
47
  activesupport (~> 3.0)
48
48
  colored (~> 1.2)
49
- rake
50
49
 
51
50
  PLATFORMS
52
51
  ruby
data/lib/afmotion/http.rb CHANGED
@@ -11,6 +11,7 @@ module AFMotion
11
11
  end
12
12
 
13
13
  def self.configure_manager(manager)
14
+ manager.http!
14
15
  end
15
16
  end
16
17
 
@@ -41,6 +41,11 @@ module AFMotion
41
41
  self
42
42
  end
43
43
 
44
+ def http!
45
+ with_request_serializer(AFHTTPRequestSerializer).
46
+ with_response_serializer(AFHTTPResponseSerializer)
47
+ end
48
+
44
49
  def json!
45
50
  with_request_serializer(AFJSONRequestSerializer).
46
51
  with_response_serializer(AFJSONResponseSerializer)
@@ -1,5 +1,5 @@
1
1
  module AFMotion
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
 
4
4
  HTTP_METHODS = [:get, :post, :put, :delete, :patch, :head]
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afmotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clay Allsopp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-09 00:00:00.000000000 Z
11
+ date: 2014-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: motion-cocoapods