middleman-gdpr 0.2.0 → 0.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
  SHA256:
3
- metadata.gz: be520ef04f3b04c32e8c4b7016e2066c9ebd7260bb20ce84c23dea7334345cb3
4
- data.tar.gz: 33fb71074ba4b54234b98619d7b62f09dc8afbc047ba8f8e628a4c461a16e13b
3
+ metadata.gz: e8bcc9ea073fd2df94205938f048bc478840a21040e665bf901301ef5a7bad97
4
+ data.tar.gz: de82c3622941df2f606dcfff5a560a4619431f58798244eb84b29396724ef3a9
5
5
  SHA512:
6
- metadata.gz: ba6f87b7f5edcf4f07eab964bc8ab6714d351aa0d615d031d5b70cdc24832dfcbab49284b37229656d7a0b2d3ef913f3ed3f59f551c2e6627842f5e471e2877d
7
- data.tar.gz: 9883c6af14e9355467cbf38e7cb203cb169cf7deca90fde4c6211d51c1f1ee94d512dfd2cefccbe7659d7e982ac24e9f9e7919d58bb4fcadceb73439de6b86f8
6
+ metadata.gz: f511995192ce9b4792eb0ffa7c1463241859132a90b74ea9f2288a833a9777fcbce486a0ff5d11635c916d8c4c9377721453102f78fc639def303603932620c9
7
+ data.tar.gz: be9d9432d54efd7350f3ff836b93b10e6b02ad400e62168dbd9b574be593b6bbb825aed3e04d29fbbeb15f90442f0bd79c063d06664c3f9cb70f8dc80387d065
@@ -6,8 +6,8 @@ module Middleman
6
6
  # end
7
7
 
8
8
  def after_configuration
9
- puts "\e[91mGDPR: Sprockets extension not found, GDPR extension has not been activated. Please activate Sprockets in config.rb:\nactivate :sprockets\e[39m\n" and return if sprockets.blank?
10
- puts "\e[91mGDPR: I18n extension not found, GDPR extension has not been activated. Please activate I18n in config.rb:\nactivate :i18n\e[39m\n" and return if i18n.blank?
9
+ raise "\e[91mGDPR: Sprockets extension not activated. Please activate Sprockets in config.rb\e[39m" if sprockets.blank?
10
+ raise "\e[91mGDPR: I18n extension not activated. Please activate I18n in config.rb\e[39m" if i18n.blank?
11
11
 
12
12
  ['source/stylesheets', 'source/javascripts', 'node_modules'].each do |path|
13
13
  sprockets.environment.append_path root + path
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Gdpr
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-gdpr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Levy