yard-cucumber 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yard-cucumber (2.1.7)
4
+ yard-cucumber (2.2.1)
5
5
  cucumber (>= 0.7.5)
6
6
  gherkin (>= 2.2.9)
7
7
  yard (>= 0.8.1)
@@ -19,7 +19,7 @@ GEM
19
19
  gherkin (2.10.0)
20
20
  json (>= 1.4.6)
21
21
  json (1.7.3)
22
- yard (0.8.1)
22
+ yard (0.8.2.1)
23
23
 
24
24
  PLATFORMS
25
25
  ruby
@@ -1,3 +1,8 @@
1
+ === 2.2.2/ 2012-10-07
2
+
3
+ * Steps and Definitions have links to step transformer page
4
+ * Step definitions in the search menu no longer expand constants
5
+
1
6
  === 2.2.1/ 2012-09-29
2
7
 
3
8
  * Fixes and compatibility with JRuby (Thanks @singram)
@@ -1,5 +1,4 @@
1
- require 'yard'
2
- require File.dirname(__FILE__) + "/lib/yard-cucumber"
1
+ require File.dirname(__FILE__) + "/lib/yard-cucumber/version"
3
2
 
4
3
  module CucumberInTheYARD
5
4
  def self.show_version_changes(version)
@@ -1,10 +1,13 @@
1
+ <li>
2
+ <%= linkify YARD::CodeObjects::Cucumber::CUCUMBER_STEPTRANSFORM_NAMESPACE, "All Step Definitions" %>
3
+ </li>
1
4
  <% n = 1 %>
2
5
  <% @items.each do |stepdef| %>
3
6
  <li class="r<%= n %>">
4
7
  <span class='object_link'>
5
8
  <span class="pre"><%= stepdef.keyword %></span>
6
9
  <a href="<%= url_for stepdef %>" title="<%= h stepdef.value %>">
7
- <span class="name"><%= h(stepdef.value) %></span>
10
+ <span class="name"><%= h stepdef.literal_value %></span>
8
11
  </a>&nbsp;&nbsp;
9
12
  </span>
10
13
  <small><%= h(stepdef.location) %></small>
@@ -1,4 +1,8 @@
1
+ <li>
2
+ <%= linkify YARD::CodeObjects::Cucumber::CUCUMBER_STEPTRANSFORM_NAMESPACE, "All Defined Steps" %>
3
+ </li>
1
4
  <% n = 1 %>
5
+
2
6
  <% @items.each do |step| %>
3
7
  <li class="r<%= n %>">
4
8
  <span class='object_link'>
@@ -4,7 +4,7 @@
4
4
  <a name="<%= anchor_for item %>"></a>
5
5
  <div class="title">
6
6
  <span class="pre"><%= h item.keyword %></span>
7
- <span class="name"><%= link_constants item %></span>
7
+ <span class="name"><%= item.value %></span>
8
8
  <a style="float: right;" href="http://rubular.com/?regex=<%= urlencode item.value %>" target="_blank">Rubular</a>
9
9
  <div style="clear: both;"></div>
10
10
  </div>
@@ -2,10 +2,7 @@ require 'cucumber/parser/gherkin_builder'
2
2
  require 'gherkin/parser/parser'
3
3
  require 'gherkin/formatter/tag_count_formatter'
4
4
 
5
-
6
- module CucumberInTheYARD
7
- VERSION = '2.2.1'
8
- end
5
+ require File.dirname(__FILE__) + "/yard-cucumber/version.rb"
9
6
 
10
7
  require File.dirname(__FILE__) + "/yard/code_objects/cucumber/base.rb"
11
8
  require File.dirname(__FILE__) + "/yard/code_objects/cucumber/namespace_object.rb"
@@ -0,0 +1,3 @@
1
+ module CucumberInTheYARD
2
+ VERSION = '2.2.2'
3
+ end
@@ -20,7 +20,7 @@ module YARD::CodeObjects
20
20
  ESCAPE_PATTERN = /#\{\s*(\w+)\s*\}/ unless defined?(ESCAPE_PATTERN)
21
21
 
22
22
  #
23
- # When requesting a step tranformer object value, process it, it it hasn't
23
+ # When requesting a step tranformer object value, process it, if it hasn't
24
24
  # alredy been processed, replacing any constants that may be lurking within
25
25
  # the value.
26
26
  #
@@ -8,7 +8,7 @@ module YARD
8
8
  def process
9
9
  #
10
10
  # Features have already been created when they were parsed. So there
11
- # is no need to process the feature furhter. Previously this is where
11
+ # is no need to process the feature further. Previously this is where
12
12
  # feature steps were matched to step definitions and step definitions
13
13
  # were matched to step transforms. This only worked if the feature
14
14
  # files were were assured to be processed last which was accomplished
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-29 00:00:00.000000000 Z
12
+ date: 2012-10-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gherkin
@@ -135,6 +135,7 @@ files:
135
135
  - lib/templates/default/tag/html/setup.rb
136
136
  - lib/templates/default/tag/html/tag.erb
137
137
  - lib/yard-cucumber.rb
138
+ - lib/yard-cucumber/version.rb
138
139
  - lib/yard/code_objects/cucumber/base.rb
139
140
  - lib/yard/code_objects/cucumber/feature.rb
140
141
  - lib/yard/code_objects/cucumber/namespace_object.rb
@@ -159,9 +160,10 @@ files:
159
160
  homepage: http://github.com/burtlo/yard-cucumber
160
161
  licenses: []
161
162
  post_install_message: ! "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
162
- (::) (::) (::) (::)\n\n Thank you for installing yard-cucumber 2.2.1 / 2012-09-29.\n\n
163
- \ Changes:\n \n * Fixes and compatibility with JRuby (Thanks @singram)\n \n\n(::)
164
- (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n"
163
+ (::) (::) (::) (::)\n\n Thank you for installing yard-cucumber 2.2.2 / 2012-10-07.\n\n
164
+ \ Changes:\n \n * Steps and Definitions have links to step transformer page\n
165
+ \ * Step definitions in the search menu no longer expand constants\n \n\n(::) (::)
166
+ (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n"
165
167
  rdoc_options:
166
168
  - --charset=UTF-8
167
169
  require_paths: