Skip to content

Commit 8c7ae7d

Browse files
authored
Add dcat_us option to writer dropdown list (#74)
* Update .gitignore * Limited Updates * Full revert - this seems to be working * Gemfile updates * Fix mdTranslator Committed Version * Update Ruby Version to 2.7.7 * Update Dockerfile Update ruby version for container to use 2.7.7. Use bundler v2.4.21. Expose port 8080 instead of 3000. * Update Gemfile.lock * Add DCAT US Option to Writers Dropdown
1 parent 71247b7 commit 8c7ae7d

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ COPY --from=base /usr/local/bundle /usr/local/bundle
3434
EXPOSE 8080
3535

3636
# Start the Rails server
37-
CMD ["rails", "server", "-b", "0.0.0.0", "-e", "production", "-p", "8080"]
37+
CMD ["rails", "server", "-b", "0.0.0.0", "-e", "production", "-p", "8080"]

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ RUBY VERSION
234234
ruby 2.7.7p221
235235

236236
BUNDLED WITH
237-
2.4.21
237+
2.4.21

app/models/option.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Option
1212
def self.getOptionList
1313
{
1414
reader: %w[mdJson sbJson fgdc],
15-
writer: %w[iso19115_3 iso19115_2 iso19110 html mdJson sbJson fgdc simple_html],
15+
writer: %w[iso19115_3 iso19115_2 iso19110 html mdJson sbJson fgdc simple_html dcat_us],
1616
format: %w[auto plain json xml],
1717
validate: %w[none normal strict],
1818
showAllTags: %w[true false],

app/views/api/v3/demos/show.html.erb

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
<option value="simple_html">Simple HTML</option>
7777
<option value="html" selected="selected">html</option>
7878
<option value="fgdc">fgdc</option>
79+
<option value="dcat_us">dcat_us</option>
7980
<option value="iso19110">iso19110</option>
8081
<option value="iso19115_3">iso19115_1 (alias of iso19115_3)</option>
8182
<option value="iso19115_2">iso19115_2/19139 (deprecated)</option>

0 commit comments

Comments
 (0)