simple-git-pair 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/simple-git-pair/helper.rb +3 -2
- data/lib/simple-git-pair/version.rb +1 -1
- data/spec/lib/simple-git-pair/command/init_spec.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8389b9eb1e31fa26c4f2e40affe70a9b14dfeee
|
4
|
+
data.tar.gz: 616e4bec7737cb52254c45b83a602e6cc6ee6bb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14873947762d16863b3fbd424df7d5555432413a5dbbd450a2643d798087db5975e7d945b10d38168382b8e5331c2ad41aa8e909aec27b4ec28c33ce617febda
|
7
|
+
data.tar.gz: 2ed8374f1e633b7142652773ea7ce1022d0c0133d9d74a721026789371bb0b547aeb8bb01edc7455ddbb9fa9383a1162d07c079d0cd66ad0bf71995b385c256b
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
require 'yaml'
|
1
|
+
require 'yaml'
|
2
|
+
require 'rainbow'
|
2
3
|
require 'simple-git-pair/version'
|
3
4
|
|
4
5
|
module SimpleGitPair
|
@@ -18,7 +19,7 @@ Please run: git pair init
|
|
18
19
|
end
|
19
20
|
|
20
21
|
def say_pairs_file_exists
|
21
|
-
puts "#{PAIRS_FILE_PATH} already exists. You're good to go.".
|
22
|
+
puts Rainbow("#{PAIRS_FILE_PATH} already exists. You're good to go.").green
|
22
23
|
end
|
23
24
|
|
24
25
|
def names_for args
|
@@ -2,12 +2,13 @@ require 'simple-git-pair/command/init'
|
|
2
2
|
|
3
3
|
describe SimpleGitPair::Command::Init do
|
4
4
|
describe "#run!" do
|
5
|
-
|
5
|
+
let(:init_cmd) { described_class.new }
|
6
|
+
subject { init_cmd.run! }
|
6
7
|
|
7
8
|
context "pairs file already exists" do
|
8
9
|
before { SimpleGitPair::Helper.stub(:pairs_file_exists?).and_return true }
|
9
10
|
it "complains and exit" do
|
10
|
-
|
11
|
+
STDOUT.should_receive(:puts).with(/already exists/)
|
11
12
|
subject
|
12
13
|
end
|
13
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-git-pair
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tamoykin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|