spicycode-micronaut 0.2.1.0 → 0.2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rubygems/specification'
4
4
  require 'lib/micronaut/rake_task'
5
5
 
6
6
  GEM = "micronaut"
7
- GEM_VERSION = "0.2.1.0"
7
+ GEM_VERSION = "0.2.1.1"
8
8
  AUTHOR = "Chad Humphries"
9
9
  EMAIL = "chad@spicycode.com"
10
10
  HOMEPAGE = "http://github.com/spicycode/micronaut"
@@ -74,7 +74,7 @@ describe Micronaut::Configuration do
74
74
  Micronaut::Configuration.new.trace?.should == false
75
75
  end
76
76
 
77
- it "is true if configuration.trace is true", :full_backtrace => true do
77
+ it "is true if configuration.trace is true" do
78
78
  config = Micronaut::Configuration.new
79
79
  config.trace = true
80
80
  config.trace?.should == true
@@ -18,6 +18,10 @@ describe Micronaut do
18
18
  end
19
19
  end
20
20
 
21
+ it "should be callable without a block" do
22
+ Micronaut.configure
23
+ end
24
+
21
25
  end
22
26
 
23
27
  describe "#world" do
data/lib/micronaut.rb CHANGED
@@ -30,7 +30,7 @@ module Micronaut
30
30
  end
31
31
 
32
32
  def self.configure
33
- yield configuration
33
+ yield configuration if block_given?
34
34
  configuration.autorun!
35
35
  end
36
36
 
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.2.1.0
4
+ version: 0.2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Humphries
@@ -9,7 +9,7 @@ autorequire: micronaut
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-10 00:00:00 -08:00
12
+ date: 2009-01-14 00:00:00 -08:00
13
13
  default_executable: micronaut
14
14
  dependencies: []
15
15