repo-fixture 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/lib/repo-fixture/fixture.rb +8 -2
- data/lib/repo-fixture/version.rb +1 -1
- 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: 1ab208882b56c18f371c2a442f99b0faa78de506
|
4
|
+
data.tar.gz: e990fae52840f91431b1ec31990a3418935eddf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4744411f6a2eb31a19bf1eb2f06b322b853d523db823401f01b79bc9606e71e70fb02cdb16fa37671767d8719dffb30db8438e42060ef22e12c73afaa9e7cd5b
|
7
|
+
data.tar.gz: 2ad1085b128deefbf46111c6c2c5ba768c222306da388d2ea7575987cd1b6286b3081958aaea6956b0e0bc6355e7c2719264c63041e493243ca9f6364f9fb2ab
|
data/History.txt
CHANGED
data/lib/repo-fixture/fixture.rb
CHANGED
@@ -11,8 +11,14 @@ module RepoFixture
|
|
11
11
|
|
12
12
|
def initialize(repo)
|
13
13
|
@repo = repo
|
14
|
-
|
15
|
-
repo.git('config --global user.
|
14
|
+
|
15
|
+
if repo.git('config --global user.email').strip.empty?
|
16
|
+
repo.git('config --global user.email "fake@example.com"')
|
17
|
+
end
|
18
|
+
|
19
|
+
if repo.git('config --global user.name').strip.empty?
|
20
|
+
repo.git('config --global user.name "Fake Person"')
|
21
|
+
end
|
16
22
|
end
|
17
23
|
|
18
24
|
# Copies files into the repo.
|
data/lib/repo-fixture/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: repo-fixture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tmp-repo
|