etest-unit 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module EtestUnit
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.6"
3
3
  end
data/lib/module_ext.rb CHANGED
@@ -14,7 +14,10 @@ class Module
14
14
  # reloads the module, and runs the module's etests.
15
15
  def etest(*args)
16
16
  reload if respond_to?(:reload)
17
- ::EtestUnit.run self.const_get("Etest"), *args
17
+ etests = const_get("Etest")
18
+ etests.reload if etests.respond_to?(:reload)
19
+
20
+ ::EtestUnit.run etests, *args
18
21
  end
19
22
 
20
23
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etest-unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
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: 2013-05-26 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit
@@ -53,7 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  segments:
55
55
  - 0
56
- hash: 206565396900428233
56
+ hash: 2695061674860442636
57
57
  required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  none: false
59
59
  requirements:
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  requirements: []
64
64
  rubyforge_project:
65
- rubygems_version: 1.8.24
65
+ rubygems_version: 1.8.25
66
66
  signing_key:
67
67
  specification_version: 3
68
68
  summary: Build your tests alongside your code.