Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 2.2.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Oct 8, 2015
1 parent 31b0428 commit 521d126
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 48 deletions.
49 changes: 4 additions & 45 deletions completion/zsh/_lazy
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
Building schema class files...
Checking TestApp\Model\UserSchema...
Checking TestApp\Model\IDNumberSchema...
Checking TestApp\Model\NameSchema...
Checking AuthorBooks\Model\AddressSchema...
Checking AuthorBooks\Model\BookSchema...
Checking AuthorBooks\Model\AuthorSchema...
Checking AuthorBooks\Model\AuthorBookSchema...
Checking AuthorBooks\Model\PublisherSchema...
Checking MetricApp\Model\MetricValueSchema...
Checking PageApp\Model\PageSchema...
# bin/lazy zsh completion script generated by CLIFramework
# Web: http://github.com/c9s/php-CLIFramework
# THIS IS AN AUTO-GENERATED FILE, PLEASE DON'T MODIFY THIS FILE DIRECTLY.
Expand Down Expand Up @@ -78,10 +67,7 @@ local ret=1
build-conf:'Build configuration file.'
conf:'Build configuration file.'
schema:'schema command.'
list-schema:'list schema files.'
build-schema:'build schema files.'
clean-schema:'clean up schema files.'
build-basedata:'insert basedata into datasource.'
basedata:'insert basedata into datasource.'
sql:'build sql and insert into database.'
diff:'Compare the defined schemas with the tables in database.'
migrate:'Database migration commands'
Expand Down Expand Up @@ -190,7 +176,6 @@ local ret=1
(cmds)
local commands; commands=(
build:'build schema files.'
sql:'build sql and insert into database.'
list:'list schema files.'
clean:'clean up schema files.'
)
Expand All @@ -206,23 +191,14 @@ local ret=1
':file:_files' \
&& ret=0

;;
(sql)
_arguments -w -S -s \
'(-D --data-source)'{-D,--data-source=}'[specify data source id]::{___bin_lazymeta "" schema.sql opt data-source valid-values}' \
'(-r --rebuild)'{-r,--rebuild}'[rebuild SQL schema.]' \
'(-c --clean)'{-c,--clean}'[clean up SQL schema.]' \
'(-f --file)'{-f,--file=}'[write schema sql to file]' \
'(-b --basedata)'{-b,--basedata}'[insert basedata]' \
&& ret=0

;;
(list)

;;
(clean)
_arguments -w -S -s \
'(-f --force)'{-f,--force}'[force generate all schema files.]' \
'(-D --data-source)'{-D,--data-source=}'[specify data source id]::{___bin_lazymeta "" schema.clean opt data-source valid-values}' \
&& ret=0

;;
Expand All @@ -231,26 +207,9 @@ local ret=1
esac

;;
(list-schema)

;;
(build-schema)
_arguments -w -S -s \
'(-f --force)'{-f,--force}'[force generate all schema files.]' \
'(-D --data-source)'{-D,--data-source=}'[specify data source id]::{___bin_lazymeta "" build-schema opt data-source valid-values}' \
':file:_files' \
&& ret=0

;;
(clean-schema)
_arguments -w -S -s \
'(-f --force)'{-f,--force}'[force generate all schema files.]' \
&& ret=0

;;
(build-basedata)
(basedata)
_arguments -w -S -s \
'(-D --data-source)'{-D,--data-source=}'[specify data source id]::{___bin_lazymeta "" build-basedata opt data-source valid-values}' \
'(-D --data-source)'{-D,--data-source=}'[specify data source id]::{___bin_lazymeta "" basedata opt data-source valid-values}' \
&& ret=0

;;
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"fast"
],
"description": "The Fast PHP ORM",
"version": "2.2.3",
"version": "2.2.4",
"require": {
"php": ">=5.4.0",
"corneltek/sqlbuilder": ">= 2.8.4 < 3.0",
Expand Down Expand Up @@ -52,4 +52,4 @@
"LazyRecord\\": "src/LazyRecord/"
}
}
}
}
2 changes: 1 addition & 1 deletion src/LazyRecord/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Console extends Application
{
const name = 'LazyRecord';
const VERSION = "2.2.3";
const VERSION = "2.2.4";

public function brief()
{
Expand Down

0 comments on commit 521d126

Please sign in to comment.