soda 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/SodaSuite +8 -2
  2. data/lib/soda.rb +2 -0
  3. metadata +4 -4
data/bin/SodaSuite CHANGED
@@ -31,7 +31,7 @@
31
31
  # Needed Ruby libs:
32
32
  ###############################################################################
33
33
  require 'rubygems'
34
- require 'Soda'
34
+ require 'soda'
35
35
  require 'getoptlong'
36
36
  require 'libxml'
37
37
  require 'watir'
@@ -246,6 +246,8 @@ Optional Flags:
246
246
 
247
247
  --help: Prints this message and exits.
248
248
 
249
+ --version: Print the Soda Version string.
250
+
249
251
  HLP
250
252
 
251
253
  print "#{hlp_msg}"
@@ -530,7 +532,8 @@ def Main
530
532
  [ '--restartcount', '-1', GetoptLong::OPTIONAL_ARGUMENT ],
531
533
  [ '--restarttest', '-2', GetoptLong::OPTIONAL_ARGUMENT],
532
534
  [ '--reruntest', '-3', GetoptLong::OPTIONAL_ARGUMENT ],
533
- [ '--skipcsserrors', '-4', GetoptLong::OPTIONAL_ARGUMENT]
535
+ [ '--skipcsserrors', '-4', GetoptLong::OPTIONAL_ARGUMENT],
536
+ [ '--version', '-5', GetoptLong::OPTIONAL_ARGUMENT]
534
537
  )
535
538
 
536
539
  opts.quiet = true
@@ -574,6 +577,9 @@ def Main
574
577
  rerun_test_script = arg
575
578
  when "--skipcsserrors"
576
579
  params['errorskip'].push("css")
580
+ when "--version"
581
+ print "(*)SODA Version: #{SODA_GEM_VERSION}\n\n"
582
+ return 0
577
583
  end
578
584
  end
579
585
  rescue Exception => e
data/lib/soda.rb CHANGED
@@ -1,2 +1,4 @@
1
1
  require 'Soda'
2
2
 
3
+ SODA_GEM_VERSION = "1.0.1"
4
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soda
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Trampus Richmond
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-13 00:00:00 -08:00
18
+ date: 2011-01-14 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency