foreman_noenv 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 31b5e3ab812db7fa27905eaf1c1808bc2411a49a
4
- data.tar.gz: ebfc6bbb779f97d989b452f989698c07dec4d0db
3
+ metadata.gz: 0831f236e5ff1e427d8513a28f9476ed6cb6f42c
4
+ data.tar.gz: 75a9f417b9d16c9cc97972a492272fd8fbc1a720
5
5
  SHA512:
6
- metadata.gz: 1b85677d625d43ae34e1fd42d93dc69eeae8bd0ba8ae7828a61efcc28b9ed6da274e69fdae1df3832913bb3e9e07f20a1d00f4fae6d634cb2499126a7e6fc71a
7
- data.tar.gz: a872731402816dd8a29567bcec31de6e97dd9e99d7c0fb85219285cfa32c01992aab3eada40b8aae70590eab37924e402272eaa7998cc0642663d512e594e3e5
6
+ metadata.gz: 804a32b19cfac59094e5fcc860f0321c5de1afc0bba7d27182734e65e923034c5130e2240ad3c2330adf9e5bf5bd2370e33fc7cbf4857019a32f700ed35ec400
7
+ data.tar.gz: 925cfb85dd8a4053517066749bf9650ed217874853e88b14b0878c7c312a8b23228326f0273bdb84a9e06d75703678dc3e805e1e8fe523ad29f25aa379953645
@@ -4,11 +4,9 @@ module ForemanNoenv
4
4
 
5
5
  included do
6
6
  alias_method_chain :info, :env
7
- Rails.logger("joshbaird noenv is #{noenv}")
8
7
  end
9
8
 
10
9
  def info_with_env
11
- #binding.pry
12
10
  noenv ? info_without_env.except('environment') : info_without_env
13
11
  end
14
12
 
@@ -0,0 +1 @@
1
+ :noenv_enable: true
@@ -1,5 +1,3 @@
1
- require 'deface'
2
-
3
1
  module ForemanNoenv
4
2
  class Engine < ::Rails::Engine
5
3
  engine_name 'foreman_noenv'
@@ -1,3 +1,3 @@
1
1
  module ForemanNoenv
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_noenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Baird
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-05 00:00:00.000000000 Z
11
+ date: 2015-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -67,6 +67,7 @@ files:
67
67
  - app/views/foreman_noenv/layouts/layouts/new_layout.html.erb
68
68
  - app/views/foreman_noenv/layouts/new_layout.html.erb
69
69
  - app/views/hosts/_noenv_field.html.erb
70
+ - config/foreman_noenv.yaml
70
71
  - db/migrate/20150804115345_add_noenv_to_hosts.rb
71
72
  - lib/foreman_noenv.rb
72
73
  - lib/foreman_noenv/engine.rb