cukerail 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/lib/cukerail/version.rb +1 -1
- data/lib/cukerail.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a0e2d59e57bd19d32d06e7d9d8047a365f7b8ad
|
|
4
|
+
data.tar.gz: fac0d37fb5beb3713429f82fa84102bc12949f5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1a07913212d023584012ee615527cb3786568bf8b70621cf2a074f1ef54b4f73eb0298a5fec2648c95d34035d9c1e8a3e24c4a15633ba4054069989832ee5a2
|
|
7
|
+
data.tar.gz: b7d375108aa2e8ce8b74ed86147dea5a04fd6e9e4a9f668295d6a54f02b5eaf488aefe5846b6982fdbbf1e1f01786f842d86babe6961ac63c0865c7b4f1135af
|
data/lib/cukerail/version.rb
CHANGED
data/lib/cukerail.rb
CHANGED
|
@@ -4,6 +4,10 @@ module Cukerail
|
|
|
4
4
|
class Sender
|
|
5
5
|
attr_reader :testrail_api_client,:failed_step
|
|
6
6
|
def initialize(runtime, io, options)
|
|
7
|
+
puts 'in initialize'
|
|
8
|
+
if %w(BASE_URL USER PASSWORD).map{|e| ENV["TESTRAIL_#{e}"]}.any?{|e| e=='' || !e}
|
|
9
|
+
raise 'You need to setup Testrail environment parameters see https://bbcworldwide.atlassian.net/wiki/display/BAR/Installing+and+Running+Cukerail'
|
|
10
|
+
end
|
|
7
11
|
@testrail_api_client = TestRail::APIClient.new(ENV['TESTRAIL_BASE_URL'],ENV['TESTRAIL_USER'],ENV['TESTRAIL_PASSWORD'])
|
|
8
12
|
end
|
|
9
13
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cukerail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Small
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
122
|
rubyforge_project:
|
|
123
|
-
rubygems_version: 2.
|
|
123
|
+
rubygems_version: 2.2.2
|
|
124
124
|
signing_key:
|
|
125
125
|
specification_version: 4
|
|
126
126
|
summary: Integrates Cucumber and Testrail from Gurock Software
|