kanamei-keystone 0.0.21 → 0.0.22

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.
Files changed (3) hide show
  1. data/bin/disk_size_check.rb +3 -1
  2. data/lib/keystone.rb +1 -1
  3. metadata +1 -1
@@ -7,6 +7,8 @@ require 'pp'
7
7
 
8
8
  include Keystone::Batch::Base
9
9
 
10
+ ENV["EDITOR"] = "vi" unless ENV.key?("EDITOR")
11
+
10
12
  config = Pit.get("disk_size_check", :require => {
11
13
  "smtp_addr" => "smtp_server_address",
12
14
  "mailto" => "mailto",
@@ -33,7 +35,7 @@ BODY
33
35
  MAIL_TO,
34
36
  title,
35
37
  body,
36
- {:smtp_addr=>SMTP_ADDR:retry_cnt=>3}
38
+ {:smtp_addr=>SMTP_ADDR,:retry_cnt=>3}
37
39
  )
38
40
  end
39
41
 
data/lib/keystone.rb CHANGED
@@ -11,7 +11,7 @@ autoload :Moji , 'moji'
11
11
 
12
12
  module Keystone
13
13
 
14
- VERSION = '0.0.21'
14
+ VERSION = '0.0.22'
15
15
 
16
16
  autoload :StringUtil , 'keystone/string_util'
17
17
  autoload :Batch , 'keystone/batch'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanamei-keystone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - kanamei