yard-cucumber 2.1.2 → 2.1.3

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.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 2.1.3 / 2011-09-24
2
+
3
+ * Support for Gherkin ~ 2.5 (Thanks @turboladen)
4
+
1
5
  === 2.1.2 / 2011-09-16
2
6
 
3
7
  * JRuby Bug Fix (Thanks @aledalgrande)
@@ -1,4 +1,3 @@
1
-
2
1
  module Cucumber
3
2
  module Parser
4
3
  class CityBuilder
@@ -256,7 +255,11 @@ module Cucumber
256
255
 
257
256
  @table_owner.comments = step.comments.map{|comment| comment.value}.join("\n")
258
257
 
259
- multiline_arg = rubify(step.multiline_arg)
258
+ multiline_arg = if step.respond_to? :multiline_arg
259
+ rubify(step.multiline_arg)
260
+ elsif step.respond_to? :rows
261
+ rubify(step.rows)
262
+ end
260
263
 
261
264
  case(multiline_arg)
262
265
  when gherkin_multiline_string_class
data/lib/yard-cucumber.rb CHANGED
@@ -4,7 +4,7 @@ require 'gherkin/formatter/tag_count_formatter'
4
4
 
5
5
 
6
6
  module CucumberInTheYARD
7
- VERSION = '2.1.2'
7
+ VERSION = '2.1.3'
8
8
  end
9
9
 
10
10
  require File.dirname(__FILE__) + "/yard/code_objects/cucumber/base.rb"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: yard-cucumber
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.1.2
5
+ version: 2.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Franklin Webber
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-16 00:00:00 Z
13
+ date: 2011-09-24 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: gherkin
@@ -139,7 +139,7 @@ homepage: http://github.com/burtlo/yard-cucumber
139
139
  licenses: []
140
140
 
141
141
  post_install_message: "\n\
142
- (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n Thank you for installing yard-cucumber 2.1.2 / 2011-09-16.\n \n Changes:\n \n * JRuby Bug Fix (Thanks @aledalgrande)\n \n\n\
142
+ (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n Thank you for installing yard-cucumber 2.1.3 / 2011-09-24.\n \n Changes:\n \n * Support for Gherkin ~ 2.5 (Thanks @turboladen)\n \n\n\
143
143
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n"
144
144
  rdoc_options:
145
145
  - --charset=UTF-8