govuk_tech_docs 1.6.0 → 1.6.1

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: 7e106d8464ee73119270e939801832a1e49118a7
4
- data.tar.gz: 334c5c672945bd52df62772578ccb862356cafd1
3
+ metadata.gz: 53bc02bac11f6ebf954c41005afaa42e17b050ef
4
+ data.tar.gz: 48781c829d952afb37402f50cfbfc4d12b0f10f3
5
5
  SHA512:
6
- metadata.gz: b507269b3da54e98e28db73fb89a0d4f2f2e1032f0829f2c3a7acc2401eb4f24b37e6776c16b6fdd0bfe49693a3df270ca8a68fcc162a78bbc380f5ec68d68f1
7
- data.tar.gz: d825189334f2ea5612ca72836d2259a7d983c0b20ea5a559f7c1c9e61d47647700964ab20dca97d2f66bd3e2cf187681725becab2cb089e2343a7dfa49b89cf0
6
+ metadata.gz: 1098aa8ced88e70aa73bb431c356198a1e4b88213922abbf2b6712ffe085dc177079b73f755e9ba801fdd358d85d04add18f4cf1de412ebfb508c5a9f5f0ee94
7
+ data.tar.gz: b0895964d9e9e15c3096669a89aee2635c999c0cde3bfaa7c44b3e0c58991655e4613bbb7e60d42fba5fde22820aa1ceb07ae42051cf36034f4375e1348b2755
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.6.1
6
+
7
+ ### Make `api_path` configuration optional
8
+
9
+ A bug in the previous release prevented the docs from being generated if
10
+ `api_path` was missing. This is now fixed.
11
+
5
12
  ## 1.6.0
6
13
 
7
14
  Version 1.6.0 adds API reference generation, and improves the search function.
@@ -17,7 +17,8 @@ module GovukTechDocs
17
17
 
18
18
  # If no api path then just return.
19
19
  if @config['api_path'].to_s.empty?
20
- raise 'No api path defined in tech-docs.yml'
20
+ @api_parser = false
21
+ return
21
22
  end
22
23
 
23
24
  # Is the api_path a url or path?
@@ -1,3 +1,3 @@
1
1
  module GovukTechDocs
2
- VERSION = "1.6.0".freeze
2
+ VERSION = "1.6.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_tech_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service