motion-yapper 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -2
  3. data/.travis.yml +2 -0
  4. data/Gemfile +1 -0
  5. data/README.md +1 -1
  6. data/Rakefile +1 -1
  7. data/lib/motion-yapper.rb +1 -0
  8. data/lib/yapper.rb +3 -5
  9. data/lib/yapper/config.rb +2 -0
  10. data/lib/yapper/db.rb +105 -40
  11. data/lib/yapper/document.rb +7 -4
  12. data/lib/yapper/document/callbacks.rb +0 -7
  13. data/lib/yapper/document/{persistance.rb → persistence.rb} +27 -21
  14. data/lib/yapper/document/relation.rb +29 -22
  15. data/lib/yapper/document/selection.rb +122 -54
  16. data/lib/yapper/extensions.rb +12 -24
  17. data/lib/yapper/settings.rb +43 -0
  18. data/lib/yapper/timestamps.rb +2 -0
  19. data/lib/yapper/version.rb +1 -1
  20. data/{yapper.gemspec → motion-yapper.gemspec} +0 -0
  21. data/spec/integration/{where_spec.rb → criteria_spec.rb} +78 -10
  22. data/spec/integration/db_spec.rb +70 -0
  23. data/spec/integration/defaults_spec.rb +37 -0
  24. data/spec/integration/extensions_spec.rb +14 -0
  25. data/spec/integration/{persistance_spec.rb → persistence_spec.rb} +0 -0
  26. data/spec/integration/relation_spec.rb +4 -4
  27. data/vendor/Podfile.lock +9 -11
  28. data/vendor/Pods/.build/libPods-CocoaLumberjack.a +0 -0
  29. data/vendor/Pods/.build/libPods-NSData+MD5Digest.a +0 -0
  30. data/vendor/Pods/.build/libPods-YapDatabase.a +0 -0
  31. data/vendor/Pods/.build/libPods.a +0 -0
  32. data/vendor/Pods/BuildHeaders/CocoaLumberjack/DDASLLogger.h +4 -4
  33. data/vendor/Pods/BuildHeaders/CocoaLumberjack/DDAbstractDatabaseLogger.h +14 -14
  34. data/vendor/Pods/{CocoaLumberjack/Lumberjack/Extensions/ContextFilterLogFormatter.h → BuildHeaders/CocoaLumberjack/DDContextFilterLogFormatter.h} +6 -8
  35. data/vendor/Pods/BuildHeaders/CocoaLumberjack/{DispatchQueueLogFormatter.h → DDDispatchQueueLogFormatter.h} +18 -6
  36. data/vendor/Pods/BuildHeaders/CocoaLumberjack/DDFileLogger.h +67 -32
  37. data/vendor/Pods/BuildHeaders/CocoaLumberjack/DDLog+LOGV.h +99 -0
  38. data/vendor/Pods/BuildHeaders/CocoaLumberjack/DDLog.h +98 -65
  39. data/vendor/Pods/BuildHeaders/CocoaLumberjack/DDMultiFormatter.h +30 -0
  40. data/vendor/Pods/BuildHeaders/CocoaLumberjack/DDTTYLogger.h +39 -25
  41. data/vendor/Pods/BuildHeaders/YapDatabase/NSDictionary+YapDatabase.h +8 -0
  42. data/vendor/Pods/BuildHeaders/YapDatabase/YapCache.h +1 -0
  43. data/vendor/Pods/BuildHeaders/YapDatabase/YapCollectionKey.h +3 -0
  44. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabase.h +4 -4
  45. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseConnection.h +21 -19
  46. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseDefaults.h +1 -1
  47. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseExtensionPrivate.h +35 -31
  48. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseFilteredView.h +8 -35
  49. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseFilteredViewPrivate.h +0 -2
  50. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseFilteredViewTransaction.h +17 -17
  51. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseFilteredViewTypes.h +32 -0
  52. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseFullTextSearchPrivate.h +8 -0
  53. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabasePrivate.h +43 -21
  54. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationship.h +35 -0
  55. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationshipConnection.h +29 -0
  56. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationshipEdge.h +163 -0
  57. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationshipEdgePrivate.h +79 -0
  58. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationshipNode.h +99 -0
  59. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationshipOptions.h +59 -0
  60. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationshipPrivate.h +125 -0
  61. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseRelationshipTransaction.h +384 -0
  62. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseSecondaryIndex.h +49 -0
  63. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseSecondaryIndexPrivate.h +10 -0
  64. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseSecondaryIndexSetupPrivate.h +18 -0
  65. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseTransaction.h +131 -21
  66. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseView.h +48 -107
  67. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseViewChange.h +2 -2
  68. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseViewConnection.h +1 -0
  69. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseViewMappings.h +17 -0
  70. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseViewOptions.h +10 -3
  71. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseViewPrivate.h +18 -1
  72. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseViewTransaction.h +75 -24
  73. data/vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseViewTypes.h +99 -0
  74. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDASLLogger.h +4 -4
  75. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDASLLogger.m +51 -50
  76. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDAbstractDatabaseLogger.h +14 -14
  77. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDAbstractDatabaseLogger.m +546 -546
  78. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDFileLogger.h +67 -32
  79. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDFileLogger.m +1093 -907
  80. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDLog+LOGV.h +99 -0
  81. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDLog.h +98 -65
  82. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDLog.m +873 -748
  83. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDTTYLogger.h +39 -25
  84. data/vendor/Pods/CocoaLumberjack/Lumberjack/DDTTYLogger.m +1284 -1243
  85. data/vendor/Pods/{BuildHeaders/CocoaLumberjack/ContextFilterLogFormatter.h → CocoaLumberjack/Lumberjack/Extensions/DDContextFilterLogFormatter.h} +6 -8
  86. data/vendor/Pods/CocoaLumberjack/Lumberjack/Extensions/{ContextFilterLogFormatter.m → DDContextFilterLogFormatter.m} +70 -70
  87. data/vendor/Pods/CocoaLumberjack/Lumberjack/Extensions/{DispatchQueueLogFormatter.h → DDDispatchQueueLogFormatter.h} +18 -6
  88. data/vendor/Pods/CocoaLumberjack/Lumberjack/Extensions/DDDispatchQueueLogFormatter.m +253 -0
  89. data/vendor/Pods/CocoaLumberjack/Lumberjack/Extensions/DDMultiFormatter.h +30 -0
  90. data/vendor/Pods/CocoaLumberjack/Lumberjack/Extensions/DDMultiFormatter.m +127 -0
  91. data/vendor/Pods/CocoaLumberjack/Lumberjack/Extensions/README.txt +1 -1
  92. data/vendor/Pods/CocoaLumberjack/README.markdown +52 -15
  93. data/vendor/Pods/Headers/CocoaLumberjack/DDASLLogger.h +4 -4
  94. data/vendor/Pods/Headers/CocoaLumberjack/DDAbstractDatabaseLogger.h +14 -14
  95. data/vendor/Pods/Headers/CocoaLumberjack/{ContextFilterLogFormatter.h → DDContextFilterLogFormatter.h} +6 -8
  96. data/vendor/Pods/Headers/CocoaLumberjack/{DispatchQueueLogFormatter.h → DDDispatchQueueLogFormatter.h} +18 -6
  97. data/vendor/Pods/Headers/CocoaLumberjack/DDFileLogger.h +67 -32
  98. data/vendor/Pods/Headers/CocoaLumberjack/DDLog+LOGV.h +99 -0
  99. data/vendor/Pods/Headers/CocoaLumberjack/DDLog.h +98 -65
  100. data/vendor/Pods/Headers/CocoaLumberjack/DDMultiFormatter.h +30 -0
  101. data/vendor/Pods/Headers/CocoaLumberjack/DDTTYLogger.h +39 -25
  102. data/vendor/Pods/Headers/YapDatabase/YapCollectionKey.h +3 -0
  103. data/vendor/Pods/Headers/YapDatabase/YapDatabase.h +4 -4
  104. data/vendor/Pods/Headers/YapDatabase/YapDatabaseConnection.h +21 -19
  105. data/vendor/Pods/Headers/YapDatabase/YapDatabaseFilteredView.h +8 -35
  106. data/vendor/Pods/Headers/YapDatabase/YapDatabaseFilteredViewTransaction.h +17 -17
  107. data/vendor/Pods/Headers/YapDatabase/YapDatabaseFilteredViewTypes.h +32 -0
  108. data/vendor/Pods/Headers/YapDatabase/YapDatabaseRelationship.h +35 -0
  109. data/vendor/Pods/Headers/YapDatabase/YapDatabaseRelationshipConnection.h +29 -0
  110. data/vendor/Pods/Headers/YapDatabase/YapDatabaseRelationshipEdge.h +163 -0
  111. data/vendor/Pods/Headers/YapDatabase/YapDatabaseRelationshipNode.h +99 -0
  112. data/vendor/Pods/Headers/YapDatabase/YapDatabaseRelationshipOptions.h +59 -0
  113. data/vendor/Pods/Headers/YapDatabase/YapDatabaseRelationshipTransaction.h +384 -0
  114. data/vendor/Pods/Headers/YapDatabase/YapDatabaseSecondaryIndex.h +49 -0
  115. data/vendor/Pods/Headers/YapDatabase/YapDatabaseTransaction.h +131 -21
  116. data/vendor/Pods/Headers/YapDatabase/YapDatabaseView.h +48 -107
  117. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewChange.h +2 -2
  118. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewConnection.h +1 -0
  119. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewMappings.h +17 -0
  120. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewOptions.h +10 -3
  121. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewTransaction.h +75 -24
  122. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewTypes.h +99 -0
  123. data/vendor/Pods/Headers/____Pods-CocoaLumberjack-prefix.h +2 -0
  124. data/vendor/Pods/Headers/____Pods-environment.h +15 -15
  125. data/vendor/Pods/Manifest.lock +9 -11
  126. data/vendor/Pods/Pods-CocoaLumberjack-Private.xcconfig +1 -1
  127. data/vendor/Pods/Pods-CocoaLumberjack-prefix.pch +2 -0
  128. data/vendor/Pods/Pods-NSData+MD5Digest-Private.xcconfig +1 -1
  129. data/vendor/Pods/Pods-YapDatabase-Private.xcconfig +1 -1
  130. data/vendor/Pods/{Pods-Acknowledgements.markdown → Pods-acknowledgements.markdown} +0 -37
  131. data/vendor/Pods/{Pods-Acknowledgements.plist → Pods-acknowledgements.plist} +0 -45
  132. data/vendor/Pods/Pods-environment.h +15 -15
  133. data/vendor/Pods/Pods.xcconfig +3 -3
  134. data/vendor/Pods/Pods.xcodeproj/project.pbxproj +2426 -3155
  135. data/vendor/Pods/Pods.xcodeproj/xcuserdata/kareemk.xcuserdatad/xcschemes/Pods-CocoaLumberjack.xcscheme +59 -0
  136. data/vendor/Pods/Pods.xcodeproj/xcuserdata/kareemk.xcuserdatad/xcschemes/Pods-NSData+MD5Digest.xcscheme +59 -0
  137. data/vendor/Pods/Pods.xcodeproj/xcuserdata/kareemk.xcuserdatad/xcschemes/Pods-YapDatabase.xcscheme +59 -0
  138. data/vendor/Pods/Pods.xcodeproj/xcuserdata/kareemk.xcuserdatad/xcschemes/Pods.xcscheme +59 -0
  139. data/vendor/Pods/Pods.xcodeproj/xcuserdata/kareemk.xcuserdatad/xcschemes/xcschememanagement.plist +31 -0
  140. data/vendor/Pods/YapDatabase/README.md +3 -1
  141. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FilteredViews/Internal/YapDatabaseFilteredViewPrivate.h +0 -2
  142. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FilteredViews/YapDatabaseFilteredView.h +8 -35
  143. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FilteredViews/YapDatabaseFilteredView.m +25 -41
  144. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FilteredViews/YapDatabaseFilteredViewTransaction.h +17 -17
  145. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FilteredViews/YapDatabaseFilteredViewTransaction.m +403 -134
  146. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FilteredViews/YapDatabaseFilteredViewTypes.h +32 -0
  147. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FullTextSearch/Internal/YapDatabaseFullTextSearchPrivate.h +8 -0
  148. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FullTextSearch/YapDatabaseFullTextSearchConnection.m +8 -8
  149. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/FullTextSearch/YapDatabaseFullTextSearchTransaction.m +113 -62
  150. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Protocol/Internal/YapDatabaseExtensionPrivate.h +35 -31
  151. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Protocol/YapDatabaseExtension.m +25 -0
  152. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Protocol/YapDatabaseExtensionConnection.m +1 -1
  153. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Protocol/YapDatabaseExtensionTransaction.m +25 -1
  154. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/Internal/YapDatabaseRelationshipEdgePrivate.h +79 -0
  155. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/Internal/YapDatabaseRelationshipPrivate.h +125 -0
  156. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationship.h +35 -0
  157. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationship.m +129 -0
  158. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipConnection.h +29 -0
  159. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipConnection.m +802 -0
  160. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipEdge.h +163 -0
  161. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipEdge.m +408 -0
  162. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipNode.h +99 -0
  163. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipOptions.h +59 -0
  164. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipOptions.m +29 -0
  165. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipTransaction.h +384 -0
  166. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Relationships/YapDatabaseRelationshipTransaction.m +5254 -0
  167. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/SecondaryIndex/Internal/YapDatabaseSecondaryIndexPrivate.h +10 -0
  168. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/SecondaryIndex/Internal/YapDatabaseSecondaryIndexSetupPrivate.h +18 -0
  169. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/SecondaryIndex/YapDatabaseSecondaryIndex.h +49 -0
  170. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/SecondaryIndex/YapDatabaseSecondaryIndex.m +12 -0
  171. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/SecondaryIndex/YapDatabaseSecondaryIndexConnection.m +9 -8
  172. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/SecondaryIndex/YapDatabaseSecondaryIndexSetup.m +62 -1
  173. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/SecondaryIndex/YapDatabaseSecondaryIndexTransaction.m +148 -45
  174. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Internal/YapDatabaseViewPrivate.h +18 -1
  175. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Utilities/YapDatabaseViewChange.h +2 -2
  176. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Utilities/YapDatabaseViewChange.m +15 -9
  177. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Utilities/YapDatabaseViewMappings.h +17 -0
  178. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Utilities/YapDatabaseViewMappings.m +211 -64
  179. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseView.h +48 -107
  180. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseView.m +10 -7
  181. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseViewConnection.h +1 -0
  182. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseViewConnection.m +13 -22
  183. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseViewOptions.h +10 -3
  184. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseViewTransaction.h +75 -24
  185. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseViewTransaction.m +725 -244
  186. data/vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/YapDatabaseViewTypes.h +99 -0
  187. data/vendor/Pods/YapDatabase/YapDatabase/Internal/NSDictionary+YapDatabase.h +8 -0
  188. data/vendor/Pods/YapDatabase/YapDatabase/Internal/NSDictionary+YapDatabase.m +19 -0
  189. data/vendor/Pods/YapDatabase/YapDatabase/Internal/YapCache.h +1 -0
  190. data/vendor/Pods/YapDatabase/YapDatabase/Internal/YapCache.m +12 -0
  191. data/vendor/Pods/YapDatabase/YapDatabase/Internal/YapDatabaseDefaults.h +1 -1
  192. data/vendor/Pods/YapDatabase/YapDatabase/Internal/YapDatabaseDefaults.m +3 -3
  193. data/vendor/Pods/YapDatabase/YapDatabase/Internal/YapDatabasePrivate.h +43 -21
  194. data/vendor/Pods/YapDatabase/YapDatabase/Internal/YapNull.m +4 -0
  195. data/vendor/Pods/YapDatabase/YapDatabase/Utilities/YapCollectionKey.h +3 -0
  196. data/vendor/Pods/YapDatabase/YapDatabase/Utilities/YapCollectionKey.m +5 -0
  197. data/vendor/Pods/YapDatabase/YapDatabase/YapDatabase.h +4 -4
  198. data/vendor/Pods/YapDatabase/YapDatabase/YapDatabase.m +84 -93
  199. data/vendor/Pods/YapDatabase/YapDatabase/YapDatabaseConnection.h +21 -19
  200. data/vendor/Pods/YapDatabase/YapDatabase/YapDatabaseConnection.m +381 -209
  201. data/vendor/Pods/YapDatabase/YapDatabase/YapDatabaseTransaction.h +131 -21
  202. data/vendor/Pods/YapDatabase/YapDatabase/YapDatabaseTransaction.m +587 -267
  203. data/vendor/Pods/{Pods.bridgesupport → build-iPhoneSimulator/Pods.bridgesupport} +633 -2557
  204. data/vendor/Pods/build-iPhoneSimulator/libPods.a +0 -0
  205. data/vendor/YapDatabaseRubyMotion/YapDatabaseRubyMotion.bridgesupport +2 -1
  206. data/vendor/YapDatabaseRubyMotion/YapDatabaseRubyMotion.h +2 -1
  207. data/vendor/YapDatabaseRubyMotion/YapDatabaseRubyMotion.m +4 -2
  208. metadata +80 -108
  209. data/Gemfile.lock +0 -63
  210. data/lib/yapper/attachment.rb +0 -48
  211. data/lib/yapper/document/attachment.rb +0 -26
  212. data/lib/yapper/sync.rb +0 -134
  213. data/lib/yapper/sync/data.rb +0 -12
  214. data/lib/yapper/sync/event.rb +0 -194
  215. data/lib/yapper/sync/queue.rb +0 -164
  216. data/spec/integration/all_spec.rb +0 -40
  217. data/spec/integration/sync_spec.rb +0 -42
  218. data/vendor/Pods/AFNetworking/AFNetworking/AFHTTPClient.h +0 -641
  219. data/vendor/Pods/AFNetworking/AFNetworking/AFHTTPClient.m +0 -1396
  220. data/vendor/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h +0 -133
  221. data/vendor/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m +0 -327
  222. data/vendor/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.h +0 -113
  223. data/vendor/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.m +0 -321
  224. data/vendor/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.h +0 -71
  225. data/vendor/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.m +0 -150
  226. data/vendor/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.h +0 -75
  227. data/vendor/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.m +0 -157
  228. data/vendor/Pods/AFNetworking/AFNetworking/AFNetworking.h +0 -43
  229. data/vendor/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.h +0 -68
  230. data/vendor/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.m +0 -143
  231. data/vendor/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h +0 -370
  232. data/vendor/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m +0 -848
  233. data/vendor/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.h +0 -89
  234. data/vendor/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.m +0 -167
  235. data/vendor/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.h +0 -78
  236. data/vendor/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.m +0 -191
  237. data/vendor/Pods/AFNetworking/LICENSE +0 -19
  238. data/vendor/Pods/AFNetworking/README.md +0 -208
  239. data/vendor/Pods/BuildHeaders/AFNetworking/AFHTTPClient.h +0 -641
  240. data/vendor/Pods/BuildHeaders/AFNetworking/AFHTTPRequestOperation.h +0 -133
  241. data/vendor/Pods/BuildHeaders/AFNetworking/AFImageRequestOperation.h +0 -113
  242. data/vendor/Pods/BuildHeaders/AFNetworking/AFJSONRequestOperation.h +0 -71
  243. data/vendor/Pods/BuildHeaders/AFNetworking/AFNetworkActivityIndicatorManager.h +0 -75
  244. data/vendor/Pods/BuildHeaders/AFNetworking/AFNetworking.h +0 -43
  245. data/vendor/Pods/BuildHeaders/AFNetworking/AFPropertyListRequestOperation.h +0 -68
  246. data/vendor/Pods/BuildHeaders/AFNetworking/AFURLConnectionOperation.h +0 -370
  247. data/vendor/Pods/BuildHeaders/AFNetworking/AFXMLRequestOperation.h +0 -89
  248. data/vendor/Pods/BuildHeaders/AFNetworking/UIImageView+AFNetworking.h +0 -78
  249. data/vendor/Pods/BuildHeaders/Reachability/Reachability.h +0 -109
  250. data/vendor/Pods/CocoaLumberjack/Lumberjack/Extensions/DispatchQueueLogFormatter.m +0 -251
  251. data/vendor/Pods/Headers/AFNetworking/AFHTTPClient.h +0 -641
  252. data/vendor/Pods/Headers/AFNetworking/AFHTTPRequestOperation.h +0 -133
  253. data/vendor/Pods/Headers/AFNetworking/AFImageRequestOperation.h +0 -113
  254. data/vendor/Pods/Headers/AFNetworking/AFJSONRequestOperation.h +0 -71
  255. data/vendor/Pods/Headers/AFNetworking/AFNetworkActivityIndicatorManager.h +0 -75
  256. data/vendor/Pods/Headers/AFNetworking/AFNetworking.h +0 -43
  257. data/vendor/Pods/Headers/AFNetworking/AFPropertyListRequestOperation.h +0 -68
  258. data/vendor/Pods/Headers/AFNetworking/AFURLConnectionOperation.h +0 -370
  259. data/vendor/Pods/Headers/AFNetworking/AFXMLRequestOperation.h +0 -89
  260. data/vendor/Pods/Headers/AFNetworking/UIImageView+AFNetworking.h +0 -78
  261. data/vendor/Pods/Headers/Reachability/Reachability.h +0 -109
  262. data/vendor/Pods/Headers/YapDatabase/YapCache.h +0 -90
  263. data/vendor/Pods/Headers/YapDatabase/YapDatabaseConnectionState.h +0 -29
  264. data/vendor/Pods/Headers/YapDatabase/YapDatabaseDefaults.h +0 -37
  265. data/vendor/Pods/Headers/YapDatabase/YapDatabaseExtensionPrivate.h +0 -440
  266. data/vendor/Pods/Headers/YapDatabase/YapDatabaseFilteredViewPrivate.h +0 -19
  267. data/vendor/Pods/Headers/YapDatabase/YapDatabaseFullTextSearchPrivate.h +0 -69
  268. data/vendor/Pods/Headers/YapDatabase/YapDatabaseLogging.h +0 -158
  269. data/vendor/Pods/Headers/YapDatabase/YapDatabaseManager.h +0 -17
  270. data/vendor/Pods/Headers/YapDatabase/YapDatabasePrivate.h +0 -424
  271. data/vendor/Pods/Headers/YapDatabase/YapDatabaseSecondaryIndexPrivate.h +0 -73
  272. data/vendor/Pods/Headers/YapDatabase/YapDatabaseStatement.h +0 -13
  273. data/vendor/Pods/Headers/YapDatabase/YapDatabaseString.h +0 -121
  274. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewChangePrivate.h +0 -94
  275. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewMappingsPrivate.h +0 -72
  276. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewPage.h +0 -36
  277. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewPageMetadata.h +0 -27
  278. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewPrivate.h +0 -153
  279. data/vendor/Pods/Headers/YapDatabase/YapDatabaseViewRangeOptionsPrivate.h +0 -17
  280. data/vendor/Pods/Headers/YapDatabase/YapMemoryTable.h +0 -74
  281. data/vendor/Pods/Headers/YapDatabase/YapNull.h +0 -17
  282. data/vendor/Pods/Headers/YapDatabase/YapTouch.h +0 -15
  283. data/vendor/Pods/Headers/____Pods-AFNetworking-prefix.h +0 -17
  284. data/vendor/Pods/Headers/____Pods-Reachability-prefix.h +0 -5
  285. data/vendor/Pods/Pods-AFNetworking-Private.xcconfig +0 -5
  286. data/vendor/Pods/Pods-AFNetworking-dummy.m +0 -5
  287. data/vendor/Pods/Pods-AFNetworking-prefix.pch +0 -17
  288. data/vendor/Pods/Pods-AFNetworking.xcconfig +0 -1
  289. data/vendor/Pods/Pods-Reachability-Private.xcconfig +0 -5
  290. data/vendor/Pods/Pods-Reachability-dummy.m +0 -5
  291. data/vendor/Pods/Pods-Reachability-prefix.pch +0 -5
  292. data/vendor/Pods/Pods-Reachability.xcconfig +0 -1
  293. data/vendor/Pods/Reachability/LICENCE.txt +0 -24
  294. data/vendor/Pods/Reachability/README.md +0 -65
  295. data/vendor/Pods/Reachability/Reachability.h +0 -109
  296. data/vendor/Pods/Reachability/Reachability.m +0 -527
