dev_tasks 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/lib/command.rb CHANGED
@@ -1,51 +1,51 @@
1
- class Command < Hash
2
- def initialize command
3
-
4
- if(command.kind_of?(String))
5
- self[:input] = command
6
- self[:timeout] = 0
7
- self[:directory] = ''
8
- self[:exit_code] = 0
9
- self[:output] = ''
10
- self[:error] = ''
11
- self[:machine_name] = ''
12
- self[:user_name] = ''
13
- self[:start_time] = nil
14
- self[:end_time] = nil
15
- end
16
-
17
- if(command.kind_of?(Hash))
18
- command.each{|k,v|
19
- self[k.to_sym]=v
20
- }
21
- end
22
- end
23
-
24
- def execute
25
-
26
- Logger.start_command self
27
-
28
- pwd=Dir.pwd
29
- Dir.chdir(self[:directory]) if(self.has_key?(:directory) && File.exists?(self[:directory]))
30
- #print " " + Color.green + self[:input] + Color.clear
31
-
32
- self[:start_time]=Time.now
33
- timer=Timer.new
34
- if self[:input].include?('<%') && self[:input].include?('%>')
35
- ruby = self[:input].gsub("<%","").gsub("%>","")
36
- self[:output]=eval(ruby)
37
- #puts " " + timer.elapsed_str
38
- self[:elapsed] = timer.elapsed_str
39
- self[:end_time] = Time.now
40
- else
41
- self[:output] = `#{self[:input]}`
42
- self[:elapsed] = timer.elapsed_str
43
- self[:end_time] = Time.now
44
- self[:exit_code]=$?.to_i
45
- end
46
-
47
- Dir.chdir(pwd) if pwd != Dir.pwd
48
- Logger.end_command self
49
- end
50
-
1
+ class Command < Hash
2
+ def initialize command
3
+
4
+ if(command.kind_of?(String))
5
+ self[:input] = command
6
+ self[:timeout] = 0
7
+ self[:directory] = ''
8
+ self[:exit_code] = 0
9
+ self[:output] = ''
10
+ self[:error] = ''
11
+ self[:machine_name] = ''
12
+ self[:user_name] = ''
13
+ self[:start_time] = nil
14
+ self[:end_time] = nil
15
+ end
16
+
17
+ if(command.kind_of?(Hash))
18
+ command.each{|k,v|
19
+ self[k.to_sym]=v
20
+ }
21
+ end
22
+ end
23
+
24
+ def execute
25
+
26
+ Logger.start_command self
27
+
28
+ pwd=Dir.pwd
29
+ Dir.chdir(self[:directory]) if(self.has_key?(:directory) && File.exists?(self[:directory]))
30
+ #print " " + Color.green + self[:input] + Color.clear
31
+
32
+ self[:start_time]=Time.now
33
+ timer=Timer.new
34
+ if self[:input].include?('<%') && self[:input].include?('%>')
35
+ ruby = self[:input].gsub("<%","").gsub("%>","")
36
+ self[:output]=eval(ruby)
37
+ #puts " " + timer.elapsed_str
38
+ self[:elapsed] = timer.elapsed_str
39
+ self[:end_time] = Time.now
40
+ else
41
+ self[:output] = `#{self[:input]}`
42
+ self[:elapsed] = timer.elapsed_str
43
+ self[:end_time] = Time.now
44
+ self[:exit_code]=$?.to_i
45
+ end
46
+
47
+ Dir.chdir(pwd) if pwd != Dir.pwd
48
+ Logger.end_command self
49
+ end
50
+
51
51
  end
