mattscilipoti-cucumber-rails 0.2.4.1 → 0.2.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4.1
1
+ 0.2.4.2
@@ -1,4 +1,3 @@
1
- puts 'INFO: Using mattscilipoti-cucumber-rails -v0.2.4'
2
1
  if defined?(ActiveRecord::Base)
3
2
  Before do
4
3
  $__cucumber_global_use_txn = !!Cucumber::Rails::World.use_transactional_fixtures if $__cucumber_global_use_txn.nil?
@@ -38,6 +38,10 @@ module Cucumber #:nodoc:
38
38
  def initialize #:nodoc:
39
39
  @_result = Test::Unit::TestResult.new
40
40
  end
41
+
42
+ def self.version
43
+ IO.read(File.expand_path(File.dirname(__FILE__) + '/../../../VERSION')).chomp
44
+ end
41
45
  end
42
46
  end
43
47
  end
@@ -45,3 +49,4 @@ end
45
49
  World do
46
50
  Cucumber::Rails::World.new
47
51
  end
52
+ puts 'INFO: Using mattscilipoti-cucumber-rails -v' + Cucumber::Rails::World.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mattscilipoti-cucumber-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4.1
4
+ version: 0.2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Dennis Bl\xC3\xB6te"
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2010-01-26 00:00:00 -05:00
14
+ date: 2010-01-27 00:00:00 -05:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency