afmotion 2.4.1 → 2.5

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: 65da43227281846aaf7f6d790dc7b4aa67b095d9
4
- data.tar.gz: 9d2d70fc1419d1cf1a994d855e5e8606e8f6a2e7
3
+ metadata.gz: faa1ecf8a041e3e0ecadf1803e62f3e75df6bab1
4
+ data.tar.gz: 63bf5af8fc8133cf5d503942c073474d1f2fe522
5
5
  SHA512:
6
- metadata.gz: d3704f5368b72cedc47f8b7e038e944a6e021251ab50aee91e0eccb54175b49924a0d0f66835c8e0ea30ae71583e33048e724dcb3c298393bef1d7ad16c8366c
7
- data.tar.gz: fc296d84647c5df73449d9ba46c9d258f29fd74a1e854854e109c6d9966940abc9d0d5e2bf5ca62261c2770db9d9fcaa152b009c72c78fff8f42669f9afc5109
6
+ metadata.gz: 0fda9bafa27ef7d7e6fe83fd4ddcb0d615cd86ddadce7e6a8354a314cff2ec2585c001530d205afae971abfecdb8cf3f05091a72b87bfe5df78d5e51a0a9cb79
7
+ data.tar.gz: 3f1a0230a89efbb735b45f590601efc1b848be85b74a71529e130e535c01a654aa3ae514e6c9b5524aa6b1f45a2866065c8f821d6a5755cfeedf6808a83396cf
data/Gemfile.lock CHANGED
@@ -1,60 +1,65 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afmotion (2.4.1)
4
+ afmotion (2.5)
5
5
  motion-cocoapods (>= 1.4.1)
