Accepting request 424604 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/424604
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Object-Simple?expand=0&rev=6
This commit is contained in:
2016-09-07 06:46:27 +00:00
committed by Git OBS Bridge
parent d64e49a79b
commit e2487113be
4 changed files with 44 additions and 24 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8293bd7ed7f3af403bfe44ed3fa480726f0201a56902c714d7fa9a820217cb25
size 13398

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:096d121c12565b871d5e8bd4acdf1e26632e520a248bcb911f983579fc8be5ce
size 14068

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat Sep 3 05:47:03 UTC 2016 - coolo@suse.com
- updated to 3.1702
see /usr/share/doc/packages/perl-Object-Simple/Changes
3.1702 (2016-09-02)
- improve documents
3.1701 (2016-09-02)
- improve documents
- add FAQ
3.17 (2016-09-01)
- add Object::Simple used projects
- add "SEE ALSO" section
- add benefits of Object::Simple
- rename GUIDE to TUTORIAL
- add benefits of Object::Simple in list style
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 23 12:23:50 UTC 2016 - coolo@suse.com Mon May 23 12:23:50 UTC 2016 - coolo@suse.com

View File

@@ -17,10 +17,10 @@
Name: perl-Object-Simple Name: perl-Object-Simple
Version: 3.16 Version: 3.1702
Release: 0 Release: 0
%define cpan_name Object-Simple %define cpan_name Object-Simple
Summary: Simple class builder(Mojo::Base porting) Summary: Simplest class builder, Mojo::Base porting, fast and less memory
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Object-Simple/ Url: http://search.cpan.org/dist/Object-Simple/
@@ -33,31 +33,33 @@ BuildRequires: perl-macros
%{perl_requires} %{perl_requires}
%description %description
Object::Simple is Mojo::Base porting. you can use Mojo::Base features. Object::Simple is *Simplest* class builder. All you learn is only 'has'
function. You can learn all features of Object::Simple in *an hour*. There
is nothing difficult.
Object::Simple is a generator of accessor method, such as Class::Accessor, Do you like Mojolicious? In fact, Object::Simple is Mojo::Base porting.
Mojo::Base, or Moose. Mojo::Base is basic class builder in Mojolicious project. If you like
Mojolicious, this is good choice. If you have known Mojo::Base, you learn
nothing.
Class::Accessor is simple, but lack offten used features. 'new' method 'new' and accessor method is fast. Implementaion is pure perl and save
can't receive hash arguments. Default value can't be specified. If instructions as possible. Memory is saved. Extra objects is not created at
multipule values is set through the accessor, its value is converted to all. Very light-weight object-oriented module.
array reference without warnings.
Some people find Moose too complex, and dislike that it depends on outside Comparison with Class::Accessor::Fast
modules. Some say that Moose is almost like another language and does not
fit the familiar perl syntax. In some cases, in particular smaller
projects, some people feel that Moose will increase complexity and
therefore decrease programmer efficiency. In addition, Moose can be slow at
compile-time and its memory usage can get large.
Object::Simple is the middle way between Class::Accessor and complex class Class::Accessor::Fast is simple, but lack often used features. 'new' method
builder. Only offten used features is implemented has no dependency. can't receive hash arguments. Default value can't be specified. If multiple
Object::Simple is almost same as Mojo::Base. values is set through the accessor, its value is converted to array
reference without warnings.
'new' method can receive hash or hash reference. You can specify default Comparison with Moose
value.
If you like Mojo::Base, Object::Simple is good choice. Moose has very complex syntax and depend on much many modules. You have to
learn many things to do object-oriented programing. Understanding source
code is difficult. Compile-time is very slow and memory usage is very
large. Execution speed is not fast. For simple OO, Moose is overkill. Moo
is improved in this point.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}