cocoapods-plugins 0.3.2 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 210daaf0bc2a15a3a65a504f87e20771ded9669e
4
- data.tar.gz: 8a36efba072829b1620949084a830ecd2ba19075
3
+ metadata.gz: 14678243474a173cc4c9714549f27d03e104a38f
4
+ data.tar.gz: e5b77591185cfdd7816e7d2ada26c4853eab0b22
5
5
  SHA512:
6
- metadata.gz: 1c4cc3faa04af0aa8220bec157115a2cdd345bc011f1dfe347689f75ddf5315dafcf75f702faf510880a0f6aabca03cd74ef8c667194633bc15504cdbb8878df
7
- data.tar.gz: ada5e0748163fed9bedb1659d373177bc54881a694e50dce4dc724576308c9d4cb32189179a4aabdf781d5a7f8f46d4b7b28a3394e7ba57759d0af1a0ae8e830
6
+ metadata.gz: a6aae3e33f18279b9a3185582774f00786f58fb1897867d0163b697f2cfd25f020854ba3ad6a1d190b210ad1547c527cda05c0d5f49155b5bdcbca9b1337d595
7
+ data.tar.gz: deba725d9f094770bc90b6bbdfefedc0231cd736257e3e71ce903745a3da5ca23edaee4f0e6234359380985825fe470e0541f367b1cfa6b45150d05ee0ecbe44
@@ -42,6 +42,9 @@ Encoding:
42
42
  TrailingComma:
43
43
  EnforcedStyleForMultiline: comma
44
44
 
45
+ Style/MultilineOperationIndentation:
46
+ EnforcedStyle: indented
47
+
45
48
  # Clashes with CLAide Command#validate!
46
49
  GuardClause:
47
50
  Enabled: false
@@ -50,6 +53,25 @@ GuardClause:
50
53
  Next:
51
54
  Enabled: false
52
55
 
56
+ # Arbitrary max lengths for classes simply do not work and enabling this will
57
+ # lead to a never ending stream of annoyance and changes.
58
+ Metrics/ClassLength:
59
+ Enabled: false
60
+
61
+ # No enforced convention here.
62
+ Metrics/BlockNesting:
63
+ Enabled: false
64
+
65
+ # It will be obvious which code is complex, Rubocop should only lint simple
66
+ # rules for us.
67
+ Metrics/AbcSize:
68
+ Enabled: false
69
+
70
+ # It will be obvious which code is complex, Rubocop should only lint simple
71
+ # rules for us.
72
+ Metrics/CyclomaticComplexity:
73
+ Enabled: false
74
+
53
75
  #- CocoaPods support for Ruby 1.8.7 ------------------------------------------#
54
76
 
55
77
  HashSyntax:
@@ -1,9 +1,14 @@
1
1
  # Cocoapods::Plugins Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ * Added the `pod plugins publish` subcommand.