@@ -86,8 +86,8 @@ typedef enum {
86
86
  *
87
87
  * YapDatabaseViewChangedMetadata means the metadata was changed.
88
88
  * This might have happend implicitly if the user invoked setObject:forKey:inCollection: (implicitly setting
89
- * the meatadata to nil). Or explicitly if the user invoked setObject:forKey:inCollection:withMetadata: or
90
- * setMetadata:forKey:inCollection:.
89
+ * the metadata to nil). Or explicitly if the user invoked setObject:forKey:inCollection:withMetadata: or
90
+ * replaceMetadata:forKey:inCollection:.
91
91
  *
92
92
  * YapDatabaseViewChangedDependency means the row was flagged due to a cell drawing dependency configuration.
93
93
  * See YapDatabaseViewMappings: setCellDrawingDependencyForNeighboringCellWithOffset:forGroup:
@@ -1,4 +1,5 @@
1
1
  #import <Foundation/Foundation.h>
2
+
2
3
  #import "YapDatabaseExtensionConnection.h"
3
4
  #import "YapDatabaseViewChange.h"
4
5
  #import "YapDatabaseViewMappings.h"
@@ -173,6 +173,8 @@ struct YapDatabaseViewRangePosition {
173
173
  };
174
174
  typedef struct YapDatabaseViewRangePosition YapDatabaseViewRangePosition;
