Hello community,

here is the log from the commit of package yast2-services-manager for 
openSUSE:Factory checked in at 2013-11-28 16:54:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-services-manager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-services-manager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-services-manager"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-services-manager/yast2-services-manager.changes
    2013-11-26 19:36:25.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-services-manager.new/yast2-services-manager.changes
       2013-11-28 16:54:18.000000000 +0100
@@ -1,0 +2,24 @@
+Thu Nov 28 08:20:59 UTC 2013 - [email protected]
+
+- 0.0.20
+- fix prep in spec
+
+-------------------------------------------------------------------
+Wed Nov 27 13:41:46 UTC 2013 - [email protected]
+
+- 0.0.19
+- use versioned tarball 
+
+-------------------------------------------------------------------
+Wed Nov 27 12:50:10 UTC 2013 - [email protected]
+
+- 0.0.18
+- remove dependency on ruby 2.0
+
+-------------------------------------------------------------------
+Wed Nov 27 10:13:56 UTC 2013 - [email protected]
+
+- fix publishing export method in SystemdService module
+- 0.0.17
+
+-------------------------------------------------------------------

Old:
----
  yast2-services-manager-0.0.16.tar.bz2

New:
----
  yast2-services-manager-0.0.20.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-services-manager.spec ++++++
--- /var/tmp/diff_new_pack.s5Spp5/_old  2013-11-28 16:54:18.000000000 +0100
+++ /var/tmp/diff_new_pack.s5Spp5/_new  2013-11-28 16:54:18.000000000 +0100
@@ -24,14 +24,14 @@
 ######################################################################
 
 Name:           yast2-services-manager
-Version:        0.0.16
+Version:        0.0.20
 Release:        0
 BuildArch:      noarch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        %{name}.tar.bz2
+Source0:        %{name}-%{version}.tar.bz2
 
-Requires:       ruby >= 2.0
+Requires:       ruby
 Requires:       yast2 >= 3.0.5
 Requires:       yast2-ruby-bindings >= 1.2.0
 
@@ -56,7 +56,7 @@
 services and targets.
 
 %prep
-%setup -n yast2-services-manager
+%setup -n %{name}-%{version}
 
 %check
 # opensuse-13.1 does not contain rspec in default repositories

++++++ yast2-services-manager-0.0.16.tar.bz2 -> 
yast2-services-manager-0.0.20.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-services-manager-0.0.16/VERSION 
new/yast2-services-manager-0.0.20/VERSION
--- old/yast2-services-manager-0.0.16/VERSION   2013-11-26 08:52:50.000000000 
+0100
+++ new/yast2-services-manager-0.0.20/VERSION   2013-11-28 09:27:32.000000000 
+0100
@@ -1 +1 @@
-0.0.16
+0.0.20
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-0.0.16/package/yast2-services-manager.changes 
new/yast2-services-manager-0.0.20/package/yast2-services-manager.changes
--- old/yast2-services-manager-0.0.16/package/yast2-services-manager.changes    
2013-11-26 08:52:50.000000000 +0100
+++ new/yast2-services-manager-0.0.20/package/yast2-services-manager.changes    
2013-11-28 09:27:32.000000000 +0100
@@ -1,4 +1,28 @@
 -------------------------------------------------------------------
+Thu Nov 28 08:20:59 UTC 2013 - [email protected]
+
+- 0.0.20
+- fix prep in spec
+
+-------------------------------------------------------------------
+Wed Nov 27 13:41:46 UTC 2013 - [email protected]
+
+- 0.0.19
+- use versioned tarball 
+
+-------------------------------------------------------------------
+Wed Nov 27 12:50:10 UTC 2013 - [email protected]
+
+- 0.0.18
+- remove dependency on ruby 2.0
+
+-------------------------------------------------------------------
+Wed Nov 27 10:13:56 UTC 2013 - [email protected]
+
+- fix publishing export method in SystemdService module
+- 0.0.17
+
+-------------------------------------------------------------------
 Tue Nov 26 07:43:18 UTC 2013 - [email protected]
 
 - fix missing dependency on Mode module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-0.0.16/package/yast2-services-manager.spec 
