qa_server 1.2.0 → 1.2.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: fe8ceab0dbba82771e42b7fe8e2d35d734e18669
4
- data.tar.gz: f831a1787460b77639340182fde037ff48e5e221
3
+ metadata.gz: 6e792dea279d178c3076c5f8296627fa9e2e1060
4
+ data.tar.gz: efb885115f6769b6081c69782250e4862b90cc85
5
5
  SHA512:
6
- metadata.gz: 39082736888d2f850dd1694658bde25ccd6f6c59858792c4deabac96f307522060eac6089b2476f399740bac3f97a8a3e8c60278872dc8bf545f07eed47c88bb
7
- data.tar.gz: '029e344383e0991d08f1ef48fe22e70691317dc5138771893292f3a9029ef9ca59fdc0a530fc7954eeb7caa0f51353662c369cd3afc821f57619082c748feced'
6
+ metadata.gz: 360154f3f5d1c07b8ec5b2fdf85da23f76d6c2a152e47bb7c7d9988a157bb53a0fd55a074c3f93ca2d3017e3fd08e7c4a7b6e75d4e81e7f3359266f943d79847
7
+ data.tar.gz: 265a077311e071795d4962bf75b928cc9f8f27f1da150ce097edd8da229e8a4ca5c97387fe76a4ed4b082b9f88aee5514d15bb769c957c15b8bad304dc6031b4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.2.1 (2018-11-20)
2
+
3
+ * update Usage page to describe fetch and show options for retrieving a single term
4
+
1
5
  ### 1.2.0 (2018-11-20)
2
6
 
3
7
  * update QA which includes...
@@ -51,31 +51,31 @@
51
51
  ]</pre>
52
52
 
53
53
  <hr>
54
- <h3>To fetch a single term:</h3>
54
+ <h3>To retrieve a single term:</h3>
55
55
 
56
56
  <p>The data after the authority name is required and should be the URI or the ID of the term being retrieved.
57
57
  Which value to use depends on the authority configuration. All other parameters are optional. Some
58
58
  authorities support different optional parameters, but attempts were made to keep optional parameter names
59
59
  consistent between authorities.</p>
60
60
 
61
- <h4>Fetch by URI</h4>
62
- <pre><%= QaServer::Engine.qa_engine_mount %>/show/linked_data/locnames_ld4l_cache/http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188</pre>
61
+ <h4>Retrieve Term by URI</h4>
62
+ <pre><%= QaServer::Engine.qa_engine_mount %>/fetch/linked_data/locnames_ld4l_cache?uri=http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188</pre>
63
63
  <p><b><%= t('qa_server.warning.chrome_unencoding_msg') %></b></p>
64
64
 
65
65
  where,
66
66
  <ul>
67
- <li>show (required) - indicates this is a fetch of a single term</li>
67
+ <li>fetch (required) - indicates this is retrieves a single term by URI</li>
68
68
  <li>locnames_ld4l_cache (required) - the name of the authority</li>
69
- <li>http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188 (required) - the encoded uri of the term to fetch</li>
69
+ <li>uri=http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188 (required) - the encoded uri of the term to fetch</li>
70
70
  <li>lang=en (optional) - if the authority returns language encoded literals, results will be filtered for the specified language</li>
71
71
  </ul>
72
72
 
73
- <h4>Fetch by ID</h4>
73
+ <h4>Retrieve Term by ID</h4>
74
74
  <pre><%= QaServer::Engine.qa_engine_mount %>/show/linked_data/oclcfast_ld4l_cache/1914919?lang=en</pre>
75
75
 
76
76
  where,
77
77
  <ul>
78
- <li>show (required) - indicates this is a fetch of a single term</li>
78
+ <li>show (required) - indicates this retrieves a single term by ID</li>
79
79
  <li>oclcfast_ld4l_cache (required) - the name of the authority</li>
80
80
  <li>1914919 (required) - the id of the term to fetch</li>
81
81
  <li>lang=en (optional) - if the authority returns language encoded literals, results will be filtered for the specified language
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qa_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - E. Lynette Rayle