6
+ [Olivier Halligon](https://github.com/AliSoftware)
7
+
3
8
  ## 0.3.2
4
9
 
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)
10
+ * Switch to using cocoapods-plugins JSON file instead of from Cocoapods.org's repo.
11
+ [542919](https://github.com/CocoaPods/cocoapods-plugins/commit/542919902e611c33bb0e02848037474529ddd0f9)
7
12
  [Florian Hanke](https://github.com/floere)
8
13
 
9
14
 
data/Gemfile CHANGED
@@ -13,8 +13,6 @@ group :development do
13
13
  gem 'vcr'
14
14
  gem 'webmock'
15
15
 
16
- if RUBY_VERSION >= '1.9.3'
17
- gem 'codeclimate-test-reporter', :require => nil
18
- gem 'rubocop'
19
- end
16
+ gem 'codeclimate-test-reporter', :require => nil
17
+ gem 'rubocop'
20
18
  end
@@ -1,65 +1,65 @@
1
1
  GIT
2
2
  remote: https://github.com/CocoaPods/CLAide.git
3
- revision: ce2a7890dbfcaecd38347195d5c753cdb893e636
3
+ revision: 9e8b9072fd66f69b91999cd3838a4bbba043a7e5
4
4
  branch: master
5
5
  specs:
6
- claide (0.7.0)
6
+ claide (0.8.0)
7
7
 
8
8
  GIT
9
9
  remote: https://github.com/CocoaPods/CocoaPods.git
10
- revision: a71dcc4f6a1b30043db66134fa31cda56561e2f6
10
+ revision: e64a60a621920aca53f57b70dfc0c4f6f2638a6f
11
11
  branch: master
12
12
  specs:
13
- cocoapods (0.33.1)
14
- activesupport (>= 3.2.15, < 4)
15
- claide (~> 0.7.0)
16
- cocoapods-core (= 0.33.1)
17
- cocoapods-downloader (~> 0.6.1)
18
- cocoapods-plugins (~> 0.3.0)
19
- cocoapods-trunk (~> 0.1.4)
20
- cocoapods-try (~> 0.3.0)
13
+ cocoapods (0.35.0)
14
+ activesupport (>= 3.2.15)
15
+ claide (~> 0.8.0)
16
+ cocoapods-core (= 0.35.0)
17
+ cocoapods-downloader (~> 0.8.0)
18
+ cocoapods-plugins (~> 0.4.0)
19
+ cocoapods-trunk (~> 0.5.0)
20
+ cocoapods-try (~> 0.4.3)
21
21
  colored (~> 1.2)
22
22
  escape (~> 0.0.4)
23
- json_pure (~> 1.8)
23
+ molinillo (~> 0.2.0)
24
24
  nap (~> 0.8)
25
25
  open4 (~> 1.3)
26
- xcodeproj (~> 0.18.0)
26
+ xcodeproj (~> 0.21.0)
27
27
 
28
28
  GIT
29
29
  remote: https://github.com/CocoaPods/Core.git
30
- revision: 34e217967230dc9d1905e1a731458fc2f3f7c950
30
+ revision: 7d2b3c0cba15d4c62639c5b390df306a30cc1d40
31
31
  branch: master
32
32
  specs:
33
- cocoapods-core (0.33.1)
33
+ cocoapods-core (0.35.0)
34
34
  activesupport (>= 3.2.15)
35
35
  fuzzy_match (~> 2.0.4)
36
- json_pure (~> 1.8)
37
36
  nap (~> 0.8.0)
38
37
 
39
38
  PATH
40
39
  remote: .
41
40
  specs:
42
- cocoapods-plugins (0.3.1)
41
+ cocoapods-plugins (0.4.0)
43
42
  nap
44
43
 
45
44
  GEM
46
45
  remote: https://rubygems.org/
47
46
  specs:
48
- CFPropertyList (2.2.8)
49
- activesupport (3.2.19)
50
- i18n (~> 0.6, >= 0.6.4)
51
- multi_json (~> 1.0)
47
+ activesupport (4.2.0)
48
+ i18n (~> 0.7)
49
+ json (~> 1.7, >= 1.7.7)
50
+ minitest (~> 5.1)
51
+ thread_safe (~> 0.3, >= 0.3.4)
52
+ tzinfo (~> 1.1)
52
53
  addressable (2.3.6)
53
54
  ast (2.0.0)
54
55
  astrolabe (1.3.0)
55
56
  parser (>= 2.2.0.pre.3, < 3.0)
56
57
  bacon (1.2.0)
57
- cocoapods-downloader (0.6.1)
58
- cocoapods-trunk (0.1.4)
59
- json_pure (~> 1.8)
58
+ cocoapods-downloader (0.8.0)
59
+ cocoapods-trunk (0.5.0)
60
60
  nap (>= 0.8)
61
- netrc
62
- cocoapods-try (0.3.0)
61
+ netrc (= 0.7.8)
62
+ cocoapods-try (0.4.3)
63
63
  codeclimate-test-reporter (0.4.0)
64
64
  simplecov (>= 0.7.1, < 1.0.0)
65
65
  colored (1.2)
@@ -68,18 +68,20 @@ GEM
68
68
  docile (1.1.5)
69
69
  escape (0.0.4)
70
70
  fuzzy_match (2.0.4)
71
- i18n (0.6.11)
72
- json_pure (1.8.1)
71
+ i18n (0.7.0)
72
+ json (1.8.1)
73
73
  metaclass (0.0.4)
74
+ minitest (5.5.0)
74
75
  mocha (1.1.0)
75
76
  metaclass (~> 0.0.1)
76
77
  mocha-on-bacon (0.2.2)
77
78
  mocha (>= 0.13.0)
79
+ molinillo (0.2.0)
78
80
  multi_json (1.10.1)
79
81
  nap (0.8.0)
80
- netrc (0.7.7)
82
+ netrc (0.7.8)
81
83
  open4 (1.3.4)
82
- parser (2.2.0.pre.4)
84
+ parser (2.2.0.pre.7)
83
85
  ast (>= 1.1, < 3.0)
84
86
  slop (~> 3.4, >= 3.4.5)
85
87
  powerpack (0.0.9)
@@ -87,13 +89,13 @@ GEM
87
89
  bacon (~> 1.2)
88
90
  rainbow (2.0.0)
89
91
  rake (10.3.2)
90
- rubocop (0.26.0)
92
+ rubocop (0.27.1)
91
93
  astrolabe (~> 1.3)
92
- parser (>= 2.2.0.pre.4, < 3.0)
94
+ parser (>= 2.2.0.pre.7, < 3.0)
93
95
  powerpack (~> 0.0.6)
94
96
  rainbow (>= 1.99.1, < 3.0)
95
97
  ruby-progressbar (~> 1.4)
96
- ruby-progressbar (1.5.1)
98
+ ruby-progressbar (1.7.0)
97
99
  safe_yaml (1.0.3)
98
100
  simplecov (0.9.0)
99
101
  docile (~> 1.1.0)
@@ -101,13 +103,15 @@ GEM
101
103
  simplecov-html (~> 0.8.0)
102
104
  simplecov-html (0.8.0)
103
105
  slop (3.6.0)
106
+ thread_safe (0.3.4)
107
+ tzinfo (1.2.2)
108
+ thread_safe (~> 0.1)
104
109
  vcr (2.9.3)
105
110
  webmock (1.18.0)
106
111
  addressable (>= 2.3.6)
107
112
  crack (>= 0.3.2)
108
- xcodeproj (0.18.0)
109
- CFPropertyList (~> 2.2)
110
- activesupport (~> 3.0)
113
+ xcodeproj (0.21.0)
114
+ activesupport (>= 3)
111
115
  colored (~> 1.2)
112
116
 
113
117
  PLATFORMS
data/Rakefile CHANGED
@@ -40,14 +40,10 @@ begin
40
40
 
41
41
  desc 'Checks code style'
42
42
  task :rubocop do
43
- if RUBY_VERSION >= '1.9.3'
44
- require 'rubocop'
45
- cli = RuboCop::CLI.new
46
- result = cli.run(FileList['{spec,lib}/**/*.rb'])
47
- abort('RuboCop failed!') unless result == 0
48
- else
49
- puts '[!] Ruby > 1.9 is required to run style checks'
50
- end
43
+ require 'rubocop'
44
+ cli = RuboCop::CLI.new
45
+ result = cli.run(FileList['{spec,lib}/**/*.rb'])
46
+ abort('RuboCop failed!') unless result == 0
51
47
  end
52
48
 
53
49
  rescue LoadError
@@ -26,4 +26,6 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency 'bundler', '~> 1.3'
28
28
  spec.add_development_dependency 'rake'
29
+
30
+ spec.required_ruby_version = '>= 2.0.0'
29
31
  end
@@ -2,5 +2,5 @@
2
2
  # The namespace of the Cocoapods plugins plugin.
3
3
  #
4
4
  module CocoapodsPlugins
5
- VERSION = '0.3.2'
5
+ VERSION = '0.4.0'
6
6
  end
@@ -56,7 +56,7 @@ module Pod
56
56
 
57
57
  unless errors.empty?
58
58
  UI.puts 'Error downloading Rubygem specification index: ' +
59
- errors.first.error.to_s
59
+ errors.first.error.to_s
60
60
  return []
61
61
  end
62
62
 
@@ -11,6 +11,7 @@ module Pod
11
11
  require 'pod/command/plugins/list'
12
12
  require 'pod/command/plugins/search'
13
13
  require 'pod/command/plugins/create'
14
+ require 'pod/command/plugins/publish'
14
15
 
15
16
  self.abstract_command = true
16
17
  self.default_subcommand = 'list'
@@ -27,7 +27,7 @@ module Pod
27
27
 
28
28
  def initialize(argv)
29
29
  @name = argv.shift_argument
30
- unless @name.nil? || @name.empty? || @name.index(NAME_PREFIX) == 0
30
+ unless @name.nil? || @name.empty? || @name.start_with?(NAME_PREFIX)
31
31
  @name = NAME_PREFIX + @name.dup
32
32
  end
33
33
  @template_url = argv.shift_argument
@@ -0,0 +1,76 @@
1
+ require 'json'
2
+ require 'CGI'
3
+
4
+ module Pod
5
+ class Command
6
+ class Plugins
7
+ # The publish subcommand. Used to request to add a plugin
8
+ # to the official list of plugins
9
+ #
10
+ class Publish < Plugins
11
+ self.summary = 'Request to add the plugin to the official plugins list'
12
+ self.description = <<-DESC
13
+ This command is only useful for developers of CocoaPods plugins.
14
+
15
+ It opens a new GitHub issue to request adding the plugin
16
+ currently being developped to the list of official plugins.
17
+
18
+ The current directory is expected to have one (and only one)
19
+ `.gemspec` file describing the CocoaPods plugin gem.
20
+ DESC
21
+
22
+ def initialize(argv)
23
+ @gemspec_files = Dir.glob('*.gemspec')
24
+ super
25
+ end
26
+
27
+ def validate!
28
+ super
29
+ if @gemspec_files.count > 1
30
+ help! 'There is more than one gemspec in the current directory'
31
+ elsif @gemspec_files.empty?
32
+ help! 'No `.gemspec` file found in the current directory.'
33
+ end
34
+ end
35
+
36
+ def run
37
+ gemspec = Gem::Specification.load(@gemspec_files.first)
38
+ unless gemspec.name.start_with?('cocoapods-')
39
+ UI.notice 'Your gem name should start with `cocoapods-` to be ' \
40
+ 'loaded as a plugin by CocoaPods'
41
+ end
42
+
43
+ json = json_from_gemspec(gemspec)
44
+
45
+ title = "[plugins.json] Add #{gemspec.name}"
46
+ body = 'Please add the following entry to the `plugins.json` file:' \
47
+ "\n\n```\n#{json}\n```"
48
+ open_new_issue_url(title, body)
49
+ end
50
+
51
+ private
52
+
53
+ def json_from_gemspec(gemspec)
54
+ JSON.pretty_generate(
55
+ :gem => gemspec.name,
56
+ :name => pretty_name_from_gemname(gemspec.name),
57
+ :author => gemspec.authors.join(', '),
58
+ :url => gemspec.homepage,
59
+ :description => gemspec.summary || gemspec.description,
60
+ )
61
+ end
62
+
63
+ def pretty_name_from_gemname(gemname)
64
+ gemname.split('-').map(&:capitalize).join(' ').
65
+ gsub(/cocoapods/i, 'CocoaPods')
66
+ end
67
+
68
+ def open_new_issue_url(title, body)
69
+ url = 'https://github.com/CocoaPods/cocoapods-plugins/issues/new?' \
70
+ "title=#{CGI.escape(title)}&body=#{CGI.escape(body)}"
71
+ `open "#{url}"`
72
+ end
73
+ end
74
+ end
75
+ end
76
+ end
@@ -20,7 +20,6 @@ module Pod
20
20
  #
21
21
  def self.download_json
22
22
  UI.puts 'Downloading Plugins list...'
23
- puts PLUGINS_RAW_URL
24
23
  response = REST.get(PLUGINS_RAW_URL)
25
24
  if response.ok?
26
25
  parse_json(response.body)
@@ -130,6 +130,20 @@
130
130
  "author":"Luca Querella",
131
131
  "url":"https://github.com/BendingSpoons/cocoapods-clean",
132
132
  "description":"Remove Podfile.lock, Pods/ and *.xcworkspace."
133
+ },
134
+ {
135
+ "gem":"cocoapods-keys",
136
+ "name":"CocoaPods Keys",
137
+ "author":"Orta Therox, Samuel E. Giddins",
138
+ "url":"https://github.com/orta/cocoapods-keys",
139
+ "description":"Store sensitive data in your Mac's keychain, that will be installed into your app's source code via the Pods library."
140
+ },
141
+ {
142
+ "gem":"cocoapods-packager",
143
+ "name":"CocoaPods Packager",
144
+ "author":"Kyle Fuller, Boris Bügling",
145
+ "url":"https://github.com/CocoaPods/cocoapods-packager",
146
+ "description":"Generate a framework or static library from a podspec."
133
147
  }
134
148
  ]
