jeremylightsmith-actionsite 0.6.2 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,5 +19,5 @@ require 'action_site/link_checker'
19
19
  require 'action_site/async_link_checker'
20
20
 
21
21
  module ActionSite
22
- VERSION = "0.6.2"
22
+ VERSION = "0.7"
23
23
  end
@@ -94,6 +94,7 @@ module ActionSite
94
94
  end
95
95
 
96
96
  begin
97
+ yield path if block_given?
97
98
  refresh_page(path)
98
99
  rescue Exception
99
100
  return [500, {"Content-Type" => "text/plain"}, "Error in generation :\n\n#{$!.to_s}\n#{$!.backtrace.join("\n")}"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeremylightsmith-actionsite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: "0.7"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Lightsmith