175
175
 
176
+ typedef BOOL (^YapDatabaseViewMappingGroupFilter)(NSString *group, YapDatabaseReadTransaction *transaction);
177
+ typedef NSComparisonResult (^YapDatabaseViewMappingGroupSort)(NSString *group1, NSString *group2, YapDatabaseReadTransaction *transaction);
176
178
 
177
179
  @interface YapDatabaseViewMappings : NSObject <NSCopying>
178
180
 
@@ -203,6 +205,21 @@ typedef struct YapDatabaseViewRangePosition YapDatabaseViewRangePosition;
203
205
  - (id)initWithGroups:(NSArray *)allGroups
204
206
  view:(NSString *)registeredViewName;
205
207
 
208
+
209
+ /**
210
+ * Initializes a new mappings object that uses a filterBlock and a sortBlock to dynamically construct sections from view.
211
+ * @param filterBlock
212
+ * Block that takes a string and returns a BOOL. returning YES will include the group in the sections of the mapping.
213
+ * @param sortBlock
214
+ * Block used to sort group names for groups that pass the filter.
215
+ * @param registeredViewName
216
+ * This is the name of the view, as you registered it with the database system.
217
+ *
218
+ **/
219
+ - (id)initWithGroupFilterBlock:(YapDatabaseViewMappingGroupFilter)filterBlock
220
+ sortBlock:(YapDatabaseViewMappingGroupSort)sortBlock
221
+ view:(NSString *)registeredViewName;
222
+
206
223
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
207
224
  #pragma mark Accessors
