swiftly 5.0.5 → 5.0.6
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.
- checksums.yaml +4 -4
- data/lib/swiftly/create_git.rb +10 -2
- data/lib/swiftly/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: dc564821f22611c1a0bf19545bcbed505564e2e4
|
|
4
|
+
data.tar.gz: 6eb5e7a1f9cf96a7b4e61c83b04eb3126c48f46d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8a2fbcf4cfdbc0e0aecebac1f3d2784b0b2e9b0353723f19ed1dde1aa0f07a765e865633c01eb53333e8683f17576f83b82bf9e7dd63dbd24a7db68e6be4ebb
|
|
7
|
+
data.tar.gz: 21707eb87e43d35920e7f1b07835694a95e93720772a40e312932f1371949b00ffaf10e3d64388d7c5a2298caf65dabcc71041bed057c6c824eee03238f24343
|
data/lib/swiftly/create_git.rb
CHANGED
|
@@ -33,8 +33,16 @@ module Swiftly
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
git.add
|
|
36
|
-
|
|
36
|
+
|
|
37
|
+
if !git.config('user.name').empty?
|
|
38
|
+
|
|
39
|
+
git.commit_all('initial commit')
|
|
40
|
+
else
|
|
41
|
+
|
|
42
|
+
say_status "#{APP_NAME}:", "Unable to create an initial git commit. Please set your git global user.email and user.name in order to create your first commit", :yellow
|
|
43
|
+
end
|
|
44
|
+
|
|
37
45
|
|
|
38
46
|
end
|
|
39
47
|
end
|
|
40
|
-
end
|
|
48
|
+
end
|
data/lib/swiftly/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: swiftly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mic Alexander
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-06-
|
|
11
|
+
date: 2017-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: git
|