-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add -j (--json-pretty) option (#130)
* Add -j (--json-pretty) option * Fix test not all machines have the "TMPDIR" env variable set by default (e.g., Chrome OS) and hence Minitest actually removes user's "~/.twurlrc" file if the "TMPDIR" is not set. To remediate this, override the directory path in case if it's missing so running tests don't remove the user's file by accident. * Update .gitignore * Update INSTALL remove outdated info and use Markdown * Update INSTALL.md
- Loading branch information
Showing
9 changed files
with
77 additions
and
26 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 |
---|---|---|
|
@@ -36,3 +36,4 @@ test/version_tmp | |
tmp | ||
tmtags | ||
tramp | ||
vendor |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Install | ||
|
||
## Install with RubyGems (recommended) | ||
|
||
```sh | ||
# installing the latest release | ||
$ gem install twurl | ||
``` | ||
|
||
```sh | ||
# verify installation | ||
$ twurl -v | ||
0.9.4 | ||
``` | ||
|
||
## Install from source | ||
|
||
In case if you haven't installed `bundler` you need to install it first: | ||
|
||
```sh | ||
$ gem install bundler | ||
``` | ||
|
||
```sh | ||
$ git clone https://github.com/twitter/twurl | ||
$ cd twurl | ||
$ bundle install | ||
``` | ||
|
||
If you don't want to install Twurl globally on your system, use `--path` [option](https://bundler.io/v2.0/bundle_install.html): | ||
|
||
``` | ||
$ bundle install --path path/to/directory | ||
$ bundle exec twurl -v | ||
0.9.4 | ||
``` |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec| | |
spec.description = %q{Curl for the Twitter API} | ||
spec.email = ['[email protected]'] | ||
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
spec.extra_rdoc_files = %w(CODE_OF_CONDUCT.md INSTALL LICENSE README.md) | ||
spec.extra_rdoc_files = %w(CODE_OF_CONDUCT.md INSTALL.md LICENSE README.md) | ||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?('test/') } | ||
spec.homepage = 'http://github.com/twitter/twurl' | ||
spec.licenses = ['MIT'] | ||
|