Skip to content

Commit

Permalink
FIX gemspec required too much to be loaded
Browse files Browse the repository at this point in the history
The gemspec required that all of the depenencies be loaded simply
because I wanted to get to the version number of the application.
  • Loading branch information
Franklin Webber committed Sep 30, 2012
1 parent bc124b9 commit 9f3ad9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions city.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'yard'
require File.dirname(__FILE__) + "/lib/yard-cucumber"
require File.dirname(__FILE__) + "/lib/yard-cucumber/version"

module CucumberInTheYARD
def self.show_version_changes(version)
Expand Down
5 changes: 1 addition & 4 deletions lib/yard-cucumber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
require 'gherkin/parser/parser'
require 'gherkin/formatter/tag_count_formatter'


module CucumberInTheYARD
VERSION = '2.2.1'
end
require File.dirname(__FILE__) + "/yard-cucumber/version.rb"

require File.dirname(__FILE__) + "/yard/code_objects/cucumber/base.rb"
require File.dirname(__FILE__) + "/yard/code_objects/cucumber/namespace_object.rb"
Expand Down
3 changes: 3 additions & 0 deletions lib/yard-cucumber/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module CucumberInTheYARD
VERSION = '2.2.1'
end

0 comments on commit 9f3ad9c

Please sign in to comment.