repo
string
commit
string
message
string
diff
string
nekokak/qudo
d21b31788bea5ad530828f2835515d4ac1436cd9
add document to Qudo::Job
diff --git a/lib/Qudo/Job.pm b/lib/Qudo/Job.pm index 9acf19b..2b62887 100644 --- a/lib/Qudo/Job.pm +++ b/lib/Qudo/Job.pm @@ -1,98 +1,204 @@ package Qudo::Job; use strict; use warnings; sub new { my ($class, %args) = @_; bless {%args}, $class; } sub id { $_[0]->{job_data}->{job_id} } sub...
nekokak/qudo
d1fb097843efb779ffd109a9727707131c15a70c
use Pod::Usage.
diff --git a/bin/qudo b/bin/qudo index 28dbefc..50a8421 100755 --- a/bin/qudo +++ b/bin/qudo @@ -1,52 +1,62 @@ #! /usr/bin/env perl use strict; use Getopt::Long; use Qudo::Test; use DBI; +use Pod::Usage; Getopt::Long::GetOptions( '--dry_run' => \my $dry_run, '--help' => \my $help, '--db=...
nekokak/qudo
b37170f49b6b5fc69c4652337cb1fbf0c07222c2
qudoコマンドにhostオプションを追加
diff --git a/bin/qudo b/bin/qudo index 28dbefc..8710ef3 100755 --- a/bin/qudo +++ b/bin/qudo @@ -1,52 +1,58 @@ #! /usr/bin/env perl use strict; use Getopt::Long; use Qudo::Test; use DBI; Getopt::Long::GetOptions( '--dry_run' => \my $dry_run, '--help' => \my $help, '--db=s' => \my $...
nekokak/qudo
8f4668e821fb287387ca3aef1a011293ff92503f
version++
diff --git a/Changes b/Changes index fc4c75c..8736e9a 100644 --- a/Changes +++ b/Changes @@ -1,86 +1,91 @@ Revision history for Perl extension Qudo +0.0213 + 2011-01-17 + - FIXED: modified schema for postgres (thanks makamaka) + - MOD: job object has error message (thanks walf443) + 0.0212 201...
nekokak/qudo
181c0dc535c19bafaff471dd0442954ba2d04dad
I'd like to get job error message at post_work trigger.
diff --git a/lib/Qudo/Job.pm b/lib/Qudo/Job.pm index 99e0420..9acf19b 100644 --- a/lib/Qudo/Job.pm +++ b/lib/Qudo/Job.pm @@ -1,91 +1,98 @@ package Qudo::Job; use strict; use warnings; sub new { my ($class, %args) = @_; bless {%args}, $class; } sub id { $_[0]->{job_data}->{job_id} } sub ...
nekokak/qudo
da45288bab6c64eee56b51d5372408e4a0d7419f
fixed schema typo
diff --git a/lib/Qudo/Test.pm b/lib/Qudo/Test.pm index c22bf0c..40b901b 100644 --- a/lib/Qudo/Test.pm +++ b/lib/Qudo/Test.pm @@ -1,331 +1,331 @@ package Qudo::Test; use strict; use warnings; use lib qw(./lib ./t/lib); use Carp qw(croak); use Qudo; use YAML; use DBI; use Test::More; our @SUPPORT_DRIVER = qw/...
nekokak/qudo
5a5eeeb127d434b42defd4bae9fd3f11221764ba
modified schema for postgres
diff --git a/lib/Qudo/Test.pm b/lib/Qudo/Test.pm index 94119b4..c22bf0c 100644 --- a/lib/Qudo/Test.pm +++ b/lib/Qudo/Test.pm @@ -1,328 +1,331 @@ package Qudo::Test; use strict; use warnings; use lib qw(./lib ./t/lib); use Carp qw(croak); use Qudo; use YAML; use DBI; use Test::More; our @SUPPORT_DRIVER = qw/...
nekokak/qudo
235056519aff8a5dbf5b786eef7cd13b1eeb3a39
enqueue高速モード
diff --git a/lib/Qudo/Manager.pm b/lib/Qudo/Manager.pm index e2b8894..b78cb15 100644 --- a/lib/Qudo/Manager.pm +++ b/lib/Qudo/Manager.pm @@ -1,388 +1,390 @@ package Qudo::Manager; use strict; use warnings; use Qudo::Job; use Carp (); use UNIVERSAL::require; use Scalar::Util qw/weaken/; sub new { my $clas...
nekokak/qudo
7baf2114cb100daee6b35deac288c2169e2a27b0
ベンチマークやプロファイルを取るようのスクリプトん
diff --git a/tools/benchmark.pl b/tools/benchmark.pl new file mode 100755 index 0000000..1736341 --- /dev/null +++ b/tools/benchmark.pl @@ -0,0 +1,28 @@ +#! /usr/bin/perl +use strict; +use warnings; +use Benchmark qw/countit timethese timeit timestr/; +use Qudo; +use Qudo::Test; + +my $schema = Qudo::Test::load_schema-...
nekokak/qudo
c5a3f01894facade267d27e59c0d32e1b95899ed
add todo
diff --git a/TODO b/TODO new file mode 100644 index 0000000..e05b523 --- /dev/null +++ b/TODO @@ -0,0 +1,4 @@ ++ ლ(╹◡╹ლ) ++ coalesce的に実行するJOBセットを選択できるように ++ worker毎にHookはやっぱり買えられたほうが柔軟だなぁ +
nekokak/qudo
419e6f550ad014fd06771b9c742fc083d3eeff0c
fixed POD typo
diff --git a/lib/Qudo/Worker.pm b/lib/Qudo/Worker.pm index 859ccc5..7a85d50 100644 --- a/lib/Qudo/Worker.pm +++ b/lib/Qudo/Worker.pm @@ -1,123 +1,123 @@ package Qudo::Worker; use strict; use warnings; sub max_retries { 0 } sub retry_delay { 0 } sub grab_for { 60*60 } # default setting 1 hour sub set_job_sta...
nekokak/qudo
07d8ab96d2098aa4bccfd66fd582d90b6bf7bcc4
fixed exception message bug.
diff --git a/Changes b/Changes index b09d1c7..fc4c75c 100644 --- a/Changes +++ b/Changes @@ -1,84 +1,86 @@ Revision history for Perl extension Qudo 0.0212 - 2010-07-17 + 2010-10-05 - MOD: driver's func_from_id, func_from_name return not DBIx::Skinny::Row object but HashRef + - FIXED: failed exce...
nekokak/qudo
365b74d944594318e0e138d75f4a7aeb768e558c
fixed typo
diff --git a/lib/Qudo/Job.pm b/lib/Qudo/Job.pm index de75444..99e0420 100644 --- a/lib/Qudo/Job.pm +++ b/lib/Qudo/Job.pm @@ -1,91 +1,91 @@ package Qudo::Job; use strict; use warnings; sub new { my ($class, %args) = @_; bless {%args}, $class; } sub id { $_[0]->{job_data}->{job_id} } sub ...
nekokak/qudo
aef49d0952024d3438f91859afe85641ef4e7945
objectが来る場合がある!
diff --git a/lib/Qudo/Worker.pm b/lib/Qudo/Worker.pm index 7058c59..79942e7 100644 --- a/lib/Qudo/Worker.pm +++ b/lib/Qudo/Worker.pm @@ -1,123 +1,123 @@ package Qudo::Worker; use strict; use warnings; sub max_retries { 0 } sub retry_delay { 0 } sub grab_for { 60*60 } # default setting 1 hour sub set_job_sta...
nekokak/qudo
a671a0b6979f249ae2f45410c9ec7354ee9a1c64
It may be faster.
diff --git a/lib/Qudo/Driver/Skinny.pm b/lib/Qudo/Driver/Skinny.pm index 4e298ad..bf0d76d 100644 --- a/lib/Qudo/Driver/Skinny.pm +++ b/lib/Qudo/Driver/Skinny.pm @@ -1,250 +1,250 @@ package Qudo::Driver::Skinny; use DBIx::Skinny; sub init_driver { my ($class, $master) = @_; for my $database (@{$master->...
nekokak/qudo
b9c456a8e056b4425778e271248699d1fc5bca58
Driver method result should not depend driver module.
diff --git a/lib/Qudo/Driver/Skinny.pm b/lib/Qudo/Driver/Skinny.pm index 24946ba..4e298ad 100644 --- a/lib/Qudo/Driver/Skinny.pm +++ b/lib/Qudo/Driver/Skinny.pm @@ -1,248 +1,250 @@ package Qudo::Driver::Skinny; use DBIx::Skinny; sub init_driver { my ($class, $master) = @_; for my $database (@{$master->...
nekokak/qudo
582e921d715a28a34957082cd059b78307458f8e
version++
diff --git a/lib/Qudo.pm b/lib/Qudo.pm index 8707bb6..b8c0358 100644 --- a/lib/Qudo.pm +++ b/lib/Qudo.pm @@ -1,389 +1,389 @@ package Qudo; use strict; use warnings; -our $VERSION = '0.0210'; +our $VERSION = '0.0211'; use Qudo::Manager; use Carp (); use UNIVERSAL::require; use List::Util qw/shuffle/; our $...
nekokak/qudo
9fffa119115c210e5453f78b6c827ffb0e3b4e6a
add replace method for Qudo::Job.
diff --git a/lib/Qudo/Job.pm b/lib/Qudo/Job.pm index a26ed5a..de75444 100644 --- a/lib/Qudo/Job.pm +++ b/lib/Qudo/Job.pm @@ -1,76 +1,91 @@ package Qudo::Job; use strict; use warnings; sub new { my ($class, %args) = @_; bless {%args}, $class; } sub id { $_[0]->{job_data}->{job_id} } sub ...
nekokak/qudo
74ab2614435f1496b8b2bf61e046980bc984bc44
oops test fixed.
diff --git a/t/010hook/serialize_MessagePack.t b/t/010hook/serialize_MessagePack.t index 14861c9..4774d74 100644 --- a/t/010hook/serialize_MessagePack.t +++ b/t/010hook/serialize_MessagePack.t @@ -1,86 +1,87 @@ use Qudo::Test; use Test::More; BEGIN { eval "use Data::MessagePack"; plan skip_all => 'needs Data...
nekokak/qudo
e3e6d71870ea7bb083b54e87d5d77ec6df3a641f
version++
diff --git a/Changes b/Changes index 0ace18c..5f6f382 100644 --- a/Changes +++ b/Changes @@ -1,77 +1,77 @@ Revision history for Perl extension Qudo 0.0210 - 2010-07-XX + 2010-07-06 - MOD: qudo command do'nt use pod2usage. - MOD: qudo command create innodb table for mysql. - MOD: some ...
nekokak/qudo
56d55f989f6806893ea5590d4f3e4f68083593da
work_onceメソッドではworkerを起動したら常に真を返すように[INCOMPATIBLE CHANGE]
diff --git a/lib/Qudo/Manager.pm b/lib/Qudo/Manager.pm index b1322a9..f6c3b1e 100644 --- a/lib/Qudo/Manager.pm +++ b/lib/Qudo/Manager.pm @@ -1,388 +1,388 @@ package Qudo::Manager; use strict; use warnings; use Qudo::Job; use Carp (); use UNIVERSAL::require; use Scalar::Util qw/weaken/; sub new { my $clas...
nekokak/qudo
c8fba440dcc3f7572daca517a5f03171dd0d1d88
work_delayをインスタンス生成時に指定できるように
diff --git a/lib/Qudo.pm b/lib/Qudo.pm index 1405f56..614e572 100644 --- a/lib/Qudo.pm +++ b/lib/Qudo.pm @@ -1,388 +1,389 @@ package Qudo; use strict; use warnings; our $VERSION = '0.0209'; use Qudo::Manager; use Carp (); use UNIVERSAL::require; use List::Util qw/shuffle/; our $RETRY_SECONDS = 30; our $...
nekokak/qudo
896aa56f4c93dfa5a243fc0c49cdadb8666523cc
change changes.
diff --git a/Changes b/Changes index df04d59..79e884f 100644 --- a/Changes +++ b/Changes @@ -1,73 +1,75 @@ Revision history for Perl extension Qudo 0.0210 2010-06-XX - MOD: qudo command do'nt use pod2usage. + - MOD: qudo command create innodb table for mysql. + - MOD: some docs. 0.0209...
nekokak/qudo
043b33e7677ad6dd2bc4023746e6df691ecc3d9c
innodbのテーブルをつくれるよういn
diff --git a/bin/qudo b/bin/qudo index e5443b4..28dbefc 100755 --- a/bin/qudo +++ b/bin/qudo @@ -1,47 +1,52 @@ #! /usr/bin/env perl use strict; use Getopt::Long; use Qudo::Test; use DBI; Getopt::Long::GetOptions( - '--dry_run' => \my $dry_run, - '--help' => \my $help, - '--db=s' => \my $db, - ...
nekokak/qudo
96964bd6755d9a39c32e6d5ea8d51a7865936807
driver_classの指定はオプションです
diff --git a/lib/Qudo.pm b/lib/Qudo.pm index 445d4fc..1405f56 100644 --- a/lib/Qudo.pm +++ b/lib/Qudo.pm @@ -1,388 +1,388 @@ package Qudo; use strict; use warnings; our $VERSION = '0.0209'; use Qudo::Manager; use Carp (); use UNIVERSAL::require; use List::Util qw/shuffle/; our $RETRY_SECONDS = 30; our $...
nekokak/qudo
87fcc360bf0a2b9ff2b6f45b134f077521dd8e91
job tableにindexを田下
diff --git a/lib/Qudo/Test.pm b/lib/Qudo/Test.pm index e2c1b02..94119b4 100644 --- a/lib/Qudo/Test.pm +++ b/lib/Qudo/Test.pm @@ -1,327 +1,328 @@ package Qudo::Test; use strict; use warnings; use lib qw(./lib ./t/lib); use Carp qw(croak); use Qudo; use YAML; use DBI; use Test::More; our @SUPPORT_DRIVER = qw/...
nekokak/qudo
8491b50ea2777393bd6d0b3d4ceb7849b2a51d83
pod2usageつかわないように
diff --git a/bin/qudo b/bin/qudo index d36d1d8..e5443b4 100755 --- a/bin/qudo +++ b/bin/qudo @@ -1,44 +1,47 @@ #! /usr/bin/env perl use strict; use Getopt::Long; -use Pod::Usage; use Qudo::Test; use DBI; Getopt::Long::GetOptions( '--dry_run' => \my $dry_run, '--help' => \my $help, '--db=s' ...
nekokak/qudo
93a87fcc958d21275b1df26905d31c08a3066b19
version++
diff --git a/Changes b/Changes index af090fc..97e405c 100644 --- a/Changes +++ b/Changes @@ -1,65 +1,69 @@ Revision history for Perl extension Qudo +0.0209 + 2010-06-03 + - ADD: Job#is_failed method. + 0.0208 2010-06-03 - ADD: Job#abort method. - MOD: can pass the option for plugins. ...
nekokak/qudo
b6d196b60fca2f6572d486d838c767565d4f0e5c
version++
diff --git a/Changes b/Changes index c03b49e..af090fc 100644 --- a/Changes +++ b/Changes @@ -1,65 +1,65 @@ Revision history for Perl extension Qudo 0.0208 - 2010-06-XX + 2010-06-03 - ADD: Job#abort method. - MOD: can pass the option for plugins. - MOD: remove doc/ dir qudo schema writ...
nekokak/qudo
e19c141b37bfde88c7417345375654a99533f3c8
doc/を削除してschemaはQudo::Testに持つようにしたのとqudoコマンドを用意して初期スキーマを設定できるようにした
diff --git a/Changes b/Changes index ce4ea09..c03b49e 100644 --- a/Changes +++ b/Changes @@ -1,62 +1,65 @@ Revision history for Perl extension Qudo 0.0208 2010-06-XX - ADD: Job#abort method. + - MOD: can pass the option for plugins. + - MOD: remove doc/ dir qudo schema written for Qudo::T...
nekokak/qudo
51d2467166b41d70161e576c6c99c9ee4136050e
pluginにおぷしょんを渡せるようにした
diff --git a/lib/Qudo/Manager.pm b/lib/Qudo/Manager.pm index 7f1593a..b1322a9 100644 --- a/lib/Qudo/Manager.pm +++ b/lib/Qudo/Manager.pm @@ -1,376 +1,388 @@ package Qudo::Manager; use strict; use warnings; use Qudo::Job; use Carp (); use UNIVERSAL::require; use Scalar::Util qw/weaken/; sub new { my $clas...
nekokak/qudo
3d4d51477a461ea0d4d59304699966bb8bc12f36
add abort method.
diff --git a/Changes b/Changes index abeb5be..ce4ea09 100644 --- a/Changes +++ b/Changes @@ -1,58 +1,62 @@ Revision history for Perl extension Qudo +0.0208 + 2010-06-XX + - ADD: Job#abort method. + 0.0207 2010-06-02 - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] - MOD: Driver::...
nekokak/qudo
bbbb16cc20fe3a88c2aa3b225a1694b9763d1e62
oops update manifest
diff --git a/MANIFEST b/MANIFEST index b4199dd..238812d 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,86 +1,83 @@ Changes doc/schema-mysql.sql doc/schema-postgres.sql doc/schema-sqlite.sql inc/ExtUtils/MakeMaker.pm inc/Module/Install.pm inc/Module/Install/AuthorTests.pm inc/Module/Install/Base.pm inc/Module/Insta...
nekokak/qudo
04db238470136d52b98a8e741ea885fcfcf38773
oops update test count.
diff --git a/t/004worker/job_status.t b/t/004worker/job_status.t index ba0a409..6777af9 100644 --- a/t/004worker/job_status.t +++ b/t/004worker/job_status.t @@ -1,92 +1,92 @@ use Qudo::Test; use Test::More; use Test::Output; -run_tests(7, sub { +run_tests(8, sub { my $driver = shift; my $master = test_ma...
nekokak/qudo
4fc0689d235fe1b3ea33f93950b0fd1dfcaf6745
version++
diff --git a/Changes b/Changes index becd0b1..abeb5be 100644 --- a/Changes +++ b/Changes @@ -1,58 +1,58 @@ Revision history for Perl extension Qudo 0.0207 - 2010-06-XX + 2010-06-02 - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] - MOD: Driver::Skinny#find_job and Driver::Skinny#lookup_jo...
nekokak/qudo
027ef6ed081082af2193cbe604292299c6f6c78f
jobが失敗した場合にset_job_statusがonにな場合は失敗したよといれてあげる
diff --git a/Changes b/Changes index d9511e3..becd0b1 100644 --- a/Changes +++ b/Changes @@ -1,57 +1,58 @@ Revision history for Perl extension Qudo 0.0207 2010-06-XX - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] - MOD: Driver::Skinny#find_job and Driver::Skinny#lookup_job method logic ...
nekokak/qudo
97981e07b1a1eb51e3210d7293df743de3394697
lookup_jobではdb情報は必須です!
diff --git a/Changes b/Changes index 212af00..d9511e3 100644 --- a/Changes +++ b/Changes @@ -1,56 +1,57 @@ Revision history for Perl extension Qudo 0.0207 2010-06-XX - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] - MOD: Driver::Skinny#find_job and Driver::Skinny#lookup_job method logic ...
nekokak/qudo
09e95ca521be25038bcddac8fc34c7e8602d2a67
work_saflyにmanagerのインスタンスをわたさないようにする
diff --git a/Changes b/Changes index 8582e1f..212af00 100644 --- a/Changes +++ b/Changes @@ -1,55 +1,56 @@ Revision history for Perl extension Qudo 0.0207 2010-06-XX - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] - MOD: Driver::Skinny#find_job and Driver::Skinny#lookup_job method logic ...
nekokak/qudo
07f81bb470159b63b6d77b0eaf8ac07f2ae2e3f2
global_(un)register_hookメソッドは廃止予定
diff --git a/Changes b/Changes index 003e2b4..8582e1f 100644 --- a/Changes +++ b/Changes @@ -1,54 +1,55 @@ Revision history for Perl extension Qudo 0.0207 2010-06-XX - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] - - MOD: Skinny#find_job and Skinny#lookup_job method logic for dry. + ...
nekokak/qudo
7ce7fbbf94499c61e75465e266f7dc5a03b3cfee
can_doメソッドでuseしないようにした。自動でuseされなくなるいんこんんぱちチェンジなので気をつけてください
diff --git a/Changes b/Changes index 4437f9d..003e2b4 100644 --- a/Changes +++ b/Changes @@ -1,52 +1,54 @@ Revision history for Perl extension Qudo 0.0207 2010-06-XX - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] + - MOD: Skinny#find_job and Skinny#lookup_job method logic for dry. + ...
nekokak/qudo
c97b1a48b8586549bd67287162ebfaa3e2fa8a3f
find_jobとlookup_jobでロジックを共通化
diff --git a/lib/Qudo/Driver/Skinny.pm b/lib/Qudo/Driver/Skinny.pm index 22b9904..24946ba 100644 --- a/lib/Qudo/Driver/Skinny.pm +++ b/lib/Qudo/Driver/Skinny.pm @@ -1,261 +1,248 @@ package Qudo::Driver::Skinny; use DBIx::Skinny; sub init_driver { my ($class, $master) = @_; for my $database (@{$master->...
nekokak/qudo
877f923dbf49bb02a9b4bc1008e18ac6f5daa7bc
SkinnyのRowクラスを用意しておいた
diff --git a/lib/Qudo/Driver/Skinny/Row/ExceptionLog.pm b/lib/Qudo/Driver/Skinny/Row/ExceptionLog.pm new file mode 100644 index 0000000..b7b1c99 --- /dev/null +++ b/lib/Qudo/Driver/Skinny/Row/ExceptionLog.pm @@ -0,0 +1,6 @@ +package Qudo::Driver::Skinny::Row::ExceptionLog; +use strict; +use warnings; +use base 'DBIx::S...
nekokak/qudo
4b4d9c991919af91d7fbba278e586cd3b271d743
Driver::Skinnyのメソッド順番やメソッド名などの微調整系
diff --git a/lib/Qudo/Driver/Skinny.pm b/lib/Qudo/Driver/Skinny.pm index 5816a2c..22b9904 100644 --- a/lib/Qudo/Driver/Skinny.pm +++ b/lib/Qudo/Driver/Skinny.pm @@ -1,270 +1,261 @@ package Qudo::Driver::Skinny; use DBIx::Skinny; sub init_driver { my ($class, $master) = @_; for my $database (@{$master->...
nekokak/qudo
896127828581945bcdf1376c6a699341c2cabe56
job_listメソッドなんていらね
diff --git a/Changes b/Changes index cfcf4b2..4437f9d 100644 --- a/Changes +++ b/Changes @@ -1,48 +1,52 @@ Revision history for Perl extension Qudo +0.0207 + 2010-06-XX + - REMOVE: Qudo#job_list method. [INCOMPATIBLE CHANGE] + 0.0206 2010-06-02 - tuning find_job method. 0.0205 2010-04-2...
nekokak/qudo
867fdaa2cd22556831d999dc91361b5d237b807a
version++
diff --git a/Changes b/Changes index 9f4a76d..cfcf4b2 100644 --- a/Changes +++ b/Changes @@ -1,48 +1,48 @@ Revision history for Perl extension Qudo 0.0206 - 2010-XX-XX + 2010-06-02 - tuning find_job method. 0.0205 2010-04-21 - MOD: oops remove use Qudo::HookLoader. 0.0204 2010-04...
nekokak/qudo
ad880675a4421fed55bd5efdcd7152bba7685f67
find_jobメソッドをチューニング
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..93873bd --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +Makefile.PL +cover_db +META.yml +Makefile +blib +inc +pm_to_blib +MANIFEST +Makefile.old +old/ +*.swp +test.* diff --git a/.shipit b/.shipit new file mode 100644 index 0000000..d2778c7 --- /...
rolito/simple_form
89813b17f17d1e3474c9e83b66ff3b0704fa5515
Updating errors to friendly use [] like ActiveRecord errors, playing nicely with Formtastic.
diff --git a/lib/simple_form/errors.rb b/lib/simple_form/errors.rb index a1ad4e6..df156a2 100644 --- a/lib/simple_form/errors.rb +++ b/lib/simple_form/errors.rb @@ -1,57 +1,59 @@ # Provides an Errors class similar with ActiveRecord ones. # # class ContactForm < SimpleForm # attributes :name, :validate => tru...
rolito/simple_form
5669973a21d04c9885a43e399c96f4e8b113e3a5
Bump tiny.
diff --git a/README b/README index 68316b9..c4ca41d 100644 --- a/README +++ b/README @@ -1,193 +1,193 @@ Simple Form License: MIT -Version: 0.3 +Version: 0.3.1 You can also read this README in pretty html at the GitHub project Wiki page: http://wiki.github.com/josevalim/simple_form/ Description ----------...
rolito/simple_form
800c682db7016427444d6742050cdf17082c67d2
Bump minor (0.3.0)
diff --git a/CHANGELOG b/CHANGELOG index d0a66a0..c9db0e2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,9 +1,13 @@ -# Version 0.2 +# Version 0.3 +* Added support to symbols on :sender, :subject and :recipients * Added support to symbols on :validate + +# Version 0.2 + * Added support to request objects and append DS...
rolito/simple_form
22a348a3a9d525d1bde1648998a5e116b87121af
Added support to symbols on recipients, subject and sender. When a symbol is given, an action with the same name as the symbol is called on the form object.
diff --git a/lib/simple_form/notifier.rb b/lib/simple_form/notifier.rb index 25744fb..a57ba0b 100644 --- a/lib/simple_form/notifier.rb +++ b/lib/simple_form/notifier.rb @@ -1,45 +1,47 @@ # This is the class responsable to send the e-mails. # class SimpleForm class Notifier < ActionMailer::Base def contact(...
rolito/simple_form
f35874c9f303a9dcc7c9021af5c5ccd4f2f48232
Bump tiny.
diff --git a/CHANGELOG b/CHANGELOG index 166b969..d0a66a0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,9 @@ # Version 0.2 +* Added support to symbols on :validate * Added support to request objects and append DSL * Added support to :attachments (thanks to @andrewtimberlake) # Version 0.1 * First release...
rolito/simple_form
0be4c9ce304fed9b88607886382b801209f09750
Added support to symbols on validations.
diff --git a/lib/simple_form/base.rb b/lib/simple_form/base.rb index 00ce85d..81873fc 100644 --- a/lib/simple_form/base.rb +++ b/lib/simple_form/base.rb @@ -1,118 +1,126 @@ class SimpleForm attr_accessor :request # Initialize assigning the parameters given as hash (just as in ActiveRecord). # # It also a...
rolito/simple_form
4f6f3163d4853237ce67708305a8b32dfbe6d43b
Oops. Updating changelog.
diff --git a/CHANGELOG b/CHANGELOG index cd8890d..166b969 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ +# Version 0.2 + +* Added support to request objects and append DSL * Added support to :attachments (thanks to @andrewtimberlake) # Version 0.1 * First release
rolito/simple_form
84325a6bf4b0a554d67a142726bab51e822a6818
Making obvious things, obvious.
diff --git a/README b/README index 75ae02d..087abe6 100644 --- a/README +++ b/README @@ -1,175 +1,176 @@ Simple Form License: MIT Version: 0.1 You can also read this README in pretty html at the GitHub project Wiki page: http://wiki.github.com/josevalim/simple_form/ Description ----------- Simple Form...
rolito/simple_form
d785c7183530ab9c4ce61f596bf242a1620cca39
Improving e-mail style.
diff --git a/views/simple_form/notifier/contact.erb b/views/simple_form/notifier/contact.erb index 1c7064e..3a40878 100644 --- a/views/simple_form/notifier/contact.erb +++ b/views/simple_form/notifier/contact.erb @@ -1,25 +1,30 @@ -<p><%=h @subject %></p> +<h4 style="text-decoration:underline"><%=h @subject %></h4> ...
rolito/simple_form
799aa25bc4cf554493c26d3d5687812da455942e
Added support to request objects.
diff --git a/README b/README index 76417de..9a6a20e 100644 --- a/README +++ b/README @@ -1,151 +1,151 @@ Simple Form License: MIT Version: 0.1 You can also read this README in pretty html at the GitHub project Wiki page: http://wiki.github.com/josevalim/simple_form/ Description ----------- Simple Form...
rolito/simple_form
601481cdac549e1c51be868035e1a91e26c9cd42
Recipients accepts procs too.
diff --git a/lib/simple_form.rb b/lib/simple_form.rb index 8d0ff11..a4ddfbb 100644 --- a/lib/simple_form.rb +++ b/lib/simple_form.rb @@ -1,31 +1,30 @@ dir = File.dirname(__FILE__) require File.join(dir, 'simple_form', 'base') require File.join(dir, 'simple_form', 'dsl') require File.join(dir, 'simple_form', 'errors...
rolito/simple_form
28be3fd5f7febc08a4123eab1a4928850b109394
Added :attachment => true as options and started contributors list.
diff --git a/CHANGELOG b/CHANGELOG index 71cf623..cd8890d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +* Added support to :attachments (thanks to @andrewtimberlake) + # Version 0.1 * First release diff --git a/README b/README index f31f16d..76417de 100644 --- a/README +++ b/README @@ -1,143 +1,151 @@ Si...
rolito/simple_form
c8c4e966566a10da06ad582158c88520b1daa39a
Change hard-linked test file
diff --git a/test/notifier_test.rb b/test/notifier_test.rb index 6b054ad..086e71d 100644 --- a/test/notifier_test.rb +++ b/test/notifier_test.rb @@ -1,105 +1,105 @@ require File.dirname(__FILE__) + '/test_helper' class SimpleFormNotifierTest < ActiveSupport::TestCase def setup @form = ContactForm.new(...
rolito/simple_form
f49a5be30c96ef47445ec84fd49906756bfcff43
Added tests for file attachment
diff --git a/lib/simple_form/notifier.rb b/lib/simple_form/notifier.rb index 70d7680..f9fd387 100644 --- a/lib/simple_form/notifier.rb +++ b/lib/simple_form/notifier.rb @@ -1,34 +1,34 @@ # This is the class responsable to send the e-mails. # class SimpleForm class Notifier < ActionMailer::Base def contact(fo...
rolito/simple_form
8f5b3233202e5335f62d6beae3e7ead468163b02
Adding support for file fields
diff --git a/lib/simple_form/notifier.rb b/lib/simple_form/notifier.rb index ce7b81c..70d7680 100644 --- a/lib/simple_form/notifier.rb +++ b/lib/simple_form/notifier.rb @@ -1,24 +1,34 @@ # This is the class responsable to send the e-mails. # class SimpleForm class Notifier < ActionMailer::Base def contact(fo...
rolito/simple_form
feaf33b174d23d6b8c7515795afd1a95d4c2fe26
Bump version.
diff --git a/simple_form.gemspec b/simple_form.gemspec index dc8fd42..e11a11a 100644 --- a/simple_form.gemspec +++ b/simple_form.gemspec @@ -1,32 +1,32 @@ Gem::Specification.new do |s| s.name = "simple_form" - s.version = "0.1" + s.version = "0.1.1" s.date = "2009-04-03" s.summary = "Simple easy ...
rolito/simple_form
a89000a73586769d745572b7356f0c2666f0dcc6
Added views files to gemspec.
diff --git a/simple_form.gemspec b/simple_form.gemspec index d9af24d..dc8fd42 100644 --- a/simple_form.gemspec +++ b/simple_form.gemspec @@ -1,31 +1,32 @@ Gem::Specification.new do |s| s.name = "simple_form" s.version = "0.1" s.date = "2009-04-03" s.summary = "Simple easy contact form for Rails."...
rolito/simple_form
2703ddde257a28a170869211c4c00099687bdd45
Added gemspec.
diff --git a/simple_form.gemspec b/simple_form.gemspec new file mode 100644 index 0000000..d9af24d --- /dev/null +++ b/simple_form.gemspec @@ -0,0 +1,31 @@ +Gem::Specification.new do |s| + s.name = "simple_form" + s.version = "0.1" + s.date = "2009-04-03" + s.summary = "Simple easy contact form for Rails....
nlewis/Net-ILO
b149e7e2712b0a8b269ecd7ef4aa6bd1a6053052
changes to _serialize() to fix bugs with iLO 4 - no longer assumes that the longest stanza is the one we're looking for (sometimes that's just a long INFORM message) - drills down into each xml stanza, looking for tags containing response data - added unit tests for this
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 8398e5d..5420264 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1449,1050 +1449,1061 @@ sub _generate_cmd { <GET_UID_STATUS/> </SERVER_INFO> ), ); my $ilo_command = $com...
nlewis/Net-ILO
3f53471f12d1782ef6747695ae10b7baa1643932
Added workaround for XML::Simple's simplicity.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 8398e5d..dc95651 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1,522 +1,523 @@ package Net::ILO; use strict; use warnings; use Carp; use Data::Dumper; use English qw(-no_match_vars); use IO::Socket::SSL; use XML::Simple; +use Scalar::Util qw( reftype...
nlewis/Net-ILO
b707d75b4bd87f2975a5bb468c8e2ff7451282c5
Added method for retrieving backplane and disk information.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 5b735e4..61dea23 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1,1739 +1,1786 @@ package Net::ILO; use strict; use warnings; use Carp; use Data::Dumper; use English qw(-no_match_vars); use IO::Socket::SSL; use XML::Simple; our $VERSION = '0.54'; ...
nlewis/Net-ILO
71676ea5526065b05ff696128bb5abf6e91204c5
set the version to a devel one.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 101fc50..2f4b384 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1,524 +1,524 @@ package Net::ILO; use strict; use warnings; use Carp; use Data::Dumper; use English qw(-no_match_vars); use IO::Socket::SSL; use XML::Simple; -our $VERSION = '0.54'; +ou...
nlewis/Net-ILO
95ac690025e3a2444a2d93f2b4f470be0b74ff73
add support for getting and setting several new network parameters: dhcp_gateway, dhcp_dns_server, prim_dns_server, sec_dns_server, ter_dns_server, dhcp_sntp_settings, sntp_server1, sntp_server2, timezone.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 26e8ba2..101fc50 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1,2694 +1,2907 @@ package Net::ILO; use strict; use warnings; use Carp; use Data::Dumper; use English qw(-no_match_vars); use IO::Socket::SSL; use XML::Simple; our $VERSION = '0.54'; ...
nlewis/Net-ILO
023855ed0533af0530a6494d41e9cbed85431290
fix some documentation errors.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 79ae02a..26e8ba2 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1606,1084 +1606,1084 @@ sub _populate_host_data { $size = $field_value; } elsif ($field_name eq 'Speed') { $speed = ...
nlewis/Net-ILO
960cc50fd972cab189f9ca959cd94ad30f7b0b09
avoid warnings.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index f4c895b..79ae02a 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1145,1029 +1145,1029 @@ sub _connect { my $port = $self->port or croak "Can't connect: port not set"; $self->{_client} = IO::Socket::SSL->new( PeerAddr => "$address:$port",...
nlewis/Net-ILO
aa7ec0d465990fa128a5a412ff823f4e1ceec9da
add method server_name() (iLO commands SERVER_INFO/GET_SERVER_NAME and SERVER_INFO/SERVER_NAME).
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index ffd6578..f4c895b 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -376,1024 +376,1069 @@ sub https_port { } if (!$self->{https_port}) { $self->_populate_global_settings or return; } return $self->{https_port}; } sub ip_addres...
nlewis/Net-ILO
3d3d88bc08c84427e72b6f41cb254f13948668e2
add the serial_cli_speed() and serial_cli_status() for controlling the CLI.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 04c6e98..ffd6578 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -345,1024 +345,1042 @@ sub http_port { sub https_port { my $self = shift; if (@_) { my $https_port = shift; _port_is_valid($https_port) or croak "HTTPS port mu...
nlewis/Net-ILO
4e026ae8e59353b384d4ce5a0999bce171482eb3
add a generic method _get_or_mod_global_settings() to handle any 'global settings' field.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 07899e3..04c6e98 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -715,1024 +715,1062 @@ sub port { } sub power { my $self = shift; if ( @_ ) { my $state_requested = shift; my $ilo_command; if (lc($state_requested...
nlewis/Net-ILO
59661212daa17f7b1b51be52eaad19663d112777
handle all known iLO 3 'global settings' fields.
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 60e9eb4..07899e3 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -857,1030 +857,1035 @@ sub reset { sub serialID { my $self = shift; if (!$self->{serialID}) { $self->_populate_host_data or return; } return $self->{serialID}; }...
nlewis/Net-ILO
8c1b0eaa704e0f9a6168ab76a6651f3d5b34ae18
add the method get_user() (iLO command GET_USER).
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index 5b735e4..a9e30dc 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1,764 +1,805 @@ package Net::ILO; use strict; use warnings; use Carp; use Data::Dumper; use English qw(-no_match_vars); use IO::Socket::SSL; use XML::Simple; our $VERSION = '0.54'; ...
nlewis/Net-ILO
9e5bc03105ed464399911dedee0308f8c7a3748f
0.54 07/1/2011 - constructor now accepts either hash or hashref - added configurable privileges for non-admin users to add_user() (thanks to Chris Sarginson) - added ability to read 'Caution' and 'Critical' thresholds from temperature sensors (thanks to Matthew Stier) - better error ch...
diff --git a/Changes b/Changes index b595013..3dd7219 100644 --- a/Changes +++ b/Changes @@ -1,43 +1,52 @@ Revision history for Net-ILO +0.54 07/1/2011 + - constructor now accepts either hash or hashref + - added configurable privileges for non-admin users to add_user() (thanks to Chris Sarginson) + ...
nlewis/Net-ILO
6d3e7a823393b5d96b33d5274d1503b67700ad6a
0.53 11/18/2010 - added ability to activate advanced license from Net::ILO - removed username/password checking cruft from https_port() and network()
diff --git a/Changes b/Changes index b2be80b..b595013 100644 --- a/Changes +++ b/Changes @@ -1,39 +1,43 @@ Revision history for Net-ILO +0.53 11/18/2010 + - added ability to activate advanced license from Net::ILO + - removed username/password checking cruft from https_port() and network() + 0.52 ...
nlewis/Net-ILO
d472b592eecc8aa60df13e3bc103b755fa3bf2d8
as usual I forgot to bump the version number
diff --git a/Changes b/Changes index ff5406f..b2be80b 100644 --- a/Changes +++ b/Changes @@ -1,36 +1,39 @@ Revision history for Net-ILO +0.52 09/27/2010 + - fix for older versions (<=5.8.0) of perl (thanks to Darko Pejakov) + 0.51 08/16/2010 - if mac01 is set and mac03/04 aren't, calling mac04 o...
nlewis/Net-ILO
8be4f0996cc775a16cf64fe53fb9d80cbea3658f
patch for _send() not working correctly on older versions of perl
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index c3b3470..b3385fe 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1000,1025 +1000,1025 @@ sub _connect { } return $self->{_client}; } sub _debug { my $self = shift; if (@_) { $self->{_debug} = shift; ...
nlewis/Net-ILO
3471a690c779229fee0b3c83ee2cdfa2a0832953
beta support for ILO version 3
diff --git a/Changes b/Changes index eb82307..ff5406f 100644 --- a/Changes +++ b/Changes @@ -1,24 +1,36 @@ Revision history for Net-ILO +0.51 08/16/2010 + - if mac01 is set and mac03/04 aren't, calling mac04 or mac04 returns immediately rather than sending iLO request + - renamed fw_version to get_fw...
nlewis/Net-ILO
c61b280018e48f52e183b53fbb3275ca34a67a63
using version 0.43 now
diff --git a/Changes b/Changes index 85f8167..eb82307 100644 --- a/Changes +++ b/Changes @@ -1,27 +1,24 @@ Revision history for Net-ILO -0.44 07/28/2010 - - bump $VERSION - 0.43 07/28/2010 - moved XML header and footer generation to its own function [wrap()] - added new methods for gath...
nlewis/Net-ILO
6c16eef19bf864e56c803bdb60f7ee1260fa309d
bump $VERSION
diff --git a/Changes b/Changes index eb82307..85f8167 100644 --- a/Changes +++ b/Changes @@ -1,24 +1,27 @@ Revision history for Net-ILO +0.44 07/28/2010 + - bump $VERSION + 0.43 07/28/2010 - moved XML header and footer generation to its own function [wrap()] - added new methods for gath...
nlewis/Net-ILO
246d17e4180c5f06d25ec1da6b99790c7b788c4d
added new methods for gathering server health: - fans() - power_supplies() - temperatures() alphabetized commands in _generate_cmd()
diff --git a/Changes b/Changes index 15dbf0c..eb82307 100644 --- a/Changes +++ b/Changes @@ -1,19 +1,24 @@ Revision history for Net-ILO 0.43 07/28/2010 - - moved XML header and footer generation to its own function + - moved XML header and footer generation to its own function [wrap()] + - ad...
nlewis/Net-ILO
88a6305c9e0c3e59afa4f851c1d84e8cbdef778a
moved XML header and footer generation to its own function: _wrap() fixed POD where certain methods weren't displayed correctly
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index a6caf7f..2eafe82 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1,2053 +1,2013 @@ package Net::ILO; use strict; use warnings; use Carp; use Data::Dumper; use English qw(-no_match_vars); use IO::Socket::SSL; use XML::Simple; our $VERSION = '0.42'; ...
nlewis/Net-ILO
917dd4f14317e64140dee8c7205ec5ec148ed709
added 0.42 modifications to Changes
diff --git a/Changes b/Changes index 577cd86..96f9cd6 100644 --- a/Changes +++ b/Changes @@ -1,13 +1,16 @@ Revision history for Net-ILO +0.42 07/26/2010 + - Removed bad test from t/03-serialize.t + 0.41 07/21/2010 - Fixed bug in del_user() so it behaves as documented - Fixed bug in _ser...
nlewis/Net-ILO
b7955c899bac013d21f208400fcb176825eb2611
bumped version
diff --git a/lib/Net/ILO.pm b/lib/Net/ILO.pm index f0da0ac..a6caf7f 100644 --- a/lib/Net/ILO.pm +++ b/lib/Net/ILO.pm @@ -1,524 +1,524 @@ package Net::ILO; use strict; use warnings; use Carp; use Data::Dumper; use English qw(-no_match_vars); use IO::Socket::SSL; use XML::Simple; -our $VERSION = '0.41'; +ou...
nlewis/Net-ILO
87c4c7ccf534d198ce562a61126068054876cd63
removed bad test from 03-serialize.t
diff --git a/t/03-serialize.t b/t/03-serialize.t index 8957b24..8923217 100644 --- a/t/03-serialize.t +++ b/t/03-serialize.t @@ -1,58 +1,57 @@ #!perl use strict; use Net::ILO; -use Test::More tests => 5; +use Test::More tests => 4; my $xml_good = qq| <?xml version="1.0"?> <RIBCL VERSION="2.22"> ...
nlewis/Net-ILO
ac498a5af3fe229964e3b4e43dbc6424dcc77697
bumped version number
diff --git a/Changes b/Changes index d0991cb..577cd86 100644 --- a/Changes +++ b/Changes @@ -1,13 +1,13 @@ Revision history for Net-ILO -0.041 07/21/2010 +0.41 07/21/2010 - Fixed bug in del_user() so it behaves as documented - Fixed bug in _serialize() so it doesn't barf if passed null data ...
nlewis/Net-ILO
c3bbd79900a9f9d4ad1069ce3de37b90e339712e
minor bugfixes in _serialize() and del_user(), more tests
diff --git a/Changes b/Changes index 43c8afe..d0991cb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for Net-ILO -0.04 07/19/2010 - First release version +0.041 07/21/2010 + - Fixed bug in del_user() so it behaves as documented + - Fixed bug in _serialize() so it doesn...
nlewis/Net-ILO
993a6cc97503b2fc4e53ca7f84babeeb402b3756
added TODO
diff --git a/TODO b/TODO new file mode 100644 index 0000000..8880ca0 --- /dev/null +++ b/TODO @@ -0,0 +1,10 @@ +- document 'Invalid Boolean' error +- normalize $state_requested +- test cases + - _check_errors() + - passing invalid port to ssh_port, http_port, https_port + - _serialize + - constructor + - basic getters/...
nlewis/Net-ILO
33d614c2322caa93c2b424e7f01942a6c8bdfbe0
add stub README
diff --git a/README b/README new file mode 100644 index 0000000..232c0aa --- /dev/null +++ b/README @@ -0,0 +1 @@ +Please see README.pod for documentation.
nlewis/Net-ILO
07e3630e79a2d85bd05d19daf7948e4f56e25bb5
add license
diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cc83693 --- /dev/null +++ b/LICENSE @@ -0,0 +1,380 @@ +The use of this module is licensed under the terms of Perl itself + +a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + ...
nlewis/Net-ILO
9cddedea6c786c215afb9f2e07f3c33cc3465079
add rest of distribution
diff --git a/Changes b/Changes new file mode 100644 index 0000000..43c8afe --- /dev/null +++ b/Changes @@ -0,0 +1,5 @@ +Revision history for Net-ILO + +0.04 07/19/2010 + First release version + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..b4cb5ce --- /dev/null +++ b/MANIFEST @@ -0,0 +1...
chadwpry/pusher-cta
1c446a3a9842c1c1b56c2bfecafa23cf0b27391e
+ add bundler gemfile + rvmrc + travis configuration
diff --git a/.rvmrc b/.rvmrc new file mode 100644 index 0000000..984a85a --- /dev/null +++ b/.rvmrc @@ -0,0 +1 @@ +rvm use ree@pusher-cta --create diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4219086 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +rvm: + - 1.8.7 + - 1.9.2 + - 1.9.3 + ...
chadwpry/pusher-cta
5659366970c4caaf0ed96afab49b66aaca859a8c
Edited README.rdoc via GitHub
diff --git a/README.rdoc b/README.rdoc index 637aa2d..d40200f 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,60 +1,60 @@ = Pusher CTA -http://github.com/chaddownbeat/pusher-cta +http://github.com/chadwpry/pusher-cta == DESCRIPTION: This is a learning project to understand the implementation of pusherapp wi...
chadwpry/pusher-cta
3a1da0dac7c8b0aa700fc07b47e76b4e16d5e907
removed association reference to vehicle_route for vrid and using location vrid instead
diff --git a/app/models/vehicle_route.rb b/app/models/vehicle_route.rb index 80c2347..9cb3f1b 100644 --- a/app/models/vehicle_route.rb +++ b/app/models/vehicle_route.rb @@ -1,151 +1,151 @@ class VehicleRoute < ActiveRecord::Base # CONSTANTS NORTH_BOUND = "North Bound" SOUTH_BOUND = "South Bound" # INCL...
chadwpry/pusher-cta
2d8d9af2e315f3ef98b008c719f80671645d6b31
added session_id to the pusher channel for uniqueness between user sessions
diff --git a/app/controllers/vehicle_routes_controller.rb b/app/controllers/vehicle_routes_controller.rb index 70f5055..89e0298 100644 --- a/app/controllers/vehicle_routes_controller.rb +++ b/app/controllers/vehicle_routes_controller.rb @@ -1,23 +1,23 @@ class VehicleRoutesController < ApplicationController # GET...
chadwpry/pusher-cta
1ece19e4218087f882274a06cf1e1cbe8cbd9915
removed two pattern controller tests and updated check for location older than refrence
diff --git a/app/models/vehicle_route.rb b/app/models/vehicle_route.rb index e289264..cd01271 100644 --- a/app/models/vehicle_route.rb +++ b/app/models/vehicle_route.rb @@ -1,146 +1,151 @@ class VehicleRoute < ActiveRecord::Base # CONSTANTS NORTH_BOUND = "North Bound" SOUTH_BOUND = "South Bound" # INCL...
chadwpry/pusher-cta
fdc1480a895a17e801308277c6bb1641975f854a
removed a constraint on distance of a point and updated tests
diff --git a/spec/models/pattern_spec.rb b/spec/models/pattern_spec.rb index 13b3548..e81f837 100644 --- a/spec/models/pattern_spec.rb +++ b/spec/models/pattern_spec.rb @@ -1,24 +1,27 @@ require 'spec_helper' describe Pattern do describe "instantiating an object with no parameters" do it { should have(2).er...