135
149
  }
@@ -0,0 +1,133 @@
1
+ require File.expand_path('../../../spec_helper', __FILE__)
2
+
3
+ # The CocoaPods namespace
4
+ #
5
+ module Pod
6
+ describe Command::Plugins::Publish do
7
+ extend SpecHelper::PluginsPublishCommand
8
+
9
+ before do
10
+ UI.output = ''
11
+ end
12
+
13
+ it 'registers itself' do
14
+ Command.parse(%w(plugins publish)).
15
+ should.be.instance_of Command::Plugins::Publish
16
+ end
17
+
18
+ #--- Utils
19
+
20
+ def create_temp_dir(*gemspecs)
21
+ Dir.mktmpdir do |tmpdir|
22
+ Dir.chdir(tmpdir) do
23
+ gemspecs.each do |filename|
24
+ File.write(filename, File.read(fixture(filename)))
25
+ end
26
+ yield if block_given?
27
+ end
28
+ end
29
+ end
30
+
31
+ #--- Validation
32
+
33
+ it 'validate if there is only one gemfile' do
34
+ create_temp_dir('cocoapods-foo1.gemspec') do
35
+ should.not.raise(CLAide::Help) do
36
+ publish_command.validate!
37
+ end
38
+ end
39
+ end
40
+
41
+ it 'raise if there is no gemfile' do
42
+ create_temp_dir do
43
+ should.raise(CLAide::Help) do
44
+ publish_command.validate!
45
+ end.message.should.include('No `.gemspec` file found')
46
+ end
47
+ end
48
+
49
+ it 'raise if there is more than one gemfile' do
50
+ create_temp_dir('cocoapods-foo1.gemspec', 'cocoapods-foo2.gemspec') do
51
+ should.raise(CLAide::Help) do
52
+ publish_command.validate!
53
+ end.message.should.include('There is more than one gemspec')
54
+ end
55
+ end
56
+
57
+ #--- Proper Generation
58
+
59
+ it 'should notice when the gem name is not prefixed' do
60
+ create_temp_dir('unprefixed.gemspec') do
61
+ publish_command.tap { |t| t.stubs(:open_new_issue_url) }.run
62
+ UI.output.should.include('Your gem name should start with ' \
63
+ + '`cocoapods-` to be loaded as a plugin by CocoaPods')
64
+ end
65
+ end
66
+
67
+ it 'should not notice when the gem name is prefixed' do
68
+ create_temp_dir('cocoapods-foo1.gemspec') do
69
+ publish_command.tap { |t| t.stubs(:open_new_issue_url) }.run
70
+ UI.output.should.not.include('Your gem name should start with ' \
71
+ + '`cocoapods-` to be loaded as a plugin by CocoaPods')
72
+ end
73
+ end
74
+
75
+ it 'should have the plugin name in the issue title' do
76
+ create_temp_dir('cocoapods-foo1.gemspec') do
77
+ command = publish_command
78
+ command.expects(:open_new_issue_url).
79
+ with('[plugins.json] Add cocoapods-foo1', anything)
80
+ command.run
81
+ end
82
+ end
83
+
84
+ it 'should compute a nice plugin name' do
85
+ publish_command.instance_eval do
86
+ pretty_name_from_gemname('cocoapods-foo1')
87
+ end.should.equal('CocoaPods Foo1')
88
+ end
89
+
90
+ it 'should have the plugin json entry in the issue body' do
91
+ create_temp_dir('cocoapods-foo1.gemspec') do
92
+ command = publish_command
93
+ json = <<-JSON.chomp
94
+ Please add the following entry to the `plugins.json` file:
95
+
96
+ ```
97
+ {
98
+ "gem": "cocoapods-foo1",
99
+ "name": "CocoaPods Foo1",
100
+ "author": "Author 1",
101
+ "url": "https://github.com/proper-man/cocoapods-foo1",
102
+ "description": "Gem Summary 1"
103
+ }
104
+ ```
105
+ JSON
106
+ command.expects(:open_new_issue_url).with(anything, json)
107
+ command.run
108
+ end
109
+ end
110
+
111
+ it 'should concatenate authors if more than one' do
112
+ create_temp_dir('cocoapods-foo2.gemspec') do
113
+ command = publish_command
114
+ json = <<-JSON.chomp
115
+ Please add the following entry to the `plugins.json` file:
116
+
117
+ ```
118
+ {
119
+ "gem": "cocoapods-foo2",
120
+ "name": "CocoaPods Foo2",
121
+ "author": "Author 1, Author 2",
122
+ "url": "https://github.com/proper-man/cocoapods-foo2",
123
+ "description": "Gem Description 2"
124
+ }
125
+ ```
126
+ JSON
127
+ command.expects(:open_new_issue_url).with(anything, json)
128
+ command.run
129
+ end
130
+ end
131
+
132
+ end
133
+ end
@@ -0,0 +1,10 @@
1
+ # coding: utf-8
2
+ Gem::Specification.new do |spec|
3
+ spec.name = 'cocoapods-foo1'
4
+ spec.version = '2.0.1'
5
+ spec.authors = ['Author 1']
6
+ spec.summary = 'Gem Summary 1'
7
+ spec.description = 'Gem Description 1'
8
+ spec.homepage = 'https://github.com/proper-man/cocoapods-foo1'
9
+ spec.license = 'MIT'
10
+ end
@@ -0,0 +1,9 @@
1
+ # coding: utf-8
2
+ Gem::Specification.new do |spec|
3
+ spec.name = 'cocoapods-foo2'
4
+ spec.version = '2.0.2'
5
+ spec.authors = ['Author 1', 'Author 2']
6
+ spec.description = 'Gem Description 2'
7
+ spec.homepage = 'https://github.com/proper-man/cocoapods-foo2'
8
+ spec.license = 'MIT'
9
+ end
@@ -0,0 +1,10 @@
1
+ # coding: utf-8
2
+ Gem::Specification.new do |spec|
3
+ spec.name = 'unprefixed-plugin'
4
+ spec.version = '1.2.3'
5
+ spec.authors = ['Author 1', 'Author 2']
6
+ spec.summary = 'Gem Summary'
7
+ spec.description = 'Gem Description'
8
+ spec.homepage = 'https://github.com/messy-man/unprefixed-plugins'
9
+ spec.license = 'MIT'
10
+ end
@@ -1,13 +1,11 @@
1
1
  # Set up coverage analysis
