claide-plugins 0.9.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5ad1f52c0be19c6682f2f3d80e72bb1c5f2f47a0
4
+ data.tar.gz: 10b9e27ab9a8518cdfbeda69d88347adaec6fa24
5
+ SHA512:
6
+ metadata.gz: 4474443f0b957e4b3c5a1f9c60f6066419893cd19559e800600fc8986208dc021634e1e284c9ab4ce407ab88f9a6160b232168b0fb9a10dbb0ab7a6ff4e6179d
7
+ data.tar.gz: 8d3f047420b850b0b67c888235cace7e16ed032eb58299b703bc9fff992acdb00585b2ebb6ce619d3f4723deef2a98230766695533373f1f36522220c7944e8d
@@ -0,0 +1,41 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /lib/bundler/man/
26
+ /vendor/
27
+
28
+ # for a library or gem, you might want to ignore these files since the code is
29
+ # intended to run in multiple environments; otherwise, check them in:
30
+ # Gemfile.lock
31
+ # .ruby-version
32
+ # .ruby-gemset
33
+
34
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
35
+ .rvmrc
36
+
37
+ /coverage/
38
+
39
+ # RubyMine Editor
40
+ .idea
41
+
@@ -0,0 +1,4 @@
1
+ inherit_from:
2
+ - .rubocop_cocoapods.yml
3
+
4
+
@@ -0,0 +1,116 @@
1
+ AllCops:
2
+ Include:
3
+ - ./Rakefile
4
+ - ./Gemfile
5
+ - ./*.gemspec
6
+ Exclude:
7
+ - ./spec/fixtures/**/*
8
+
9
+ # At the moment not ready to be used
10
+ # https://github.com/bbatsov/rubocop/issues/947
11
+ Documentation:
12
+ Enabled: false
13
+
14
+ #- CocoaPods -----------------------------------------------------------------#
15
+
16
+ # We adopted raise instead of fail.
17
+ SignalException:
18
+ EnforcedStyle: only_raise
19
+
20
+ # They are idiomatic
21
+ AssignmentInCondition:
22
+ Enabled: false
23
+
24
+ # Allow backticks
25
+ AsciiComments:
26
+ Enabled: false
27
+
28
+ # Indentation clarifies logic branches in implementations
29
+ IfUnlessModifier:
30
+ Enabled: false
31
+
32
+ # No enforced convention here.
33
+ SingleLineBlockParams:
34
+ Enabled: false
35
+
36
+ # We only add the comment when needed.
37
+ Encoding:
38
+ Enabled: false
39
+
40
+ # Having these make it easier to *not* forget to add one when adding a new
41
+ # value and you can simply copy the previous line.
42
+ TrailingComma:
43
+ EnforcedStyleForMultiline: comma
44
+
45
+ Style/MultilineOperationIndentation:
46
+ EnforcedStyle: indented
47
+
48
+ # Clashes with CLAide Command#validate!
49
+ GuardClause:
50
+ Enabled: false
51
+
52
+ # Not always desirable: lib/claide/command/plugins_helper.rb:12:15
53
+ Next:
54
+ Enabled: false
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
+ # Arbitrary max lengths for methods simply do not work and enabling this will
62
+ # lead to a never ending stream of annoyance and changes.
63
+ Metrics/MethodLength:
64
+ Enabled: false
65
+
66
+ # No enforced convention here.
67
+ Metrics/BlockNesting:
68
+ Enabled: false
69
+
70
+ # It will be obvious which code is complex, Rubocop should only lint simple
71
+ # rules for us.
72
+ Metrics/AbcSize:
73
+ Enabled: false
74
+
75
+ # It will be obvious which code is complex, Rubocop should only lint simple
76
+ # rules for us.
77
+ Metrics/CyclomaticComplexity:
78
+ Enabled: false
79
+
80
+ #- CocoaPods support for Ruby 1.8.7 ------------------------------------------#
81
+
82
+ HashSyntax:
83
+ EnforcedStyle: hash_rockets
84
+
85
+ Lambda:
86
+ Enabled: false
87
+
88
+ DotPosition:
89
+ EnforcedStyle: trailing
90
+
91
+ EachWithObject:
92
+ Enabled: false
93
+
94
+ Style/SpecialGlobalVars:
95
+ Enabled: false
96
+
97
+ #- CocoaPods specs -----------------------------------------------------------#
98
+
99
+ # Allow for `should.match /regexp/`.
100
+ AmbiguousRegexpLiteral:
101
+ Exclude:
102
+ - spec/**/*
103
+
104
+ # Allow `object.should == object` syntax.
105
+ Void:
106
+ Exclude:
107
+ - spec/**/*
108
+
109
+ ClassAndModuleChildren:
110
+ Exclude:
111
+ - spec/**/*
112
+
113
+ UselessComparison:
114
+ Exclude:
115
+ - spec/**/*
116
+
@@ -0,0 +1,2 @@
1
+ scmStatus = false
2
+
@@ -0,0 +1,24 @@
1
+ # Sets Travis to run the Ruby specs on OS X machines to be as close as possible
2
+ # to the user environment.
3
+ #
4
+ language: objective-c
5
+ addons:
6
+ code_climate:
7
+ repo_token: 2926ae7ea0b2a6ced8b0d67efa235769ab85de1d9c9f6702f40d80bacec3c9c4
8
+
9
+ env:
10
+ - RVM_RUBY_VERSION=system
11
+ # - RVM_RUBY_VERSION=1.8.7-p358
12
+
13
+ before_install:
14
+ - export LANG=en_US.UTF-8
15
+ - curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem
16
+ - source ~/.rvm/scripts/rvm
17
+ - if [[ $RVM_RUBY_VERSION != 'system' ]]; then rvm install $RVM_RUBY_VERSION; fi
18
+ - rvm use $RVM_RUBY_VERSION
19
+ - if [[ $RVM_RUBY_VERSION == 'system' ]]; then sudo gem install bundler --no-ri --no-rdoc; else gem install bundler --no-ri --no-rdoc; fi
20
+
21
+ install:
22
+ - sudo bundle install --without=documentation
23
+
24
+ script: bundle exec rake spec
@@ -0,0 +1,113 @@
1
+ # Cocoapods::Plugins Changelog
2
+
3
+ ## Master
4
+
5
+ ##### Enhancements
6
+
7
+ * None.
8
+
9
+ ##### Bug Fixes
10
+
11
+ * None.
12
+
13
+
14
+ ## 1.0.0 (2016-05-10)
15
+
16
+ ##### Enhancements
17
+
18
+ * None.
19
+
20
+ ##### Bug Fixes
21
+
22
+ * None.
23
+
24
+
25
+ ## 1.0.0.rc.1 (2016-04-30)
26
+
27
+ This version contains no changes.
28
+
29
+
30
+ ## 1.0.0.beta.1 (2015-12-30)
31
+
32
+ This version contains no changes.
33
+
34
+
35
+ ## 0.4.2 (2015-04-03)
36
+
37
+
38
+ ## 0.4.1 (2015-02-25)
39
+
40
+ * Added the `pod plugins installed` subcommand.
41
+ [Olivier Halligon](https://github.com/AliSoftware)
42
+
43
+ ## 0.4.0 (2014-12-25)
44
+
45
+ * Added the `pod plugins publish` subcommand.
46
+ [Olivier Halligon](https://github.com/AliSoftware)
47
+
48
+ ## 0.3.2 (2014-11-02)
49
+
50
+ * Switch to using cocoapods-plugins JSON file instead of from Cocoapods.org's repo.
51
+ [542919](https://github.com/CocoaPods/cocoapods-plugins/commit/542919902e611c33bb0e02848037474529ddd0f9)
52
+ [Florian Hanke](https://github.com/floere)
53
+
54
+
55
+ ## 0.3.1 (2014-09-12)
56
+
57
+ * Restore compatibility with Ruby 1.8.7.
58
+ [#30](https://github.com/CocoaPods/cocoapods-plugins/issues/30)
59
+ [Fabio Pelosin](https://github.com/fabiopelosin)
60
+
61
+ ## 0.3.0 (2014-09-11)
62
+
63
+ * Added a reminder to add plugin to `plugins.json` once released.
64
+ [#27](https://github.com/CocoaPods/cocoapods-plugins/issues/27)
65
+ [Olivier Halligon](https://github.com/AliSoftware)
66
+
67
+ * Print out the version of plugins when invoked with `--verbose`.
68
+ [#16](https://github.com/CocoaPods/cocoapods-plugins/issues/16)
69
+ [David Grandinetti](https://github.com/dbgrandi)
70
+
71
+ ## 0.2.0 (2014-05-20)
72
+
73
+ * Migrating to new syntax of CLAide::Command#arguments.
74
+ [#23](https://github.com/CocoaPods/cocoapods-plugins/issues/23)
75
+ [Olivier Halligon](https://github.com/AliSoftware)
76
+
77
+ * Printing URL of template used.
78
+ [#21](https://github.com/CocoaPods/cocoapods-plugins/issues/21)
79
+ [Olivier Halligon](https://github.com/AliSoftware)
80
+
81
+ * `create` subcommand now prefixes the given name if not already.
82
+ [#20](https://github.com/CocoaPods/cocoapods-plugins/issues/20)
83
+ [Olivier Halligon](https://github.com/AliSoftware)
84
+
85
+ ## 0.1.1 (2014-05-02)
86
+
87
+ * Making `pod plugins` an abstract command, with `list` the default subcommand.
88
+ [#11](https://github.com/CocoaPods/cocoapods-plugins/issues/11)
89
+ [#12](https://github.com/CocoaPods/cocoapods-plugins/issues/12)
90
+ [Olivier Halligon](https://github.com/AliSoftware)
91
+
92
+ * Added `search` subcommand to search plugins by name, author and description.
93
+ [#6](https://github.com/CocoaPods/cocoapods-plugins/issues/6)
94
+ [Olivier Halligon](https://github.com/AliSoftware)
95
+
96
+ * Refactoring and improved output formatting.
97
+ [#8](https://github.com/CocoaPods/cocoapods-plugins/issues/8)
98
+ [#10](https://github.com/CocoaPods/cocoapods-plugins/issues/10)
99
+ [#13](https://github.com/CocoaPods/cocoapods-plugins/issues/13)
100
+ [Olivier Halligon](https://github.com/AliSoftware)
101
+
102
+ * Fixing coding conventions and RuboCop offenses.
103
+ [#17](https://github.com/CocoaPods/cocoapods-plugins/issues/17)
104
+ [Olivier Halligon](https://github.com/AliSoftware)
105
+
106
+ ## 0.1.0 (2014-04-22)
107
+
108
+ * Initial implementation.
109
+ [David Grandinetti](https://github.com/dbgrandi)
110
+
111
+ * Added `create` subcommand to create an empty project for a new plugin.
112
+ [#6](https://github.com/CocoaPods/cocoapods-plugins/issues/6)
113
+ [Boris Bügling](https://github.com/neonichu)
data/Gemfile ADDED
@@ -0,0 +1,18 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ # gem 'cocoapods', :git => 'https://github.com/CocoaPods/CocoaPods.git', :branch => 'master'
7
+ # gem 'cocoapods-core', :git => 'https://github.com/CocoaPods/Core.git', :branch => 'master'
8
+ gem 'claide', :git => 'https://github.com/CocoaPods/CLAide.git', :branch => 'master'
9
+
10
+ gem 'bacon'
11
+ gem 'mocha-on-bacon'
12
+ gem 'prettybacon'
13
+ gem 'vcr'
14
+ gem 'webmock'
15
+
16
+ gem 'codeclimate-test-reporter', :require => nil
17
+ gem 'rubocop'
18
+ end
@@ -0,0 +1,82 @@
1
+ GIT
2
+ remote: https://github.com/CocoaPods/CLAide.git
3
+ revision: 00927807580554b7d3485d673c90386d3fd8fde0
4
+ branch: master
5
+ specs:
6
+ claide (0.8.1)
7
+
8
+ PATH
9
+ remote: .
10
+ specs:
11
+ claide-plugins (0.9.0)
12
+ cork
13
+ nap
14
+ open4 (~> 1.3)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ addressable (2.3.7)
20
+ ast (2.0.0)
21
+ astrolabe (1.3.0)
22
+ parser (>= 2.2.0.pre.3, < 3.0)
23
+ bacon (1.2.0)
24
+ codeclimate-test-reporter (0.4.0)
25
+ simplecov (>= 0.7.1, < 1.0.0)
26
+ colored (1.2)
27
+ cork (0.1.0)
28
+ colored (~> 1.2)
29
+ crack (0.4.2)
30
+ safe_yaml (~> 1.0.0)
31
+ docile (1.1.5)
32
+ metaclass (0.0.4)
33
+ mocha (1.1.0)
34
+ metaclass (~> 0.0.1)
35
+ mocha-on-bacon (0.2.2)
36
+ mocha (>= 0.13.0)
37
+ multi_json (1.10.1)
38
+ nap (1.1.0)
39
+ open4 (1.3.4)
40
+ parser (2.2.0.3)
41
+ ast (>= 1.1, < 3.0)
42
+ powerpack (0.1.0)
43
+ prettybacon (0.0.2)
44
+ bacon (~> 1.2)
45
+ rainbow (2.0.0)
46
+ rake (10.3.2)
47
+ rubocop (0.29.1)
48
+ astrolabe (~> 1.3)
49
+ parser (>= 2.2.0.1, < 3.0)
50
+ powerpack (~> 0.1)
51
+ rainbow (>= 1.99.1, < 3.0)
52
+ ruby-progressbar (~> 1.4)
53
+ ruby-progressbar (1.7.5)
54
+ safe_yaml (1.0.4)
55
+ simplecov (0.9.0)
56
+ docile (~> 1.1.0)
57
+ multi_json
58
+ simplecov-html (~> 0.8.0)
59
+ simplecov-html (0.8.0)
60
+ vcr (2.9.3)
61
+ webmock (1.20.4)
62
+ addressable (>= 2.3.6)
63
+ crack (>= 0.3.2)
64
+
65
+ PLATFORMS
66
+ ruby
67
+
68
+ DEPENDENCIES
69
+ bacon
70
+ bundler (~> 1.3)
71
+ claide!
72
+ claide-plugins!
73
+ codeclimate-test-reporter
74
+ mocha-on-bacon
75
+ prettybacon
76
+ rake
77
+ rubocop
78
+ vcr
79
+ webmock
80
+
81
+ BUNDLED WITH
82
+ 1.12.5
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 David Grandinetti
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,44 @@
1
+ # Cocoapods plugins
2
+
3
+ [![Build Status](https://img.shields.io/travis/CocoaPods/cocoapods-plugins/master.svg?style=flat)](https://travis-ci.org/CocoaPods/cocoapods-plugins)
4
+ [![Coverage](https://img.shields.io/codeclimate/coverage/github/CocoaPods/cocoapods-plugins.svg?style=flat)](https://codeclimate.com/github/CocoaPods/cocoapods-plugins)
5
+ [![Code Climate](https://img.shields.io/codeclimate/github/CocoaPods/cocoapods-plugins.svg?style=flat)](https://codeclimate.com/github/CocoaPods/cocoapods-plugins)
6
+
7
+ CocoaPods plugin which shows info about available CocoaPods plugins or helps you get started developing a new plugin. Yeah, it's very meta.
8
+
9
+ ## Installation
10
+
11
+ $ gem install cocoapods-plugins
12
+
13
+ ## Usage
14
+
15
+ ##### List installed plugins
16
+
17
+ $ pod plugins installed
18
+
19
+ List all installed CocoaPods plugins with their respective version (and pre_install/post_insall hooks if any)
20
+
21
+ ##### List known plugins
22
+
23
+ $ pod plugins list
24
+
25
+ List all known CocoaPods plugins (according to the list hosted on `http://github.com/CocoaPods/cocoapods-plugins`)
26
+
27
+ ##### Search plugins
28
+
29
+ $ pod plugins search QUERY
30
+
31
+ Search plugins whose name contains the given text (ignoring case). With --full, it searches by name but also by author and description.
32
+
33
+ ##### Create a new plugin
34
+
35
+ $ pod plugins create NAME [TEMPLATE_URL]
36
+
37
+ Create a scaffold for the development of a new plugin according to the CocoaPods best practices.
38
+ If a `TEMPLATE_URL`, pointing to a git repo containing a compatible template, is specified, it will be used in place of the default one.
39
+
40
+ ## Get your plugin listed
41
+
42
+ $ pod plugins publish
43
+
44
+ Create an issue in the `cocoapods-plugins` GitHub repository to ask for your plugin to be added to the official list (with the proper JSON fragment to be added to `plugins.json` so we just have to copy/paste it).