Skip to content

engageRename cla.yml to cla.ympythonengage #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: add_tls_to_urls
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5b03096
[bug fix] Stop manual URI parsing/escaping and use CGI::parse (#119)
smaeda-ks Dec 4, 2019
1890ab9
make username option settable on requests (#125)
smaeda-ks Dec 4, 2019
65632de
Use IO.binread instead of IO.read (#110)
smaeda-ks Dec 4, 2019
6fb3c08
Fix PIN authorization (#111)
raethlo Dec 6, 2019
d037cf6
Add twurl version to user agent header (#126)
smaeda-ks Dec 8, 2019
c872a7d
Update Code-Of-Conduct / LICENSE (#127)
smaeda-ks Dec 9, 2019
ded1136
Add --timeout and --connection-timeout options (#128)
smaeda-ks Dec 10, 2019
5a7cee4
Make aliases work again Closes: #93 (#114)
flaviomartins Dec 10, 2019
03984a2
Release v0.9.4 (#129)
smaeda-ks Dec 10, 2019
d082264
Support authorization options on request (#131)
smaeda-ks Dec 13, 2019
f81ec26
Add -j (--json-pretty) option (#130)
smaeda-ks Dec 16, 2019
1f6dcac
Documentation improvements (#133)
andypiper Dec 17, 2019
3a1a055
fix newline in README (#134)
andypiper Dec 17, 2019
e9cb1a0
Support Bearer Token (#132)
smaeda-ks Dec 26, 2019
f276355
bump version -> v0.9.5 (#135)
smaeda-ks Dec 26, 2019
b9818b8
Fix .gemspec (#136)
smaeda-ks Dec 26, 2019
4e8b5f9
Add Ruby 2.7.0 to .travis.yml (#137)
smaeda-ks Dec 27, 2019
23a8374
Add VSCode remote container setting files (#138)
smaeda-ks Dec 30, 2019
0dd7c29
Doc fix (#140)
andypiper Dec 30, 2019
837882d
Update INSTALL.md
andypiper Dec 30, 2019
3c78a05
Set theme jekyll-theme-modernist
andypiper Jun 30, 2020
138c978
2020-03 patch (#145)
smaeda-ks Aug 27, 2020
f986f11
prepare 0.9.6 release (#152)
andypiper Aug 27, 2020
73593e5
Update issue templates
andypiper Sep 11, 2020
f7c6a14
Create config.yml
andypiper Sep 11, 2020
671ef6c
Delete ISSUE_TEMPLATE.md
andypiper Sep 11, 2020
f89553f
Update issue templates
andypiper Sep 11, 2020
6c2f7bb
Update config.yml
andypiper Sep 11, 2020
1dff739
Add .github/workflows/cla.yml through file_replicator. (#162)
twitter-service Feb 11, 2021
96ee80d
Use https for GitHub link (#174)
mishina2228 Apr 15, 2022
3604e65
Migrate CI from Travis CI to GitHub Actions (#173)
mishina2228 Apr 15, 2022
3d8a490
0.9.7 (#161)
smaeda-ks Apr 26, 2023
c256756
bump version -> v0.9.7
smaeda-ks Apr 26, 2023
9747b0d
Rename cla.yml to cla.ympythonengage
richbloodfuckin Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Release v0.9.4 (#129)
* bump version

* Handle timeout errors

* Fix .gemspec
  • Loading branch information
smaeda-ks authored Dec 10, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 03984a20a2fc07e6a41ee979b266f893561d1823
8 changes: 8 additions & 0 deletions lib/twurl/request_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module Twurl
class RequestController < AbstractCommandController
NO_URI_MESSAGE = "No URI specified"
READ_TIMEOUT_MESSAGE = 'A timeout occurred (Net::ReadTimeout). ' \
'Please try again or increase the value using --timeout option.'
OPEN_TIMEOUT_MESSAGE = 'A timeout occurred (Net::OpenTimeout). ' \
'Please try again or increase the value using --connection-timeout option.'
def dispatch
if client.needs_to_authorize?
raise Exception, "You need to authorize first."
@@ -15,6 +19,10 @@ def perform_request
}
rescue URI::InvalidURIError
CLI.puts NO_URI_MESSAGE
rescue Net::ReadTimeout
CLI.puts READ_TIMEOUT_MESSAGE
rescue Net::OpenTimeout
CLI.puts OPEN_TIMEOUT_MESSAGE
end
end
end
2 changes: 1 addition & 1 deletion lib/twurl/version.rb
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ module Twurl
class Version
MAJOR = 0 unless defined? Twurl::Version::MAJOR
MINOR = 9 unless defined? Twurl::Version::MINOR
PATCH = 3 unless defined? Twurl::Version::PATCH
PATCH = 4 unless defined? Twurl::Version::PATCH
PRE = nil unless defined? Twurl::Version::PRE # Time.now.to_i.to_s

class << self
2 changes: 1 addition & 1 deletion twurl.gemspec
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(COPYING INSTALL README.md)
spec.extra_rdoc_files = %w(CODE_OF_CONDUCT.md INSTALL 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']