-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
932d2d3
commit 7427a1a
Showing
9 changed files
with
44 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Pry::Parsecom | ||
# pry-parsecom | ||
|
||
TODO: Write a gem description | ||
|
||
|
@@ -18,21 +18,29 @@ Or install it yourself as: | |
|
||
## Usage | ||
|
||
$ pry | ||
$ pry-parsecom | ||
[1] pry(main)> show-applications | ||
Input parse.com email: [email protected] | ||
Input parse.com password: | ||
Name | ||
======== | ||
FakeApp | ||
FakeApp2 | ||
[2] pry(main)> use FakeApp | ||
The current app is FakeApp. | ||
[3] pry(main)> show-classes | ||
[3] pry(main)> show-credentials | ||
Key | Value | ||
========================================================= | ||
APPLICATION_ID | abcdefghijklmnopqrstuvwxyzabcdefghijklmn | ||
REST_API_KEY | abcdefghijklmnopqrstuvwxyzabcdefghijklmn | ||
MASTER_KEY | abcdefghij****************************** | ||
[4] pry(main)> show-classes | ||
Comment | ||
Post | ||
_User | ||
[4] pry(main)> Comment.find :all | ||
[5] pry(main)> Comment.find :all | ||
=> [<Comment: {"author"=>#<Parse::Pointer:0x007fc6796dbba8 @r... | ||
[5] pry(main)> exit | ||
[6] pry(main)> exit | ||
|
||
## Contributing | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
#!/usr/bin/env ruby | ||
|
||
$0 = 'pry' | ||
|
||
begin | ||
require 'parse/console' | ||
require 'pry' | ||
rescue LoadError | ||
require 'rubygems' | ||
require 'parse/console' | ||
require '' | ||
end | ||
|
||
Parse::Console.start | ||
ENV['ENABLE_PRY_PARSECOM'] = 'on' | ||
Pry::CLI.parse_options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# encoding: UTF-8 | ||
|
||
module PryParsecom | ||
VERSION = "0.0.0" | ||
VERSION = "0.0.2" | ||
end |