cocoapods 0.39.0 → 1.0.0.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +261 -12
  3. data/lib/cocoapods.rb +1 -0
  4. data/lib/cocoapods/command.rb +1 -0
  5. data/lib/cocoapods/command/env.rb +66 -0
  6. data/lib/cocoapods/command/init.rb +1 -1
  7. data/lib/cocoapods/command/lib.rb +1 -1
  8. data/lib/cocoapods/command/project.rb +0 -4
  9. data/lib/cocoapods/command/repo/lint.rb +7 -6
  10. data/lib/cocoapods/command/repo/push.rb +22 -1
  11. data/lib/cocoapods/command/setup.rb +0 -24
  12. data/lib/cocoapods/command/spec/create.rb +3 -1
  13. data/lib/cocoapods/command/spec/edit.rb +14 -21
  14. data/lib/cocoapods/command/spec/env_spec.rb +53 -0
  15. data/lib/cocoapods/command/spec/lint.rb +1 -1
  16. data/lib/cocoapods/config.rb +1 -34
  17. data/lib/cocoapods/downloader.rb +9 -4
  18. data/lib/cocoapods/external_sources.rb +0 -4
  19. data/lib/cocoapods/external_sources/abstract_external_source.rb +38 -11
  20. data/lib/cocoapods/external_sources/path_source.rb +2 -2
  21. data/lib/cocoapods/gem_version.rb +2 -2
  22. data/lib/cocoapods/generator/acknowledgements.rb +1 -1
  23. data/lib/cocoapods/generator/acknowledgements/plist.rb +1 -1
  24. data/lib/cocoapods/generator/copy_resources_script.rb +28 -21
  25. data/lib/cocoapods/generator/info_plist_file.rb +34 -8
  26. data/lib/cocoapods/generator/module_map.rb +3 -18
  27. data/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb +22 -10
  28. data/lib/cocoapods/generator/xcconfig/pod_xcconfig.rb +2 -1
  29. data/lib/cocoapods/generator/xcconfig/xcconfig_helper.rb +2 -1
  30. data/lib/cocoapods/hooks_manager.rb +3 -11
  31. data/lib/cocoapods/installer.rb +45 -25
  32. data/lib/cocoapods/installer/analyzer.rb +53 -25
  33. data/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb +2 -13
  34. data/lib/cocoapods/installer/analyzer/target_inspection_result.rb +4 -0
  35. data/lib/cocoapods/installer/analyzer/target_inspector.rb +22 -19
  36. data/lib/cocoapods/installer/file_references_installer.rb +53 -6
  37. data/lib/cocoapods/installer/installation_options.rb +156 -0
  38. data/lib/cocoapods/installer/migrator.rb +1 -56
  39. data/lib/cocoapods/installer/pod_source_installer.rb +10 -8
  40. data/lib/cocoapods/installer/podfile_validator.rb +42 -1
  41. data/lib/cocoapods/installer/post_install_hooks_context.rb +19 -2
  42. data/lib/cocoapods/installer/target_installer.rb +6 -2
  43. data/lib/cocoapods/installer/target_installer/aggregate_target_installer.rb +6 -5
  44. data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +82 -14
  45. data/lib/cocoapods/installer/user_project_integrator.rb +37 -16
  46. data/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +14 -136
  47. data/lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb +15 -22
  48. data/lib/cocoapods/project.rb +109 -19
  49. data/lib/cocoapods/resolver.rb +17 -15
  50. data/lib/cocoapods/resolver/lazy_specification.rb +4 -0
  51. data/lib/cocoapods/sandbox.rb +0 -32
  52. data/lib/cocoapods/sandbox/headers_store.rb +2 -2
  53. data/lib/cocoapods/sandbox/podspec_finder.rb +1 -1
  54. data/lib/cocoapods/sources_manager.rb +181 -50
  55. data/lib/cocoapods/target/aggregate_target.rb +17 -11
  56. data/lib/cocoapods/target/pod_target.rb +31 -4
  57. data/lib/cocoapods/user_interface.rb +32 -3
  58. data/lib/cocoapods/user_interface/error_report.rb +46 -36
  59. data/lib/cocoapods/validator.rb +132 -43
  60. metadata +164 -79
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: faef02d18b96b452059e2320463fa0b61d6f2317
4
- data.tar.gz: 9ca4b8a059653de8a621dc056f45c7d702c025dc
3
+ metadata.gz: 314a9c28d7e724d52123840995db3f62cca1f870
4
+ data.tar.gz: 6f932912c5fbbc7bd9e71a96e89055bddfb860e1
5
5
  SHA512:
