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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcb6de1cd6956326d95b8f643be61726460cd04f
4
- data.tar.gz: 40ca8960a04b01fff8d80ae17a25b46b68597659
3
+ metadata.gz: dc564821f22611c1a0bf19545bcbed505564e2e4
4
+ data.tar.gz: 6eb5e7a1f9cf96a7b4e61c83b04eb3126c48f46d
5
5
  SHA512:
6
- metadata.gz: a048e8a8299b150490d0c21bd74341ea5e2e2a03809b32689e74c3fa626c706e4d29a2852b1367bbb9f8f999eb772b184ac4f65fd29ea5a236c63cfd48487dfb
7
- data.tar.gz: 85b7921d4714973e5a9ab7d3905cf2a2e68975e44fca5dca1d4a8864a021732efdd890fc9fc115546e99db2aad72a3f6284b6a7146bbe92f2866218b77c236b9
6
+ metadata.gz: b8a2fbcf4cfdbc0e0aecebac1f3d2784b0b2e9b0353723f19ed1dde1aa0f07a765e865633c01eb53333e8683f17576f83b82bf9e7dd63dbd24a7db68e6be4ebb
7
+ data.tar.gz: 21707eb87e43d35920e7f1b07835694a95e93720772a40e312932f1371949b00ffaf10e3d64388d7c5a2298caf65dabcc71041bed057c6c824eee03238f24343
@@ -33,8 +33,16 @@ module Swiftly
33
33
 
34
34
 
35
35
  git.add
36
- git.commit_all('initial commit')
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
@@ -1,4 +1,4 @@
1
1
  module Swiftly
2
2
  APP_NAME = 'swiftly'
3
- VERSION = '5.0.5'
3
+ VERSION = '5.0.6'
4
4
  end
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.5
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-17 00:00:00.000000000 Z
11
+ date: 2017-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git