cocoapods-always-be-bundleing 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/lib/cocoapods-always-be-bundleing/gem_version.rb +1 -1
- data/lib/cocoapods_plugin.rb +18 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b55664cd52bb15e2b7909b175437a3094cc82d4f
|
4
|
+
data.tar.gz: 1d01604bb0d9b9d2355df2ec85868d8791d4df4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b44aaeb0890bafae0f90a35f93c49e7ac103767a7c533ebeda10a211e5009ba925b4ac410ab63f5b0e77568a35fe0dbb37d82b2306d9c08473b49f2b02a61f45
|
7
|
+
data.tar.gz: 801c92740337248949b8b5a881adc23627e7483be9e4eda12bc50331f4bf05564671bbcaa74844735f7423367f2e1eb131d8c605e1c77d82c94da608dd6a3518
|
data/README.md
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
# cocoapods-always-be-bundleing
|
2
2
|
|
3
|
-
|
3
|
+
Do you use CocoaPods on a team? Chances are you want to make sure that everyone is using the same version of CocoaPods. The answer here is to [use a Gemfile](https://guides.cocoapods.org/using/a-gemfile.html). This plugin, once installed will make sure that you use a Gemfile every time you do a `pod install`.
|
4
|
+
|
5
|
+
The alternative is to the use [the CocoaPods.app](http://cocoapods.org/app).
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
$ gem install cocoapods-always-be-bundleing
|
8
10
|
|
9
|
-
## Usage
|
10
|
-
|
11
|
-
$ pod spec bundleing POD_NAME
|
data/lib/cocoapods_plugin.rb
CHANGED
@@ -1 +1,18 @@
|
|
1
|
-
|
1
|
+
require 'colored'
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Installer
|
5
|
+
alias_method :install_before_always_be_bundling, :install!
|
6
|
+
|
7
|
+
def install!
|
8
|
+
if validates_for_bundler
|
9
|
+
install_before_always_be_bundling!
|
10
|
+
else
|
11
|
+
puts "\n\n ** Please run `pod install` with bundle exec instead. **\n\n".red
|
12
|
+
end
|
13
|
+
|
14
|
+
def validates_for_bundler
|
15
|
+
defined?(Bundler)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|