cocoapods-plugins 0.3.1 → 0.3.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -11
- data/README.md +2 -2
- data/cocoapods-plugins.gemspec +1 -1
- data/lib/cocoapods_plugins.rb +1 -1
- data/lib/pod/command/plugins/list.rb +1 -1
- data/lib/pod/command/plugins_helper.rb +5 -4
- data/plugins.json +135 -0
- data/spec/command/plugins_helper_spec.rb +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 210daaf0bc2a15a3a65a504f87e20771ded9669e
|
4
|
+
data.tar.gz: 8a36efba072829b1620949084a830ecd2ba19075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c4cc3faa04af0aa8220bec157115a2cdd345bc011f1dfe347689f75ddf5315dafcf75f702faf510880a0f6aabca03cd74ef8c667194633bc15504cdbb8878df
|
7
|
+
data.tar.gz: ada5e0748163fed9bedb1659d373177bc54881a694e50dce4dc724576308c9d4cb32189179a4aabdf781d5a7f8f46d4b7b28a3394e7ba57759d0af1a0ae8e830
|
data/CHANGELOG.md
CHANGED
@@ -1,42 +1,68 @@
|
|
1
1
|
# Cocoapods::Plugins Changelog
|
2
2
|
|
3
|
+
## 0.3.2
|
4
|
+
|
5
|
+
* Switch to using cocoapods-plugins JSON file isntead of from Cocoapods.org's repo
|
6
|
+
[#542919](https://github.com/CocoaPods/cocoapods-plugins/commit/542919902e611c33bb0e02848037474529ddd0f9)
|
7
|
+
[Florian Hanke](https://github.com/floere)
|
8
|
+
|
9
|
+
|
3
10
|
## 0.3.1
|
4
11
|
|
5
|
-
* Restore compatibility with Ruby 1.8.7.
|
12
|
+
* Restore compatibility with Ruby 1.8.7.
|
13
|
+
[#30](https://github.com/CocoaPods/cocoapods-plugins/issues/30)
|
14
|
+
[Fabio Pelosin](https://github.com/fabiopelosin)
|
6
15
|
|
7
16
|
## 0.3.0
|
8
17
|
|
9
|
-
* Added a reminder to add plugin to `plugins.json` once released
|
18
|
+
* Added a reminder to add plugin to `plugins.json` once released.
|
19
|
+
[#27](https://github.com/CocoaPods/cocoapods-plugins/issues/27)
|
10
20
|
[Olivier Halligon](https://github.com/AliSoftware)
|
11
21
|
|
12
|
-
* Print out the version of plugins when invoked with `--verbose
|
22
|
+
* Print out the version of plugins when invoked with `--verbose`.
|
23
|
+
[#16](https://github.com/CocoaPods/cocoapods-plugins/issues/16)
|
13
24
|
[David Grandinetti](https://github.com/dbgrandi)
|
14
25
|
|
15
26
|
## 0.2.0
|
16
27
|
|
17
|
-
* Migrating to new syntax of CLAide::Command#arguments
|
28
|
+
* Migrating to new syntax of CLAide::Command#arguments.
|
29
|
+
[#23](https://github.com/CocoaPods/cocoapods-plugins/issues/23)
|
18
30
|
[Olivier Halligon](https://github.com/AliSoftware)
|
19
31
|
|
20
|
-
* Printing URL of template used
|
32
|
+
* Printing URL of template used.
|
33
|
+
[#21](https://github.com/CocoaPods/cocoapods-plugins/issues/21)
|
21
34
|
[Olivier Halligon](https://github.com/AliSoftware)
|
22
35
|
|
23
|
-
* `create` subcommand now prefixes the given name if not already
|
36
|
+
* `create` subcommand now prefixes the given name if not already.
|
37
|
+
[#20](https://github.com/CocoaPods/cocoapods-plugins/issues/20)
|
24
38
|
[Olivier Halligon](https://github.com/AliSoftware)
|
25
39
|
|
26
40
|
## 0.1.1
|
27
41
|
|
28
|
-
* Making `pod plugins` an abstract command, with `list` the default subcommand
|
42
|
+
* Making `pod plugins` an abstract command, with `list` the default subcommand.
|
43
|
+
[#11](https://github.com/CocoaPods/cocoapods-plugins/issues/11)
|
44
|
+
[#12](https://github.com/CocoaPods/cocoapods-plugins/issues/12)
|
29
45
|
[Olivier Halligon](https://github.com/AliSoftware)
|
30
|
-
|
46
|
+
|
47
|
+
* Added `search` subcommand to search plugins by name, author and description.
|
48
|
+
[#6](https://github.com/CocoaPods/cocoapods-plugins/issues/6)
|
31
49
|
[Olivier Halligon](https://github.com/AliSoftware)
|
32
|
-
|
50
|
+
|
51
|
+
* Refactoring and improved output formatting.
|
52
|
+
[#8](https://github.com/CocoaPods/cocoapods-plugins/issues/8)
|
53
|
+
[#10](https://github.com/CocoaPods/cocoapods-plugins/issues/10)
|
54
|
+
[#13](https://github.com/CocoaPods/cocoapods-plugins/issues/13)
|
33
55
|
[Olivier Halligon](https://github.com/AliSoftware)
|
34
|
-
|
56
|
+
|
57
|
+
* Fixing coding conventions and RuboCop offenses.
|
58
|
+
[#17](https://github.com/CocoaPods/cocoapods-plugins/issues/17)
|
35
59
|
[Olivier Halligon](https://github.com/AliSoftware)
|
36
60
|
|
37
61
|
## 0.1.0
|
38
62
|
|
39
63
|
* Initial implementation.
|
40
64
|
[David Grandinetti](https://github.com/dbgrandi)
|
41
|
-
|
65
|
+
|
66
|
+
* Added `create` subcommand to create an empty project for a new plugin.
|
67
|
+
[#6](https://github.com/CocoaPods/cocoapods-plugins/issues/6)
|
42
68
|
[Boris Bügling](https://github.com/neonichu)
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ CocoaPods plugin which shows info about available CocoaPods plugins or helps you
|
|
16
16
|
|
17
17
|
$ pod plugins
|
18
18
|
|
19
|
-
List all known plugins (according to the list hosted on github.com/CocoaPods/cocoapods
|
19
|
+
List all known plugins (according to the list hosted on github.com/CocoaPods/cocoapods-plugins)
|
20
20
|
|
21
21
|
#####Search plugins
|
22
22
|
|
@@ -33,7 +33,7 @@ If a `TEMPLATE_URL`, pointing to a git repo containing a compatible template, is
|
|
33
33
|
|
34
34
|
## Get your plugin listed
|
35
35
|
|
36
|
-
The list of plugins is in the cocoapods
|
36
|
+
The list of plugins is in the cocoapods-plugins repository at [https://github.com/CocoaPods/cocoapods-plugins/blob/master/plugins.json](https://github.com/CocoaPods/cocoapods-plugins/blob/master/plugins.json).
|
37
37
|
|
38
38
|
To have your plugin listed, submit a pull request that adds your plugin details.
|
39
39
|
|
data/cocoapods-plugins.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
This CocoaPods plugin shows information about all available CocoaPods plugins
|
13
13
|
(yes, this is very meta!).
|
14
14
|
This CP plugin adds the "pod plugins" command to CocoaPods so that you can list
|
15
|
-
all plugins (registered in the reference JSON hosted at CocoaPods/cocoapods
|
15
|
+
all plugins (registered in the reference JSON hosted at CocoaPods/cocoapods-plugins)
|
16
16
|
DESC
|
17
17
|
spec.homepage = 'https://github.com/cocoapods/cocoapods-plugins'
|
18
18
|
spec.license = 'MIT'
|
data/lib/cocoapods_plugins.rb
CHANGED
@@ -10,7 +10,7 @@ module Pod
|
|
10
10
|
self.summary = 'List all known plugins'
|
11
11
|
self.description = <<-DESC
|
12
12
|
List all known plugins (according to the list
|
13
|
-
hosted on github.com/CocoaPods/cocoapods
|
13
|
+
hosted on github.com/CocoaPods/cocoapods-plugins)
|
14
14
|
DESC
|
15
15
|
|
16
16
|
def self.options
|
@@ -7,7 +7,7 @@ module Pod
|
|
7
7
|
# the JSON describing the plugins list and manipulate it
|
8
8
|
#
|
9
9
|
module PluginsHelper
|
10
|
-
PLUGINS_JSON_REPO_NAME = 'CocoaPods/cocoapods
|
10
|
+
PLUGINS_JSON_REPO_NAME = 'CocoaPods/cocoapods-plugins'
|
11
11
|
PLUGINS_JSON_REPO = 'https://github.com/' + PLUGINS_JSON_REPO_NAME
|
12
12
|
PLUGINS_JSON_REL_URL = '/master/plugins.json'
|
13
13
|
|
@@ -20,17 +20,18 @@ module Pod
|
|
20
20
|
#
|
21
21
|
def self.download_json
|
22
22
|
UI.puts 'Downloading Plugins list...'
|
23
|
+
puts PLUGINS_RAW_URL
|
23
24
|
response = REST.get(PLUGINS_RAW_URL)
|
24
25
|
if response.ok?
|
25
26
|
parse_json(response.body)
|
26
27
|
else
|
27
28
|
raise Informative, 'Could not download plugins list ' \
|
28
|
-
"from cocoapods
|
29
|
+
"from cocoapods-plugins: #{response.inspect}"
|
29
30
|
end
|
30
31
|
end
|
31
32
|
|
32
33
|
# The list of all known plugins, according to
|
33
|
-
# the JSON hosted on github's cocoapods
|
34
|
+
# the JSON hosted on github's cocoapods-plugins
|
34
35
|
#
|
35
36
|
# @return [Array] all known plugins, as listed in the downloaded JSON
|
36
37
|
#
|
@@ -112,7 +113,7 @@ module Pod
|
|
112
113
|
def self.parse_json(json_str)
|
113
114
|
JSON.parse(json_str)
|
114
115
|
rescue JSON::ParserError => e
|
115
|
-
raise Informative, "Invalid plugins list from cocoapods
|
116
|
+
raise Informative, "Invalid plugins list from cocoapods-plugins: #{e}"
|
116
117
|
end
|
117
118
|
|
118
119
|
# Format the title line to print the plugin info with print_plugin
|
data/plugins.json
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
{
|
2
|
+
"plugins":[
|
3
|
+
{
|
4
|
+
"gem": "cocoapods-appledoc",
|
5
|
+
"name": "AppleDoc",
|
6
|
+
"author": "Kyle Fuller",
|
7
|
+
"social_media_url": "http://twitter.com/kylefuller",
|
8
|
+
"url": "https://github.com/CocoaPods/cocoapods-appledoc",
|
9
|
+
"description": "Generates docset and documentation for a pod."
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"gem": "cocoapods-deintegrate",
|
13
|
+
"name": "Deintegrate",
|
14
|
+
"author": "Kyle Fuller",
|
15
|
+
"social_media_url": "http://twitter.com/kylefuller",
|
16
|
+
"url": "https://github.com/kylef/cocoapods-deintegrate",
|
17
|
+
"description": "Deintegrates a project from CocoaPods."
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"gem":"cocoapods-dependencies",
|
21
|
+
"name":"Pod Dependencies",
|
22
|
+
"author":"Samuel E. Giddins",
|
23
|
+
"social_media_url":"http://twitter.com/segiddins",
|
24
|
+
"url":"https://github.com/segiddins/cocoapods-dependencies",
|
25
|
+
"description":"Shows a project's CocoaPod dependency graph."
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"gem":"cocoapods-browser",
|
29
|
+
"name":"Pod browser",
|
30
|
+
"author":"Toshihiro Morimoto",
|
31
|
+
"social_media_url":"http://twitter.com/dealforest",
|
32
|
+
"url":"https://github.com/dealforest/cocoapods-browser",
|
33
|
+
"description":"Open a pod's homepage in the browser."
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"gem":"cocoapods-check_latest",
|
37
|
+
"name":"Check Latest",
|
38
|
+
"author":"Yuji Nakayama",
|
39
|
+
"social_media_url":"http://twitter.com/nkym37",
|
40
|
+
"url":"https://github.com/yujinakayama/cocoapods-check_latest",
|
41
|
+
"description":"Checks if the latest version of a pod is up to date."
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"gem":"cocoapods-docs",
|
45
|
+
"name":"Pod docs",
|
46
|
+
"author":"CocoaPods Dev Team",
|
47
|
+
"social_media_url":"http://twitter.com/CocoaPods",
|
48
|
+
"url":"https://github.com/CocoaPods/cocoapods-docs",
|
49
|
+
"description":"Convenient access to the documentation of a Pod via cocoadocs.org."
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"gem":"cocoapods-docstats",
|
53
|
+
"name":"docstats",
|
54
|
+
"author":"Boris Bügling",
|
55
|
+
"social_media_url":"http://twitter.com/NeoNacho",
|
56
|
+
"url":"https://github.com/neonichu/cocoapods-docstats",
|
57
|
+
"description":"Showing documentation metrics of Pods."
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"gem":"cocoapods-open",
|
61
|
+
"name":"open",
|
62
|
+
"author":"Les Hill",
|
63
|
+
"social_media_url":"http://twitter.com/leshill",
|
64
|
+
"url":"https://github.com/leshill/open_pod_bay",
|
65
|
+
"description":"Open a pod’s workspace."
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"gem":"cocoapods-podfile_info",
|
69
|
+
"name":"Pod info",
|
70
|
+
"author":"CocoaPods Dev Team",
|
71
|
+
"social_media_url":"http://twitter.com/CocoaPods",
|
72
|
+
"url":"https://github.com/cocoapods/cocoapods-podfile_info",
|
73
|
+
"description":"Shows information on installed Pods."
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"gem":"cocoapods-repo-svn",
|
77
|
+
"name":"repo-svn",
|
78
|
+
"author":"Dusty Clarkda",
|
79
|
+
"social_media_url":"http://twitter.com/_clarkda",
|
80
|
+
"url":"https://github.com/clarkda/cocoapods-repo-svn",
|
81
|
+
"description":"Adds subversion support to manage spec-repositories."
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"gem":"cocoapods-repo-hg",
|
85
|
+
"name":"repo-hg",
|
86
|
+
"author":"Dusty Clarkda",
|
87
|
+
"social_media_url":"http://twitter.com/_clarkda",
|
88
|
+
"url":"https://github.com/clarkda/cocoapods-repo-hg",
|
89
|
+
"description":"Adds mercurial support to manage spec-repositories."
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"gem":"cocoapods-try",
|
93
|
+
"name":"Pod try",
|
94
|
+
"author":"CocoaPods Dev Team",
|
95
|
+
"social_media_url":"http://twitter.com/CocoaPods",
|
96
|
+
"url":"https://github.com/CocoaPods/cocoapods-try",
|
97
|
+
"description":"Quickly try the demo project of a Pod."
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"gem":"cocoapods-watch",
|
101
|
+
"name":"Pod watch",
|
102
|
+
"url":"https://github.com/supermarin/cocoapods-watch",
|
103
|
+
"description":"Watch for Podfile changes and run pod install."
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"gem":"cocoapods-roulette",
|
107
|
+
"name":"Pods Roulette",
|
108
|
+
"author":"Heiko Behrens, Marcel Jackwerth",
|
109
|
+
"url":"https://github.com/sirlantis/cocoapods-roulette",
|
110
|
+
"description":"Builds an empty project with three random pods."
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"gem":"cocoapods-sorted-search",
|
114
|
+
"name":"Sorted Search",
|
115
|
+
"author":"Denys Telezhkin",
|
116
|
+
"url":"https://github.com/DenHeadless/cocoapods-sorted-search",
|
117
|
+
"description":"Adds a sort subcommand for pod search to sort search results by amount of stars, forks, or github activity."
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"gem":"cocoapods-release",
|
121
|
+
"name":"Release",
|
122
|
+
"author":"Oliver Letterer",
|
123
|
+
"social_media_url":"https://twitter.com/oletterer",
|
124
|
+
"url":"https://github.com/Sparrow-Labs/cocoapods-release",
|
125
|
+
"description":"Tags and releases pods for you."
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"gem":"cocoapods-clean",
|
129
|
+
"name":"cocoapods clean",
|
130
|
+
"author":"Luca Querella",
|
131
|
+
"url":"https://github.com/BendingSpoons/cocoapods-clean",
|
132
|
+
"description":"Remove Podfile.lock, Pods/ and *.xcworkspace."
|
133
|
+
}
|
134
|
+
]
|
135
|
+
}
|
@@ -16,7 +16,7 @@ module Pod
|
|
16
16
|
|
17
17
|
it 'handles empty/bad JSON' do
|
18
18
|
stub_plugins_json_request 'This is not JSON'
|
19
|
-
expected_error = /Invalid plugins list from cocoapods
|
19
|
+
expected_error = /Invalid plugins list from cocoapods-plugins/
|
20
20
|
should.raise(Pod::Informative) do
|
21
21
|
Command::PluginsHelper.download_json
|
22
22
|
end.message.should.match(expected_error)
|
@@ -24,7 +24,7 @@ module Pod
|
|
24
24
|
|
25
25
|
it 'notifies the user if the download fails' do
|
26
26
|
stub_plugins_json_request '', [404, 'Not Found']
|
27
|
-
expected_error = /Could not download plugins list from cocoapods
|
27
|
+
expected_error = /Could not download plugins list from cocoapods-plugins/
|
28
28
|
should.raise(Pod::Informative) do
|
29
29
|
Command::PluginsHelper.download_json
|
30
30
|
end.message.should.match(expected_error)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Grandinetti
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nap
|
@@ -57,7 +57,7 @@ description: |2
|
|
57
57
|
This CocoaPods plugin shows information about all available CocoaPods plugins
|
58
58
|
(yes, this is very meta!).
|
59
59
|
This CP plugin adds the "pod plugins" command to CocoaPods so that you can list
|
60
|
-
all plugins (registered in the reference JSON hosted at CocoaPods/cocoapods
|
60
|
+
all plugins (registered in the reference JSON hosted at CocoaPods/cocoapods-plugins)
|
61
61
|
email:
|
62
62
|
executables: []
|
63
63
|
extensions: []
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- lib/pod/command/plugins/list.rb
|
84
84
|
- lib/pod/command/plugins/search.rb
|
85
85
|
- lib/pod/command/plugins_helper.rb
|
86
|
+
- plugins.json
|
86
87
|
- spec/command/gem_helper_spec.rb
|
87
88
|
- spec/command/gem_index_cache_spec.rb
|
88
89
|
- spec/command/plugins/create_spec.rb
|