middleman-search_engine_sitemap 1.4.0.alpha → 1.4.0.beta

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 109b8ebd534e3f6957cd352cdbea3aa6354c088e
4
- data.tar.gz: 24ffb5ad298c3ab945a1a5d542794e994bb4cd02
3
+ metadata.gz: d4b3c9f9ddbadafdd9ba1a818222c2d3a9eecbd0
4
+ data.tar.gz: ef41a1fec6b97dffae6639f78d09d3b8a091e64e
5
5
  SHA512:
6
- metadata.gz: 75faeb6b0be83ff44d66afdb56a2591003ce907a686beb3e995344b0572575a310735d1b659d588540a47aa4a74b6c00eaee9bf60e8ec4591851de2b6324a05f
7
- data.tar.gz: d6de540453e67199fb777d9043048a906b35fce211b4ace22d32c316d27e24f29e26cf7f1d2d17ea694db8323a30a652a8d7124d8d304f170dee5fd589439f76
6
+ metadata.gz: 1b9a21b4da3c3490d8face728f79cdc812fb741d283bb420727d0a5407b9cce15469b25136fe4133457e820fc318fbe20df337e7a2d2997f3d3a10783878677d
7
+ data.tar.gz: 0b4b821bc995bb89a113d6d08362815edef0091947d478eef557b2cca9a9446941f9ea836f6c0e2a8d73af0d1c380656f0e5f259870970faa93b0285dd3de869
@@ -14,10 +14,6 @@ module Middleman
14
14
  option :process_url, nil, 'Proc for processing a URL'
15
15
  option :exclude_if, ->(resource) { false }
16
16
 
17
- def after_configuration
18
- # register_extension_templates
19
- end
20
-
21
17
  def manipulate_resource_list(resources)
22
18
  resources << sitemap_resource
23
19
  end
@@ -52,13 +48,6 @@ module Middleman
52
48
  File.extname(app.config.index_file)
53
49
  end
54
50
 
55
- def register_extension_templates
56
- # We call reload_path to register the templates directory with Middleman.
57
- # The path given to app.files must be relative to the Middleman site's root.
58
- templates_dir_relative_from_root = Pathname(TEMPLATES_DIR).relative_path_from(Pathname(app.root))
59
- app.files.reload_path(templates_dir_relative_from_root)
60
- end
61
-
62
51
  def sitemap_resource
63
52
  source_file = template('sitemap.xml.builder')
64
53
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module SearchEngineSitemap
3
- VERSION = "1.4.0.alpha"
3
+ VERSION = "1.4.0.beta"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-search_engine_sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.alpha
4
+ version: 1.4.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Nicholls