2
2
  #-----------------------------------------------------------------------------#
3
3
 
4
- if RUBY_VERSION >= '1.9.3'
5
- require 'codeclimate-test-reporter'
6
- CodeClimate::TestReporter.configure do |config|
7
- config.logger.level = Logger::WARN
8
- end
9
- CodeClimate::TestReporter.start
4
+ require 'codeclimate-test-reporter'
5
+ CodeClimate::TestReporter.configure do |config|
6
+ config.logger.level = Logger::WARN
10
7
  end
8
+ CodeClimate::TestReporter.start
11
9
 
12
10
  # Set up
13
11
  #-----------------------------------------------------------------------------#
@@ -115,4 +113,10 @@ module SpecHelper
115
113
  Pod::Command::Plugins::Search.new CLAide::ARGV.new(args)
116
114
  end
117
115
  end
116
+
117
+ module PluginsPublishCommand
118
+ def publish_command
119
+ Pod::Command::Plugins::Publish.new CLAide::ARGV.new []
120
+ end
121
+ end
118
122
  end
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.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Grandinetti
@@ -9,48 +9,48 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-02 00:00:00.000000000 Z
12
+ date: 2014-12-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nap
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.3'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.3'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  description: |2
@@ -63,10 +63,10 @@ executables: []
63
63
  extensions: []
64
64
  extra_rdoc_files: []
65
65
  files:
66
- - ".gitignore"
67
- - ".rubocop.yml"
68
- - ".rubocop_cocoapods.yml"
69
- - ".travis.yml"
66
+ - .gitignore
67
+ - .rubocop.yml
68
+ - .rubocop_cocoapods.yml
69
+ - .travis.yml
70
70
  - CHANGELOG.md
71
71
  - Gemfile
72
72
  - Gemfile.lock
@@ -81,6 +81,7 @@ files:
81
81
  - lib/pod/command/plugins.rb
82
82
  - lib/pod/command/plugins/create.rb
83
83
  - lib/pod/command/plugins/list.rb
84
+ - lib/pod/command/plugins/publish.rb
84
85
  - lib/pod/command/plugins/search.rb
85
86
  - lib/pod/command/plugins_helper.rb
86
87
  - plugins.json
@@ -88,10 +89,14 @@ files:
88
89
  - spec/command/gem_index_cache_spec.rb
89
90
  - spec/command/plugins/create_spec.rb
90
91
  - spec/command/plugins/list_spec.rb
92
+ - spec/command/plugins/publish_spec.rb
91
93
  - spec/command/plugins/search_spec.rb
92
94
  - spec/command/plugins_helper_spec.rb
93
95
  - spec/command/plugins_spec.rb
96
+ - spec/fixtures/cocoapods-foo1.gemspec
97
+ - spec/fixtures/cocoapods-foo2.gemspec
94
98
  - spec/fixtures/plugins.json
99
+ - spec/fixtures/unprefixed.gemspec
95
100
  - spec/spec_helper.rb
96
101
  homepage: https://github.com/cocoapods/cocoapods-plugins
97
102
  licenses:
@@ -103,17 +108,17 @@ require_paths:
103
108
  - lib
104
109
  required_ruby_version: !ruby/object:Gem::Requirement
105
110
  requirements:
106
- - - ">="
111
+ - - '>='
107
112
  - !ruby/object:Gem::Version
108
- version: '0'
113
+ version: 2.0.0
109
114
  required_rubygems_version: !ruby/object:Gem::Requirement
110
115
  requirements:
111
- - - ">="
116
+ - - '>='
112
117
  - !ruby/object:Gem::Version
113
118
  version: '0'
114
119
  requirements: []
115
120
  rubyforge_project:
116
- rubygems_version: 2.2.2
121
+ rubygems_version: 2.0.14
117
122
  signing_key:
118
123
  specification_version: 4
119
124
  summary: CocoaPods plugin which shows info about available CocoaPods plugins.
@@ -122,9 +127,12 @@ test_files:
122
127
  - spec/command/gem_index_cache_spec.rb
123
128
  - spec/command/plugins/create_spec.rb
124
129
  - spec/command/plugins/list_spec.rb
130
+ - spec/command/plugins/publish_spec.rb
125
131
  - spec/command/plugins/search_spec.rb
126
132
  - spec/command/plugins_helper_spec.rb
127
133
  - spec/command/plugins_spec.rb
134
+ - spec/fixtures/cocoapods-foo1.gemspec
135
+ - spec/fixtures/cocoapods-foo2.gemspec
128
136
  - spec/fixtures/plugins.json
137
+ - spec/fixtures/unprefixed.gemspec
129
138
  - spec/spec_helper.rb
130
- has_rdoc: