smartgen 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- 0.5.1
1
+ 0.5.2
2
2
  -----
3
3
 
4
4
  * Smartgen::ObjectHash is used as default value for metadata parameter when rendering files
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smartgen (0.5.1)
4
+ smartgen (0.5.2)
5
5
  RedCloth (= 4.2.3)
6
6
  activesupport (>= 2.3.5)
7
7
  bluecloth (>= 2.0.9)
@@ -1,4 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Smartgen
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
@@ -68,7 +68,6 @@ module Smartgen
68
68
  def setup_graceful_exit
69
69
  Kernel.trap 'INT' do
70
70
  puts "Stopping watcher..."
71
- directory_watcher.stop
72
71
  Kernel.exit 0
73
72
  end
74
73
  end
@@ -62,7 +62,6 @@ describe Smartgen::Watcher do
62
62
 
63
63
  context "when user hits ctrl+c" do
64
64
  it "should exit gracefully" do
65
- directory_watcher.should_receive(:stop)
66
65
  Kernel.should_receive(:exit).with(0)
67
66
  Kernel.should_receive(:trap).with('INT').and_yield
68
67
  capture(:stdout) { subject.start }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 1
9
- version: 0.5.1
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Vicente Mundim