Group
Extension

Matches 4

Catalyst-Authentication-RedmineCookie ( B/BO/BOKUTIN/Catalyst-Authentication-RedmineCookie-0.02.tar.gz, BOKUTIN, 2020; MetaCPAN )
Catalyst-Authentication-RedmineCookie/junk/show_user.pl ( view source; MetaCPAN )
n::Perl;
use base qw(App::Cmd::Simple);

use Catalyst::Authentication::RedmineCookie::Schema;
use JSON::MaybeXS;
use MyContainer;

sub opt_spec {
    (
        [ "login=s", "SELECT * FROM users WHERE 
);

    my $cols = sub {
        my ($obj) = @_;
        state $json = JSON::MaybeXS->new( canonical => 1, pretty => 1, );
        $json->encode( { $obj->get_columns } );
    };

    say "--> user";
 
Catalyst-Authentication-RedmineCookie ( B/BO/BOKUTIN/Catalyst-Authentication-RedmineCookie-0.02.tar.gz, BOKUTIN, 2020; MetaCPAN )
Catalyst-Authentication-RedmineCookie/lib/Catalyst/Authentication/Credential/RedmineCookie.pm ( view source; MetaCPAN )
package Catalyst::Authentication::Credential::RedmineCookie;

use Moose;

use IPC::Open2;
use JSON::MaybeXS qw(:legacy);
use POSIX ":sys_wait_h";

has cmd => ( is => 'ro', isa => 'Str|ArrayRef', requi
h;
        my $line = <$out>;
        if ( $line =~ /^{/ ) {
            my $data = eval { decode_json($line) };
            if ($@) {
                $c->log->error("@{[ __PACKAGE__ ]} $@ line:$line"
Catalyst-Authentication-RedmineCookie ( B/BO/BOKUTIN/Catalyst-Authentication-RedmineCookie-0.02.tar.gz, BOKUTIN, 2020; MetaCPAN )
Catalyst-Authentication-RedmineCookie/lib/Catalyst/Authentication/RedmineCookie.pm ( view source; MetaCPAN )
       cmd   => [qw(ssh redmine.server rails4_cookie_to_json.rb)],
                        cmd   => [qw(sudo jexec redmine rails4_cookie_to_json.rb)],
                    },
                    # It d
Catalyst-Authentication-RedmineCookie ( B/BO/BOKUTIN/Catalyst-Authentication-RedmineCookie-0.02.tar.gz, BOKUTIN, 2020; MetaCPAN )
Catalyst-Authentication-RedmineCookie/etc/mycontainer.pl ( view source; MetaCPAN )
   => [qw(ssh redmine.server /root/rails4_cookie_to_json.rb)],
                        # cmd   => [qw(sudo jexec redmine /root/rails4_cookie_to_json.rb)],
                    },
                    # 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.