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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6dd3b90d489a9ccc378f9f37b67b85372501affd
4
- data.tar.gz: 6b77ffe9909fc103fc0b17eb87995bde6c787e45
3
+ metadata.gz: 4a0e2d59e57bd19d32d06e7d9d8047a365f7b8ad
4
+ data.tar.gz: fac0d37fb5beb3713429f82fa84102bc12949f5a
5
5
  SHA512:
6
- metadata.gz: aa6b5a5f7df8af0726302e031e6c49550f0c3448e14ae8927a8d6bc2afd54135ccdc3d3dff329127b010eb2b5d235789f31b833ac2d8dc74538d105ae42d0bc8
7
- data.tar.gz: 229488f7e28312ae349732d3eb8a2f7b979783309b2832824df57af24f171e73a7c4aa0767a70f5ea6203e6d140c522d745d93172904170b140d0f55efe175fe
6
+ metadata.gz: b1a07913212d023584012ee615527cb3786568bf8b70621cf2a074f1ef54b4f73eb0298a5fec2648c95d34035d9c1e8a3e24c4a15633ba4054069989832ee5a2
7
+ data.tar.gz: b7d375108aa2e8ce8b74ed86147dea5a04fd6e9e4a9f668295d6a54f02b5eaf488aefe5846b6982fdbbf1e1f01786f842d86babe6961ac63c0865c7b4f1135af
@@ -1,3 +1,3 @@
1
1
  module Cukerail
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-19 00:00:00.000000000 Z
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.4.8
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