testlogger 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/conf.rb +1 -1
  3. data/lib/testlogger.rb +1 -3
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWYxNDJhYTgyZmY1YzhkZGE5Yzc5OWI4NGUwZTAyMjBkNzc1MDhlYg==
4
+ MjNkMTVhOTkyNGIwNjUyNmQ0MTU1OWNhMTM4ODBlOTYxZWUyMjFiZQ==
5
5
  data.tar.gz: !binary |-
6
- ZjQ4NWJlMjNjZTNjZjkxOTFjN2Q1NDdiNTMzODZjNGQ1NzY1MGJiNg==
6
+ MDdhMzAxNTg0MzBkYzY4MTQ0NTA2ZWUwZmM0OWQyNzFjOTk4YzZjNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWQwNjI2MjZhNTBjNzQyNGIwNGU0MmJkYjY4OTIyNDQ3ZjIwNTcwZDkxOWFh
10
- NGY0ODY3MzkyZDk3OTllMjY1ZmZiMTE1Y2NhOWM5YzVmYjI2ZjM0YzAwZWQ0
11
- Y2UwMTg5YjQ0OWFhY2Q4MTY5OTVkOTg0MDkzNGNkNjNiM2Q2YzU=
9
+ YTZhZWZhY2Y1MGIxNGZiMTEwMmEzNTMxOWE1OTA2NzgxN2QwNWVkMzI5MjJk
10
+ YWE5NjYzMjM4OThjYmYxYmNjNmVmOTk0NTQwNTZiZWY0YTVjNGZkMGQ4YWQx
11
+ OWMzZTk0NGMxOWM2Y2QyNWUyOTc3ZGM4ZDFjNTUzZmZmMDUyYzk=
12
12
  data.tar.gz: !binary |-
13
- ZTczYzdlZGI2ZWM5OTViNmJiNDY0MzY1YTNkZDE2YTVmYWQ3MDJkOGMxNDkw
14
- NDczZTFjMWEyMzQ2NmFkZWU2MzYwMzk3MjhhYzBiNWU1YzNlYTQyOTE1Zjk0
15
- MjAwNmVjYzY4Y2Q0ZTA4YzM5Nzc0MjQwODlkNzkyNWIzMDAyYzI=
13
+ ZDk3ZTYzMmEwNzllM2U1ODc5NWIzN2M2OTY0Y2YzNmE3ZTE4MjQxYzdhOTYy
14
+ YmYxNGQ2YjEwMzYyNmY4NjJlYmRjMGQxMTM2ZjRmMDBmZGMzMGY4YTg0YmEw
15
+ MTU4NWE2YmM5MzU5OGYzYzE0ZTBkMWUxMzQ1NjhiOTlkYTZmZDY=
data/conf.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  def getLogConfiguration()
2
2
  hash = Hash.new()
3
3
  hash = {
4
- :resultFileLocation => 'C:/Results/MyResults',
4
+ :resultFileLocation => 'C:/Results',
5
5
  }
6
6
  return hash
7
7
  end
@@ -8,7 +8,6 @@ require 'time'
8
8
  @Resultslocation = "C:/Results"
9
9
  @logFileName = @Resultslocation+"TestResults_"+(Time.new.strftime "%H_%M_%S")+".xml"
10
10
 
11
- #FileUtils.mkdir_p(File.dirname(@logFileName))
12
11
  def self.getResultLocation()
13
12
  puts "Find results at: "+@logFileName
14
13
  end
@@ -18,7 +17,6 @@ require 'time'
18
17
  location = File.expand_path(File.dirname(__FILE__)+"/../conf.rb")
19
18
  require location
20
19
  configValues = getLogConfiguration()
21
- puts configValues[:resultFileLocation]
22
20
  @logFileName = configValues[:resultFileLocation]+"/TestResults_"+(Time.new.strftime "%H_%M_%S")+".xml"
23
21
  puts "Loading results location from default 'config.rb'"
24
22
  Log.getResultLocation
@@ -212,7 +210,7 @@ require 'time'
212
210
  log.add_child(error)
213
211
  log = doc.at_xpath(Log.getCurrentNode+"/error[last()]")
214
212
 
215
- timeN = Nokogiri::XML::Node.new("Time", doc)
213
+ timeN = Nokogiri::XML::Node.new("time", doc)
216
214
  timeN.content=Time.now.iso8601(3)
217
215
  log.add_child(timeN)
218
216
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testlogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shiva Krishna Imminni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-11 00:00:00.000000000 Z
11
+ date: 2013-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: log your test results into an xml file using testlogger. Special support
27
+ description: Log your test results into an xml file using testlogger. Special support
28
28
  for nodes like test-script test-case test-step for QA Automation.
29
29
  email:
30
30
  - shivausum@gmail.org
@@ -34,7 +34,7 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - lib/testlogger.rb
36
36
  - conf.rb
37
- homepage: http://questionselenium.com/
37
+ homepage: http://www.questionselenium.com/p/testlogger.html
38
38
  licenses:
39
39
  - MIT
40
40
  metadata: {}
@@ -57,5 +57,5 @@ rubyforge_project:
57
57
  rubygems_version: 2.1.10
58
58
  signing_key:
59
59
  specification_version: 4
60
- summary: log your test results into an xml file using testlogger.
60
+ summary: Log your test results into an xml file using testlogger.
61
61
  test_files: []