running_man 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/running_man/active_record_block.rb +1 -1
- data/lib/running_man.rb +1 -1
- data/running_man.gemspec +2 -2
- metadata +38 -19
@@ -37,7 +37,7 @@ module RunningMan
|
|
37
37
|
# Open a new transaction before running any test.
|
38
38
|
def setup_transaction
|
39
39
|
ActiveRecord::Base.connection.increment_open_transactions
|
40
|
-
if ActiveRecord::Base.connection.
|
40
|
+
if ActiveRecord::Base.connection.respond_to?(:transaction_joinable=)
|
41
41
|
ActiveRecord::Base.connection.transaction_joinable = false
|
42
42
|
end
|
43
43
|
ActiveRecord::Base.connection.begin_db_transaction
|
data/lib/running_man.rb
CHANGED
data/running_man.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'running_man'
|
16
|
-
s.version = '0.3.
|
16
|
+
s.version = '0.3.11'
|
17
17
|
s.date = '2012-08-09'
|
18
18
|
s.rubyforge_project = 'running_man'
|
19
19
|
|
@@ -55,4 +55,4 @@ Gem::Specification.new do |s|
|
|
55
55
|
## Test files will be grabbed from the file list. Make sure the path glob
|
56
56
|
## matches what you actually use.
|
57
57
|
s.test_files = s.files.select { |path| path =~ /^test\/.*_test\.rb/ }
|
58
|
-
end
|
58
|
+
end
|
metadata
CHANGED
@@ -1,22 +1,32 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: running_man
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 3
|
9
|
+
- 11
|
10
|
+
version: 0.3.11
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- rick
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2012-08-09 00:00:00 Z
|
13
19
|
dependencies: []
|
20
|
+
|
14
21
|
description: Simple class for test/unit setup blocks that run just once.
|
15
22
|
email: technoweenie@gmail.com
|
16
23
|
executables: []
|
24
|
+
|
17
25
|
extensions: []
|
26
|
+
|
18
27
|
extra_rdoc_files: []
|
19
|
-
|
28
|
+
|
29
|
+
files:
|
20
30
|
- LICENSE
|
21
31
|
- README.md
|
22
32
|
- Rakefile
|
@@ -30,29 +40,38 @@ files:
|
|
30
40
|
- test/test_helper.rb
|
31
41
|
homepage: http://github.com/technoweenie/running_man
|
32
42
|
licenses: []
|
43
|
+
|
33
44
|
post_install_message:
|
34
45
|
rdoc_options: []
|
35
|
-
|
46
|
+
|
47
|
+
require_paths:
|
36
48
|
- lib
|
37
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
38
50
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
hash: 3
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
version: "0"
|
58
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
59
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
hash: 3
|
64
|
+
segments:
|
65
|
+
- 0
|
66
|
+
version: "0"
|
49
67
|
requirements: []
|
68
|
+
|
50
69
|
rubyforge_project: running_man
|
51
|
-
rubygems_version: 1.8.
|
70
|
+
rubygems_version: 1.8.24
|
52
71
|
signing_key:
|
53
72
|
specification_version: 2
|
54
73
|
summary: Simple class for test/unit setup blocks that run just once.
|
55
|
-
test_files:
|
74
|
+
test_files:
|
56
75
|
- test/running_man/active_record_block_test.rb
|
57
76
|
- test/running_man/block_helper_test.rb
|
58
77
|
- test/running_man/block_test.rb
|