jets 1.0.12 → 1.0.13
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/jets/commands/new.rb +1 -0
- data/lib/jets/commands/sequence.rb +7 -0
- data/lib/jets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f7e369be50ac0c8b4edaa7718cf05e920156c46858b40dc8ede16f43a7c29769
|
|
4
|
+
data.tar.gz: 7e1ea785a5cfbdb612f09e5d73fcfb321cecc868ba05d81016ae64ba40bbca96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18963e55b47b46718a41ac9ebb3353e602bedc30a4a142198f9a857efe2145cd1a089932812e2e87d717e0576609a217620412d30fdea6e9d465ceb413500e08
|
|
7
|
+
data.tar.gz: e04cf2bcc53eb79139d8623da84814767a1f14c0a801d94d7a7b8650c53785a60126e73e38e4534bbedfebc8734fdad21fda1df13ba8a9a14aa8aee2fe3ce17b
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
+
## [1.0.13]
|
|
7
|
+
- Fix notice when Jets fails to create first git commit This happens when user doesn't have git credentials available yet
|
|
8
|
+
- Merge pull request #63 from onnimonni/fix-missing-git-credentials
|
|
9
|
+
|
|
6
10
|
## [1.0.12]
|
|
7
11
|
- Fix notice when Jets tries to use aws-cli even when it's not available in PATH
|
|
8
12
|
- Merge pull request #62 from onnimonni/fix-notice-missing-aws-cli
|
data/Gemfile.lock
CHANGED
data/lib/jets/commands/new.rb
CHANGED
|
@@ -72,6 +72,13 @@ private
|
|
|
72
72
|
system("type git > /dev/null 2>&1")
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
+
# In order to automatically create first commit
|
|
76
|
+
# the user needs to have their credentials set
|
|
77
|
+
def git_credentials_set?
|
|
78
|
+
configs = `git config --list`.split("\n")
|
|
79
|
+
configs.any? { |c| c.start_with? 'user.name=' } && configs.any? { |c| c.start_with? 'user.email=' }
|
|
80
|
+
end
|
|
81
|
+
|
|
75
82
|
def yarn_installed?
|
|
76
83
|
system("type yarn > /dev/null 2>&1")
|
|
77
84
|
end
|
data/lib/jets/version.rb
CHANGED