spicycode-micronaut 0.2.10 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/lib/micronaut/mocking/with_mocha.rb +6 -1
- data/lib/micronaut/world.rb +0 -1
- metadata +4 -3
data/VERSION.yml
CHANGED
@@ -4,7 +4,12 @@ require 'mocha/object'
|
|
4
4
|
module Micronaut
|
5
5
|
module Mocking
|
6
6
|
module WithMocha
|
7
|
-
|
7
|
+
# Mocha::Standalone was deprecated as of Mocha 0.9.7.
|
8
|
+
begin
|
9
|
+
include Mocha::API
|
10
|
+
rescue NameError
|
11
|
+
include Mocha::Standalone
|
12
|
+
end
|
8
13
|
|
9
14
|
alias :_setup_mocks :mocha_setup
|
10
15
|
alias :_verify_mocks :mocha_verify
|
data/lib/micronaut/world.rb
CHANGED
@@ -21,7 +21,6 @@ module Micronaut
|
|
21
21
|
|
22
22
|
if filter || exclusion_filter
|
23
23
|
@behaviours_to_run = filter_behaviours
|
24
|
-
p @behaviours_to_run
|
25
24
|
if @behaviours_to_run.size == 0 && Micronaut.configuration.run_all_when_everything_filtered?
|
26
25
|
puts "No examples were matched by #{filter.inspect}, running all"
|
27
26
|
# reset the behaviour list to all behaviours, and add back all examples
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spicycode-micronaut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Humphries
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-08 00:00:00 -07:00
|
13
13
|
default_executable: micronaut
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- lib/micronaut/world.rb
|
103
103
|
has_rdoc: false
|
104
104
|
homepage: http://github.com/spicycode/micronaut
|
105
|
+
licenses:
|
105
106
|
post_install_message:
|
106
107
|
rdoc_options:
|
107
108
|
- --charset=UTF-8
|
@@ -122,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
123
|
requirements: []
|
123
124
|
|
124
125
|
rubyforge_project: spicycode-depot
|
125
|
-
rubygems_version: 1.
|
126
|
+
rubygems_version: 1.3.5
|
126
127
|
signing_key:
|
127
128
|
specification_version: 3
|
128
129
|
summary: An excellent replacement for the wheel...
|