Skip to content

Commit

Permalink
prepare 0.9.6 release (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
andypiper committed Aug 27, 2020
1 parent 138c978 commit f986f11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $ gem install twurl
```sh
# verify installation
$ twurl -v
0.9.5
0.9.6
```

## Install from source
Expand All @@ -32,5 +32,5 @@ If you don't want to install Twurl globally on your system, use `--path` [option
```
$ bundle install --path path/to/directory
$ bundle exec twurl -v
0.9.5
0.9.6
```
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This will print a pair of consumer_key and its associated bearer token. Note, to
You can access different hosts for other Twitter APIs using the -H flag.

```sh
twurl -H "ads-api.twitter.com" "/5/accounts"
twurl -H "ads-api.twitter.com" "/7/accounts"
```

## Uploading Media
Expand Down Expand Up @@ -165,7 +165,7 @@ twurl accounts

### Profiles and Bearer Tokens

While changing the default profile allows you to select which access token (OAuth1.0a) to use, bearer tokens don't link to any user profiles as the Application-only authentication doesn't require user context. That is, you can make an application-only request regardless of your default profile if you specify the `-c` (--consumer-key) option once you generate a bearer token with this consumer key. By default, twurl reads the current profile's consumer key and its associated bearer token from `~/.twurlrc` file.
While changing the default profile allows you to select which access token (OAuth1.0a) to use, bearer tokens don't link to any user profiles as the Application-only authentication doesn't require user context. That is, you can make an application-only request regardless of your default profile if you specify the `-c` (`--consumer-key`) option once you generate a bearer token with this consumer key. By default, twurl reads the current profile's consumer key and its associated bearer token from `~/.twurlrc` file.

## Contributors

Expand Down
2 changes: 1 addition & 1 deletion lib/twurl/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Twurl
class Version
MAJOR = 0 unless defined? Twurl::Version::MAJOR
MINOR = 9 unless defined? Twurl::Version::MINOR
PATCH = 5 unless defined? Twurl::Version::PATCH
PATCH = 6 unless defined? Twurl::Version::PATCH
PRE = nil unless defined? Twurl::Version::PRE # Time.now.to_i.to_s

class << self
Expand Down

0 comments on commit f986f11

Please sign in to comment.