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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/projects.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f5686c2dbaa869b7ab40b4e29902e74611b514a
4
- data.tar.gz: 648756526340ea2b1f6f1f65dfbd5bc7215a12e9
3
+ metadata.gz: 1ea3b579ee6f61d7812947bca98e19f1aa13b0f1
4
+ data.tar.gz: a8878e659563787724a862b027cfb27ffc0acde8
5
5
  SHA512:
6
- metadata.gz: 9089b2654a761abf1dc9ebc1ecaa459c7c3eeab8463c982e43d828ea98c2e06a1b165ed33631d9e35e3c8f2de26a1e44fb6c99b13bb38dd9c06d999f3f0e89ec
7
- data.tar.gz: 31af7f16c341b1e10507162dadf83ee9ef658eab6ec32ecf986d19ebd68af09ea1707df2df7c432db307b760d914a0dc1396afbf34c796b01802dfb5c037de84
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}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_projects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow