Skip to content

Commit

Permalink
Removed deprecation warning for source_tag_names. Release 1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Feb 22, 2012
1 parent e165df2 commit 5066ada
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 262 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,4 +1,4 @@
source "http://rubygems.org"
gemspec

# gem 'gherkin', :path => '../gherkin'
# gem 'gherkin', :path => '../gherkin'
5 changes: 5 additions & 0 deletions History.md
@@ -1,3 +1,8 @@
## [v1.1.9](https://github.com/cucumber/cucumber/compare/v1.1.8...v1.1.9)

## Bugfixes
* Removed deprecation warning for `source_tag_names`. It's not deprecated anymore. (Aslak Hellesøy)

## [v1.1.8](https://github.com/cucumber/cucumber/compare/v1.1.7...v1.1.8)

## Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion cucumber.gemspec
Expand Up @@ -23,7 +23,7 @@ for important information about this release. Happy cuking!
}

s.add_runtime_dependency 'gherkin', '~> 2.8.0'
s.add_runtime_dependency 'gherkin', '~> 2.9.0'
s.add_runtime_dependency 'term-ansicolor', '>= 1.0.6'
s.add_runtime_dependency 'builder', '>= 2.1.2'
s.add_runtime_dependency 'diff-lcs', '>= 1.1.2'
Expand Down
254 changes: 0 additions & 254 deletions features/.cucumber/stepdefs.json
Expand Up @@ -783,260 +783,6 @@

]
},
{
"source": "^a scenario \"([^\"]*)\" with:$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:5",
"steps": [
{
"name": "a scenario \"Add three numbers\" with:",
"args": [
{
"offset": 12,
"val": "Add three numbers"
}
]
},
{
"name": "a scenario \"Add two numbers\" with:",
"args": [
{
"offset": 12,
"val": "Add two numbers"
}
]
},
{
"name": "a scenario \"Basic Arithmetic\" with:",
"args": [
{
"offset": 12,
"val": "Basic Arithmetic"
}
]
},
{
"name": "a scenario \"Calculate PI\" with:",
"args": [
{
"offset": 12,
"val": "Calculate PI"
}
]
},
{
"name": "a scenario \"Simple math\" with:",
"args": [
{
"offset": 12,
"val": "Simple math"
}
]
},
{
"name": "a scenario \"Too simple math\" with:",
"args": [
{
"offset": 12,
"val": "Too simple math"
}
]
}
]
},
{
"source": "^the following feature:$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:10",
"steps": [
{
"name": "the following feature:",
"args": [

]
}
]
},
{
"source": "^the step \"([^\"]*)\" has a passing mapping$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:14",
"steps": [
{
"name": "the step \"I add 4 and 5\" has a passing mapping",
"args": [
{
"offset": 10,
"val": "I add 4 and 5"
}
]
},
{
"name": "the step \"the result is 9\" has a passing mapping",
"args": [
{
"offset": 10,
"val": "the result is 9"
}
]
}
]
},
{
"source": "^the step \"([^\"]*)\" has a pending mapping$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:18",
"steps": [
{
"name": "the step \"I add 4 and 5\" has a pending mapping",
"args": [
{
"offset": 10,
"val": "I add 4 and 5"
}
]
}
]
},
{
"source": "^the step \"([^\"]*)\" has a failing mapping$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:22",
"steps": [
{
"name": "the step \"I add 4 and 5\" has a failing mapping",
"args": [
{
"offset": 10,
"val": "I add 4 and 5"
}
]
}
]
},
{
"source": "^Cucumber executes the scenario \"([^\"]*)\"$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:26",
"steps": [
{
"name": "Cucumber executes the scenario \"Basic Arithmetic\"",
"args": [
{
"offset": 32,
"val": "Basic Arithmetic"
}
]
}
]
},
{
"source": "^Cucumber runs the feature$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:30",
"steps": [
{
"name": "Cucumber runs the feature",
"args": [

]
}
]
},
{
"source": "^Cucumber runs the scenario with steps for a calculator$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:34",
"steps": [
{
"name": "Cucumber runs the scenario with steps for a calculator",
"args": [

]
}
]
},
{
"source": "^the scenario passes$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:40",
"steps": [
{
"name": "the scenario passes",
"args": [

]
}
]
},
{
"source": "^the scenario fails$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:44",
"steps": [
{
"name": "the scenario fails",
"args": [

]
}
]
},
{
"source": "^the scenario is pending$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:48",
"steps": [
{
"name": "the scenario is pending",
"args": [

]
}
]
},
{
"source": "^the scenario is undefined$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:52",
"steps": [
{
"name": "the scenario is undefined",
"args": [

]
}
]
},
{
"source": "^the step \"([^\"]*)\" is skipped$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:56",
"steps": [
{
"name": "the step \"the result is 9\" is skipped",
"args": [
{
"offset": 10,
"val": "the result is 9"
}
]
}
]
},
{
"source": "^the feature passes$",
"flags": "",
"file_colon_line": "features/cucumber-features/step_definitions/cucumber_stepdefs.rb:60",
"steps": [
{
"name": "the feature passes",
"args": [

]
}
]
},
{
"source": "^I run cucumber \"(.+)\"$",
"flags": "",
Expand Down
1 change: 0 additions & 1 deletion lib/cucumber/ast/background.rb
Expand Up @@ -104,7 +104,6 @@ def source_tags
end

def source_tag_names
warn("Deprecated: please use #source_tags instead.")
source_tags.map { |tag| tag.name }
end

Expand Down
1 change: 0 additions & 1 deletion lib/cucumber/ast/feature.rb
Expand Up @@ -58,7 +58,6 @@ def source_tags
end

def source_tag_names
warn("Deprecated: please use #source_tags instead.")
source_tags.map { |tag| tag.name }
end

Expand Down
1 change: 0 additions & 1 deletion lib/cucumber/ast/feature_element.rb
Expand Up @@ -67,7 +67,6 @@ def accept_hook?(hook)
end

def source_tag_names
warn("Deprecated: please use #source_tags instead.")
source_tags.map { |tag| tag.name }
end

Expand Down
2 changes: 0 additions & 2 deletions lib/cucumber/ast/outline_table.rb
Expand Up @@ -39,7 +39,6 @@ def source_tags
end

def source_tag_names
warn("Deprecated: please use #source_tags instead.")
source_tags.map { |tag| tag.name }
end

Expand Down Expand Up @@ -85,7 +84,6 @@ def initialize(table, cells)
end

def source_tag_names
warn("Deprecated: please use #source_tags instead.")
source_tags.map { |tag| tag.name }
end

Expand Down
2 changes: 1 addition & 1 deletion lib/cucumber/platform.rb
Expand Up @@ -4,7 +4,7 @@

module Cucumber
unless defined?(Cucumber::VERSION)
VERSION = '1.1.8'
VERSION = '1.1.9'
BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
JRUBY = defined?(JRUBY_VERSION)
Expand Down

0 comments on commit 5066ada

Please sign in to comment.