coaster 1.4.41 → 1.4.42
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/coaster/git/repository.rb +2 -2
- data/lib/coaster/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: 879f7f64d7f20126f90d558850fa58a30aa9c7b30d2eaeabb392ce04b17a9aa7
|
|
4
|
+
data.tar.gz: 7ba5939f9bf2b9547fdb0980d206844fbfda631b67b11d3e14ea3a6989eb3afa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b0223526e738e7fce518abea570a85e9674c740a258a7a929c7a12260f738a149cbc71c9e189e176d0b1d481da9650e938809dac929e2e8d06ac68800bd20ee
|
|
7
|
+
data.tar.gz: f577bef6ee4c4f5f0d31e99e947c12ac506cba5a03b5e6fed363acad7515a27673eeb85088b0193745d99e12563d6056c2be694849c66cca1ab074dff3cc6089
|
|
@@ -118,7 +118,7 @@ module Coaster
|
|
|
118
118
|
submodules.values.each do |submodule|
|
|
119
119
|
sm_sha = submodule_sha(submodule.path, pointer: pointer)
|
|
120
120
|
next unless sm_sha.present?
|
|
121
|
-
unless commit_exists?(sm_sha
|
|
121
|
+
unless submodule.commit_exists?(sm_sha)
|
|
122
122
|
raise "서브모듈에 커밋이 존재하지 않습니다!\n" \
|
|
123
123
|
" 서브모듈: #{submodule.path}\n" \
|
|
124
124
|
" 필요한 커밋: #{sm_sha}\n" \
|
|
@@ -135,7 +135,7 @@ module Coaster
|
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
def commit_exists?(sha
|
|
138
|
+
def commit_exists?(sha)
|
|
139
139
|
run_git_cmd("cat-file -t #{sha}").strip == 'commit'
|
|
140
140
|
rescue
|
|
141
141
|
false
|
data/lib/coaster/version.rb
CHANGED