208
225
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -43,11 +43,18 @@
43
43
  *
44
44
  * The primary motivation for this is to reduce the overhead when first populating the view.
45
45
  * For example, if you're creating a view which only includes objects from a single collection,
46
- * then you could specify that collection here. And when the view first populates itself,
46
+ * then you could specify that collection here. So when the view first populates itself,
47
47
  * it will enumerate over just the allowedCollections, as opposed to enumerating over all collections.
48
+ * And enumerating a small subset of the entire database during view population can improve speed,
49
+ * especially with larger databases.
48
50
  *
49
- * The groupingBlock will still be invoked, but only if the collection is contained in allowedCollections.
50
- * If not, the view will not invoke the groupingBlock, and act as if the groupingBlock had returned nil.
51
+ * In addition to reducing the overhead when first populating the view,
52
+ * the allowedCollections will pre-filter while you're making changes to the database.
53
+ * So if you add a new object to the database, and the associated collection isn't in allowedCollections,
54
+ * then the groupingBlock will never be invoked, and the view will act as if the groupingBlock returned nil.
55
+ *
56
+ * For all rows whose collection is in the allowedCollections, the view acts normally.
57
+ * So the groupingBlock would still be invoked as normal.
51
58
  *
52
59
  * The default value is nil.
53
60
  **/
