dev_projects 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/projects.rb +1 -0
- 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: 1ea3b579ee6f61d7812947bca98e19f1aa13b0f1
|
4
|
+
data.tar.gz: a8878e659563787724a862b027cfb27ffc0acde8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34fa127541f52729a696661984277b5546c77beff6952ccd8faa2a1a23870ab54d214fb7d388e69ff88dc8d5207ce4ef17afa7446de045e007d59fd20536e096
|
7
|
+
data.tar.gz: 024444657b960ee26234ab9631ad181392ab6cd34efac4403c07acad5b89bb1f97a227afb8a60b032b853b4ad5e36f2bfd8ff57a643b022189686951c78a6552
|
data/lib/projects.rb
CHANGED
@@ -41,6 +41,7 @@ class Projects < Hash
|
|
41
41
|
Git.remote_origin.length > 0)
|
42
42
|
project=Project.new(Git.remote_origin)
|
43
43
|
name=Rake.application.original_dir.gsub("#{Environment.dev_root}/wrk/",'')
|
44
|
+
project[:name] = name if(name.length>0 && !name.include?(Environment.dev_root))
|
44
45
|
if(defined?(PROJECTS))
|
45
46
|
PROJECTS[name]=project if(!PROJECTS.has_key?(name))
|
46
47
|
project.each{|k,v|PROJECTS[name][k]=v}
|