dev 2.0.230 → 2.0.231

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07213e43d06056b8f45136eaeff7ab119b407a70
4
- data.tar.gz: 5bf0b7d26c61fbd20d86a24c42fffb5ab9baba45
3
+ metadata.gz: b548a10b62f6f3f8ff07f57118c24c78215e235d
4
+ data.tar.gz: 876c79cd15b51942650ec0023573da7ec37e9929
5
5
  SHA512:
6
- metadata.gz: d1a514346bd9ef8a2d211bdeadde818b3ad60a38d3220a98263836c2d5cd95339fd96590aecfc3741611f721d8f37984529c962c11a34e841291e9dfcdc96870
7
- data.tar.gz: 3e3ee1473e9985119042a234b316134997998c05af5e02a66d592e659e67ac818e571fc0b3a1094eb49fa74841aa09414c7d02455b61c68751c1f9164ee12443
6
+ metadata.gz: 4010825ed028886d339973a960a005b7a74581fa4a3d3e0b6e41c2485b4edb81da5fcb7301c8b37765d88824297dc556b24c033911066e7d273b376580506964
7
+ data.tar.gz: 3c0a65759ec44311a66ba1272051f844d4dc177211ac3bf2aec9c742b6fbeb394494432cd1c0473f6a33d84536697717155e93bfce265b5945e353cdf89dc6f8
@@ -16,9 +16,9 @@ class Project < Hash
16
16
  url
17
17
  end
18
18
 
19
- #def self.get_fullname
20
- # Rake.application.original_dir.gsub(Environment.dev_root,'').gsub('/trunk','') .gsub('/wrk','')
21
- #end
19
+ def self.get_fullname directory
20
+ directory.gsub(Environment.dev_root,'').gsub('/trunk','') .gsub('/wrk','')
21
+ end
22
22
 
23
23
  def self.get_fullname_from_url url
24
24
  return url.gsub('http://','').gsub('https://','').gsub('.com/','/').gsub('.git','')
@@ -48,7 +48,6 @@ class Project < Hash
48
48
  def name
49
49
  parts=fullname.split('/')
50
50
  parts[parts.length-1]
51
- #self[:name]
52
51
  end
53
52
 
54
53
  def wrk_dir
@@ -58,6 +58,8 @@ class Projects < Hash
58
58
  filter=args[1] if !args.nil? && args.length > 0
59
59
  self.each{|k,v|
60
60
  if filter.nil? || filter.length==0 || k.include?(filter)
61
+ log_filename=
62
+ last_work_time=nil
61
63
  puts "working #{k}"
62
64
  v.work
63
65
  end
@@ -98,7 +100,6 @@ class Projects < Hash
98
100
 
99
101
  def import pattern=''
100
102
  wrk="#{Environment.dev_root}/wrk"
101
- #puts "importing project from #{wrk}"
102
103
  if File.exists?(wrk)
103
104
  Dir.chdir(wrk) do
104
105
  Dir.glob('**/rakefile.rb').each{|rakefile|
@@ -106,7 +107,7 @@ class Projects < Hash
106
107
  url = Project.get_url rakedir
107
108
  #puts "checking #{url}"
108
109
  project = Project.new(Project.get_url(rakedir))
109
- #puts "fullname:#{project.fullname}"
110
+ project[:fullname]=Project.get_fullname wrk if(!url.include?('http'))
110
111
  if(pattern.length==0 || project.fullname.include?(pattern) && !self.has_key?(project.fullname))
111
112
  puts "importing #{project.fullname}"
112
113
  self[project.fullname]=project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.230
4
+ version: 2.0.231
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-23 00:00:00.000000000 Z
11
+ date: 2015-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake