yard-cucumber 2.2.0 → 2.2.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.
data/History.txt
CHANGED
data/city.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
require '
|
1
|
+
require 'yard'
|
2
2
|
require File.dirname(__FILE__) + "/lib/yard-cucumber"
|
3
3
|
|
4
4
|
module CucumberInTheYARD
|
5
5
|
def self.show_version_changes(version)
|
6
6
|
date = ""
|
7
|
-
changes = []
|
7
|
+
changes = []
|
8
8
|
grab_changes = false
|
9
9
|
|
10
10
|
File.open("#{File.dirname(__FILE__)}/History.txt",'r') do |file|
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.name = 'yard-cucumber'
|
31
31
|
s.version = ::CucumberInTheYARD::VERSION
|
32
32
|
s.authors = ["Franklin Webber"]
|
33
|
-
s.description = %{
|
33
|
+
s.description = %{
|
34
34
|
YARD-Cucumber is a YARD extension that processes Cucumber Features, Scenarios, Steps,
|
35
35
|
Step Definitions, Transforms, and Tags and provides a documentation interface that allows you
|
36
36
|
easily view and investigate the test suite. This tools hopes to bridge the gap of being able
|
@@ -40,14 +40,14 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.homepage = "http://github.com/burtlo/yard-cucumber"
|
41
41
|
|
42
42
|
s.platform = Gem::Platform::RUBY
|
43
|
-
|
43
|
+
|
44
44
|
changes = CucumberInTheYARD.show_version_changes(::CucumberInTheYARD::VERSION)
|
45
|
-
|
45
|
+
|
46
46
|
s.post_install_message = %{
|
47
47
|
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
48
48
|
|
49
49
|
Thank you for installing yard-cucumber #{::CucumberInTheYARD::VERSION} / #{changes[:date]}.
|
50
|
-
|
50
|
+
|
51
51
|
Changes:
|
52
52
|
#{changes[:changes].collect{|change| " #{change}"}.join("")}
|
53
53
|
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
@@ -57,7 +57,7 @@ Gem::Specification.new do |s|
|
|
57
57
|
s.add_dependency 'gherkin', '>= 2.2.9'
|
58
58
|
s.add_dependency 'cucumber', '>= 0.7.5'
|
59
59
|
s.add_dependency 'yard', '>= 0.8.1'
|
60
|
-
|
60
|
+
|
61
61
|
s.rubygems_version = "1.3.7"
|
62
62
|
s.files = `git ls-files`.split("\n")
|
63
63
|
s.extra_rdoc_files = ["README.md", "History.txt"]
|
@@ -25,7 +25,7 @@ def scenarios
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def tags
|
28
|
-
@tags ||= (features.collect{|feature| feature.tags } + scenarios.collect {|scenario| scenario.tags }).flatten.uniq.sort_by {|l
|
28
|
+
@tags ||= (features.collect{|feature| feature.tags } + scenarios.collect {|scenario| scenario.tags }).flatten.uniq.sort_by {|l| l.value.to_s }
|
29
29
|
end
|
30
30
|
|
31
31
|
def alpha_table(objects)
|
@@ -38,4 +38,4 @@ def alpha_table(objects)
|
|
38
38
|
|
39
39
|
@elements.each {|letter,objects| objects.sort! {|a,b| b.value.to_s <=> a.value.to_s }}
|
40
40
|
erb(:alpha_table)
|
41
|
-
end
|
41
|
+
end
|
@@ -17,7 +17,7 @@ def all_tags_by_letter
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def tags
|
20
|
-
@tags ||= Registry.all(:tag).sort_by {|l
|
20
|
+
@tags ||= Registry.all(:tag).sort_by {|l| l.value.to_s }
|
21
21
|
end
|
22
22
|
|
23
23
|
def features
|
@@ -30,5 +30,5 @@ end
|
|
30
30
|
|
31
31
|
|
32
32
|
def tagify(tag)
|
33
|
-
%{<span class="tag" href="#{url_for tag}">#{tag.value}</span>}
|
34
|
-
end
|
33
|
+
%{<span class="tag" href="#{url_for tag}">#{tag.value}</span>}
|
34
|
+
end
|
data/lib/yard-cucumber.rb
CHANGED
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.
|
4
|
+
version: 2.2.1
|
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-
|
12
|
+
date: 2012-09-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gherkin
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.8.1
|
62
|
-
description: ! "
|
62
|
+
description: ! "\n YARD-Cucumber is a YARD extension that processes Cucumber Features,
|
63
63
|
Scenarios, Steps,\n Step Definitions, Transforms, and Tags and provides a documentation
|
64
64
|
interface that allows you\n easily view and investigate the test suite. This
|
65
65
|
tools hopes to bridge the gap of being able\n to provide your feature descriptions
|
@@ -159,9 +159,9 @@ files:
|
|
159
159
|
homepage: http://github.com/burtlo/yard-cucumber
|
160
160
|
licenses: []
|
161
161
|
post_install_message: ! "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
162
|
-
(::) (::) (::) (::)\n\n Thank you for installing yard-cucumber 2.2.
|
163
|
-
\
|
164
|
-
|
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"
|
165
165
|
rdoc_options:
|
166
166
|
- --charset=UTF-8
|
167
167
|
require_paths:
|