new/yast2-services-manager-0.0.20/package/yast2-services-manager.spec
--- old/yast2-services-manager-0.0.16/package/yast2-services-manager.spec       
2013-11-26 08:52:50.000000000 +0100
+++ new/yast2-services-manager-0.0.20/package/yast2-services-manager.spec       
2013-11-28 09:27:32.000000000 +0100
@@ -24,14 +24,14 @@
 ######################################################################
 
 Name:           yast2-services-manager
-Version:        0.0.16
+Version:        0.0.20
 Release:        0
 BuildArch:      noarch
 
 BuildRoot:      %{_tmppath}/%{name}-build
-Source0:        %{name}.tar.bz2
+Source0:        %{name}-%{version}.tar.bz2
 
-Requires:       ruby >= 2.0
+Requires:       ruby
 Requires:       yast2 >= 3.0.5
 Requires:       yast2-ruby-bindings >= 1.2.0
 
@@ -56,7 +56,7 @@
 services and targets.
 
 %prep
-%setup -n yast2-services-manager
+%setup -n %{name}-%{version}
 
 %check
 # opensuse-13.1 does not contain rspec in default repositories
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-0.0.16/src/clients/services-manager.rb 
new/yast2-services-manager-0.0.20/src/clients/services-manager.rb
--- old/yast2-services-manager-0.0.16/src/clients/services-manager.rb   
2013-11-22 16:02:04.000000000 +0100
+++ new/yast2-services-manager-0.0.20/src/clients/services-manager.rb   
2013-11-28 09:27:32.000000000 +0100
@@ -140,7 +140,7 @@
   end
 
   def redraw_service(service)
-    enabled = SystemdService.enabled?(service)
+    enabled = SystemdService.enabled(service)
 
     UI.ChangeWidget(
       Id(Id::SERVICES_TABLE),
@@ -148,7 +148,7 @@
       (enabled ? _('Enabled') : _('Disabled'))
     )
 
-    running = SystemdService.active?(service)
+    running = SystemdService.active(service)
 
     # The current state matches the futural state
     if (enabled == running)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-0.0.16/src/modules/systemd_service.rb 
new/yast2-services-manager-0.0.20/src/modules/systemd_service.rb
--- old/yast2-services-manager-0.0.16/src/modules/systemd_service.rb    
2013-11-22 16:02:04.000000000 +0100
+++ new/yast2-services-manager-0.0.20/src/modules/systemd_service.rb    
2013-11-28 09:27:32.000000000 +0100
@@ -149,10 +149,12 @@
     #
     # @param String service name
     # @return Boolean running
-    def active? service
+    def active service
       exists?(service) { services[service][:active] }
     end
 
+    alias_method :active?, :active
+
     # Enables a given service (in memory only, use save() later)
     #
     # @param String service name
@@ -181,7 +183,7 @@
     #
     # @param String service
     # @return Boolean enabled
-    def enabled? service
+    def enabled service
       exists?(service) do
         services[service][:enabled]
       end
@@ -224,7 +226,7 @@
     # Returns only enabled services, the rest is expected to be disabled
     def export
       exported_services = services.select do |service_name, properties|
-        enabled?(service_name) && properties[:loaded]
+        enabled(service_name) && properties[:loaded]
       end
       Builtins.y2milestone("Exported services: #{exported_services.keys}")
       exported_services.keys
@@ -296,7 +298,7 @@
     # @param [String] service name
     # @return [Boolean]
     def switch service
-      active?(service) ? deactivate(service) : activate(service)
+      active(service) ? deactivate(service) : activate(service)
     end
 
     # Starts or stops the service
@@ -304,7 +306,7 @@
     # @param [String] service name
     # @return [Boolean]
     def switch! service_name
-      if active?(service_name)
+      if active(service_name)
         Yast::Service.Start(service_name)
       else
         Yast::Service.Stop(service_name)
@@ -320,7 +322,7 @@
     # @param [String] service name
     # @return [Boolean]
     def toggle service
-      enabled?(service) ? disable(service) : enable(service)
+      enabled(service) ? disable(service) : enable(service)
     end
 
     # Enable or disable the service
@@ -328,7 +330,7 @@
     # @param [String] service name
     # @return [Boolean]
     def toggle! service