@@ -1,5 +1,7 @@
1
1
  #import <Foundation/Foundation.h>
2
+
2
3
  #import "YapDatabaseExtensionTransaction.h"
4
+ #import "YapDatabaseViewTypes.h"
3
5
  #import "YapDatabaseViewMappings.h"
4
6
 
5
7
  /**
@@ -127,18 +129,6 @@ typedef NSComparisonResult (^YapDatabaseViewFindWithMetadataBlock) \
127
129
  typedef NSComparisonResult (^YapDatabaseViewFindWithRowBlock) \
128
130
  (NSString *collection, NSString *key, id object, id metadata);
129
131
 
130
- #ifndef YapDatabaseViewBlockTypeDefined
131
- #define YapDatabaseViewBlockTypeDefined 1
132
-
133
- typedef enum {
134
- YapDatabaseViewBlockTypeWithKey = 201,
135
- YapDatabaseViewBlockTypeWithObject = 202,
136
- YapDatabaseViewBlockTypeWithMetadata = 203,
137
- YapDatabaseViewBlockTypeWithRow = 204
138
- } YapDatabaseViewBlockType;
139
-
140
- #endif
141
-
142
132
  /**
143
133
  * This method uses a binary search algorithm to find a range of items within the view that match the given criteria.
144
134
  * For example:
@@ -314,6 +304,17 @@ typedef enum {
314
304
  - (void)touchObjectForKey:(NSString *)key inCollection:(NSString *)collection;
315
305
  - (void)touchMetadataForKey:(NSString *)key inCollection:(NSString *)collection;
316
306
 
307
+ /**
308
+ * This method allows you to change the groupingBlock and/or sortingBlock on-the-fly.
309
+ *
310
+ * Note: You must pass a different versionTag, or this method does nothing.
311
+ **/
312
+ - (void)setGroupingBlock:(YapDatabaseViewGroupingBlock)groupingBlock
313
+ groupingBlockType:(YapDatabaseViewBlockType)groupingBlockType
314
+ sortingBlock:(YapDatabaseViewSortingBlock)sortingBlock
315
+ sortingBlockType:(YapDatabaseViewBlockType)sortingBlockType
316
+ versionTag:(NSString *)versionTag;
317
+
317
318
  @end
318
319
 
