limited_red 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module LimitedRed
6
6
  services[:rspec] = 'https://limited-red-unit-data-service.heroku.com/'
7
7
  services[:cucumber] = 'https://limited-red-data-service.heroku.com/'
8
8
 
9
- host = config['host'] || services[config[type]]
9
+ host = config['host'] || services[options[:type]]
10
10
  port = config['port'] || ''
11
11
  uri = "#{host}#{port == '' ? '' : ":#{port}"}"
12
12
 
@@ -25,4 +25,4 @@ module LimitedRed
25
25
 
26
26
  end
27
27
  end
28
- end
28
+ end
@@ -49,11 +49,11 @@ module LimitedRed
49
49
  end
50
50
 
51
51
  def supports_feature_hash?
52
- gherkin_formatter.instance_variables.include?('@feature_hash')
52
+ gherkin_formatter.instance_variables.include?(:@feature_hash) || gherkin_formatter.instance_variables.include?('@feature_hash')
53
53
  end
54
54
 
55
55
  def feature_hash
56
- gherkin_formatter.instance_variable_get("@feature_hash")
56
+ gherkin_formatter.instance_variable_get("@feature_hash") || gherkin_formatter.instance_variable_get(:@feature_hash)
57
57
  end
58
58
 
59
59
  def gherkin_formatter
@@ -1,5 +1,5 @@
1
1
  module LimitedRed # :nodoc:
2
2
  module Version # :nodoc:
3
- STRING = '0.3.4'
3
+ STRING = '0.3.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: limited_red
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-19 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &70230372253820 !ruby/object:Gem::Requirement
16
+ requirement: &70346083672400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70230372253820
24
+ version_requirements: *70346083672400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: cucumber
27
- requirement: &70230372253280 !ruby/object:Gem::Requirement
27
+ requirement: &70346083671860 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.1.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70230372253280
35
+ version_requirements: *70346083671860
36
36
  description: Learn and adapt from you test metrics. Used with the www.limited-red.com
37
37
  service. Tests are priorited by the probability of failure
38
38
  email: joe@josephwilk.net