data/lib/htmllog.rb CHANGED
@@ -1,53 +1,53 @@
1
- class HtmlLog
2
- def initialize
3
- FileUtils.mkdir("#{Environment.dev_root}/log") if !File.exists?("#{Environment.dev_root}/log")
4
- @file=File.open("#{Environment.dev_root}/log/rake.html",'w')
5
- @file.write '<html>'
6
- @file.write '<body>'
7
- @file.write '<h1>'
8
- @file.write "rake"
9
- ARGV.each do|a|
10
- puts " #{a}"
11
- end
12
- @file.write '</h1>'
13
- @file.write '<h2>directory:' + File.dirname(__FILE__) + '</h2>'
14
- @file.write '<h2>time:' + Time.now.to_s + '</h2>'
15
- @current_task=nil
16
- @task_commands=Hash.new
17
- end
18
-
19
- def finalize
20
- @file.write('<ul>')
21
- @task_commands.each{|k,v|
22
-
23
- @file.write('<li>')
24
- @file.write(k)
25
- @file.write('</li>')
26
-
27
- }
28
- @file.write '</ul>'
29
- @file.write '</body>'
30
- @file.write '</html>'
31
- @file.close
32
- end
33
-
34
- def start_task task
35
- @current_task=task
36
- @task_commands[task]=Hash.new
37
- @task_commands[task][:command_results]=Array.new
38
- end
39
-
40
- def end_task task
41
-
42
- @current_task=nil
43
- #@file
44
- end
45
-
46
- def start_command command
47
-
48
- end
49
-
50
- def end_command command
51
- #@task_commands[@current_task][:command_results] << result
52
- end
1
+ class HtmlLog
2
+ def initialize
3
+ FileUtils.mkdir("#{Environment.dev_root}/log") if !File.exists?("#{Environment.dev_root}/log")
4
+ @file=File.open("#{Environment.dev_root}/log/rake.html",'w')
5
+ @file.write '<html>'
6
+ @file.write '<body>'
7
+ @file.write '<h1>'
8
+ @file.write "rake"
9
+ ARGV.each do|a|
10
+ puts " #{a}"
11
+ end
12
+ @file.write '</h1>'
13
+ @file.write '<h2>directory:' + File.dirname(__FILE__) + '</h2>'
14
+ @file.write '<h2>time:' + Time.now.to_s + '</h2>'
15
+ @current_task=nil
16
+ @task_commands=Hash.new
17
+ end
18
+
19
+ def finalize
20
+ @file.write('<ul>')
21
+ @task_commands.each{|k,v|
22
+
23
+ @file.write('<li>')
24
+ @file.write(k)
25
+ @file.write('</li>')
26
+
27
+ }
28
+ @file.write '</ul>'
29
+ @file.write '</body>'
30
+ @file.write '</html>'
31
+ @file.close
32
+ end
33
+
34
+ def start_task task
35
+ @current_task=task
36
+ @task_commands[task]=Hash.new
37
+ @task_commands[task][:command_results]=Array.new
38
+ end
39
+
40
+ def end_task task
41
+
42
+ @current_task=nil
43
+ #@file
44
+ end
45
+
46
+ def start_command command
47
+
48
+ end
49
+
50
+ def end_command command
51
+ #@task_commands[@current_task][:command_results] << result
52
+ end
53
53
  end
data/lib/jsonlog.rb CHANGED
@@ -1,18 +1,18 @@
1
- require 'json'
2
-
3
- class JsonLog
4
- def initialize
5
- end
6
-
7
- def finalize
8
- name='DEV'
9
- ARGV.each do|a|
10
- name="#{name}.#{a}"
11
- end
12
- name="#{name}.json"
13
- FileUtils.mkdir("#{DEV[:dev_root]}/log") if !File.exists?("#{DEV[:dev_root]}/log")
14
- File.open("#{DEV[:dev_root]}/log/#{name}","w") do |f|
15
- f.write(JSON.pretty_generate(DEV))
16
- end
17
- end
1
+ require 'json'
2
+
3
+ class JsonLog
4
+ def initialize
5
+ end
6
+
7
+ def finalize
8
+ name='DEV'
9
+ ARGV.each do|a|
10
+ name="#{name}.#{a}"
11
+ end
12
+ name="#{name}.json"
13
+ FileUtils.mkdir("#{DEV[:dev_root]}/log") if !File.exists?("#{DEV[:dev_root]}/log")
14
+ File.open("#{DEV[:dev_root]}/log/#{name}","w") do |f|
15
+ f.write(JSON.pretty_generate(DEV))
16
+ end
17
+ end
18
18
  end
