cocoapods-deintegrate 0.2.1 → 1.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (323) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/lib/cocoapods/command/deintegrate.rb +51 -0
  4. data/lib/cocoapods/deintegrate/gem_version.rb +3 -0
  5. data/lib/cocoapods/deintegrator.rb +123 -0
  6. data/lib/cocoapods_deintegrate.rb +2 -4
  7. data/lib/cocoapods_plugin.rb +4 -2
  8. metadata +14 -649
  9. data/.gitignore +0 -3
  10. data/Gemfile +0 -11
  11. data/Gemfile.lock +0 -74
  12. data/Rakefile +0 -19
  13. data/cocoapods_deintegrate.gemspec +0 -21
  14. data/lib/pod/command/deintegrate.rb +0 -153
  15. data/spec/command/deintegrate_spec.rb +0 -62
  16. data/spec/fixtures/Project/Frameworks/Podfile +0 -12
  17. data/spec/fixtures/Project/Frameworks/Podfile.lock +0 -42
  18. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKAttribute.h +0 -210
  19. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKQuerySet.h +0 -155
  20. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QueryKit.h +0 -19
  21. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/NSString+QCKSelectorName.h +0 -17
  22. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QCKDSL.h +0 -211
  23. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/Quick.h +0 -13
  24. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickConfiguration.h +0 -30
  25. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickSpec.h +0 -48
  26. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKAttribute.h +0 -210
  27. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKQuerySet.h +0 -155
  28. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QueryKit.h +0 -19
  29. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/NSString+QCKSelectorName.h +0 -17
  30. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QCKDSL.h +0 -211
  31. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/Quick.h +0 -13
  32. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickConfiguration.h +0 -30
  33. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickSpec.h +0 -48
  34. data/spec/fixtures/Project/Frameworks/Pods/Manifest.lock +0 -42
  35. data/spec/fixtures/Project/Frameworks/Pods/Pods.xcodeproj/project.pbxproj +0 -995
  36. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/LICENSE +0 -23
  37. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Attribute.swift +0 -124
  38. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Expression.swift +0 -41
  39. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.h +0 -210
  40. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.m +0 -315
  41. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.swift +0 -13
  42. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.h +0 -155
  43. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.m +0 -314
  44. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.swift +0 -28
  45. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Predicate.swift +0 -21
  46. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QueryKit.h +0 -19
  47. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QuerySet.swift +0 -237
  48. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/README.md +0 -151
  49. data/spec/fixtures/Project/Frameworks/Pods/Quick/LICENSE +0 -201
  50. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Callsite.swift +0 -28
  51. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/Configuration.swift +0 -147
  52. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.h +0 -30
  53. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.m +0 -83
  54. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/DSL.swift +0 -227
  55. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.h +0 -211
  56. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.m +0 -70
  57. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/World+DSL.swift +0 -100
  58. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Example.swift +0 -103
  59. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleGroup.swift +0 -97
  60. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleMetadata.swift +0 -22
  61. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Failure.swift +0 -16
  62. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Filter.swift +0 -29
  63. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/Closures.swift +0 -35
  64. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/ExampleHooks.swift +0 -36
  65. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/SuiteHooks.swift +0 -34
  66. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.h +0 -17
  67. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.m +0 -33
  68. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Quick.h +0 -13
  69. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.h +0 -48
  70. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.m +0 -142
  71. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/World.swift +0 -197
  72. data/spec/fixtures/Project/Frameworks/Pods/Quick/README.md +0 -979
  73. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Info.plist +0 -26
  74. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-Private.xcconfig +0 -9
  75. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-dummy.m +0 -5
  76. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-prefix.pch +0 -5
  77. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-umbrella.h +0 -9
  78. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.modulemap +0 -6
  79. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.xcconfig b/data/spec/fixtures/Project/Frameworks/Pods/Target Support → Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.xcconfig +0 -0
  80. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Info.plist +0 -26
  81. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.markdown +0 -30
  82. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +0 -60
  83. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +0 -5
  84. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +0 -74
  85. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-frameworks.sh +0 -55
  86. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +0 -74
  87. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-umbrella.h +0 -6
  88. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +0 -9
  89. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.modulemap +0 -6
  90. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +0 -9
  91. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Info.plist +0 -26
  92. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-Private.xcconfig +0 -9
  93. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-dummy.m +0 -5
  94. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-prefix.pch +0 -5
  95. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-umbrella.h +0 -11
  96. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.modulemap +0 -6
  97. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.xcconfig +0 -2
  98. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Info.plist +0 -26
  99. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +0 -208
  100. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +0 -238
  101. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +0 -5
  102. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +0 -14
  103. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-frameworks.sh +0 -55
  104. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +0 -74
  105. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-umbrella.h +0 -6
  106. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +0 -9
  107. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.modulemap +0 -6
  108. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +0 -9
  109. data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.pbxproj +0 -557
  110. data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  111. data/spec/fixtures/Project/Frameworks/TestProject.xcworkspace/contents.xcworkspacedata +0 -10
  112. data/spec/fixtures/Project/Frameworks/TestProject/AppDelegate.swift +0 -46
  113. data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/LaunchScreen.xib +0 -41
  114. data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/Main.storyboard +0 -25
  115. data/spec/fixtures/Project/Frameworks/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  116. data/spec/fixtures/Project/Frameworks/TestProject/Info.plist +0 -40
  117. data/spec/fixtures/Project/Frameworks/TestProject/ViewController.swift +0 -25
  118. data/spec/fixtures/Project/Frameworks/TestProjectTests/Info.plist +0 -24
  119. data/spec/fixtures/Project/Frameworks/TestProjectTests/TestProjectTests.swift +0 -36
  120. data/spec/fixtures/Project/None/TestProject.xcodeproj/project.pbxproj +0 -420
  121. data/spec/fixtures/Project/None/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  122. data/spec/fixtures/Project/None/TestProject/AppDelegate.swift +0 -46
  123. data/spec/fixtures/Project/None/TestProject/Base.lproj/LaunchScreen.xib +0 -41
  124. data/spec/fixtures/Project/None/TestProject/Base.lproj/Main.storyboard +0 -25
  125. data/spec/fixtures/Project/None/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  126. data/spec/fixtures/Project/None/TestProject/Info.plist +0 -40
  127. data/spec/fixtures/Project/None/TestProject/ViewController.swift +0 -25
  128. data/spec/fixtures/Project/None/TestProjectTests/Info.plist +0 -24
  129. data/spec/fixtures/Project/None/TestProjectTests/TestProjectTests.swift +0 -36
  130. data/spec/fixtures/Project/StaticLibraries/Podfile +0 -12
  131. data/spec/fixtures/Project/StaticLibraries/Podfile.lock +0 -13
  132. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/LICENSE +0 -19
  133. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/README.md +0 -308
  134. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.h +0 -42
  135. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.m +0 -17
  136. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.h +0 -25
  137. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.m +0 -60
  138. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDefines.h +0 -17
  139. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.h +0 -13
  140. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.m +0 -42
  141. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.h +0 -45
  142. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.m +0 -214
  143. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.h +0 -13
  144. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.m +0 -42
  145. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPMatcher.h +0 -20
  146. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.h +0 -11
  147. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.m +0 -20
  148. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.h +0 -27
  149. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.m +0 -15
  150. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.h +0 -64
  151. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.m +0 -187
  152. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSObject+Expecta.h +0 -14
  153. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.h +0 -8
  154. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.m +0 -21
  155. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.h +0 -4
  156. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.m +0 -9
  157. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.h +0 -7
  158. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.m +0 -49
  159. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.h +0 -3
  160. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.m +0 -24
  161. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.h +0 -6
  162. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m +0 -20
  163. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
  164. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m +0 -20
  165. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.h +0 -10
  166. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.m +0 -24
  167. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.h +0 -6
  168. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.m +0 -30
  169. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.h +0 -7
  170. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.m +0 -27
  171. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.h +0 -5
  172. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.m +0 -27
  173. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.h +0 -6
  174. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.m +0 -20
  175. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.h +0 -6
  176. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.m +0 -20
  177. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.h +0 -5
  178. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.m +0 -16
  179. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.h +0 -5
  180. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.m +0 -27
  181. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.h +0 -4
  182. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.m +0 -57
  183. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.h +0 -3
  184. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.m +0 -24
  185. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.h +0 -5
  186. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.m +0 -49
  187. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.h +0 -3
  188. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.m +0 -33
  189. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.h +0 -5
  190. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.m +0 -38
  191. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.h +0 -3
  192. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.m +0 -49
  193. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.h +0 -5
  194. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.m +0 -24
  195. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.h +0 -10
  196. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.m +0 -36
  197. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.h +0 -4
  198. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.m +0 -63
  199. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.h +0 -4
  200. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.m +0 -30
  201. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.h +0 -3
  202. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.m +0 -35
  203. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.h +0 -3
  204. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.m +0 -28
  205. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers.h +0 -24
  206. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBackwardCompatibility.h +0 -42
  207. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h +0 -25
  208. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDefines.h +0 -17
  209. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDoubleTuple.h +0 -13
  210. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPExpect.h +0 -45
  211. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPFloatTuple.h +0 -13
  212. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcher.h +0 -20
  213. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h +0 -4
  214. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h +0 -7
  215. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h +0 -3
  216. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h +0 -6
  217. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
  218. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h +0 -10
  219. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h +0 -6
  220. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h +0 -7
  221. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h +0 -5
  222. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h +0 -6
  223. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h +0 -6
  224. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h +0 -5
  225. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h +0 -5
  226. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h +0 -4
  227. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h +0 -3
  228. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h +0 -5
  229. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h +0 -3
  230. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+contain.h +0 -5
  231. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h +0 -3
  232. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+equal.h +0 -5
  233. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h +0 -10
  234. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+notify.h +0 -4
  235. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raise.h +0 -4
  236. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h +0 -3
  237. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h +0 -3
  238. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers.h +0 -24
  239. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h +0 -11
  240. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/Expecta.h +0 -27
  241. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/ExpectaSupport.h +0 -64
  242. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSObject+Expecta.h +0 -14
  243. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSValue+Expecta.h +0 -8
  244. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
  245. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBackwardCompatibility.h +0 -42
  246. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h +0 -25
  247. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDefines.h +0 -17
  248. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDoubleTuple.h +0 -13
  249. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPExpect.h +0 -45
  250. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPFloatTuple.h +0 -13
  251. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcher.h +0 -20
  252. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h +0 -4
  253. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h +0 -7
  254. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h +0 -3
  255. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h +0 -6
  256. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
  257. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h +0 -10
  258. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h +0 -6
  259. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h +0 -7
  260. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h +0 -5
  261. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h +0 -6
  262. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h +0 -6
  263. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h +0 -5
  264. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h +0 -5
  265. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h +0 -4
  266. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h +0 -3
  267. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h +0 -5
  268. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h +0 -3
  269. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+contain.h +0 -5
  270. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h +0 -3
  271. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+equal.h +0 -5
  272. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h +0 -10
  273. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+notify.h +0 -4
  274. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raise.h +0 -4
  275. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h +0 -3
  276. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h +0 -3
  277. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers.h +0 -24
  278. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h +0 -11
  279. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/Expecta.h +0 -27
  280. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/ExpectaSupport.h +0 -64
  281. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSObject+Expecta.h +0 -14
  282. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSValue+Expecta.h +0 -8
  283. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
  284. data/spec/fixtures/Project/StaticLibraries/Pods/Manifest.lock +0 -13
  285. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/LICENSE +0 -23
  286. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
  287. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.m +0 -51
  288. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/README.md +0 -57
  289. data/spec/fixtures/Project/StaticLibraries/Pods/Pods.xcodeproj/project.pbxproj +0 -943
  290. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-Private.xcconfig +0 -5
  291. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-dummy.m +0 -5
  292. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-prefix.pch +0 -5
  293. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat.xcconfig b/data/spec/fixtures/Project/StaticLibraries/Pods/Target Support → Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat.xcconfig +0 -0
  294. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.markdown +0 -30
  295. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +0 -60
  296. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +0 -5
  297. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +0 -14
  298. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +0 -74
  299. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +0 -6
  300. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +0 -6
  301. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-Private.xcconfig +0 -5
  302. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-dummy.m +0 -5
  303. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-prefix.pch +0 -5
  304. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta.xcconfig +0 -1
  305. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +0 -26
  306. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +0 -56
  307. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +0 -5
  308. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +0 -14
  309. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +0 -74
  310. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +0 -6
  311. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +0 -6
  312. data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.pbxproj +0 -525
  313. data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  314. data/spec/fixtures/Project/StaticLibraries/TestProject.xcworkspace/contents.xcworkspacedata +0 -10
  315. data/spec/fixtures/Project/StaticLibraries/TestProject/AppDelegate.swift +0 -46
  316. data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/LaunchScreen.xib +0 -41
  317. data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/Main.storyboard +0 -25
  318. data/spec/fixtures/Project/StaticLibraries/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  319. data/spec/fixtures/Project/StaticLibraries/TestProject/Info.plist +0 -40
  320. data/spec/fixtures/Project/StaticLibraries/TestProject/ViewController.swift +0 -25
  321. data/spec/fixtures/Project/StaticLibraries/TestProjectTests/Info.plist +0 -24
  322. data/spec/fixtures/Project/StaticLibraries/TestProjectTests/TestProjectTests.swift +0 -36
  323. data/spec/spec_helper.rb +0 -29
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- .DS_Store
2
- pkg
3
- .idea/
data/Gemfile DELETED
@@ -1,11 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development do
6
- gem 'rake'
7
- gem 'bacon'
8
- gem 'mocha'
9
- gem 'mocha-on-bacon'
10
- end
11
-
@@ -1,74 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- cocoapods-deintegrate (0.2.1)
5
- cocoapods (~> 0.34)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- activesupport (4.2.0)
11
- i18n (~> 0.7)
12
- json (~> 1.7, >= 1.7.7)
13
- minitest (~> 5.1)
14
- thread_safe (~> 0.3, >= 0.3.4)
15
- tzinfo (~> 1.1)
16
- bacon (1.2.0)
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)
26
- colored (~> 1.2)
27
- escape (~> 0.0.4)
28
- molinillo (~> 0.1.2)
29
- nap (~> 0.8)
30
- open4 (~> 1.3)
31
- xcodeproj (~> 0.20.2)
32
- cocoapods-core (0.35.0)
33
- activesupport (>= 3.2.15)
34
- fuzzy_match (~> 2.0.4)
35
- nap (~> 0.8.0)
36
- cocoapods-downloader (0.8.1)
37
- cocoapods-plugins (0.3.2)
38
- nap
39
- cocoapods-trunk (0.4.1)
40
- nap (>= 0.8)
41
- netrc (= 0.7.8)
42
- cocoapods-try (0.4.3)
43
- colored (1.2)
44
- escape (0.0.4)
45
- fuzzy_match (2.0.4)
46
- i18n (0.7.0)
47
- json (1.8.2)
48
- metaclass (0.0.4)
49
- minitest (5.5.1)
50
- mocha (1.1.0)
51
- metaclass (~> 0.0.1)
52
- mocha-on-bacon (0.2.2)
53
- mocha (>= 0.13.0)
54
- molinillo (0.1.2)
55
- nap (0.8.0)
56
- netrc (0.7.8)
57
- open4 (1.3.4)
58
- rake (10.4.2)
59
- thread_safe (0.3.4)
60
- tzinfo (1.2.2)
61
- thread_safe (~> 0.1)
62
- xcodeproj (0.20.2)
63
- activesupport (>= 3)
64
- colored (~> 1.2)
65
-
66
- PLATFORMS
67
- ruby
68
-
69
- DEPENDENCIES
70
- bacon
71
- cocoapods-deintegrate!
72
- mocha
73
- mocha-on-bacon
74
- rake
data/Rakefile DELETED
@@ -1,19 +0,0 @@
1
- require 'bundler/gem_tasks'
2
-
3
- task :default => :spec
4
-
5
- task :spec do
6
- title 'Running Specs'
7
- files = FileList['spec/**/*_spec.rb'].shuffle.join(' ')
8
- sh "bundle exec bacon #{files}"
9
- end
10
-
11
- def title(title)
12
- cyan_title = "\033[0;36m#{title}\033[0m"
13
- puts
14
- puts '-' * 80
15
- puts cyan_title
16
- puts '-' * 80
17
- puts
18
- end
19
-
@@ -1,21 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'cocoapods_deintegrate.rb'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'cocoapods-deintegrate'
8
- spec.version = CocoapodsDeintegrate::VERSION
9
- spec.authors = ['Kyle Fuller']
10
- spec.email = ['inbox@kylefuller.co.uk']
11
- spec.summary = 'A CocoaPods plugin to remove and de-intergrate CocoaPods from your project.'
12
- spec.homepage = 'https://github.com/kylef/cocoapods-deintergrate'
13
- spec.license = 'MIT'
14
-
15
- spec.files = `git ls-files`.split($/)
16
- spec.test_files = spec.files.grep(%r{^spec/})
17
- spec.require_paths = ['lib']
18
-
19
- spec.add_dependency 'cocoapods', '~> 0.34'
20
- end
21
-
@@ -1,153 +0,0 @@
1
- module Pod
2
- class Command
3
- class Deintegrate < Command
4
- self.summary = 'Deintegrate CocoaPods from your project.'
5
- self.description = <<-DESC
6
- Deintegrate your project from CocoaPods. Removing all traces
7
- of CocoaPods from your Xcode project.
8
-
9
- If no xcodeproj is specified, then a search for an Xcode project
10
- will be made in the current directory.
11
- DESC
12
- self.arguments = [
13
- CLAide::Argument.new('XCODE_PROJECT', false)
14
- ]
15
-
16
- def initialize(argv)
17
- path = argv.shift_argument()
18
- @project_path = Pathname.new(path) if path
19
- super
20
- end
21
-
22
- def validate!
23
- super
24
-
25
- unless @project_path
26
- xcodeprojs = Pathname.glob('*.xcodeproj')
27
- @project_path = xcodeprojs.first if xcodeprojs.size == 1
28
- end
29
-
30
- help! 'A valid Xcode project file is required.' unless @project_path
31
- help! "#{@project_path} does not exist." unless @project_path.exist?
32
- help! "#{@project_path} is not a valid Xcode project." unless @project_path.directory? && (@project_path + 'project.pbxproj').exist?
33
- end
34
-
35
- def run
36
- # We don't traverse a Podfile and try to de-intergrate each target.
37
- # Instead, we're just deintegrating anything CP could have done to a
38
- # project. This is so that it will clean stale, and modified projects.
39
-
40
- UI.puts("Deintegrating #{@project_path.basename}".green)
41
-
42
- project = Xcodeproj::Project.open(@project_path)
43
- deintegrate_project(project)
44
- project.save()
45
-
46
- pods_directory = config.sandbox.root
47
- if pods_directory.exist?
48
- UI.puts("Removing `#{pods_directory.relative_path_from(Pathname.new(Dir.pwd))}` directory.")
49
- pods_directory.rmtree()
50
- end
51
-
52
- UI.puts('')
53
- UI.puts('Project has been deintegrated. No traces of CocoaPods left in project.'.green)
54
- UI.puts('Note: The workspace referencing the Pods project still remains.')
55
- end
56
-
57
- private
58
-
59
- def native_targets(project)
60
- project.targets.reject do |target|
61
- target.is_a? Xcodeproj::Project::Object::PBXAggregateTarget
62
- end
63
- end
64
-
65
- def deintegrate_project(project)
66
- native_targets(project).each do |target|
67
- UI.section("Deintegrating target #{target.name}") do
68
- deintegrate_target(target)
69
- end
70
- end
71
-
72
- delete_pods_file_references(project)
73
- end
74
-
75
- def delete_pods_file_references(project)
76
- # The following implementation goes for files and empty groups so it
77
- # should catch cases where a user has changed the structure manually.
78
-
79
- groups = project.main_group.recursive_children_groups
80
- groups << project.main_group
81
-
82
- pod_files = groups.map do |group|
83
- group.files.select do |obj|
84
- obj.name =~ /^Pods.*\.xcconfig$/i or
85
- obj.path =~ /^(libPods.*\.a)|(Pods_.*\.framework)$/i
86
- end
87
- end.flatten
88
-
89
- unless pod_files.empty?
90
- UI.puts('Deleting Pod file references from project')
91
-
92
- pod_files.each do |file_reference|
93
- UI.puts("- #{file_reference.name || file_reference.path}")
94
- file_reference.remove_from_project
95
- end
96
- end
97
-
98
- # Delete empty `Pods` group if exists
99
- delete_empty_group(project, 'Pods')
100
- delete_empty_group(project, 'Frameworks')
101
- end
102
-
103
- def deintegrate_target(target)
104
- deintegrate_shell_script_phase(target, 'Copy Pods Resources')
105
- deintegrate_shell_script_phase(target, 'Check Pods Manifest.lock')
106
- deintegrate_shell_script_phase(target, 'Embed Pods Frameworks')
107
- deintegrate_pods_libraries(target)
108
- end
109
-
110
- def deintegrate_pods_libraries(target)
111
- frameworks_build_phase = target.frameworks_build_phase
112
-
113
- pods_build_files = frameworks_build_phase.files.select do |build_file|
114
- build_file.display_name =~ /^(libPods.*\.a)|(Pods_.*\.framework)$/i
115
- end
116
-
117
- unless pods_build_files.empty?
118
- UI.puts('Removing Pod libraries from build phase:')
119
-
120
- pods_build_files.each do |build_file|
121
- UI.puts("- #{build_file.display_name}")
122
- frameworks_build_phase.remove_build_file(build_file)
123
- end
124
- end
125
- end
126
-
127
- def deintegrate_shell_script_phase(target, phase_name)
128
- phases = target.shell_script_build_phases.select do |phase|
129
- phase.name == phase_name
130
- end
131
-
132
- unless phases.empty?
133
- phases.each do |phase|
134
- target.build_phases.delete(phase)
135
- end
136
-
137
- UI.puts("Deleted #{phases.count} '#{phase_name}' build phases.")
138
- end
139
- end
140
-
141
- def delete_empty_group(project, group_name)
142
- groups = project.main_group.recursive_children_groups.select do |group|
143
- group.name == group_name && group.children.empty?
144
- end
145
-
146
- unless groups.empty?
147
- groups.each(&:remove_from_project)
148
- UI.puts "Deleted #{groups.count} empty `#{group_name}` groups from project."
149
- end
150
- end
151
- end
152
- end
153
- end
@@ -1,62 +0,0 @@
1
- require File.expand_path('../../spec_helper', __FILE__)
2
-
3
- def fixture_project(named)
4
- ROOT + "spec/fixtures/Project/#{named}"
5
- end
6
-
7
- def temporary_directory
8
- ROOT + 'tmp'
9
- end
10
-
11
- def deintegrate(directory)
12
- Dir.chdir(directory) do
13
- command = Pod::Command.parse(['deintegrate'])
14
- command.config.sandbox.stubs(:root).returns(directory + 'Pods')
15
- command.validate!
16
- command.run
17
- end
18
- end
19
-
20
- def deintegrate_project(named)
21
- path = fixture_project(named)
22
- `rsync -r #{path}/ #{temporary_directory}`
23
-
24
- deintegrate(temporary_directory)
25
-
26
- (temporary_directory + 'TestProject.xcworkspace').rmtree
27
- (temporary_directory + 'Podfile').delete
28
- (temporary_directory + 'Podfile.lock').delete
29
-
30
- output = `diff -r #{fixture_project('None')} #{temporary_directory}`
31
- puts(output) unless $?.success?
32
-
33
- $?.success?.should == true
34
- end
35
-
36
- module Pod
37
- describe Command::Deintegrate do
38
- describe 'CLAide' do
39
- it 'registers it self' do
40
- Command.parse(['deintegrate']).should.be.instance_of Command::Deintegrate
41
- end
42
- end
43
-
44
- before do
45
- temporary_directory.rmtree if temporary_directory.exist?
46
- temporary_directory.mkdir
47
- end
48
-
49
- after do
50
- temporary_directory.rmtree
51
- end
52
-
53
- it 'deintegrates a static library integrated project' do
54
- deintegrate_project('StaticLibraries')
55
- end
56
-
57
- it 'deintegrates a framework integrated project' do
58
- deintegrate_project('Frameworks')
59
- end
60
- end
61
- end
62
-
@@ -1,12 +0,0 @@
1
- platform :ios, '8.0'
2
-
3
- use_frameworks!(true)
4
-
5
- target 'TestProject' do
6
- pod 'QueryKit'
7
- end
8
-
9
- target 'TestProjectTests' do
10
- pod 'Quick'
11
- end
12
-
@@ -1,42 +0,0 @@
1
- PODS:
2
- - QueryKit (0.9.1):
3
- - QueryKit/Attribute (= 0.9.1)
4
- - QueryKit/ObjectiveC (= 0.9.1)
5
- - QueryKit/QuerySet (= 0.9.1)
6
- - QueryKit/Swift (= 0.9.1)
7
- - QueryKit/Attribute (0.9.1):
8
- - QueryKit/Attribute/Bridge (= 0.9.1)
9
- - QueryKit/Attribute/ObjectiveC (= 0.9.1)
10
- - QueryKit/Attribute/Swift (= 0.9.1)
11
- - QueryKit/Attribute/Bridge (0.9.1):
12
- - QueryKit/Attribute/ObjectiveC
13
- - QueryKit/Attribute/Swift
14
- - QueryKit/Attribute/ObjectiveC (0.9.1)
15
- - QueryKit/Attribute/Swift (0.9.1):
16
- - QueryKit/QuerySet/Swift
17
- - QueryKit/ObjectiveC (0.9.1):
18
- - QueryKit/Attribute/ObjectiveC
19
- - QueryKit/QuerySet/ObjectiveC
20
- - QueryKit/QuerySet (0.9.1):
21
- - QueryKit/QuerySet/Bridge (= 0.9.1)
22
- - QueryKit/QuerySet/ObjectiveC (= 0.9.1)
23
- - QueryKit/QuerySet/Swift (= 0.9.1)
24
- - QueryKit/QuerySet/Bridge (0.9.1):
25
- - QueryKit/QuerySet/ObjectiveC
26
- - QueryKit/QuerySet/Swift
27
- - QueryKit/QuerySet/ObjectiveC (0.9.1)
28
- - QueryKit/QuerySet/Swift (0.9.1)
29
- - QueryKit/Swift (0.9.1):
30
- - QueryKit/Attribute/Swift
31
- - QueryKit/QuerySet/Swift
32
- - Quick (0.2.2)
33
-
34
- DEPENDENCIES:
35
- - QueryKit
36
- - Quick
37
-
38
- SPEC CHECKSUMS:
39
- QueryKit: c2ded7784aa57d182a1998e06381633da178443d
40
- Quick: 7b89ff625e72ef931c2a9ef2f25ac3a9d2457763
41
-
42
- COCOAPODS: 0.36.0.beta.2
@@ -1,210 +0,0 @@
1
- //
2
- // QKAttribute.h
3
- // QueryKit
4
- //
5
- // Created by Kyle Fuller on 30/04/2013.
6
- //
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- /** A helper class to generate predicates and sort descriptors for attributes
12
- on a managed object.
13
- */
14
- @interface QKAttribute : NSObject <NSSecureCoding, NSCopying>
15
-
16
- @property (nonatomic, strong, readonly) NSString *name;
17
-
18
- /// Initialized the attribute from multiple other attributes
19
- - (instancetype)initWithAttributes:(QKAttribute *)attribute, ... NS_REQUIRES_NIL_TERMINATION;
20
-
21
- /// Initialized the attribute with the given name
22
- - (instancetype)initWithName:(NSString *)name __attribute((nonnull));
23
-
24
- /** Returns a Boolean value that indicates whether a given attribute is equal to the receiver
25
- @param attribute The attribute to compare against the receiver
26
- @return YES if attribute is equivalent to the receiver
27
- */
28
- - (BOOL)isEqualToAttribute:(QKAttribute *)attribute;
29
-
30
- /** Returns an expression for the attributes key-value path */
31
- - (NSExpression *)expression;
32
-
33
- @end
34
-
35
- @interface QKAttribute (Predicate)
36
-
37
- /** Returns a predicate for an equality comparison against the supplied value
38
- @param value To compare against the attribute
39
- @param options NSComparisonPredicateOptions to apply to the comparison
40
- @return The predicate for this comparison
41
- @see equal:
42
- */
43
- - (NSPredicate *)equal:(id)value options:(NSComparisonPredicateOptions)options;
44
-
45
- /** Returns a predicate for an equality comparison against the supplied value
46
- @param value To compare against the attribute
47
- @return The predicate for this comparison
48
- @see equal:options:
49
- */
50
- - (NSPredicate *)equal:(id)value;
51
-
52
- /** Returns a predicate for an unequal comparison against the supplied value
53
- @param value To compare against the attribute
54
- @param options NSComparisonPredicateOptions to apply to the comparison
55
- @return The predicate for this comparison
56
- @see notEqual:
57
- */
58
- - (NSPredicate *)notEqual:(id)value options:(NSComparisonPredicateOptions)options;
59
-
60
- /** Returns a predicate for an unequal comparison against the supplied value
61
- @param value To compare against the attribute
62
- @return The predicate for this comparison
63
- @see notEqual:options:
64
- */
65
- - (NSPredicate *)notEqual:(id)value;
66
-
67
- /** Returns a predicate for a like comparison against the supplied value
68
- @param value To compare against the attribute
69
- @param options NSComparisonPredicateOptions to apply to the comparison
70
- @return The predicate for this comparison
71
- @see like:
72
- */
73
- - (NSPredicate *)like:(id)value options:(NSComparisonPredicateOptions)options;
74
-
75
- /** Returns a predicate for a like comparison against the supplied value
76
- @param value To compare against the attribute
77
- @return The predicate for this comparison
78
- @see like:options:
79
- */
80
- - (NSPredicate *)like:(id)value;
81
-
82
- /** Returns a predicate for a matches comparison against the supplied value
83
- @param value To compare against the attribute
84
- @param options NSComparisonPredicateOptions to apply to the comparison
85
- @return The predicate for this comparison
86
- @see like:
87
- */
88
- - (NSPredicate *)matches:(id)value options:(NSComparisonPredicateOptions)options;
89
-
90
- /** Returns a predicate for a matches comparison against the supplied value
91
- @param value To compare against the attribute
92
- @return The predicate for this comparison
93
- @see like:options:
94
- */
95
- - (NSPredicate *)matches:(id)value;
96
-
97
- /** Returns a predicate for a begins with comparison against the supplied value
98
- @param value To compare against the attribute
99
- @param options NSComparisonPredicateOptions to apply to the comparison
100
- @return The predicate for this comparison
101
- @see like:
102
- */
103
- - (NSPredicate *)beginsWith:(id)value options:(NSComparisonPredicateOptions)options;
104
-
105
- /** Returns a predicate for a begins with comparison against the supplied value
106
- @param value To compare against the attribute
107
- @return The predicate for this comparison
108
- @see like:options:
109
- */
110
- - (NSPredicate *)beginsWith:(id)value;
111
-
112
- /** Returns a predicate for a ends with comparison against the supplied value
113
- @param value To compare against the attribute
114
- @param options NSComparisonPredicateOptions to apply to the comparison
115
- @return The predicate for this comparison
116
- @see like:
117
- */
118
- - (NSPredicate *)endsWith:(id)value options:(NSComparisonPredicateOptions)options;
119
-
120
- /** Returns a predicate for a ends with comparison against the supplied value
121
- @param value To compare against the attribute
122
- @return The predicate for this comparison
123
- @see like:options:
124
- */
125
- - (NSPredicate *)endsWith:(id)value;
126
-
127
- /** Returns a predicate for greater than the supplied value
128
- @param value To compare against the attribute
129
- @return The predicate for this comparison
130
- @see greaterThanOrEqualTo:
131
- */
132
- - (NSPredicate *)greaterThan:(id)value;
133
-
134
- /** Returns a predicate for greater than or equal to the supplied value
135
- @param value To compare against the attribute
136
- @return The predicate for this comparison
137
- @see greaterThan:
138
- */
139
- - (NSPredicate *)greaterThanOrEqualTo:(id)value;
140
-
141
- /** Returns a predicate for less than the supplied value
142
- @param value To compare against the attribute
143
- @return The predicate for this comparison
144
- @see lessThanOrEqualTo:
145
- */
146
- - (NSPredicate *)lessThan:(id)value;
147
-
148
- /** Returns a predicate for less than or equal to the supplied value
149
- @param value To compare against the attribute
150
- @return The predicate for this comparison
151
- @see lessThan:
152
- */
153
- - (NSPredicate *)lessThanOrEqualTo:(id)value;
154
-
155
- /** Returns a predicate for attribute being between two values
156
- @param minimumValue
157
- @param maximumValue
158
- @return The predicate for this comparison
159
- */
160
- - (NSPredicate *)between:(id)minimumValue and:(id)maxiumValue;
161
-
162
- /** Returns an IN predicate for attribute
163
- @param set An enumerable object containing a set ob objects
164
- @return The predicate for this comparison
165
- */
166
- - (NSPredicate *)in:(id<NSFastEnumeration>)set;
167
-
168
- /** Returns a predicate for a contains with comparison against the supplied value
169
- @param value To compare against the attribute
170
- @param options NSComparisonPredicateOptions to apply to the comparison
171
- @return The predicate for this comparison
172
- @see contains:
173
- */
174
- - (NSPredicate *)contains:(id)value options:(NSComparisonPredicateOptions)options;
175
-
176
- /** Returns a predicate for a contains with comparison against the supplied value
177
- @param value To compare against the attribute
178
- @return The predicate for this comparison
179
- @see contains:options:
180
- */
181
- - (NSPredicate *)contains:(id)value;
182
-
183
- /** Returns a predicate for if the attribute being equal to nil
184
- @return The predicate for the attribute being nil.
185
- */
186
- - (NSPredicate *)isNil;
187
-
188
- /** Returns a predicate for if the attribute being equal to YES
189
- @return The predicate for the attribute being YES.
190
- @see isNO
191
- */
192
- - (NSPredicate *)isYes;
193
-
194
- /** Returns a predicate for if the attribute being equal to NO
195
- @return The predicate for the attribute being NO.
196
- @see isYes
197
- */
198
- - (NSPredicate *)isNo;
199
-
200
- @end
201
-
202
- @interface QKAttribute (Sorting)
203
-
204
- /** Returns an ascending sort descriptor for this attribute */
205
- - (NSSortDescriptor *)ascending;
206
-
207
- /** Returns a descending sort descriptor for this attribute */
208
- - (NSSortDescriptor *)descending;
209
-
210
- @end