chef-handler-motd 0.1.2 → 0.2.0

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.
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'chef-handler-motd'
3
- s.version = '0.1.2'
3
+ s.version = '0.2.0'
4
4
  s.author = 'Simple Finance'
5
5
  s.email = 'ops@simple.com'
6
6
  s.homepage = 'http://github.com/SimpleFinance/chef-handler-motd'
@@ -26,8 +26,8 @@ require 'chef/handler'
26
26
  class ChefMOTD < Chef::Handler
27
27
  attr_reader :priority
28
28
 
29
- def initialize(priority = "05")
30
- @priority = priority
29
+ def initialize(options = {:priority => '05'})
30
+ @priority = options[:priority]
31
31
  end
32
32
 
33
33
  def report
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-motd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-03 00:00:00.000000000 Z
12
+ date: 2013-05-14 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Edits MOTD at the end of a Chef run
15
15
  email: ops@simple.com
@@ -17,6 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - chef-handler-motd-0.1.2.gem
20
21
  - chef-handler-motd.gemspec
21
22
  - lib/chef-handler-motd.rb
22
23
  - LICENSE