-      enabled?(service) ? Yast::Service.Enable(service) : 
Yast::Service.Disable(service)
+      enabled(service) ? Yast::Service.Enable(service) : 
Yast::Service.Disable(service)
     end
 
     # Returns full information about the service as returned from systemctl 
command
@@ -365,8 +367,8 @@
         if switch!(service_name)
           services_switched << service_name
         else
-          change  = active?(service_name) ? 'stop' : 'start'
-          status  = enabled?(service_name) ? 'enabled' : 'disabled'
+          change  = active(service_name) ? 'stop' : 'start'
+          status  = enabled(service_name) ? 'enabled' : 'disabled'
           message = _("Could not %{change} %{service} which is currently 
%{status}. ") %
             { :change => change, :service => service_name, :status => status }
           message << status(service_name)
@@ -384,7 +386,7 @@
         if toggle! service_name
           services_toggled << service_name
         else
-          change  = enabled?(service_name) ? 'enable' : 'disable'
+          change  = enabled(service_name) ? 'enable' : 'disable'
           message = _("Could not %{change} %{service}. ") %
             { :change => change, :service => service_name }
           message << status(service_name)
@@ -395,15 +397,15 @@
       services_toggled
     end
 
-    publish({:function => :active?,   :type => "boolean ()"           })
+    publish({:function => :active,    :type => "boolean ()"           })
     publish({:function => :activate,  :type => "string (boolean)"     })
     publish({:function => :all,       :type => "map <string, map> ()" })
     publish({:function => :disable,   :type => "string (boolean)"     })
     publish({:function => :enable,    :type => "string (boolean)"     })
-    publish({:function => :enabled?,  :type => "boolean ()"           })
+    publish({:function => :enabled,   :type => "boolean ()"           })
     publish({:function => :errors,    :type => "list ()"              })
-    publish({:function => :export,    :type => "list <string>"        })
-    publish({:function => :import,    :type => "boolean ()"           })
+    publish({:function => :export,    :type => "list <string> ()"     })
+    publish({:function => :import,    :type => "boolean (list <string>)" })
     publish({:function => :modified,  :type => "boolean ()"           })
     publish({:function => :modified=, :type => "boolean (boolean)"    })
     publish({:function => :read,      :type => "map <string, map> ()" })

++++++ yast2-services-manager.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager/src/clients/services-manager.rb 
new/yast2-services-manager/src/clients/services-manager.rb
--- old/yast2-services-manager/src/clients/services-manager.rb  2013-11-26 
08:52:51.000000000 +0100
+++ new/yast2-services-manager/src/clients/services-manager.rb  2013-11-28 
09:27:32.000000000 +0100
@@ -140,7 +140,7 @@
   end
 
   def redraw_service(service)
-    enabled = SystemdService.enabled?(service)
+    enabled = SystemdService.enabled(service)
 
     UI.ChangeWidget(
       Id(Id::SERVICES_TABLE),
@@ -148,7 +148,7 @@
       (enabled ? _('Enabled') : _('Disabled'))
     )
 
-    running = SystemdService.active?(service)
+    running = SystemdService.active(service)
 
     # The current state matches the futural state
     if (enabled == running)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-services-manager/src/clients/services.rb 
new/yast2-services-manager/src/clients/services.rb
--- old/yast2-services-manager/src/clients/services.rb  2013-11-26 
08:52:51.000000000 +0100
+++ new/yast2-services-manager/src/clients/services.rb  2013-11-28 
09:27:32.000000000 +0100
@@ -140,7 +140,7 @@
   end
 
   def redraw_service(service)
-    enabled = SystemdService.enabled?(service)
+    enabled = SystemdService.enabled(service)
 
     UI.ChangeWidget(
       Id(Id::SERVICES_TABLE),
@@ -148,7 +148,7 @@
       (enabled ? _('Enabled') : _('Disabled'))
     )
 
-    running = SystemdService.active?(service)
+    running = SystemdService.active(service)
 
     # The current state matches the futural state
     if (enabled == running)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager/src/modules/systemd_service.rb 
new/yast2-services-manager/src/modules/systemd_service.rb
--- old/yast2-services-manager/src/modules/systemd_service.rb   2013-11-26 
08:52:51.000000000 +0100
+++ new/yast2-services-manager/src/modules/systemd_service.rb   2013-11-28 
09:27:32.000000000 +0100
@@ -149,10 +149,12 @@
     #
     # @param String service name
     # @return Boolean running
-    def active? service
+    def active service
       exists?(service) { services[service][:active] }
     end
 
+    alias_method :active?, :active
+
     # Enables a given service (in memory only, use save() later)
     #
     # @param String service name
@@ -181,7 +183,7 @@
     #
     # @param String service
     # @return Boolean enabled
-    def enabled? service
+    def enabled service
       exists?(service) do
         services[service][:enabled]
       end
@@ -224,7 +226,7 @@
     # Returns only enabled services, the rest is expected to be disabled
     def export
       exported_services = services.select do |service_name, properties|
-        enabled?(service_name) && properties[:loaded]
+        enabled(service_name) && properties[:loaded]
       end
       Builtins.y2milestone("Exported services: #{exported_services.keys}")
       exported_services.keys
@@ -296,7 +298,7 @@
     # @param [String] service name
     # @return [Boolean]
     def switch service
-      active?(service) ? deactivate(service) : activate(service)
+      active(service) ? deactivate(service) : activate(service)
     end
 
     # Starts or stops the service
@@ -304,7 +306,7 @@
     # @param [String] service name
     # @return [Boolean]
     def switch! service_name
-      if active?(service_name)
+      if active(service_name)
         Yast::Service.Start(service_name)
       else
         Yast::Service.Stop(service_name)
@@ -320,7 +322,7 @@
     # @param [String] service name
     # @return [Boolean]
     def toggle service
-      enabled?(service) ? disable(service) : enable(service)
+      enabled(service) ? disable(service) : enable(service)
     end
 
     # Enable or disable the service
@@ -328,7 +330,7 @@
     # @param [String] service name
     # @return [Boolean]
     def toggle! service
-      enabled?(service) ? Yast::Service.Enable(service) : 
Yast::Service.Disable(service)
+      enabled(service) ? Yast::Service.Enable(service) : 
Yast::Service.Disable(service)
     end
 
     # Returns full information about the service as returned from systemctl 
command
@@ -365,8 +367,8 @@
         if switch!(service_name)
           services_switched << service_name
         else
-          change  = active?(service_name) ? 'stop' : 'start'
-          status  = enabled?(service_name) ? 'enabled' : 'disabled'
+          change  = active(service_name) ? 'stop' : 'start'
+          status  = enabled(service_name) ? 'enabled' : 'disabled'
           message = _("Could not %{change} %{service} which is currently 
%{status}. ") %
             { :change => change, :service => service_name, :status => status }
           message << status(service_name)
@@ -384,7 +386,7 @@
         if toggle! service_name
           services_toggled << service_name
         else
-          change  = enabled?(service_name) ? 'enable' : 'disable'
+          change  = enabled(service_name) ? 'enable' : 'disable'
           message = _("Could not %{change} %{service}. ") %
             { :change => change, :service => service_name }
           message << status(service_name)
@@ -395,15 +397,15 @@
       services_toggled
     end
 
-    publish({:function => :active?,   :type => "boolean ()"           })
+    publish({:function => :active,    :type => "boolean ()"           })
     publish({:function => :activate,  :type => "string (boolean)"     })
     publish({:function => :all,       :type => "map <string, map> ()" })
     publish({:function => :disable,   :type => "string (boolean)"     })
     publish({:function => :enable,    :type => "string (boolean)"     })
-    publish({:function => :enabled?,  :type => "boolean ()"           })
+    publish({:function => :enabled,   :type => "boolean ()"           })
     publish({:function => :errors,    :type => "list ()"              })
-    publish({:function => :export,    :type => "list <string>"        })
-    publish({:function => :import,    :type => "boolean ()"           })
+    publish({:function => :export,    :type => "list <string> ()"     })
+    publish({:function => :import,    :type => "boolean (list <string>)" })
     publish({:function => :modified,  :type => "boolean ()"           })
     publish({:function => :modified=, :type => "boolean (boolean)"    })
     publish({:function => :read,      :type => "map <string, map> ()" })

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to