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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 617b8eb2cbe1b27dcd03ae233111b972367eabd5
4
- data.tar.gz: 844fe6a4b3f0564d6410b28f3671c712ea94f6c4
3
+ metadata.gz: b55664cd52bb15e2b7909b175437a3094cc82d4f
4
+ data.tar.gz: 1d01604bb0d9b9d2355df2ec85868d8791d4df4c
5
5
  SHA512:
6
- metadata.gz: 2f77762c72f366c870c00fc08115f958875a7693faf8497301aed43a0b244d4a3c69938f2b11b66bffbf27f96d4949cfe4f669419901b470285ccf89425ecd72
7
- data.tar.gz: dcdf207777ca08ff1eb5956cc88a0256ca042ed32c1e760e25e3843654a8f66b1a9ae020736f8152fd7a1bd7811d96817aa8a8b1d078529a297c75af0e35c8ba
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
- A description of cocoapods-always-be-bundleing.
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
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAlwaysBeBundleing
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1 +1,18 @@
1
- abort "Please run `pod install` with bundle exec instead." unless defined?(Bundler)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-always-be-bundleing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox