Sha256: 2173b6906f27f025cdf9762d7b117e2b1a9e10786146603e13f24fff37c515f5

Contents?: true

Size: 231 Bytes

Versions: 21

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

proxy_feature = Feature.where(name: 'Shellhooks').first_or_create
return unless proxy_feature.nil? || proxy_feature.errors.any?

raise "Unable to create proxy feature: #{format_errors proxy_feature}"

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
foreman_webhooks-4.0.0 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.2.3 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.2.2 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.1.1 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.2.1 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.2.0 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.1.0 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.0.5 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-2.0.3 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.0.4 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-2.0.2 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.0.3 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.0.2 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.0.1 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-2.0.1 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-3.0.0 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-2.0.0 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-1.1.0 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-1.0.0 db/seeds.d/62_shellhooks_proxy_feature.rb
foreman_webhooks-0.0.3 db/seeds.d/62_shellhooks_proxy_feature.rb