data/lib/logger.rb CHANGED
@@ -1,37 +1,37 @@
1
- require_relative './htmllog.rb'
2
- require_relative './jsonlog.rb'
3
- require_relative './yamllog.rb'
4
-
5
- class Logger
6
- @@timers=Hash.new
7
- @@html_log=HtmlLog.new
8
- @@json_log=JsonLog.new
9
- @@yaml_log=YamlLog.new
10
- def self.start_task task
11
- @@timers[task]=Timer.new
12
- Console.announce_task_start task
13
- @@html_log.start_task task
14
- end
15
-
16
- def self.end_task task
17
- elapsed=@@timers[task].elapsed
18
- @@html_log.end_task task
19
- end
20
-
21
- def self.finalize
22
- @@html_log.finalize
23
- @@json_log.finalize
24
- @@yaml_log.finalize
25
- end
26
-
27
- def self.start_command command
28
- Console.start_command command
29
- //
30
- @@html_log.start_command command
31
- end
32
-
33
- def self.end_command command
34
- Console.end_command command
35
- @@html_log.end_command command
36
- end
1
+ require_relative './htmllog.rb'
2
+ require_relative './jsonlog.rb'
3
+ require_relative './yamllog.rb'
4
+
5
+ class Logger
6
+ @@timers=Hash.new
7
+ @@html_log=HtmlLog.new
8
+ @@json_log=JsonLog.new
9
+ @@yaml_log=YamlLog.new
10
+ def self.start_task task
11
+ @@timers[task]=Timer.new
12
+ Console.announce_task_start task
13
+ @@html_log.start_task task
14
+ end
15
+
16
+ def self.end_task task
17
+ elapsed=@@timers[task].elapsed
18
+ @@html_log.end_task task
19
+ end
20
+
21
+ def self.finalize
22
+ @@html_log.finalize
23
+ @@json_log.finalize
24
+ @@yaml_log.finalize
25
+ end
26
+
27
+ def self.start_command command
28
+ Console.start_command command
29
+ //
30
+ @@html_log.start_command command
31
+ end
32
+
33
+ def self.end_command command
34
+ Console.end_command command
35
+ @@html_log.end_command command
36
+ end
37
37
  end
data/lib/spec.json CHANGED
@@ -1 +1 @@
1
- {"name":"dev_tasks","version":"1.0.12"}
1
+ {"name":"dev_tasks","version":"1.0.13"}
data/lib/test.rb CHANGED
@@ -4,20 +4,18 @@ class Test < CommandArray
4
4
 
5
5
  def update
6
6
  # rspec tests, 'rspec --pattern="**/*.spec"'
7
- if(Dir.glob("**/*spec.rb").length > 0)
8
- self.add 'rspec'
9
- end
7
+ self.add 'rspec' if(Dir.glob("**/*spec.rb").length > 0)
10
8
 
11
9
  test_files=collect_nunit_files
12
- if(defined?(DEV_TASKS) && DEV_TASKS.has_key?(:files) && DEV_TASKS[:files].has_key?(:test))
10
+ if(defined?(DEV_TASKS) && DEV_TASKS.has_key?(:files) && DEV_TASKS[:files].has_key?(:test))
13
11
  test_files=DEV_TASKS[:files][:test]
14
- end
12
+ end
15
13
 
16
14
  if(!test_files.nil?)
