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

View File

@@ -17,10 +17,10 @@
Name: perl-Object-Simple
Version: 3.16
Version: 3.1702
Release: 0
%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+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Object-Simple/
@@ -33,31 +33,33 @@ BuildRequires: perl-macros
%{perl_requires}
%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,
Mojo::Base, or Moose.
Do you like Mojolicious? In fact, Object::Simple is Mojo::Base porting.
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
can't receive hash arguments. Default value can't be specified. If
multipule values is set through the accessor, its value is converted to
array reference without warnings.
'new' and accessor method is fast. Implementaion is pure perl and save
instructions as possible. Memory is saved. Extra objects is not created at
all. Very light-weight object-oriented module.
Some people find Moose too complex, and dislike that it depends on outside
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.
Comparison with Class::Accessor::Fast
Object::Simple is the middle way between Class::Accessor and complex class
builder. Only offten used features is implemented has no dependency.
Object::Simple is almost same as Mojo::Base.
Class::Accessor::Fast is simple, but lack often used features. 'new' method
can't receive hash arguments. Default value can't be specified. If multiple
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
value.
Comparison with Moose
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
%setup -q -n %{cpan_name}-%{version}