6
- metadata.gz: 9afc353dc010bb5078514f39d3186f5520d125fd2625736802ff81f5a86f2d632b2943d1002f1a10c6d0f030d06b28464732fddc2e28430fb17df657dce17cfc
7
- data.tar.gz: 799727556030db50216391e3a78982b6348d1a04a0739b709c5e488774c392ee0966f48f3dce5f3e4c6251336e60f6d6fd447e78c90a4cdadca890763c3a4b25
6
+ metadata.gz: 6f02253e12e95ee996665f234a070536cf672af5ef4890cf12dc005bf8f5c8fd9c78b6f505767c2053868e08c6a12b0ccdb0206e9a2e2dd38a3dc73983534a21
7
+ data.tar.gz: 3fe3bafbeff16966db0506d358747682031c2dc13d99d2367937e51793f17a7d5d37018a03771943dac94619d28e1e6c6aa124ed9eda65296fcd49303d9f4ee4
@@ -4,6 +4,255 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
4
4
 
5
5
  To install release candidates run `[sudo] gem install cocoapods --pre`
6
6
 
7
+ ## 1.0.0.beta.1 (2015-12-30)
8
+
9
+ ##### Breaking
10
+
11
+ * The `link_with` Podfile DSL method has been removed in favor of target
12
+ inheritance.
13
+ [Samuel Giddins](https://github.com/segiddins)
14
+
15
+ * The `:exclusive => true` Podfile DSL target option has been removed in favor
16
+ of the `inherit! :search_paths` directive.
17
+ [Samuel Giddins](https://github.com/segiddins)
18
+
19
+ * The specification of `:head` dependencies has been removed.
20
+ [Samuel Giddins](https://github.com/segiddins)
21
+ [#4673](https://github.com/CocoaPods/CocoaPods/issues/4673)
22
+
23
+ * The deprecated `:local` dependency option has been removed in favor of the
24
+ equivalent `:path` option.
25
+ [Samuel Giddins](https://github.com/segiddins)
26
+
27
+ * The deprecated `dependency` method in the Podfile DSL has been removed in
28
+ favor of the equivalent `pod` method.
29
+ [Samuel Giddins](https://github.com/segiddins)
30
+
31
+ * The deprecated `preferred_dependency` method in the Specification DSL has been
32
+ removed in favor of the equivalent `default_subspecs` method.
33
+ [Samuel Giddins](https://github.com/segiddins)
34
+
35
+ * The `docset_url` Specification attribute has been removed.
36
+ [Samuel Giddins](https://github.com/segiddins)
37
+ [Core#284](https://github.com/CocoaPods/Core/issues/284)
38
+
39
+ * Build configuration names are no longer set as pre-processor defines, but
40
+ rather `POD_CONFIGURATION_$CONFIGURATION_NAME` is defined in order to lessen
41
+ conflicts with pod code.
42
+ [#4143](https://github.com/CocoaPods/CocoaPods/issues/4143)
43
+
44
+ ##### Highlighted Enhancements That Need Testing
45
+
46
+ * The Podfile DSL has been cleaned up, with the removal of confusing options and
47
+ the introduction of abstract targets, search paths-only inheritance, the
48
+ specification of installation options, and the removal of head dependencies.
49
+ [Samuel Giddins](https://github.com/segiddins)
50
+ [#840](https://github.com/CocoaPods/CocoaPods/issues/840)
51
+
52
+ ##### Enhancements
53
+
54
+ * Add the ability to add a custom commit message when pushing a spec.
55
+ [Bart Jacobs](https://github.com/bartjacobs)
56
+ [#4583](https://github.com/CocoaPods/CocoaPods/issues/4583)
57
+
58
+ * Added support for `pod env` to print the pod environment without having to crash.
59
+ [Hemal Shah](https://github.com/hemal)
60
+ [#3660](https://github.com/CocoaPods/CocoaPods/issues/3660)
61
+
62
+ * Add support for specifying :source with a pod dependency.
63
+ [Eric Firestone](https://github.com/efirestone)
64
+ [#4486](https://github.com/CocoaPods/CocoaPods/pull/4486)
65
+
66
+ * Ask user to run `pod install` when a resource not found during in copy resources script.
67
+ [Muhammed Yavuz Nuzumlalı](https://github.com/manuyavuz)
68
+
69
+ * Add support to track `.def` sources.
70
+ * Add support to track `.def` files as headers.
71
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
72
+ [#338](https://github.com/CocoaPods/Xcodeproj/pull/338)
73
+
74
+ * `Pod::Installer::PostInstallHooksContext` now offers access to the `sandbox`
75
+ object.
76
+ [Marcelo Fabri](https://github.com/marcelofabri)
77
+ [#4487](https://github.com/CocoaPods/CocoaPods/pull/4487)
78
+
79
+ * Improve sorting algorithm for `pod search`.
80
+ [Muhammed Yavuz Nuzumlalı](https://github.com/manuyavuz)
81
+ [cocoapods-search#12](https://github.com/CocoaPods/cocoapods-search/issues/12)
82
+
83
+ * Improve `pod search` performance while using _`--full`_ flag.
84
+ [Muhammed Yavuz Nuzumlalı](https://github.com/manuyavuz)
85
+ [cocoapods-search#8](https://github.com/CocoaPods/cocoapods-search/issues/8)
86
+
87
+ * Improve message when there is no spec in repos for dependency set in Podfile.
88
+ [Muhammed Yavuz Nuzumlalı](https://github.com/manuyavuz)
89
+ [#4430](https://github.com/CocoaPods/CocoaPods/issues/4430)
90
+
91
+ * Reduce the number of times the user's Xcode project is opened, speeding up
92
+ installation.
93
+ [Samuel Giddins](https://github.com/segiddins)
94
+ [#4374](https://github.com/CocoaPods/CocoaPods/issues/4374)
95
+
96
+ * Improving the performance of Pod::Installer::Analyzer#generate_pod_targets
97
+ [Daniel Ribeiro](https://github.com/danielribeiro)
98
+ [#4399](https://github.com/CocoaPods/CocoaPods/pull/4399)
99
+
100
+ * Framework pods that have a `header_mappings_dirs` set will now produce
101
+ frameworks with headers that respect the nesting.
102
+ [Samuel Giddins](https://github.com/segiddins)
103
+
104
+ * The validator will now ensure that pods with a `header_mappings_dirs` have all
105
+ of their headers inside that directory.
106
+ [Samuel Giddins](https://github.com/segiddins)
107
+
108
+ * Pods will be validated with the `-Wincomplete-umbrella` compiler flag to
109
+ ensure module maps are valid.
110
+ [Samuel Giddins](https://github.com/segiddins)
111
+ [#3428](https://github.com/CocoaPods/CocoaPods/issues/3428)
112
+
113
+ * The validator will now attempt to build an app that imports the pod.
114
+ [Samuel Giddins](https://github.com/segiddins)
115
+ [#2095](https://github.com/CocoaPods/CocoaPods/issues/2095)
116
+ [#2134](https://github.com/CocoaPods/CocoaPods/issues/2134)
117
+
118
+ * The `Info.plist` file's `CFBundleIdentifier` is now set via the
119
+ `PRODUCT_BUNDLE_IDENTIFIER` build setting, consistent with Xcode 7.
120
+ [Samuel Giddins](https://github.com/segiddins)
121
+ [#4426](https://github.com/CocoaPods/CocoaPods/issues/4426)
122
+
123
+ * Externally-sourced pods will now have their specifications quickly linted.
124
+ [Samuel Giddins](https://github.com/segiddins)
125
+
126
+ * Set the deployment target on pods to be that which is defined in the
127
+ podspec.
128
+ [Samuel Giddins](https://github.com/segiddins)
129
+ [#4354](https://github.com/CocoaPods/CocoaPods/issues/3454)
130
+
131
+ * Set a deployment target for resource bundle targets.
132
+ [Samuel Giddins](https://github.com/segiddins)
133
+ [#3347](https://github.com/CocoaPods/CocoaPods/issues/3347)
134
+
135
+ * Targets that are no longer integrated with CocoaPods will be properly
136
+ de-integrated when installation occurs.
137
+ [Samuel Giddins](https://github.com/segiddins)
138
+
139
+ * Targets that are integrated will be ensured that they have all
140
+ CocoaPods-related settings and phases properly installed.
141
+ [Samuel Giddins](https://github.com/segiddins)
142
+
143
+ * Total de-integration will happen whenever the major version of CocoaPods
144
+ changes, ensuring backwards-incompatible changes are properly applied.
145
+ [Samuel Giddins](https://github.com/segiddins)
146
+
147
+ * The Podfile now allows specifying installation options via the `install!`
148
+ directive.
149
+ [Samuel Giddins](https://github.com/segiddins)
150
+ [Core#151](https://github.com/CocoaPods/Core/issues/151)
151
+
152
+ * The Podfile now allows marking targets as `abstract` and specifying the pod
153
+ inheritance mode via the `inherit!` directive.
154
+ [Samuel Giddins](https://github.com/segiddins)
155
+ [#1249](https://github.com/CocoaPods/CocoaPods/issues/1249)
156
+ [#1626](https://github.com/CocoaPods/CocoaPods/issues/1626)
157
+ [#4001](https://github.com/CocoaPods/CocoaPods/issues/4001)
158
+
159
+ ##### Bug Fixes
160
+
161
+ * Fix compiling of localized resources.
162
+ [Eric Firestone](https://github.com/efirestone)
163
+ [#1653](https://github.com/CocoaPods/CocoaPods/issues/1653)
164
+
165
+ * Fix compiling of asset catalog files inside resource bundles.
166
+ [Muhammed Yavuz Nuzumlalı](https://github.com/manuyavuz)
167
+ [#4501](https://github.com/CocoaPods/CocoaPods/issues/4501)
168
+
169
+ * Prevent installer to be run from inside sandbox directory.
170
+ [Muhammed Yavuz Nuzumlalı](https://github.com/manuyavuz)
171
+
172
+ * Improve repo lint error message when no repo found with given name.
173
+ [Muhammed Yavuz Nuzumlalı](https://github.com/manuyavuz)
174
+ [#4142](https://github.com/CocoaPods/CocoaPods/issues/4142)
175
+
176
+ * Fix a crash in dependency resolution when running Ruby 2.3.
177
+ [Samuel Giddins](https://github.com/segiddins)
178
+ [#4345](https://github.com/CocoaPods/CocoaPods/issues/4345)
179
+
180
+ * Fix handling of localized files in Pods installed as frameworks.
181
+ [Tim Bodeit](https://github.com/timbodeit)
182
+ [#2597](https://github.com/CocoaPods/CocoaPods/issues/2597)
183
+
184
+ * Only include native targets when generating the Podfile in `pod init`.
185
+ [Samuel Giddins](https://github.com/segiddins)
186
+ [#2169](https://github.com/CocoaPods/CocoaPods/issues/2169)
187
+
188
+ * Ensure that generated `Info.plist` files have a `CFBundleShortVersionString`
189
+ that is precisely three dot-separated numbers.
190
+ [Samuel Giddins](https://github.com/segiddins)
191
+ [#4421](https://github.com/CocoaPods/CocoaPods/issues/4421)
192
+
193
+ * Set the `APPLICATION_EXTENSION_API_ONLY` build setting if integrating with a
194
+ tvOS extension target, or a target that has the setting set to `YES`.
195
+ [Samuel Giddins](https://github.com/segiddins)
196
+ [#3644](https://github.com/CocoaPods/CocoaPods/issues/3644)
197
+ [#4393](https://github.com/CocoaPods/CocoaPods/issues/4393)
198
+
199
+ * Only the root directory of externally-sourced pods will be searched for
200
+ podspecs.
201
+ [Samuel Giddins](https://github.com/segiddins)
202
+ [#3683](https://github.com/CocoaPods/CocoaPods/issues/3683)
203
+
204
+ * Remove the library name's extension when adding it in the "linker flags" build
205
+ setting to support dynamic libraries.
206
+ [Andrea Cremaschi](https://github.com/andreacremaschi)
207
+ [#4468](https://github.com/CocoaPods/CocoaPods/issues/4468)
208
+
209
+ * Specifying relative subspec names to the linter is now supported.
210
+ [Samuel Giddins](https://github.com/segiddins)
211
+ [#1917](https://github.com/CocoaPods/CocoaPods/issues/1917)
212
+
213
+ * Headers used to build a pod will no longer be duplicated for frameworks.
214
+ [Samuel Giddins](https://github.com/segiddins)
215
+ [#4420](https://github.com/CocoaPods/CocoaPods/issues/4420)
216
+
217
+ * The `UIRequiredDeviceCapabilities` key is now specified in the `Info.plist`
218
+ file for tvOS pods built as frameworks.
219
+ [Samuel Giddins](https://github.com/segiddins)
220
+ [#4514](https://github.com/CocoaPods/CocoaPods/issues/4514)
221
+
222
+ * Fix Swift code completion for Development Pods by using `realpath` for
223
+ symlinked source files.
224
+ [Boris Bügling](https://github.com/neonichu)
225
+ [#3777](https://github.com/CocoaPods/CocoaPods/issues/3777)
226
+
227
+ * Avoid the duplicate UUID warning when a Pod is installed for multiple
228
+ platforms.
229
+ [Samuel Giddins](https://github.com/segiddins)
230
+ [#4521](https://github.com/CocoaPods/CocoaPods/issues/4521)
231
+
232
+ * Changing the name of a target in a Podfile will no longer cause warnings about
233
+ being unable to set the base configuration XCConfig.
234
+ [Samuel Giddins](https://github.com/segiddins)
235
+
236
+ * Ensure that linking multiple times against the same framework does not trigger
237
+ the duplicate module name check for frameworks.
238
+ [Boris Bügling](https://github.com/neonichu)
239
+ [Samuel Giddins](https://github.com/segiddins)
240
+ [#4550](https://github.com/CocoaPods/CocoaPods/issues/4550)
241
+
242
+ * Fix lint in Xcode 7.2, it requires `-destination`.
243
+ [Boris Bügling](https://github.com/neonichu)
244
+ [#4652](https://github.com/CocoaPods/CocoaPods/pull/4652)
245
+
246
+ * Empty podfiles / target blocks no longer break the user's Xcode project.
247
+ [Samuel Giddins](https://github.com/segiddins)
248
+ [#3617](https://github.com/CocoaPods/CocoaPods/issues/3617)
249
+
250
+ * The pre-processor define for `DEBUG` will be set for all debug-based build
251
+ configurations when building pods.
252
+ [Samuel Giddins](https://github.com/segiddins)
253
+ [#4148](https://github.com/CocoaPods/CocoaPods/issues/4148)
254
+
255
+
7
256
  ## 0.39.0 (2015-10-09)
8
257
 
9
258
  ##### Enhancements
@@ -578,7 +827,7 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
578
827
 
579
828
  ## 0.37.0 (2015-05-03)
580
829
 
581
- For more details, see 📝 [CocoaPods 0.37](http://blog.cocoapods.org/CocoaPods-0.37/) on our blog.
830
+ For more details, see 📝 [CocoaPods 0.37](https://blog.cocoapods.org/CocoaPods-0.37/) on our blog.
582
831
 
583
832
  ##### Bug Fixes
584
833
 
@@ -777,7 +1026,7 @@ For more details, see 📝 [CocoaPods 0.37](http://blog.cocoapods.org/CocoaPods-
777
1026
 
778
1027
  [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.22.0...0.23.0)
779
1028
 
780
- For more details, see 📝 [CocoaPods 0.36](http://blog.cocoapods.org/CocoaPods-0.36/) on our blog.
1029
+ For more details, see 📝 [CocoaPods 0.36](https://blog.cocoapods.org/CocoaPods-0.36/) on our blog.
781
1030
 
782
1031
  ##### Enhancements
783
1032
 
@@ -1133,7 +1382,7 @@ For more details, see 📝 [CocoaPods 0.36](http://blog.cocoapods.org/CocoaPods-
1133
1382
  • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.19.4...0.20.2)
1134
1383
  • [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.7.2...0.8.0)
1135
1384
 
1136
- For more details, see 📝 [CocoaPods 0.35](http://blog.cocoapods.org/CocoaPods-0.35/) on our blog.
1385
+ For more details, see 📝 [CocoaPods 0.35](https://blog.cocoapods.org/CocoaPods-0.35/) on our blog.
1137
1386
 
1138
1387
  ##### Enhancements
1139
1388
 
@@ -1460,7 +1709,7 @@ For more details, see 📝 [CocoaPods 0.35](http://blog.cocoapods.org/CocoaPods-
1460
1709
 
1461
1710
  ## 0.34.0 (2014-09-26)
1462
1711
 
1463
- For more details, see 📝 [CocoaPods 0.34](http://blog.cocoapods.org/CocoaPods-0.34/) on our blog.
1712
+ For more details, see 📝 [CocoaPods 0.34](https://blog.cocoapods.org/CocoaPods-0.34/) on our blog.
1464
1713
 
1465
1714
  ##### Breaking
1466
1715
 
@@ -1723,7 +1972,7 @@ For more details, see 📝 [CocoaPods 0.34](http://blog.cocoapods.org/CocoaPods-
1723
1972
 
1724
1973
  ## 0.33.0 (2014-05-20)
1725
1974
 
1726
- For more details, see 📝 [CocoaPods 0.33](http://blog.cocoapods.org/CocoaPods-0.33/) on our blog.
1975
+ For more details, see 📝 [CocoaPods 0.33](https://blog.cocoapods.org/CocoaPods-0.33/) on our blog.
1727
1976
 
1728
1977
  ##### Breaking
1729
1978
 
@@ -1827,7 +2076,7 @@ For more details, see 📝 [CocoaPods 0.33](http://blog.cocoapods.org/CocoaPods-
1827
2076
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.31.1...0.32.0)
1828
2077
  • [CocoaPods-Core](https://github.com/CocoaPods/Core/compare/0.31.1...0.32.0)
1829
2078
 
1830
- For more details, see 📝 [CocoaPods 0.32](http://blog.cocoapods.org/CocoaPods-0.32/) on our blog.
2079
+ For more details, see 📝 [CocoaPods 0.32](https://blog.cocoapods.org/CocoaPods-0.32/) on our blog.
1831
2080
 
1832
2081
  ##### Enhancements
1833
2082
 
@@ -1944,7 +2193,7 @@ For more details, see 📝 [CocoaPods 0.32](http://blog.cocoapods.org/CocoaPods-
1944
2193
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.30.0...0.31.0)
1945
2194
  • [CocoaPods-Core](https://github.com/CocoaPods/Core/compare/0.30.0...0.31.0)
1946
2195
 
1947
- For more details, see 📝 [CocoaPods 0.31](http://blog.cocoapods.org/CocoaPods-0.31/) on our blog.
2196
+ For more details, see 📝 [CocoaPods 0.31](https://blog.cocoapods.org/CocoaPods-0.31/) on our blog.
1948
2197
 
1949
2198
  ##### Enhancements
1950
2199
 
@@ -2042,7 +2291,7 @@ For more details, see 📝 [CocoaPods 0.31](http://blog.cocoapods.org/CocoaPods-
2042
2291
 
2043
2292
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.29.0...0.30.0)
2044
2293
 
2045
- For more details, see 📝 [CocoaPods 0.30](http://blog.cocoapods.org/CocoaPods-0.30/) on our blog.
2294
+ For more details, see 📝 [CocoaPods 0.30](https://blog.cocoapods.org/CocoaPods-0.30/) on our blog.
2046
2295
 
2047
2296
  ###### Enhancements
2048
2297
 
@@ -2080,7 +2329,7 @@ For more details, see 📝 [CocoaPods 0.30](http://blog.cocoapods.org/CocoaPods-
2080
2329
  • [CocoaPods-core](https://github.com/CocoaPods/Core/compare/0.28.0...0.29.0)
2081
2330
  • [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.2.0...0.3.0)
2082
2331
 
2083
- For more details, see 📝 [CocoaPods 0.29](http://blog.cocoapods.org/CocoaPods-0.29/) on our blog.
2332
+ For more details, see 📝 [CocoaPods 0.29](https://blog.cocoapods.org/CocoaPods-0.29/) on our blog.
2084
2333
 
2085
2334
  ###### Breaking
2086
2335
 
@@ -2208,7 +2457,7 @@ For more details, see 📝 [CocoaPods 0.29](http://blog.cocoapods.org/CocoaPods-
2208
2457
  • [CocoaPods-core](https://github.com/CocoaPods/Core/compare/0.27.1...0.28.0)
2209
2458
  • [CLAide](https://github.com/CocoaPods/CLAide/compare/0.3.2...0.4.0)
2210
2459
 
2211
- For more details, see 📝 [CocoaPods 0.28](http://blog.cocoapods.org/CocoaPods-0.28/) on our blog.
2460
+ For more details, see 📝 [CocoaPods 0.28](https://blog.cocoapods.org/CocoaPods-0.28/) on our blog.
2212
2461
 
2213
2462
  ###### Enhancements
2214
2463
 
@@ -2282,7 +2531,7 @@ For more details, see 📝 [CocoaPods 0.28](http://blog.cocoapods.org/CocoaPods-
2282
2531
  • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.26.2...0.27.1)
2283
2532
  • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.13.0...0.14.0)
2284
2533
 
2285
- For more details, see 📝 [CocoaPods 0.27 and improved installation UX](http://blog.cocoapods.org/CocoaPods-0.27-and-improved-installation-UX/) on our blog.
2534
+ For more details, see 📝 [CocoaPods 0.27 and improved installation UX](https://blog.cocoapods.org/CocoaPods-0.27-and-improved-installation-UX/) on our blog.
2286
2535
 
2287
2536
  ###### Enhancements
2288
2537
 
@@ -2363,7 +2612,7 @@ For more details, see 📝 [CocoaPods 0.27 and improved installation UX](http://
2363
2612
  • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.25.0...0.26.1)
2364
2613
  • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.11.1...0.12.0)
2365
2614
 
2366
- For more details, see 📝 [CocoaPods 0.26](http://blog.cocoapods.org/CocoaPods-0.26/) on our blog.
2615
+ For more details, see 📝 [CocoaPods 0.26](https://blog.cocoapods.org/CocoaPods-0.26/) on our blog.
2367
2616
 
2368
2617
  ###### Enhancements
2369
2618
 
@@ -40,6 +40,7 @@ module Pod
40
40
 
41
41
  autoload :AggregateTarget, 'cocoapods/target/aggregate_target'
42
42
  autoload :Command, 'cocoapods/command'
43
+ autoload :Deintegrator, 'cocoapods_deintegrate'
43
44
  autoload :Executable, 'cocoapods/executable'
44
45
  autoload :ExternalSources, 'cocoapods/external_sources'
45
46
  autoload :Installer, 'cocoapods/installer'
@@ -24,6 +24,7 @@ module Pod
24
24
  require 'cocoapods/command/spec'
25
25
  require 'cocoapods/command/init'
26
26
  require 'cocoapods/command/cache'
27
+ require 'cocoapods/command/env'
27
28
 
28
29
  self.abstract_command = true
29
30
  self.command = 'pod'
@@ -0,0 +1,66 @@
1
+ require 'cocoapods/user_interface/error_report'
2
+
3
+ module Pod
4
+ class Command
5
+ class Env < Command
6
+ self.summary = 'Display pod environment'
7
+ self.description = 'Display pod environment.'
8
+
9
+ def self.options
10
+ options = []
11
+ options.concat(super.reject { |option, _| option == '--silent' })
12
+ end
13
+
14
+ def initialize(argv)
15
+ super
16
+ config.silent = false
17
+ end
18
+
19
+ def run
20
+ UI.puts report
21
+ end
22
+
23
+ def report
24
+ <<-EOS
25
+
26
+ #{stack}
27
+ #{executable_path}
28
+ ### Plugins
29
+
30
+ ```
31
+ #{plugins_string}
32
+ ```
33
+ #{markdown_podfile}
34
+ EOS
35
+ end
36
+
37
+ def stack
38
+ UI::ErrorReport.stack
39
+ end
40
+
41
+ def markdown_podfile
42
+ UI::ErrorReport.markdown_podfile
43
+ end
44
+
45
+ def plugins_string
46
+ UI::ErrorReport.plugins_string
47
+ end
48
+
49
+ private
50
+
51
+ def executable_path
52
+ <<-EOS
53
+ ### Installation Source
54
+
55
+ ```
56
+ Executable Path: #{actual_path}
57
+ ```
58
+ EOS
59
+ end
60
+
61
+ def actual_path
62
+ $PROGRAM_NAME
63
+ end
64
+ end
65
+ end
66
+ end