commit rubygem-webyast-roles for openSUSE:Factory

2013-08-27 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-roles for 
openSUSE:Factory checked in at 2013-08-27 21:10:01

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-roles (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new (New)


Package is rubygem-webyast-roles

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-roles/rubygem-webyast-roles.changes  
2013-03-08 21:16:59.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new/rubygem-webyast-roles.changes
 2013-08-27 21:22:23.0 +0200
@@ -1,0 +2,12 @@
+Mon Aug 26 08:19:43 UTC 2013 - lsle...@suse.cz
+
+- restart WebYast when the plugin is uninstalled
+- 0.3.16
+
+---
+Mon Apr 22 13:49:04 UTC 2013 - lsle...@suse.cz
+
+- support for the new polkit (Javascript rules file) (bnc#816478)
+- 0.3.15
+
+---

Old:

  webyast-roles-0.3.14.gem

New:

  40-default-webyast-roles.rules
  webyast-roles-0.3.16.gem



Other differences:
--
++ rubygem-webyast-roles.spec ++
--- /var/tmp/diff_new_pack.8T4ibf/_old  2013-08-27 21:22:24.0 +0200
+++ /var/tmp/diff_new_pack.8T4ibf/_new  2013-08-27 21:22:24.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-roles
-Version:0.3.14
+Version:0.3.16
 Release:0
 %define mod_name webyast-roles
 %define mod_full_name %{mod_name}-%{version}
@@ -45,6 +45,7 @@
 Source1:roles.yml
 Source2:roles_assign.yml
 Source3:org.opensuse.yast.modules.yapi.roles.policy
+Source4:40-default-webyast-roles.rules
 
 %package doc
 Summary:RDoc documentation for %{mod_name}
@@ -90,6 +91,10 @@
 # Policies
 mkdir -p $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
 install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
+%if %suse_version = 1230
+mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+install -m 0644 %SOURCE4 $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+%endif
 
 %webyast_build_restdoc
 %webyast_build_plugin_assets
@@ -98,17 +103,20 @@
 %{__rm} -rf $RPM_BUILD_ROOT
 
 %post
+%if %suse_version  1230
 #
 # granting all permissions for root 
 #
 /usr/sbin/grantwebyastrights --user root --action grant  /dev/null
 # XXX not nice to get webyast all permissions, but now not better solution
 /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant  /dev/null
+%endif
 
 %restart_webyast
 
 %postun
 %webyast_remove_assets
+%webyast_plugin_postun
 
 %files 
 
@@ -125,6 +133,9 @@
 %attr(0700,%{webyast_user},%{webyast_user}) %dir %{webyast_vardir}/roles
 %attr(0600,%{webyast_user},%{webyast_user}) %config %{webyast_vardir}/roles/*
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.roles.policy
+%if %suse_version = 1230
+/etc/polkit-1/rules.d/40-default-webyast-roles.rules
+%endif
 
 %restart_script_name
 

++ 40-default-webyast-roles.rules ++
// default permissions for webyast and root users

polkit.addRule(function(action, subject) {
  if ((action.id == org.opensuse.yast.modules.yapi.roles.read
|| action.id == org.opensuse.yast.modules.yapi.roles.write
)  (subject.user == webyast || subject.user == root))
  {
return polkit.Result.YES;
  }
});

// vim: syntax=javascript



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-roles for openSUSE:Factory

2013-03-08 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-roles for 
openSUSE:Factory checked in at 2013-03-08 21:16:57

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-roles (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new (New)


Package is rubygem-webyast-roles, Maintainer is lsle...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-roles/rubygem-webyast-roles.changes  
2013-02-05 13:13:47.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new/rubygem-webyast-roles.changes
 2013-03-08 21:16:59.0 +0100
@@ -1,0 +2,18 @@
+Mon Feb 25 13:08:00 UTC 2013 - vmora...@suse.com
+
+- Fixed creating role with empty users
+- 0.3.14
+
+---
+Fri Feb 22 17:51:43 UTC 2013 - vmora...@suse.com
+
+- Fixed restdocs build (bnc#805282)
+- 0.3.13
+
+---
+Thu Feb 21 09:58:51 UTC 2013 - vmora...@suse.cz
+
+- fixed REST API (bnc#790164)
+- 0.3.12
+
+---

Old:

  webyast-roles-0.3.11.gem

New:

  webyast-roles-0.3.14.gem



Other differences:
--
++ rubygem-webyast-roles.spec ++
--- /var/tmp/diff_new_pack.SFHSBR/_old  2013-03-08 21:17:00.0 +0100
+++ /var/tmp/diff_new_pack.SFHSBR/_new  2013-03-08 21:17:00.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-roles
-Version:0.3.11
+Version:0.3.14
 Release:0
 %define mod_name webyast-roles
 %define mod_full_name %{mod_name}-%{version}
@@ -26,8 +26,10 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
+BuildRequires:  rubygem-restility
 BuildRequires:  webyast-base = 0.3.31
 BuildRequires:  webyast-base-testsuite
+
 PreReq: webyast-base = 0.3.31
 
 Obsoletes:  webyast-roles-ui  %{version}
@@ -89,6 +91,7 @@
 mkdir -p $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
 install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
 
+%webyast_build_restdoc
 %webyast_build_plugin_assets
 
 %clean




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-roles for openSUSE:Factory

2013-02-05 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-roles for 
openSUSE:Factory checked in at 2013-02-05 13:13:44

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-roles (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new (New)


Package is rubygem-webyast-roles, Maintainer is lsle...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-roles/rubygem-webyast-roles.changes  
2012-12-14 11:16:55.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new/rubygem-webyast-roles.changes
 2013-02-05 13:13:47.0 +0100
@@ -1,0 +2,13 @@
+Fri Jan  4 16:30:14 UTC 2013 - lsle...@suse.cz
+
+- fixed broken layout (invalid JS code) resulting in unfunctional
+  module (bnc#791345)
+- 0.3.11
+
+---
+Wed Dec 12 15:38:59 UTC 2012 - lsle...@suse.cz
+
+- restart webyast after package update
+- 0.3.10
+
+---

Old:

  webyast-roles-0.3.9.gem

New:

  webyast-roles-0.3.11.gem



Other differences:
--
++ rubygem-webyast-roles.spec ++
--- /var/tmp/diff_new_pack.wu7RAb/_old  2013-02-05 13:13:48.0 +0100
+++ /var/tmp/diff_new_pack.wu7RAb/_new  2013-02-05 13:13:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-webyast-roles
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-roles
-Version:0.3.9
+Version:0.3.11
 Release:0
 %define mod_name webyast-roles
 %define mod_full_name %{mod_name}-%{version}
@@ -26,9 +26,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
-BuildRequires:  webyast-base = 0.3
+BuildRequires:  webyast-base = 0.3.31
 BuildRequires:  webyast-base-testsuite
-PreReq: webyast-base = 0.3
+PreReq: webyast-base = 0.3.31
 
 Obsoletes:  webyast-roles-ui  %{version}
 Obsoletes:  webyast-roles-ws  %{version}
@@ -73,6 +73,7 @@
 %prep
 
 %build
+%create_restart_script
 
 %check
 # run the testsuite
@@ -101,7 +102,7 @@
 # XXX not nice to get webyast all permissions, but now not better solution
 /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant  /dev/null
 
-%webyast_update_assets
+%restart_webyast
 
 %postun
 %webyast_remove_assets
@@ -122,6 +123,8 @@
 %attr(0600,%{webyast_user},%{webyast_user}) %config %{webyast_vardir}/roles/*
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.roles.policy
 
+%restart_script_name
+
 %files doc
 %defattr(-,root,root,-)
 %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-roles for openSUSE:Factory

2012-12-14 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-roles for 
openSUSE:Factory checked in at 2012-12-14 11:16:53

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-roles (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new (New)


Package is rubygem-webyast-roles, Maintainer is r...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-roles/rubygem-webyast-roles.changes  
2012-11-08 21:53:34.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new/rubygem-webyast-roles.changes
 2012-12-14 11:16:55.0 +0100
@@ -1,0 +2,12 @@
+Tue Dec  4 12:34:41 UTC 2012 - lsle...@suse.cz
+
+- fixed nil check in users index
+- 0.3.9
+
+---
+Tue Dec  4 10:39:41 UTC 2012 - lsle...@suse.cz
+
+- fixed unneeded escaping which breaks JS code (bnc#791345)
+- 0.3.8
+
+---

Old:

  webyast-roles-0.3.7.gem

New:

  webyast-roles-0.3.9.gem



Other differences:
--
++ rubygem-webyast-roles.spec ++
--- /var/tmp/diff_new_pack.G2ZMqU/_old  2012-12-14 11:16:57.0 +0100
+++ /var/tmp/diff_new_pack.G2ZMqU/_new  2012-12-14 11:16:57.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-roles
-Version:0.3.7
+Version:0.3.9
 Release:0
 %define mod_name webyast-roles
 %define mod_full_name %{mod_name}-%{version}




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-roles for openSUSE:Factory

2012-11-08 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-roles for 
openSUSE:Factory checked in at 2012-11-08 21:53:33

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-roles (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new (New)


Package is rubygem-webyast-roles, Maintainer is r...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-roles/rubygem-webyast-roles.changes  
2012-10-12 14:33:32.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new/rubygem-webyast-roles.changes
 2012-11-08 21:53:34.0 +0100
@@ -1,0 +2,11 @@
+Thu Nov  1 09:16:53 UTC 2012 - lsle...@suse.cz
+
+- 0.3.7
+
+---
+Fri Oct 26 11:58:50 UTC 2012 - lsle...@suse.cz
+
+- fixed validation message - dot (.) is allowed in a role name
+  (bnc#782513)
+
+---

Old:

  webyast-roles-0.3.6.gem

New:

  webyast-roles-0.3.7.gem



Other differences:
--
++ rubygem-webyast-roles.spec ++
--- /var/tmp/diff_new_pack.g8GI8M/_old  2012-11-08 21:53:35.0 +0100
+++ /var/tmp/diff_new_pack.g8GI8M/_new  2012-11-08 21:53:35.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-roles
-Version:0.3.6
+Version:0.3.7
 Release:0
 %define mod_name webyast-roles
 %define mod_full_name %{mod_name}-%{version}




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-roles for openSUSE:Factory

2012-10-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-roles for 
openSUSE:Factory checked in at 2012-10-12 14:26:31

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-roles (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new (New)


Package is rubygem-webyast-roles, Maintainer is r...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-roles/rubygem-webyast-roles.changes  
2012-09-25 10:52:13.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new/rubygem-webyast-roles.changes
 2012-10-12 14:33:32.0 +0200
@@ -1,0 +2,6 @@
+Thu Oct  4 07:45:44 UTC 2012 - lsle...@suse.cz
+
+- removed DelayedJob dependency
+- 0.3.6
+
+---

Old:

  webyast-roles-0.3.5.gem

New:

  webyast-roles-0.3.6.gem



Other differences:
--
++ rubygem-webyast-roles.spec ++
--- /var/tmp/diff_new_pack.qq8dr7/_old  2012-10-12 14:33:33.0 +0200
+++ /var/tmp/diff_new_pack.qq8dr7/_new  2012-10-12 14:33:33.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-roles
-Version:0.3.5
+Version:0.3.6
 Release:0
 %define mod_name webyast-roles
 %define mod_full_name %{mod_name}-%{version}




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-roles for openSUSE:Factory

2012-06-10 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-roles for 
openSUSE:Factory checked in at 2012-06-10 23:20:35

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-roles (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new (New)


Package is rubygem-webyast-roles, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-roles/rubygem-webyast-roles.changes  
2012-04-23 09:17:40.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-roles.new/rubygem-webyast-roles.changes
 2012-06-10 23:20:53.0 +0200
@@ -1,0 +2,24 @@
+Tue May 29 11:50:45 UTC 2012 - lsle...@suse.cz
+
+- updated database.yml for Rails 3.2
+- 0.3.3
+
+---
+Thu May 24 10:00:23 UTC 2012 - lsle...@suse.cz
+
+- fixed permission checks
+- 0.3.2
+
+---
+Wed May 23 12:34:03 UTC 2012 - lsle...@suse.cz
+
+- Ruby 1.9 fixes
+- 0.3.1
+
+---
+Mon Oct 24 15:33:43 UTC 2011 - sch...@suse.com
+
+- Merging client and service
+- 0.3.0 
+
+---

Old:

  webyast-roles-0.1.gem

New:

  webyast-roles-0.3.3.gem



Other differences:
--
++ rubygem-webyast-roles.spec ++
--- /var/tmp/diff_new_pack.lr9gkf/_old  2012-06-10 23:20:54.0 +0200
+++ /var/tmp/diff_new_pack.lr9gkf/_new  2012-06-10 23:20:54.0 +0200
@@ -1,34 +1,45 @@
 #
-# spec file for package webyast-roles (Version 0.1)
+# spec file for package rubygem-webyast-roles
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An Open Source License is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
-# norootforbuild
 Name:   rubygem-webyast-roles
-Version:0.1
+Version:0.3.3
 Release:0
 %define mod_name webyast-roles
 %define mod_full_name %{mod_name}-%{version}
 #
-Group:  Productivity/Networking/Web/Utilities
-License:GPL-2.0
 #
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
+BuildRequires:  rubygem-restility
 BuildRequires: webyast-base = 0.3
 BuildRequires: webyast-base-testsuite
-BuildRequires: rubygem-restility
 PreReq:webyast-base = 0.3
 
-URL:http://en.opensuse.org/Portal:WebYaST
+Obsoletes:  webyast-roles-ui
+Obsoletes:  webyast-roles-ws
+Provides:   webyast-roles-ui
+Provides:   webyast-roles-ws
+
+Url:http://en.opensuse.org/Portal:WebYaST
 Summary:WebYaST - role management
+License:GPL-2.0
+Group:  Productivity/Networking/Web/Utilities
 Source: %{mod_full_name}.gem
 Source1:roles.yml
 Source2:roles_assign.yml
@@ -38,6 +49,7 @@
 Summary:RDoc documentation for %{mod_name}
 Group:  Development/Languages/Ruby
 Requires:   %{name} = %{version}
+
 %description doc
 Documentation generated at gem installation time.
 Usually in RDoc and RI formats.
@@ -47,7 +59,6 @@
 Group:  Development/Languages/Ruby
 Requires:   %{name} = %{version}
 
-
 %description
 WebYaST - Plugin providing REST based interface for roles management.
 
@@ -111,7 +122,6 @@
 %dir %{webyast_dir}/public/assets
 %{webyast_dir}/public/assets/*
 
-
 %attr(0700,%{webyast_user},%{webyast_user}) %dir %{webyast_vardir}/roles
 %attr(0600,%{webyast_user},%{webyast_user}) %config %{webyast_vardir}/roles/*
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.roles.policy
@@ -124,5 +134,4 @@
 %defattr(-,root,root,-)
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
 
-
 %changelog




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org