6
6
  motion-require (>= 0.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (3.2.19)
12
- i18n (~> 0.6, >= 0.6.4)
13
- multi_json (~> 1.0)
14
- claide (0.6.1)
15
- cocoapods (0.33.1)
16
- activesupport (>= 3.2.15, < 4)
17
- claide (~> 0.6.1)
18
- cocoapods-core (= 0.33.1)
19
- cocoapods-downloader (~> 0.6.1)
20
- cocoapods-plugins (~> 0.2.0)
21
- cocoapods-trunk (~> 0.1.1)
22
- cocoapods-try (~> 0.3.0)
11
+ activesupport (4.1.8)
12
+ i18n (~> 0.6, >= 0.6.9)
13
+ json (~> 1.7, >= 1.7.7)
14
+ minitest (~> 5.1)
15
+ thread_safe (~> 0.1)
16
+ tzinfo (~> 1.1)
17
+ claide (0.7.0)
18
+ cocoapods (0.35.0)
19
+ activesupport (>= 3.2.15)
20
+ claide (~> 0.7.0)
21
+ cocoapods-core (= 0.35.0)
22
+ cocoapods-downloader (~> 0.8.0)
23
+ cocoapods-plugins (~> 0.3.1)
24
+ cocoapods-trunk (~> 0.4.1)
25
+ cocoapods-try (~> 0.4.2)
23
26
  colored (~> 1.2)
24
27
  escape (~> 0.0.4)
25
- json_pure (~> 1.8)
26
- nap (~> 0.7)
28
+ molinillo (~> 0.1.2)
29
+ nap (~> 0.8)
27
30
  open4 (~> 1.3)
28
- xcodeproj (~> 0.17.0)
29
- cocoapods-core (0.33.1)
31
+ xcodeproj (~> 0.20.2)
32
+ cocoapods-core (0.35.0)
30
33
  activesupport (>= 3.2.15)
31
34
  fuzzy_match (~> 2.0.4)
32
- json_pure (~> 1.8)
33
- nap (~> 0.5)
34
- cocoapods-downloader (0.6.1)
35
- cocoapods-plugins (0.2.0)
35
+ nap (~> 0.8.0)
36
+ cocoapods-downloader (0.8.0)
37
+ cocoapods-plugins (0.3.2)
36
38
  nap
37
- cocoapods-trunk (0.1.4)
38
- json_pure (~> 1.8)
39
- nap (>= 0.6)
40
- netrc
41
- cocoapods-try (0.3.0)
39
+ cocoapods-trunk (0.4.1)
40
+ nap (>= 0.8)
41
+ netrc (= 0.7.8)
42
+ cocoapods-try (0.4.2)
42
43
  colored (1.2)
43
44
  escape (0.0.4)
44
45
  fuzzy_match (2.0.4)
45
46
  i18n (0.6.11)
46
- json_pure (1.8.1)
47
- motion-cocoapods (1.5.0)
48
- cocoapods (>= 0.32.1)
47
+ json (1.8.1)
48
+ minitest (5.5.0)
49
+ molinillo (0.1.2)
50
+ motion-cocoapods (1.7.0)
51
+ cocoapods (>= 0.34)
49
52
  motion-require (0.2.0)
50
- multi_json (1.10.1)
51
53
  nap (0.8.0)
52
- netrc (0.7.7)
54
+ netrc (0.7.8)
53
55
  open4 (1.3.4)
54
56
  rake (10.3.2)
57
+ thread_safe (0.3.4)
58
+ tzinfo (1.2.2)
59
+ thread_safe (~> 0.1)
55
60
  webstub (1.0.1)
56
- xcodeproj (0.17.0)
57
- activesupport (~> 3.0)
61
+ xcodeproj (0.20.2)
62
+ activesupport (>= 3)
58
63
  colored (~> 1.2)
59
64
 
60
65
  PLATFORMS
data/lib/afmotion.rb CHANGED
@@ -16,6 +16,6 @@ Motion::Project::App.setup do |app|
16
16
  end
17
17
 
18
18
  app.pods do
19
- pod 'AFNetworking', '~> 2.4.1'
19
+ pod 'AFNetworking', '~> 2.5'
20
20
  end
21
- end
21
+ end
@@ -23,10 +23,12 @@ module AFMotion
23
23
  end
24
24
 
25
25
  def status_code
26
- if self.operation
26
+ if self.operation && self.operation.response
27
27
  self.operation.response.statusCode
28
- else
28
+ elsif self.task
29
29
  self.task.response.statusCode
30
+ else
31
+ nil
30
32
  end
31
33
  end
32
34
 
@@ -1,5 +1,5 @@
1
1
  module AFMotion
2
- VERSION = "2.4.1"
2
+ VERSION = "2.5"
3
3
 
4
4
  HTTP_METHODS = [:get, :post, :put, :delete, :patch, :head]
5
5
  end
data/vendor/Podfile.lock CHANGED
@@ -1,30 +1,30 @@
1
1
  PODS:
2
- - AFNetworking (2.4.1):
2
+ - AFNetworking (2.5.0):
3
3
  - AFNetworking/NSURLConnection
4
4
  - AFNetworking/NSURLSession
5
5
  - AFNetworking/Reachability
6
6
  - AFNetworking/Security
7
7
  - AFNetworking/Serialization
8
8
  - AFNetworking/UIKit
9
- - AFNetworking/NSURLConnection (2.4.1):
9
+ - AFNetworking/NSURLConnection (2.5.0):
10
10
  - AFNetworking/Reachability
11
11
  - AFNetworking/Security
12
12
  - AFNetworking/Serialization
13
- - AFNetworking/NSURLSession (2.4.1):
13
+ - AFNetworking/NSURLSession (2.5.0):
14
14
  - AFNetworking/Reachability
15
15
  - AFNetworking/Security
16
16
  - AFNetworking/Serialization
17
- - AFNetworking/Reachability (2.4.1)
18
- - AFNetworking/Security (2.4.1)
19
- - AFNetworking/Serialization (2.4.1)
20
- - AFNetworking/UIKit (2.4.1):
17
+ - AFNetworking/Reachability (2.5.0)
18
+ - AFNetworking/Security (2.5.0)
19
+ - AFNetworking/Serialization (2.5.0)
20
+ - AFNetworking/UIKit (2.5.0):
21
21
  - AFNetworking/NSURLConnection
22
22
  - AFNetworking/NSURLSession
23
23
 
24
24
  DEPENDENCIES:
25
- - AFNetworking (~> 2.4.1)
25
+ - AFNetworking (~> 2.5)
26
26
 
27
27
  SPEC CHECKSUMS:
28
- AFNetworking: 0aabc6fae66d6e5d039eeb21c315843c7aae51ab
28
+ AFNetworking: 0f54cb5d16ce38c1b76948faffb8d5fb705021c7
29
29
 
30
- COCOAPODS: 0.33.1
30
+ COCOAPODS: 0.34.1
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.4.1
4
+ version: '2.5'
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-09-06 00:00:00.000000000 Z
11
+ date: 2014-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: motion-cocoapods