aweplug 1.0.0.a2 → 1.0.0.a3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,9 @@ module Aweplug
9
9
  class Quickstart
10
10
  include Aweplug::Helper::Git::Commit::Metadata
11
11
 
12
- def initialize repository, layout
12
+ def initialize repository, layout, output_dir
13
13
  @repo = repository
14
+ @output_dir = output_dir
14
15
  @layout = layout
15
16
  end
16
17
 
@@ -33,6 +34,7 @@ module Aweplug
33
34
  def add_to_site(site, file)
34
35
  page = site.engine.load_site_page file
35
36
  page.layout = @layout
37
+ page.output_path = File.join @output_path, page.output_filename
36
38
  page
37
39
  end
38
40
  end
@@ -1,4 +1,4 @@
1
1
  module Aweplug
2
- VERSION='1.0.0.a2'
2
+ VERSION='1.0.0.a3'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aweplug
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.a2
4
+ version: 1.0.0.a3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: