Skip to content

Commit

Permalink
add pry
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Dobzinski committed Mar 7, 2012
1 parent 3911b66 commit 43cc163
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ end
group :development do
gem 'annotate', '~> 2.4.1.beta'
gem 'awesome_print'
gem 'pry-rails'
gem 'pry-doc'
end

group :test, :darwin do
Expand Down
15 changes: 15 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
xpath (~> 0.1.4)
childprocess (0.3.1)
ffi (~> 1.0.6)
coderay (1.0.5)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
Expand Down Expand Up @@ -100,11 +101,21 @@ GEM
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.7.1)
mime-types (1.17.2)
multi_json (1.1.0)
nokogiri (1.5.0)
pg (0.13.2)
polyglot (0.3.3)
pry (0.9.8.4)
coderay (~> 1.0.5)
method_source (~> 0.7.1)
slop (>= 2.4.4, < 3)
pry-doc (0.4.1)
pry (>= 0.9.0)
yard (~> 0.7.4)
pry-rails (0.1.6)
pry
rack (1.4.1)
rack-cache (1.2)
rack (>= 0.4)
Expand Down Expand Up @@ -159,6 +170,7 @@ GEM
multi_json (~> 1.0)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
slop (2.4.4)
sprockets (2.1.2)
hike (~> 1.2)
rack (~> 1.0)
Expand Down Expand Up @@ -187,6 +199,7 @@ GEM
multi_json (>= 1.0.2)
xpath (0.1.4)
nokogiri (~> 1.3)
yard (0.7.5)

PLATFORMS
ruby
Expand All @@ -203,6 +216,8 @@ DEPENDENCIES
guard-rspec
jquery-rails
pg
pry-doc
pry-rails
rails (= 3.2.2)
rb-fsevent
rspec-rails
Expand Down
4 changes: 2 additions & 2 deletions bin/examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ curl -i -XPUT -H"Content-Type:application/json" http://joblander.herokuapp.com/u
curl -i -XPUT -H"Content-Type:application/json" http://joblander.herokuapp.com/users/1/positions/2.json -d "{\"pstatus\":\"applied\"}"

# using httpie:
http POST http://joblander.herokuapp.com/users/1/positions.json name=posi details="some details" # create a position
http POST http://joblander.herokuapp.com/users/1/positions.json name=posi details="some details" details=det company=com comments=com app_link=link app_due_date=1/1/2012 # create a position
http GET http://joblander.herokuapp.com/users/1/positions.json # get all positions for a user
http GET http://joblander.herokuapp.com/users/1/positions/2.json # get a position for a user
http PUT http://joblander.herokuapp.com/users/1/positions/2.json name=posi details="some details" # update a position
http PUT http://joblander.herokuapp.com/users/1/positions/2.json pstatus=applied # update a position - change status
http PUT http://joblander.herokuapp.com/users/1/positions/2.json pstatus=applied # update a position - change status
Binary file added vendor/cache/coderay-1.0.5.gem
Binary file not shown.
Binary file added vendor/cache/method_source-0.7.1.gem
Binary file not shown.
Binary file added vendor/cache/pry-0.9.8.4.gem
Binary file not shown.
Binary file added vendor/cache/pry-doc-0.4.1.gem
Binary file not shown.
Binary file added vendor/cache/pry-rails-0.1.6.gem
Binary file not shown.
Binary file added vendor/cache/slop-2.4.4.gem
Binary file not shown.
Binary file added vendor/cache/yard-0.7.5.gem
Binary file not shown.

0 comments on commit 43cc163

Please sign in to comment.