ro 1.3.6 → 1.3.7
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 +8 -8
- data/lib/ro.rb +1 -1
- data/lib/ro/git.rb +3 -5
- data/ro.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
Nzg5ZmIyMDdiZDk4YTBiMTMxODlkNzkzY2IxZjkzNDVmNGNjNGJmMA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NjRhMTA2ZDBmZDVkNWM5MjVkYmE3NGRiODY3OGEzNjBlZGQ2Mzg3ZQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MGZjNmVhYTI2YzE5NzNmNDE5NjJiNzVhMDI2OWZhZmU0YTE4ZTJhNmFkY2Rh
|
|
10
|
+
MGUzZGU1YTQ5NDQxNmQzMGQ3NmViZGJiMjM2NzJkZDgyN2RlODg2NjkyMzk1
|
|
11
|
+
Mzc0NTgxMTg5N2MyMjgwODc4NjViNzYzZmJiZTg0MDMxOGMxOWM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YmUzNzYxYTRiM2M3YTVmZmZmYjA3NmY3MjBmNzllZDJkODNlNzlkMWVjNWQ1
|
|
14
|
+
Njk1Yzc5ZWRlMjY3ZTc1N2I0ZTEzMWI1NzgwYmUxMmQ5NDA1MjkxYTg5ZDA1
|
|
15
|
+
ZGVhZGM4ZDQxNDIwNDVlYmE5Y2E4MGE0ZTY1MmRhYzQxMmEzZWQ=
|
data/lib/ro.rb
CHANGED
data/lib/ro/git.rb
CHANGED
|
@@ -224,13 +224,11 @@ module Ro
|
|
|
224
224
|
Dir.chdir(dir) do
|
|
225
225
|
# .git
|
|
226
226
|
#
|
|
227
|
-
|
|
227
|
+
status, stdout, stderr = spawn("git rev-parse --git-dir", :raise => true, :capture => true)
|
|
228
228
|
|
|
229
|
-
|
|
230
|
-
git_root = '.'
|
|
231
|
-
end
|
|
229
|
+
git_root = stdout.to_s.strip
|
|
232
230
|
|
|
233
|
-
dot_git = File.expand_path(
|
|
231
|
+
dot_git = File.expand_path(git_root)
|
|
234
232
|
|
|
235
233
|
unless test(?d, dot_git)
|
|
236
234
|
raise Error.new("missing .git directory #{ dot_git }")
|
data/ro.gemspec
CHANGED