319
320
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -331,30 +332,30 @@ typedef enum {
331
332
  /**
332
333
  * Equivalent to invoking:
333
334
  *
334
- * NSString *collection = nil;
335
- * NSString *key = nil;
336
- * [[transaction ext:@"myView"] getKey:&key collection:&collection atIndex:index inGroup:group];
337
- * [transaction objectForKey:key inCollection:collection];
335
+ * NSString *collection, *key;
336
+ * if ([[transaction ext:@"myView"] getKey:&key collection:&collection atIndex:index inGroup:group]) {
337
+ * object = [transaction objectForKey:key inCollection:collection];
338
+ * }
338
339
  **/
339
340
  - (id)objectAtIndex:(NSUInteger)keyIndex inGroup:(NSString *)group;
340
341
 
341
342
  /**
342
343
  * Equivalent to invoking:
343
344
  *
344
- * NSString *collection = nil;
345
- * NSString *key = nil;
346
- * [[transaction ext:@"myView"] getFirstKey:&key collection:&collection inGroup:group];
347
- * [transaction objectForKey:key inCollection:collection];
345
+ * NSString *collection, *key;
346
+ * if ([[transaction ext:@"myView"] getFirstKey:&key collection:&collection inGroup:group]) {
347
+ * object = [transaction objectForKey:key inCollection:collection];
348
+ * }
348
349
  **/
349
350
  - (id)firstObjectInGroup:(NSString *)group;
350
351
 
351
352
  /**
352
353
  * Equivalent to invoking:
353
354
  *
354
- * NSString *collection = nil;
355
- * NSString *key = nil;
356
- * [[transaction ext:@"myView"] getLastKey:&key collection:&collection inGroup:group];
357
- * [transaction objectForKey:key inCollection:collection];
355
+ * NSString *collection, *key;
356
+ * if ([[transaction ext:@"myView"] getLastKey:&key collection:&collection inGroup:group]) {
357
+ * object = [transaction objectForKey:key inCollection:collection];
358
+ * }
358
359
  **/
359
360
  - (id)lastObjectInGroup:(NSString *)group;
360
361
 
@@ -436,6 +437,45 @@ typedef enum {
436
437
  atIndexPath:(NSIndexPath *)indexPath
437
438
  withMappings:(YapDatabaseViewMappings *)mappings;
438
439
 
440
+ /**
441
+ * Gets the key & collection at the given row & section, assuming the given mappings are being used.
442
+ * Returns NO if the row or section is invalid, or the mappings aren't initialized.
443
+ * Otherwise returns YES, and sets the key & collection ptr (both optional).
444
+ **/
445
+ - (BOOL)getKey:(NSString **)keyPtr
446
+ collection:(NSString **)collectionPtr
447
+ forRow:(NSUInteger)row
448
+ inSection:(NSUInteger)section
449
+ withMappings:(YapDatabaseViewMappings *)mappings;
450
+
451
+ /**
452
+ * Gets the object at the given indexPath, assuming the given mappings are being used.
453
+ *
454
+ * Equivalent to invoking:
455
+ *
456
+ * NSString *collection, *key;
457
+ * if ([[transaction ext:@"myView"] getKey:&key collection:&collection atIndexPath:indexPath withMappings:mappings]) {
458
+ * object = [transaction objectForKey:key inCollection:collection];
459
+ * }
460
+ **/
461
+ - (id)objectAtIndexPath:(NSIndexPath *)indexPath withMappings:(YapDatabaseViewMappings *)mappings;
462
+
463
+ /**
464
+ * Gets the object at the given indexPath, assuming the given mappings are being used.
465
+ *
466
+ * Equivalent to invoking:
467
+ *
468
+ * NSString *collection, *key;
469
+ * if ([[transaction ext:@"view"] getKey:&key
470
+ * collection:&collection
471
+ * forRow:row
472
+ * inSection:section
473
+ * withMappings:mappings]) {
474
+ * object = [transaction objectForKey:key inCollection:collection];
475
+ * }
476
+ **/
477
+ - (id)objectAtRow:(NSUInteger)row inSection:(NSUInteger)section withMappings:(YapDatabaseViewMappings *)mappings;
478
+
439
479
  /**
440
480
  * Fetches the indexPath for the given {collection, key} tuple, assuming the given mappings are being used.
441
481
  * Returns nil if the {collection, key} tuple isn't included in the view + mappings.
@@ -444,4 +484,15 @@ typedef enum {
444
484
  inCollection:(NSString *)collection
445
485
  withMappings:(YapDatabaseViewMappings *)mappings;
446
486
 
487
+ /**
488
+ * Fetches the row & section for the given {collection, key} tuple, assuming the given mappings are being used.
489
+ * Returns NO if the {collection, key} tuple isn't included in the view + mappings.
490
+ * Otherwise returns YES, and sets the row & section (both optional).
491
+ **/
492
+ - (BOOL)getRow:(NSUInteger *)rowPtr
493
+ section:(NSUInteger *)sectionPtr
494
+ forKey:(NSString *)key
495
+ inCollection:(NSString *)collection
496
+ withMappings:(YapDatabaseViewMappings *)mappings;
497
+
447
498
  @end
@@ -0,0 +1,99 @@
1
+ #import <Foundation/Foundation.h>
2
+
3
+
4
+ /**
5
+ * The grouping block handles both filtering and grouping.
6
+ *
7
+ * When you add or update rows in the databse the grouping block is invoked.
8
+ * Your grouping block can inspect the row and determine if it should be a part of the view.
9
+ * If not, your grouping block simply returns 'nil' and the object is excluded from the view (removing it if needed).
10
+ * Otherwise your grouping block returns a group, which can be any string you want.
11
+ * Once the view knows what group the row belongs to,
12
+ * it will then determine the position of the row within the group (using the sorting block).
13
+ *
14
+ * You should choose a block type that takes the minimum number of required parameters.
15
+ * The view can make various optimizations based on required parameters of the block.
16
+ **/
17
+ typedef id YapDatabaseViewGroupingBlock; // One of the YapDatabaseViewGroupingX types below.
18
+
19
+ typedef NSString* (^YapDatabaseViewGroupingWithKeyBlock)(NSString *collection, NSString *key);
20
+ typedef NSString* (^YapDatabaseViewGroupingWithObjectBlock)(NSString *collection, NSString *key, id object);
21
+ typedef NSString* (^YapDatabaseViewGroupingWithMetadataBlock)(NSString *collection, NSString *key, id metadata);
22
+ typedef NSString* (^YapDatabaseViewGroupingWithRowBlock)(NSString *collection, NSString *key, id object, id metadata);
23
+
24
+
25
+ /**
26
+ * The sorting block handles sorting of objects within their group.
27
+ *
28
+ * After the view invokes the grouping block to determine what group a database row belongs to (if any),
29
+ * the view then needs to determine what index within that group the row should be.
30
+ * In order to do this, it needs to compare the new/updated row with existing rows in the same view group.
31
+ * This is what the sorting block is used for.
32
+ * So the sorting block will be invoked automatically during this process until the view has come to a conclusion.
33
+ *
34
+ * You should choose a block type that takes the minimum number of required parameters.
35
+ * The view can make various optimizations based on required parameters of the block.
36
+ *
37
+ * For example, if sorting is based on the object, and the metadata of a row is updated,
38
+ * then the view can deduce that the index hasn't changed (if the group hans't), and can skip this step.
39
+ *
40
+ * Performance Note:
41
+ *
42
+ * The view uses various optimizations (based on common patterns)
43
+ * to reduce the number of times it needs to invoke the sorting block.
44
+ *
45
+ * - Pattern : row is updated, but its index in the view doesn't change.
46
+ * Optimization : if an updated row doesn't change groups, the view will first compare it with
47
+ * objects to the left and right.
48
+ *
49
+ * - Pattern : rows are added to the beginning or end or a view
50
+ * Optimization : if the last change put an object at the beginning of the view, then it will test this quickly.
51
+ * if the last change put an object at the end of the view, then it will test this quickly.
52
+ *
53
+ * These optimizations offer huge performance benefits to many common cases.
54
+ * For example, adding objects to a view that are sorted by timestamp of when they arrived.
55
+ *
56
+ * The optimizations are not always performed.
57
+ * That is, if the row is added to a group it didn't previously belong,
58
+ * or if the last change didn't place an item at the beginning or end of the view.
59
+ *
60
+ * If optimizations fail, or are skipped, then the view uses a binary search algorithm.
61
+ *
62
+ * Although this may be considered "internal information",
63
+ * I feel it is important to explain for the following reason:
64
+ *
65
+ * Another common pattern is to fetch a number of objects in a batch, and then insert them into the database.
66
+ * Now imagine a situation in which the view is sorting posts based on timestamp,
67
+ * and you just fetched the most recent 10 posts. You can enumerate these 10 posts in forwards or backwards
68
+ * while adding them to the database. One direction will hit the optimization every time. The other will cause
69
+ * the view to perform a binary search every time. These little one-liner optimzations are easy.
70
+ **/
71
+ typedef id YapDatabaseViewSortingBlock; // One of the YapDatabaseViewSortingX types below.
72
+
73
+ typedef NSComparisonResult (^YapDatabaseViewSortingWithKeyBlock) \
74
+ (NSString *group, NSString *collection1, NSString *key1, \
75
+ NSString *collection2, NSString *key2);
76
+ typedef NSComparisonResult (^YapDatabaseViewSortingWithObjectBlock) \
77
+ (NSString *group, NSString *collection1, NSString *key1, id object1, \
78
+ NSString *collection2, NSString *key2, id object2);
79
+ typedef NSComparisonResult (^YapDatabaseViewSortingWithMetadataBlock) \
80
+ (NSString *group, NSString *collection1, NSString *key1, id metadata, \
81
+ NSString *collection2, NSString *key2, id metadata2);
82
+ typedef NSComparisonResult (^YapDatabaseViewSortingWithRowBlock) \
83
+ (NSString *group, NSString *collection1, NSString *key1, id object1, id metadata1, \
84
+ NSString *collection2, NSString *key2, id object2, id metadata2);
85
+
86
+
87
+ /**
88
+ * I wish there was a way to inspect a given block and see what kind of parameters it takes.
89
+ * Sadly this does not appear to be possible (at least not in any kind of standard legal way).
90
+ *
91
+ * Thus you will have to specify what kind of block you're passing.
92
+ **/
93
+ typedef enum {
94
+ YapDatabaseViewBlockTypeWithKey = 1,
95
+ YapDatabaseViewBlockTypeWithObject = 2,
96
+ YapDatabaseViewBlockTypeWithMetadata = 3,
97
+ YapDatabaseViewBlockTypeWithRow = 4
98
+ } YapDatabaseViewBlockType;
99
+
@@ -3,3 +3,5 @@
3
3
  #endif
4
4
 
5
5
  #import "Pods-environment.h"
6
+
7
+
@@ -6,17 +6,23 @@
6
6
  // project.
7
7
 
8
8
 
9
- // AFNetworking
10
- #define COCOAPODS_POD_AVAILABLE_AFNetworking
11
- #define COCOAPODS_VERSION_MAJOR_AFNetworking 1
12
- #define COCOAPODS_VERSION_MINOR_AFNetworking 3
13
- #define COCOAPODS_VERSION_PATCH_AFNetworking 3
14
-
15
9
  // CocoaLumberjack
16
10
  #define COCOAPODS_POD_AVAILABLE_CocoaLumberjack
17
11
  #define COCOAPODS_VERSION_MAJOR_CocoaLumberjack 1
18
- #define COCOAPODS_VERSION_MINOR_CocoaLumberjack 6
19
- #define COCOAPODS_VERSION_PATCH_CocoaLumberjack 2
12
+ #define COCOAPODS_VERSION_MINOR_CocoaLumberjack 8
13
+ #define COCOAPODS_VERSION_PATCH_CocoaLumberjack 1
14
+
15
+ // CocoaLumberjack/Core
16
+ #define COCOAPODS_POD_AVAILABLE_CocoaLumberjack_Core
17
+ #define COCOAPODS_VERSION_MAJOR_CocoaLumberjack_Core 1
18
+ #define COCOAPODS_VERSION_MINOR_CocoaLumberjack_Core 8
19
+ #define COCOAPODS_VERSION_PATCH_CocoaLumberjack_Core 1
20
+
21
+ // CocoaLumberjack/Extensions
22
+ #define COCOAPODS_POD_AVAILABLE_CocoaLumberjack_Extensions
23
+ #define COCOAPODS_VERSION_MAJOR_CocoaLumberjack_Extensions 1
24
+ #define COCOAPODS_VERSION_MINOR_CocoaLumberjack_Extensions 8
25
+ #define COCOAPODS_VERSION_PATCH_CocoaLumberjack_Extensions 1
20
26
 
21
27
  // NSData+MD5Digest
22
28
  #define COCOAPODS_POD_AVAILABLE_NSData_MD5Digest
@@ -24,15 +30,9 @@
24
30
  #define COCOAPODS_VERSION_MINOR_NSData_MD5Digest 0
25
31
  #define COCOAPODS_VERSION_PATCH_NSData_MD5Digest 0
26
32
 
27
- // Reachability
28
- #define COCOAPODS_POD_AVAILABLE_Reachability
29
- #define COCOAPODS_VERSION_MAJOR_Reachability 3
30
- #define COCOAPODS_VERSION_MINOR_Reachability 1
31
- #define COCOAPODS_VERSION_PATCH_Reachability 1
32
-
33
33
  // YapDatabase
34
34
  #define COCOAPODS_POD_AVAILABLE_YapDatabase
35
35
  #define COCOAPODS_VERSION_MAJOR_YapDatabase 2
36
- #define COCOAPODS_VERSION_MINOR_YapDatabase 3
36
+ #define COCOAPODS_VERSION_MINOR_YapDatabase 4
37
37
  #define COCOAPODS_VERSION_PATCH_YapDatabase 0
38
38
 
@@ -1,24 +1,22 @@
1
1
  PODS:
2
- - AFNetworking (1.3.3)
3
- - CocoaLumberjack (1.6.2)
2
+ - CocoaLumberjack (1.8.1):
3
+ - CocoaLumberjack/Extensions
4
+ - CocoaLumberjack/Core (1.8.1)
5
+ - CocoaLumberjack/Extensions (1.8.1):
6
+ - CocoaLumberjack/Core
4
7
  - NSData+MD5Digest (1.0.0)
5
- - Reachability (3.1.1)
6
- - YapDatabase (2.3):
8
+ - YapDatabase (2.4):
7
9
  - CocoaLumberjack (~> 1.6.3)
8
10
 
9
11
  DEPENDENCIES:
10
- - AFNetworking (~> 1.3.3)
11
12
  - CocoaLumberjack
12
13
  - CocoaLumberjack (~> 1.6.5)
13
14
  - NSData+MD5Digest (~> 1.0.0)
14
- - Reachability (~> 3.1.1)
15
- - YapDatabase (~> 2.3)
15
+ - YapDatabase (~> 2.4)
16
16
 
17
17
  SPEC CHECKSUMS:
18
- AFNetworking: 61fdd49e2ffe6380378df37b3b6e70630bb9dd66
19
- CocoaLumberjack: 19dceba2d0360ed383cba983bc3ef0dd089c42a1
18
+ CocoaLumberjack: 020378ec400d658923bf5887178394f65f052c90
20
19
  NSData+MD5Digest: 8275479b2a935e6caa8a92a9a814fb5abecba367
21
- Reachability: be4883bb93f31e38266ae3365e5600a317aae735
22
- YapDatabase: b9b58b24092557adc59e3b86a167601c7733b8e7
20
+ YapDatabase: 3e1159ee9540859342bf2869a86dd9e434548c45
23
21
 
24
22
  COCOAPODS: 0.29.0
@@ -1,5 +1,5 @@
1
1
  #include "Pods-CocoaLumberjack.xcconfig"
2
2
  GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
3
- HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/CocoaLumberjack" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/CocoaLumberjack" "${PODS_ROOT}/Headers/NSData+MD5Digest" "${PODS_ROOT}/Headers/Reachability" "${PODS_ROOT}/Headers/YapDatabase"
3
+ HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/CocoaLumberjack" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/CocoaLumberjack" "${PODS_ROOT}/Headers/NSData+MD5Digest" "${PODS_ROOT}/Headers/YapDatabase"
4
4
  OTHER_LDFLAGS = -ObjC
5
5
  PODS_ROOT = ${SRCROOT}
@@ -3,3 +3,5 @@
3
3
  #endif
4
4
 
5
5
  #import "Pods-environment.h"
6
+
7
+
@@ -1,5 +1,5 @@
1
1
  #include "Pods-NSData+MD5Digest.xcconfig"
2
2
  GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
3
- HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/NSData+MD5Digest" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/CocoaLumberjack" "${PODS_ROOT}/Headers/NSData+MD5Digest" "${PODS_ROOT}/Headers/Reachability" "${PODS_ROOT}/Headers/YapDatabase"
3
+ HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/NSData+MD5Digest" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/CocoaLumberjack" "${PODS_ROOT}/Headers/NSData+MD5Digest" "${PODS_ROOT}/Headers/YapDatabase"
4
4
  OTHER_LDFLAGS = -ObjC
5
5
  PODS_ROOT = ${SRCROOT}
@@ -1,5 +1,5 @@
1
1
  #include "Pods-YapDatabase.xcconfig"
2
2
  GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
3
- HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/YapDatabase" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/CocoaLumberjack" "${PODS_ROOT}/Headers/NSData+MD5Digest" "${PODS_ROOT}/Headers/Reachability" "${PODS_ROOT}/Headers/YapDatabase"
3
+ HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/YapDatabase" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/CocoaLumberjack" "${PODS_ROOT}/Headers/NSData+MD5Digest" "${PODS_ROOT}/Headers/YapDatabase"
4
4
  OTHER_LDFLAGS = -ObjC ${PODS_YAPDATABASE_OTHER_LDFLAGS}
5
5
  PODS_ROOT = ${SRCROOT}
@@ -1,29 +1,6 @@
1
1
  # Acknowledgements
2
2
  This application makes use of the following third party libraries:
3
3
 
4
- ## AFNetworking
5
-
6
- Copyright (c) 2011 Gowalla (http://gowalla.com/)
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
25
-
26
-
27
4
  ## CocoaLumberjack
28
5
 
29
6
  Software License Agreement (BSD License)
@@ -59,20 +36,6 @@ Francis Chong francis@ignition.hk
59
36
 
60
37
  MIT license
61
38
 
62
- ## Reachability
63
-
64
- Copyright (c) 2011, Tony Million.
65
- All rights reserved.
66
-
67
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
68
-
69
- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
70
-
71
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
72
-
73
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
74
-
75
-
76
39
  ## YapDatabase
77
40
 
78
41
  Software License Agreement (BSD License)