wcc-contentful-app 1.0.8 → 1.1.0

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
  SHA256:
3
- metadata.gz: 90e14d9120bf9e13feaac1b38d6de53374798a9b384bcc6b4acf099ffd83b183
4
- data.tar.gz: f4276cdb1f6f466dd8252a5316ca0bb0a86310cabdf96e889a66bc68b8084194
3
+ metadata.gz: 444b08f86e21df28e755f40fe31a9c178825a96a244783876a10cf5e7dc5325e
4
+ data.tar.gz: 9405a2a26803c33773a5bce865b5404d07a60a18dc26972b1a08e9785b335d83
5
5
  SHA512:
6
- metadata.gz: c14a98f65f94a006d19b36b9ffd731ae0973190e12ef78be4188da0bc9429975a6657e04c7548ee3950d70d2d41105ceed703815754e87fc32abee2a90d19583
7
- data.tar.gz: '09e349ec2bf158a6c6c5dbc7cf281e6850d35397c85bd9fd99bdfdb7acbca7bac28a7e83945bb2543f186e1f1ac388c00abf697ad9fd54615d7337a19f2dc4d3'
6
+ metadata.gz: f480e13b3d2d6e4638137e88ff49486eda16b45af0d4a271501c5cd2e4b6c298545b44fe7472be3e37d8101c4218339856c81a0fca68c91771867f1f47efdfc6
7
+ data.tar.gz: 34c0d07fe98312d67791ce8b99b7383963e2a5e0391e7f1c32864fae4c143f7d5909fb99ee639f1193b8cbe66a877072ec9b066b2e4192477603ebb7814476a7
@@ -6,6 +6,8 @@ class WCC::Contentful::App::MarkdownRenderer
6
6
  attr_reader :options, :extensions
7
7
 
8
8
  def initialize(options = nil)
9
+ options = options&.dup
10
+
9
11
  @extensions = {
10
12
  autolink: true,
11
13
  superscript: true,
@@ -3,7 +3,7 @@
3
3
  module WCC
4
4
  module Contentful
5
5
  module App
6
- VERSION = '1.0.8'
6
+ VERSION = '1.1.0'
7
7
  end
8
8
  end
9
9
  end
@@ -37,7 +37,7 @@ module WCC::Contentful::App
37
37
  WCC::Contentful.init!
38
38
 
39
39
  # Extend all model types w/ validation & extra fields
40
- WCC::Contentful.types.each_value do |t|
40
+ WCC::Contentful::Model.schema.each_value do |t|
41
41
  file = File.dirname(__FILE__) + "/model/#{t.name.underscore}.rb"
42
42
  require file if File.exist?(file)
43
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-contentful-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-14 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -352,14 +352,14 @@ dependencies:
352
352
  requirements:
353
353
  - - "~>"
354
354
  - !ruby/object:Gem::Version
355
- version: 1.0.8
355
+ version: 1.1.0
356
356
  type: :runtime
357
357
  prerelease: false
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
360
  - - "~>"
361
361
  - !ruby/object:Gem::Version
362
- version: 1.0.8
362
+ version: 1.1.0
363
363
  description: Models, Controllers, and Views common to Watermark Church apps
364
364
  email:
365
365
  - dev@watermark.org
@@ -458,7 +458,7 @@ homepage: https://github.com/watermarkchurch/wcc-contentful
458
458
  licenses:
459
459
  - MIT
460
460
  metadata:
461
- documentation_uri: https://watermarkchurch.github.io/wcc-contentful/1.0/wcc-contentful-app
461
+ documentation_uri: https://watermarkchurch.github.io/wcc-contentful/1.1/wcc-contentful-app
462
462
  post_install_message:
463
463
  rdoc_options: []
464
464
  require_paths: