zizia 2.1.0.alpha.05 → 2.1.0.alpha.06

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 856e448db0e47bb42ce38fd71583677fb65696cd42a6a0878d0ebb94ebc91faf
4
- data.tar.gz: 4b2b3efa46eb3d69179da511b92c71ea75236d025918b9f66d3c70b18c379d9a
3
+ metadata.gz: 03f0d7edfa32894dcbbbca57b5c6ecee005e57a41e90c81edaf7f012ea4769c4
4
+ data.tar.gz: 1c3a2332eb06a562f1954b598551a88f1b24bf1c45afe6e5a846738a0a537697
5
5
  SHA512:
6
- metadata.gz: abcb350b28b58ae7b3de6ec9b483298d1d7091529bc789995d8ec63d913155578bf8b44d2b260e2a315a26df48ef07cf19c62b66b2df0f6ec5aa41eaa06f4bca
7
- data.tar.gz: 244cbda7cee0043f80672199bd02859569ee80141e30d3b65f273fb7cf1d4d74907c1a28200cdb11fcc7f5e39f7bcfad689027fac7353b87853464daa51348e9
6
+ metadata.gz: 2c26abb5426d5db325f47dfe5b5399f6f9543b41f048b61d4d8e8ce641428cac6782c3f9f266ec8a0ee20f28c9abffc9cda7d674d42e55fc405b6666844d442e
7
+ data.tar.gz: 5586e21dc4c646af501a28ec0f96d8c11a2ab0dff1710d47b17865d9c9d10733b849de2c6308176ad1985d839a8cb988dd5ebfaf497df305f45e69275d856859
data/lib/zizia/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zizia
4
- VERSION = '2.1.0.alpha.05'
4
+ VERSION = '2.1.0.alpha.06'
5
5
  end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+ require 'spec_helper'
3
+
4
+ RSpec.describe "zizia/importer_documentation/guide.html.erb", type: :view do
5
+ before do
6
+ view.stub(:render_guide).and_return('<h1 id="title">Title</h1>')
7
+ end
8
+
9
+ it 'renders as html' do
10
+ render
11
+ expect(rendered).to match(/<h1 id="title">Title<\/h1>/)
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zizia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.alpha.05
4
+ version: 2.1.0.alpha.06
5
5
  platform: ruby
6
6
  authors:
7
7
  - Data Curation Experts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-01 00:00:00.000000000 Z
11
+ date: 2019-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-fedora
@@ -298,7 +298,6 @@ files:
298
298
  - app/models/zizia/csv_import.rb
299
299
  - app/uploaders/zizia/csv_manifest_uploader.rb
300
300
  - app/uploaders/zizia/csv_manifest_validator.rb
301
- - app/views/importer_documentation/guide.html.erb
302
301
  - app/views/layouts/zizia/application.html.erb
303
302
  - app/views/zizia/csv_imports/_actions.html.erb
304
303
  - app/views/zizia/csv_imports/_collection_selection.html.erb
@@ -312,6 +311,7 @@ files:
312
311
  - app/views/zizia/csv_imports/new.html.erb
313
312
  - app/views/zizia/csv_imports/preview.html.erb
314
313
  - app/views/zizia/csv_imports/show.html.erb
314
+ - app/views/zizia/importer_documentation/guide.html.erb
315
315
  - bin/rails
316
316
  - config/routes.rb
317
317
  - db/migrate/201901162141281_create_zizia_csv_imports.rb
@@ -456,7 +456,7 @@ files:
456
456
  - spec/support/hyrax/basic_metadata.rb
457
457
  - spec/support/hyrax/core_metadata.rb
458
458
  - spec/support/shared_contexts/with_work_type.rb
459
- - spec/views/importer_documentation/guide.html.erb_spec.rb
459
+ - spec/views/zizia/importer_documentation/guide.html.erb_spec.rb
460
460
  - spec/zizia/csv_format_validator_spec.rb
461
461
  - spec/zizia/csv_parser_spec.rb
462
462
  - spec/zizia/formatted_message_stream_spec.rb
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
- require 'spec_helper'
3
-
4
- RSpec.describe "importer_documentation/guide.html.erb", type: :view do
5
- it 'renders as html' do
6
- render
7
- expect(rendered).to match(/<h1 id="title">Title<\/h1>/)
8
- end
9
- end