17
15
  test_files.each {|tf|
18
16
  if(tf.include?('.dll'))
19
17
  nunit_dll=tf
20
- if(outputPath.include?('x86'))
18
+ if(nunit_dll.include?('x86'))
21
19
  self.add "\"#{Test.nunit_console_x86}\" \"#{Rake.application.original_dir}\\#{nunit_dll}\" /xml:\"#{nunit_dll}.TestResults.xml\""
22
20
  else
23
21
  self.add "\"#{Test.nunit_console}\" \"#{Rake.application.original_dir}\\#{nunit_dll}\" /xml:\"#{nunit_dll}.TestResults.xml\""
data/lib/yamllog.rb CHANGED
@@ -1,18 +1,18 @@
1
- require 'yaml'
2
-
3
- class YamlLog
4
- def initialize
5
- end
6
-
7
- def finalize
8
- name='DEV'
9
- ARGV.each do|a|
10
- name="#{name}.#{a}"
11
- end
12
- name="#{name}.yml"
13
- FileUtils.mkdir("#{Environment.dev_root}/log") if !File.exists?("#{Environment.dev_root}/log")
14
- File.open("#{Environment.dev_root}/log/#{name}","w") do |f|
15
- f.write(DEV.to_yaml)
16
- end
17
- end
1
+ require 'yaml'
2
+
3
+ class YamlLog
4
+ def initialize
5
+ end
6
+
7
+ def finalize
8
+ name='DEV'
9
+ ARGV.each do|a|
10
+ name="#{name}.#{a}"
11
+ end
12
+ name="#{name}.yml"
13
+ FileUtils.mkdir("#{Environment.dev_root}/log") if !File.exists?("#{Environment.dev_root}/log")
14
+ File.open("#{Environment.dev_root}/log/#{name}","w") do |f|
15
+ f.write(DEV.to_yaml)
16
+ end
17
+ end
18
18
  end
data/spec/command_spec.rb CHANGED
@@ -1,80 +1,80 @@
1
- require_relative '../lib/command.rb'
2
-
3
- describe Command do
4
- it "should be able to execute ruby --version command" do
5
- cmd=Command.new("ruby --version")
6
- # Timeout
7
- expect(cmd[:timeout]).to eq(0)
8
- cmd[:timeout]=3000
9
- expect(cmd[:timeout]).to eq(3000)
10
-
11
- # Directory
12
- expect(cmd[:directory]).to eq("")
13
- cmd[:directory] = File.dirname(__FILE__)
14
- expect(cmd[:directory]).to eq(File.dirname(__FILE__))
15
-
16
- # ExitCode
17
- expect(cmd[:exit_code]).to eq(0)
18
- cmd[:exit_code] = 1
19
- expect(cmd[:exit_code]).to eq(1)
20
-
21
- # Input
22
- expect(cmd[:input]).to eq("ruby --version")
23
- cmd2 = Command.new('')
24
- expect(cmd2[:input]).to eq('')
25
-
26
- # Output
27
- expect(cmd[:output]).to eq('')
28
- cmd[:output]='test'
29
- expect(cmd[:output]).to eq('test')
30
-
31
- # Error
32
- expect(cmd[:error]).to eq('')
33
- cmd[:error]='error_test'
34
- expect(cmd[:error]).to eq('error_test')
35
-
36
- # MachineName
37
- expect(cmd[:machine_name]).to eq('')
38
- cmd[:machine_name]='machine_name_test'
39
- expect(cmd[:machine_name]).to eq('machine_name_test')
40
-
41
- # UserName
42
- expect(cmd[:user_name]).to eq('')
43
- cmd[:user_name]='user_name_test'
44
- expect(cmd[:user_name]).to eq('user_name_test')
45
-
46
- # StartTime
47
- expect(cmd[:start_time]).to eq(nil)
48
- cmd[:start_time]=Time.now
49
- expect(cmd[:start_time]).not_to eq(nil)
50
-
51
- # EndTime
52
- expect(cmd[:end_time]).to eq(nil)
53
- cmd[:end_time]=Time.now
54
- expect(cmd[:end_time]).not_to eq(nil)
55
-
56
- end
57
-
58
- it "should be able to write to/load from JSON" do
59
- cmd=Command.new("ruby --version")
60
- expect(cmd[:timeout]).to eq(0)
61
- expect(cmd[:input]).to eq("ruby --version")
62
- cmd2=Command.new(JSON.parse(cmd.to_json))
63
- expect(cmd2[:timeout]).to eq(0)
64
- expect(cmd2[:input]).to eq("ruby --version")
65
- end
66
-
67
- it "should be able to execute rake command in specific directory" do
68
- dir="#{DEV[:dev_root]}/tmp/rake_test"
69
- FileUtils.mkdir_p(dir) if(!File.exists?(dir))
70
- File.open("#{dir}/rakefile.rb","w") { |f|
71
- f.puts "task :default do"
72
- f.puts " puts 'rake_test'"
73
- f.puts "end"
74
- }
75
- cmd=Command.new("rake")
76
- cmd[:directory]=dir
77
- cmd.execute
78
- expect(cmd[:output].include?('rake_test')).to eq(true)
79
- end
1
+ require_relative '../lib/command.rb'
2
+
3
+ describe Command do
4
+ it "should be able to execute ruby --version command" do
5
+ cmd=Command.new("ruby --version")
6
+ # Timeout
7
+ expect(cmd[:timeout]).to eq(0)
8
+ cmd[:timeout]=3000
9
+ expect(cmd[:timeout]).to eq(3000)
10
+
11
+ # Directory
12
+ expect(cmd[:directory]).to eq("")
13
+ cmd[:directory] = File.dirname(__FILE__)
14
+ expect(cmd[:directory]).to eq(File.dirname(__FILE__))
15
+
16
+ # ExitCode
17
+ expect(cmd[:exit_code]).to eq(0)
18
+ cmd[:exit_code] = 1
19
+ expect(cmd[:exit_code]).to eq(1)
20
+
21
+ # Input
22
+ expect(cmd[:input]).to eq("ruby --version")
23
+ cmd2 = Command.new('')
24
+ expect(cmd2[:input]).to eq('')
25
+
26
+ # Output
27
+ expect(cmd[:output]).to eq('')
28
+ cmd[:output]='test'
29
+ expect(cmd[:output]).to eq('test')
30
+
31
+ # Error
32
+ expect(cmd[:error]).to eq('')
33
+ cmd[:error]='error_test'
34
+ expect(cmd[:error]).to eq('error_test')
35
+
36
+ # MachineName
37
+ expect(cmd[:machine_name]).to eq('')
38
+ cmd[:machine_name]='machine_name_test'
39
+ expect(cmd[:machine_name]).to eq('machine_name_test')
40
+
41
+ # UserName
42
+ expect(cmd[:user_name]).to eq('')
43
+ cmd[:user_name]='user_name_test'
44
+ expect(cmd[:user_name]).to eq('user_name_test')
45
+
46
+ # StartTime
47
+ expect(cmd[:start_time]).to eq(nil)
48
+ cmd[:start_time]=Time.now
49
+ expect(cmd[:start_time]).not_to eq(nil)
50
+
51
+ # EndTime
52
+ expect(cmd[:end_time]).to eq(nil)
53
+ cmd[:end_time]=Time.now
54
+ expect(cmd[:end_time]).not_to eq(nil)
55
+
56
+ end
57
+
58
+ it "should be able to write to/load from JSON" do
59
+ cmd=Command.new("ruby --version")
60
+ expect(cmd[:timeout]).to eq(0)
61
+ expect(cmd[:input]).to eq("ruby --version")
62
+ cmd2=Command.new(JSON.parse(cmd.to_json))
63
+ expect(cmd2[:timeout]).to eq(0)
64
+ expect(cmd2[:input]).to eq("ruby --version")
65
+ end
66
+
67
+ it "should be able to execute rake command in specific directory" do
68
+ dir="#{DEV[:dev_root]}/tmp/rake_test"
69
+ FileUtils.mkdir_p(dir) if(!File.exists?(dir))
70
+ File.open("#{dir}/rakefile.rb","w") { |f|
71
+ f.puts "task :default do"
72
+ f.puts " puts 'rake_test'"
73
+ f.puts "end"
74
+ }
75
+ cmd=Command.new("rake")
76
+ cmd[:directory]=dir
77
+ cmd.execute
78
+ expect(cmd[:output].include?('rake_test')).to eq(true)
79
+ end
80
80
  end
@@ -1,3 +1,3 @@
1
- require_relative '../../../../lib/dev_tasks.rb'
2
- require 'json'
1
+ require_relative '../../../../lib/dev_tasks.rb'
2
+ require 'json'
3
3
  require 'yaml'
metadata CHANGED
@@ -1,83 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Lou Parslow
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-01-04 00:00:00.000000000 Z
12
+ date: 2015-01-05 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rake
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: json
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rspec
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - '>='
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - '>='
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: json
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - '>='
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - '>='
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  description: defines rake tasks for ruby and C# projects
@@ -124,39 +135,37 @@ files:
124
135
  - spec/test_data/cpp_projects/helloLib/rakefile.rb
125
136
  - spec/test_data/csharp_projects/helloDll/rakefile.rb
126
137
  - spec/test_data/ruby_projects/helloGem/rakefile.rb
127
- - spec/test_data/cpp_projects/helloLib/DEV.default..json
128
- - spec/test_data/csharp_projects/helloDll/DEV.default..json
129
138
  - spec/test_data/csharp_projects/helloDll/helloDll.Net2.0.csproj
130
139
  - spec/test_data/csharp_projects/helloDll/helloDll.Net3.5.csproj
131
140
  - spec/test_data/csharp_projects/helloDll/helloDll.Net4.0.csproj
132
141
  - spec/test_data/csharp_projects/helloDll/helloDll.Net4.5.csproj
133
142
  - spec/test_data/csharp_projects/JsonNet.csproj
134
143
  - spec/test_data/csharp_projects/JsonNet.Test.csproj
135
- - spec/test_data/csharp_projects/QcNet.csproj
136
144
  - LICENSE
137
145
  homepage: http://rubygems.org/gems/dev_tasks
138
146
  licenses:
139
147
  - Apache 2.0
140
- metadata: {}
141
148
  post_install_message:
142
149
  rdoc_options: []
143
150
  require_paths:
144
151
  - lib
145
152
  required_ruby_version: !ruby/object:Gem::Requirement
153
+ none: false
146
154
  requirements:
147
- - - '>='
155
+ - - ! '>='
148
156
  - !ruby/object:Gem::Version
149
157
  version: 1.9.3
150
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
+ none: false
151
160
  requirements:
152
- - - '>='
161
+ - - ! '>='
153
162
  - !ruby/object:Gem::Version
154
163
  version: '0'
155
164
  requirements: []
156
165
  rubyforge_project:
157
- rubygems_version: 2.0.14
166
+ rubygems_version: 1.8.28
158
167
  signing_key:
159
- specification_version: 4
168
+ specification_version: 3
160
169
  summary: development rake tasks
161
170
  test_files: []
162
171
  has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2cb115d9a4925358eb1742c21f0cf9c70f256555
4
- data.tar.gz: 5ba4974dcc13fb66da4e2a55ec325d3712753663
5
- SHA512:
6
- metadata.gz: e3364b4740716b8b30afe9699fdba9cfd762713dcd37497f6a31e21a5a99ccf1efe52014c0a061e811f7811232e71ce81b7e720675dc4f4124277b23946e51c3
7
- data.tar.gz: 675ee56250e1f5c4713604c4bb3753abed369ee312638bc408d897a571184660e196115633364133cc44761be94d78774948a2a893fa05295bb51bca807b4080
@@ -1,76 +0,0 @@
1
- {
2
- "name": "helloLib",
3
- "svn_exports": {
4
- },
5
- "scm": "none",
6
- "scm_origin": "",
7
- "branch": null,
8
- "command_order": [
9
- "pull",
10
- "upgrade",
11
- "setup",
12
- "add",
13
- "build",
14
- "test",
15
- "commit",
16
- "push",
17
- "verify",
18
- "publish"
19
- ],
20
- "relative_directory": "lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib",
21
- "working_directory": "/Users/louie/wrk/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib",
22
- "context": "wrk",
23
- "machine": "bluefin",
24
- "platform": "universal.x86_64-darwin14",
25
- "dev_root": "/Users/louie",
26
- "settings": {
27
- "colorize": true
28
- },
29
- "files": {
30
- "source": "helloLib.cpp helloLib.h helloLib.v12.sln helloLib.v12.vcxproj helloLib.v12.vcxproj.filters helloLib.v9.sln helloLib.v9.vcproj rakefile.rb",
31
- "build": "helloLib.v12.sln helloLib.v9.sln",
32
- "artifact": "helloLib.h"
33
- },
34
- "commands": {
35
- "upgrade": [
36
-
37
- ],
38
- "setup": [
39
- "svnadmin --help",
40
- "svnadmin create repo"
41
- ],
42
- "build": [
43
-
44
- ],
45
- "test": [
46
-
47
- ],
48
- "add": [
49
-
50
- ],
51
- "commit": [
52
-
53
- ],
54
- "push": [
55
-
56
- ],
57
- "verify": [
58
-
59
- ],
60
- "publish": [
61
- "svn mkdir file:////Users/louie/wrk/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib/repo/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib-0 --parents -m\"publish\"",
62
- "svn checkout file:////Users/louie/wrk/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib/repo/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib-0 /Users/louie/tmp/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib@0",
63
- "<%Environment.copy_files(DEV_TASKS[:files][:artifact],'/Users/louie/tmp/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib@0')%>",
64
- "<%Environment.svn_add_all('/Users/louie/tmp/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib@0')%>",
65
- "svn commit /Users/louie/tmp/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib@0@ -m\"publish\"",
66
- "<%FileUtils.rm_r('/Users/louie/tmp/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib@0')%>"
67
- ]
68
- },
69
- "dependencies": {
70
- },
71
- "newest_source_file": "rakefile.rb",
72
- "newest_artifact_file": "helloLib.h",
73
- "up_to_date": false,
74
- "debug": true,
75
- "publish_path": "file:////Users/louie/wrk/lep-open/DevTasksGem/spec/test_data/cpp_projects/helloLib/repo"
76
- }
@@ -1,82 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
- <PropertyGroup>
5
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
- <ProjectGuid>{AD4A8825-E043-4DC1-B945-756111E426A4}</ProjectGuid>
8
- <OutputType>Library</OutputType>
9
- <AppDesignerFolder>Properties</AppDesignerFolder>
10
- <RootNamespace>QcNet</RootNamespace>
11
- <AssemblyName>QcNet</AssemblyName>
12
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13
- <FileAlignment>512</FileAlignment>
14
- <TargetFrameworkProfile />
15
- </PropertyGroup>
16
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
- <DebugSymbols>true</DebugSymbols>
18
- <DebugType>full</DebugType>
19
- <Optimize>false</Optimize>
20
- <OutputPath>bin\Debug\</OutputPath>
21
- <DefineConstants>DEBUG;TRACE</DefineConstants>
22
- <ErrorReport>prompt</ErrorReport>
23
- <WarningLevel>4</WarningLevel>
24
- </PropertyGroup>
25
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26
- <DebugType>pdbonly</DebugType>
27
- <Optimize>true</Optimize>
28
- <OutputPath>bin\Net4.0\</OutputPath>
29
- <IntermediateOutputPath>obj\Net4.0\</IntermediateOutputPath>
30
- <DefineConstants>TRACE</DefineConstants>
31
- <ErrorReport>prompt</ErrorReport>
32
- <WarningLevel>4</WarningLevel>
33
- </PropertyGroup>
34
- <PropertyGroup>
35
- <SignAssembly>true</SignAssembly>
36
- </PropertyGroup>
37
- <PropertyGroup>
38
- <AssemblyOriginatorKeyFile>QcNet.snk</AssemblyOriginatorKeyFile>
39
- </PropertyGroup>
40
- <ItemGroup>
41
- <Reference Include="log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
42
- <SpecificVersion>False</SpecificVersion>
43
- <HintPath>dep\github\lou-parslow\NetLibs\develop\log4net\1.2.13\bin\net\4.0\release\log4net.dll</HintPath>
44
- </Reference>
45
- <Reference Include="System" />
46
- <Reference Include="System.Core" />
47
- <Reference Include="System.Net" />
48
- <Reference Include="System.Xml.Linq" />
49
- <Reference Include="System.Data.DataSetExtensions" />
50
- <Reference Include="Microsoft.CSharp" />
51
- <Reference Include="System.Data" />
52
- <Reference Include="System.Xml" />
53
- </ItemGroup>
54
- <ItemGroup>
55
- <Compile Include="ILog.cs" />
56
- <Compile Include="Internal\BaseQC.cs" />
57
- <Compile Include="Internal\Generic\ReferenceComparer.cs" />
58
- <Compile Include="Internal\Generic\ReferenceMap.cs" />
59
- <Compile Include="Internal\IComparableQC.cs" />
60
- <Compile Include="Internal\IEnumerableQC.cs" />
61
- <Compile Include="Internal\Log.cs" />
62
- <Compile Include="Internal\ObjectQC.cs" />
63
- <Compile Include="Internal\ReadQC.cs" />
64
- <Compile Include="Internal\WriteQC.cs" />
65
- <Compile Include="LogManager.cs" />
66
- <Compile Include="QcNet.cs" />
67
- <Compile Include="Properties\AssemblyInfo.cs" />
68
- <Compile Include="TestFixture.cs" />
69
- </ItemGroup>
70
- <ItemGroup>
71
- <None Include="QcNet.snk" />
72
- </ItemGroup>
73
- <ItemGroup />
74
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
75
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
76
- Other similar extension points exist, see Microsoft.Common.targets.
77
- <Target Name="BeforeBuild">
78
- </Target>
79
- <Target Name="AfterBuild">
80
- </Target>
81
- -->
82
- </Project>
@@ -1,79 +0,0 @@
1
- {
2
- "name": "helloDll",
3
- "svn_exports": {
4
- },
5
- "scm": "none",
6
- "scm_origin": "",
7
- "branch": null,
8
- "command_order": [
9
- "pull",
10
- "upgrade",
11
- "setup",
12
- "add",
13
- "build",
14
- "test",
15
- "commit",
16
- "push",
17
- "verify",
18
- "publish"
19
- ],
20
- "relative_directory": "lep-open/DevTasksGem/spec/test_data/csharp_projects/helloDll",
21
- "working_directory": "/Users/louie/wrk/lep-open/DevTasksGem/spec/test_data/csharp_projects/helloDll",
22
- "context": "wrk",
23
- "machine": "bluefin",
24
- "platform": "universal.x86_64-darwin14",
25
- "dev_root": "/Users/louie",
26
- "settings": {
27
- "colorize": true
28
- },
29
- "files": {
30
- "source": "Properties/AssemblyInfo.cs helloDll.Net2.0.csproj helloDll.Net3.5.csproj helloDll.Net4.0.csproj helloDll.Net4.5.csproj helloDll.cs helloDll.sln rakefile.rb",
31
- "build": "helloDll.sln",
32
- "artifact": "bin/Net2.0/Debug/helloDll.dll bin/Net2.0/Release/helloDll.dll bin/Net3.5/Debug/helloDll.dll bin/Net3.5/Release/helloDll.dll bin/Net4.0/Debug/helloDll.dll bin/Net4.0/Release/helloDll.dll bin/Net4.5/Debug/helloDll.dll bin/Net4.5/Release/helloDll.dll obj/Debug/helloDll.dll obj/Release/helloDll.dll"
33
- },
34
- "commands": {
35
- "upgrade": [
36
-
37
- ],
38
- "setup": [
39
-
40
- ],
41
- "build": [
42
-
43
- ],
44
- "test": [
45
-
46
- ],
47
- "add": [
48
-
49
- ],
50
- "commit": [
51
-
52
- ],
53
- "push": [
54
-
55
- ],
56
- "verify": [
57
-
58
- ],
59
- "publish": [
60
-
61
- ]
62
- },
63
- "dependencies": {
64
- "C#": {
65
- "system": [
66
- "Microsoft.CSharp",
67
- "System",
68
- "System.Core",
69
- "System.Data",
70
- "System.Data.DataSetExtensions",
71
- "System.Xml",
72
- "System.Xml.Linq"
73
- ]
74
- }
75
- },
76
- "newest_source_file": "helloDll.Net2.0.csproj",
77
- "newest_artifact_file": "bin/Net2.0/Debug/helloDll.dll",
78
- "up_to_date": false
79
- }