magicspec 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46b861d95970d1a2e51a03e348d97d1c23d0d409
4
- data.tar.gz: 9f60d9efc2f63dce5659e7b86c0f5f1e0f57efe8
3
+ metadata.gz: fd8f6ca87e5e7cacdc792e9946b8bd71788dcb4e
4
+ data.tar.gz: d0ea55de3ee093e2ffc0dcaf77905eac17d1805e
5
5
  SHA512:
6
- metadata.gz: df0b1b8ad88e90cb6b3c1fe778b2bc4886206e15650c71724f19a606ab99157bbf4f450712dff869aa4de2d7c95334581651b45a668e25d023ababae6a98b79c
7
- data.tar.gz: 1f92ecce66a22bfbb8634f5d47028f3444d0c6b1631a32e561d547df2b699c54b95d65a84691c6d595fcb6adf9552a1d0f0d9050a06f156f1a7987ac470524ff
6
+ metadata.gz: 82e46251f3e0db9aa3d655d782db58eb51b5824c50b602727d0be8bb089d9949f4b9e5a327151b11ff23e860d85160509483bf37c191de5c9060d439fa00cb62
7
+ data.tar.gz: 90093205813a40dd8fa01c72b417d3df543600f9b50c0810b198ecff39fc33a1d92c4d85657b75b70792d25bc8d53086115745d7cb7ad72e8f24a0f18e5983e6
data/Gemfile CHANGED
@@ -10,6 +10,7 @@ gem "rspec-rerun"
10
10
  gem "fuubar"
11
11
  gem "thor"
12
12
  gem "watir-browser-factory"
13
+ gem "net-ping"
13
14
 
14
15
  group :development do
15
16
  gem "rdoc"
@@ -53,8 +53,8 @@ if ENV['RUNTIME']
53
53
  else
54
54
  $caps = {
55
55
  :browserName => $config["browser"],
56
- :browser_version => "TBD",
57
- :os => Uname.uname["sysname"],
56
+ :browser_version => "unknown",
57
+ :os => RbConfig::CONFIG["host_os"],
58
58
  :local => true
59
59
  }
60
60
  $metadata = {
@@ -108,8 +108,11 @@ RSpec.configure do |c|
108
108
  # Add formatters
109
109
  c.add_formatter("Fuubar")
110
110
  #c.add_formatter("Lazyman::LazymanFormatter")
111
- # Check to make sure we can reach our service
112
- c.add_formatter("RestFormatter")
111
+ # Check to make sure we can reach our service and if so push reports to there.
112
+ HOST = "http://localhost:3000"
113
+ if JSON.parse(RestClient.get("#{HOST}/about/summary.json"))["status"] == "up"
114
+ c.add_formatter("RestFormatter")
115
+ end
113
116
 
114
117
  # If there is a tag value and no one has passed a filter to rspec use the config
115
118
  if $config.tags && c.inclusion_filter.empty?
data/magicspec.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "magicspec"
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["dmfranko"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magicspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - dmfranko