[milter-manager-commit] milter-manager/milter-manager at f93dcd6 [master] binding ruby: Change script name to rspamd_proxy

Back to archive index

Kenji Okimoto null+****@clear*****
Tue Jun 27 15:13:03 JST 2017


Kenji Okimoto	2017-06-27 15:13:03 +0900 (Tue, 27 Jun 2017)

  New Revision: f93dcd65145a1864f286d5f1cd5d46a05e2ac82d
  https://github.com/milter-manager/milter-manager/commit/f93dcd65145a1864f286d5f1cd5d46a05e2ac82d

  Message:
    binding ruby: Change script name to rspamd_proxy
    
    Because I've decided to use "rspamd_proxy" as candidate name.

  Modified files:
    binding/ruby/lib/milter/manager/freebsd-rc-detector.rb
    binding/ruby/lib/milter/manager/redhat-init-detector.rb
    binding/ruby/lib/milter/manager/systemd-detector.rb

  Modified: binding/ruby/lib/milter/manager/freebsd-rc-detector.rb (+1 -1)
===================================================================
--- binding/ruby/lib/milter/manager/freebsd-rc-detector.rb    2017-06-27 15:10:26 +0900 (c311180)
+++ binding/ruby/lib/milter/manager/freebsd-rc-detector.rb    2017-06-27 15:13:03 +0900 (b5cc23b)
@@ -64,7 +64,7 @@ module Milter::Manager
     end
 
     def rspamd_proxy?
-      @script_name == "rspamd" or @name == "rspamd"
+      @script_name == "rspamd_proxy" or @name == "rspamd_proxy"
     end
 
     private

  Modified: binding/ruby/lib/milter/manager/redhat-init-detector.rb (+1 -1)
===================================================================
--- binding/ruby/lib/milter/manager/redhat-init-detector.rb    2017-06-27 15:10:26 +0900 (9e791a7)
+++ binding/ruby/lib/milter/manager/redhat-init-detector.rb    2017-06-27 15:13:03 +0900 (31fed3b)
@@ -74,7 +74,7 @@ module Milter::Manager
     end
 
     def rspamd_proxy?
-      @script_name == "rspamd"
+      @script_name == "rspamd_proxy"
     end
 
     private

  Modified: binding/ruby/lib/milter/manager/systemd-detector.rb (+1 -1)
===================================================================
--- binding/ruby/lib/milter/manager/systemd-detector.rb    2017-06-27 15:10:26 +0900 (72cdaca)
+++ binding/ruby/lib/milter/manager/systemd-detector.rb    2017-06-27 15:13:03 +0900 (6b0ca75)
@@ -46,7 +46,7 @@ module Milter::Manager
     end
 
     def rspamd_proxy?
-      @script_name == "rspamd"
+      @script_name == "rspamd_proxy"
     end
 
     private
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the milter-manager-commit mailing list
Back to archive index