dev 2.0.209 → 2.0.210
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/base/project.rb +2 -6
- 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: 4834246e0788531fb2c87f08e8308bc0ddfbdf96
|
|
4
|
+
data.tar.gz: b110128be73161ad07360f641b9c700ccc9abb82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11289e53787b4a9ec2387fb6e6dea79c9f61becc223bb198f585a4959a5378b7d652c4971878e49106d3f97a808feaafd4bba9b0f89ce7ca7b5796ee1b318e2a
|
|
7
|
+
data.tar.gz: fa01de899339093d6af478acf900db7238f006797f5e21270fcffac2b87f6149515be80a763422e7ca2fa8fde5b4f008983f55c92c0a5041436a4fd2182299cb
|
data/lib/base/project.rb
CHANGED
|
@@ -56,11 +56,6 @@ class Project < Hash
|
|
|
56
56
|
"#{Environment.dev_root}/wrk/#{self.fullname}"
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
def make_dir
|
|
60
|
-
FileUtils.mkdir("#{Environment.dev_root}/make") if !File.exists? "#{Environment.dev_root}/make"
|
|
61
|
-
"#{Environment.dev_root}/make/#{self.fullname}"
|
|
62
|
-
end
|
|
63
|
-
|
|
64
59
|
def pull
|
|
65
60
|
if(File.exists?(wrk_dir) && File.exists?("#{wrk_dir}/.git"))
|
|
66
61
|
Dir.chdir(wrk_dir) do
|
|
@@ -106,7 +101,8 @@ class Project < Hash
|
|
|
106
101
|
end
|
|
107
102
|
|
|
108
103
|
def latest_tag
|
|
109
|
-
|
|
104
|
+
FileUtils.mkdir("#{Environment.dev_root}/make") if !File.exists? "#{Environment.dev_root}/make"
|
|
105
|
+
makedir="#{Environment.dev_root}/make/#{self.fullname}"
|
|
110
106
|
FileUtils.mkdir_p(File.dirname(makedir)) if !File.exists?(File.dirname(makedir))
|
|
111
107
|
if(File.exists?(makedir))
|
|
112
108
|
Dir.chdir(makedir) do
|