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 +4 -4
- data/Gemfile +1 -0
- data/lib/magicspec/generators/magicspec/app/spec/spec_helper.rb.tt +7 -4
- data/magicspec.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd8f6ca87e5e7cacdc792e9946b8bd71788dcb4e
|
4
|
+
data.tar.gz: d0ea55de3ee093e2ffc0dcaf77905eac17d1805e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e46251f3e0db9aa3d655d782db58eb51b5824c50b602727d0be8bb089d9949f4b9e5a327151b11ff23e860d85160509483bf37c191de5c9060d439fa00cb62
|
7
|
+
data.tar.gz: 90093205813a40dd8fa01c72b417d3df543600f9b50c0810b198ecff39fc33a1d92c4d85657b75b70792d25bc8d53086115745d7cb7ad72e8f24a0f18e5983e6
|
data/Gemfile
CHANGED
@@ -53,8 +53,8 @@ if ENV['RUNTIME']
|
|
53
53
|
else
|
54
54
|
$caps = {
|
55
55
|
:browserName => $config["browser"],
|
56
|
-
:browser_version => "
|
57
|
-
:os =>
|
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
|
-
|
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