dev 2.0.92 → 2.0.93
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/dev_commands.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9963f20a258c654e90fa73614868772d7d908a5c
|
4
|
+
data.tar.gz: 9495f4a0a724b17f2b25e148e5b3a39ac12efbe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c67475b3e40a5898b5f76b1877f4f001523f3670cdd6a81ef150481d370a534015351424142ae68ad5094bde71239c04a1f3c4f7bbdacae1cea77a9ddec959fa
|
7
|
+
data.tar.gz: 4a4a5db0fba49870bb2fae002340b20128b481cd87b4b2988b4c116d733b6b97493da4913036f96cd10ae6daadb7c344037fbe8e7c4c53fbcc8d2ad1aacb63f9
|
data/lib/dev_commands.rb
CHANGED
@@ -856,7 +856,9 @@ class Setup < Array
|
|
856
856
|
if(!File.exists?(directory))
|
857
857
|
if(v.include?('@'))
|
858
858
|
add "git clone #{v.split('@')[0]} #{directory}"
|
859
|
-
|
859
|
+
Dir.chdir(directory) do
|
860
|
+
add "git reset --hard #{v.split('@')[1]}"
|
861
|
+
end
|
860
862
|
else
|
861
863
|
add "git clone #{v} #{directory}"
|
862
864
|
end
|