picky generate empty_unicorn_server doesn't works #36

Closed
williamn opened this Issue Oct 26, 2011 · 4 comments

2 participants

@williamn

I just update picky to 3.2.0

$ gem list picky

*** LOCAL GEMS ***

picky (3.2.0)
picky-client (3.2.0)
picky-generators (3.2.0)

When I run picky generate I can see empty_unicorn_server option is available but picky generate empty_unicorn_server contact_search doesn't works, instead it outputs picky-generate available options

$ picky generate empty_unicorn_server contact_search

Usage:
  picky-generate <project_type> [params]

Possible commands:
  picky-generate client <sinatra_client_name>
  picky-generate server <sinatra_server_name>
  picky-generate sinatra_client <sinatra_client_name>
  picky-generate classic_server <unicorn_server_name>
  picky-generate sinatra_server <sinatra_server_name>
  picky-generate all_in_one <directory_name (use e.g. for Heroku)>
@floere floere was assigned Oct 26, 2011
@floere
Owner

Hi William, Thanks for the bug report. Of course you found the one generation option that has no integration test :) I'll fix and release in 3.2.1.

@floere
Owner

On the other hand, I removed this option. What I get with 3.2.0 is this:

admin  ~/temp $ picky generate

Usage:
  picky-generate <project_type> [params]

Possible commands:
  picky-generate client <sinatra_client_name>
  picky-generate server <sinatra_server_name>
  picky-generate sinatra_client <sinatra_client_name>
  picky-generate classic_server <unicorn_server_name>
  picky-generate sinatra_server <sinatra_server_name>
  picky-generate all_in_one <directory_name (use e.g. for Heroku)>

admin  ~/temp $ gem list picky

*** LOCAL GEMS ***

picky (3.2.0, 3.1.12)
picky-client (3.2.0, 3.1.12, 3.1.5, 2.1.0)
picky-generators (3.2.0, 3.1.12)
picky-live (3.2.0, 3.1.12)
picky-statistics (3.2.0, 3.1.12)

Perhaps you've seen it in outdated docs?

@floere floere closed this Oct 26, 2011
@williamn

Hi Florian,

I noticed the empty_unicorn_server when I run

$ picky

as you may see below

Possible commands:
  picky generate {sinatra_client,unicorn_server,empty_unicorn_server} app_directory_name
  picky help 
  picky live [host:port/path (default: localhost:8080/admin)] [port (default: 4568)]
  picky search url_or_path [amount of ids (default 20)]
  picky stats logfile (e.g. log/search.log) [port (default: 4567)]

By the way, how can I create an empty picky server app?

@floere
Owner

Good point! Thanks very much. This will be fixed in the next version :)

@rogerbraun rogerbraun pushed a commit to rogerbraun/picky that referenced this issue Nov 13, 2011
@floere ! empty_server (closes #36) 3b159ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment