summaryrefslogtreecommitdiff
path: root/lib/highline
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.0.0release/2.0Abinoam Praxedes Marques Junior2018-06-111-1/+1
|
* Release 2.0.0-develop.16v2.0.0.pre.develop.16Abinoam Praxedes Marques Junior2018-05-121-1/+1
|
* about shell and gather邹云慧2018-05-121-2/+8
|
* Deprecate safe_level of ERB.new in Ruby 2.6Koichi ITO2018-05-123-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR suppresses the following warnings when using Ruby 2.6.0-dev. ```console % be rake /Users/koic/.rbenv/versions/2.6.0-dev/bin/ruby -w -I"lib:test" -I"/Users/koic/.rbenv/versions/2.6.0-dev/lib/ruby/gems/2.6.0/gems/rake-12.3.1/lib" "/Users/koic/.rbenv/versions/2.6.0-dev/lib/ruby/gems/2.6.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb" "test/test_answer_converter.rb" "test/test_color_scheme.rb" "test/test_helper.rb" "test/test_highline.rb" "test/test_import.rb" "test/test_list.rb" "test/test_menu.rb" "test/test_paginator.rb" "test/test_question_asker.rb" "test/test_simulator.rb" "test/test_string_extension.rb" "test/test_string_highline.rb" "test/test_style.rb" "test/test_wrapper.rb" Tests will be run under: - HighLine::Terminal::IOConsole - HighLine::VERSION 2.0.0-develop.15 - ruby 2.6.0dev (2018-05-08 trunk 63359) [x86_64-darwin17] Run options: --seed 11307 # Running: .....................................SS..S/Users/koic/src/github.com/JEG2/highline/lib/highline/statement.rb:81: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /Users/koic/src/github.com/JEG2/highline/lib/highline/statement.rb:81: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /Users/koic/src/github.com/JEG2/highline/lib/highline/list_renderer.rb:95: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /Users/koic/src/github.com/JEG2/highline/lib/highline/list_renderer.rb:95: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. (snip) ``` The interface of `ERB.new` will change from Ruby 2.6. > Add :trim_mode and :eoutvar keyword arguments to ERB.new. > Now non-keyword arguments other than first one are softly deprecated > and will be removed when Ruby 2.5 becomes EOL. [Feature #14256] https://github.com/ruby/ruby/blob/2311087/NEWS#stdlib-updates-outstanding-ones-only This PR uses `ERB.instance_method(:initialize).parameters.assoc(:key)` to switch `ERB.new` interface. Because HighLine supports multiple Ruby versions, it need to use the appropriate interface. This approach is built into Ruby. https://github.com/ruby/ruby/commit/3406c5d
* Bump version to 2.0.0-develop.15 and update Changelogupdate/ruby_version_on_travisAbinoam P. Marques Jr2017-12-281-1/+1
|
* Prepare for v2.0.0-develop.14issue_221Abinoam P. Marques Jr2017-11-211-1/+1
|
* Remove now useless codeAbinoam P. Marques Jr2017-11-211-4/+2
|
* Prompt treated the same with or without readlineAbinoam P. Marques Jr2017-11-212-2/+2
|
* Bump up version to 2.0.0-develop.13Abinoam P. Marques Jr2017-11-051-1/+1
| | | | ... and update Changelog.
* Change rescue for a simple if/elseAbinoam P. Marques Jr2017-11-051-1/+5
|
* Move logic to QuestionAbinoam P. Marques Jr2017-11-052-7/+7
|
* Implement proc or string for errorAbinoam P. Marques Jr2017-11-051-1/+6
|
* Bump up version to 2.0.0-develop.12Abinoam P. Marques Jr2017-10-191-1/+1
|
* Expose IOConsoleCompatibleAbinoam P. Marques Jr2017-10-191-0/+37
|
* Update Changelog / 2.0.0-develop.11rubocopAbinoam P. Marques Jr2017-09-251-1/+1
|
* Fix rescueing without error classAbinoam P. Marques Jr2017-09-252-2/+2
|
* Fix exception suppresionAbinoam P. Marques Jr2017-09-251-6/+0
|
* Use get_character name because it implies effortAbinoam P. Marques Jr2017-09-252-2/+2
|
* Add meaningful heredoc delimitersAbinoam P. Marques Jr2017-09-251-6/+6
|
* Use Hash#each_valueAbinoam P. Marques Jr2017-09-251-1/+1
|
* Fix class/module nestingAbinoam P. Marques Jr2017-09-251-195/+202
|
* Adjust documentationAbinoam P. Marques Jr2017-09-252-2/+2
|
* Revert %i use for 1.9 compatibilityAbinoam P. Marques Jr2017-09-252-10/+10
|
* Improve StringExtension method_missingAbinoam P. Marques Jr2017-09-251-3/+9
|
* Autocorrect Style/EncodingAbinoam P. Marques Jr2017-09-243-0/+6
|
* Remove double negationAbinoam P. Marques Jr2017-09-241-2/+2
|
* Whitelist some files with snake_case on meth namesAbinoam P. Marques Jr2017-09-241-1/+1
|
* Use #zero? (rubocop warning)Abinoam P. Marques Jr2017-07-071-1/+1
|
* Use guard clauses (rubocop warning)Abinoam P. Marques Jr2017-07-071-4/+4
|
* Remove assignments in conditionalsAbinoam P. Marques Jr2017-07-071-1/+2
|
* Enforce double quotes on stringsAbinoam P. Marques Jr2017-07-0711-27/+27
|
* Fix LineLength warnings from RubocopAbinoam P. Marques Jr2017-07-041-2/+4
|
* Remove unecessary options paramAbinoam P. Marques Jr2017-07-021-3/+3
|
* More manual fixes for Rubocop warningsAbinoam P. Marques Jr2017-07-022-12/+26
|
* More manual fixes for rubocop warningsAbinoam P. Marques Jr2017-07-025-27/+53
|
* Fix else -> elsifAbinoam P. Marques Jr2017-07-021-2/+2
|
* Use a guard clauseAbinoam P. Marques Jr2017-07-021-6/+6
|
* Remove unecessary codeAbinoam P. Marques Jr2017-07-021-2/+0
| | | | It was useful previously
* Simplify conditionalAbinoam P. Marques Jr2017-07-021-3/+2
|
* Use loop do over begin/end/whileAbinoam P. Marques Jr2017-07-021-3/+4
|
* Apply manual fixes for rubocop warningsAbinoam P. Marques Jr2017-07-018-68/+93
|
* Fix menu indexing by letterAbinoam P. Marques Jr2017-07-011-2/+4
|
* Require 'English' for rubocop autofixed filesAbinoam P. Marques Jr2017-07-012-0/+3
|
* Rubocop automatic correctionsAbinoam P. Marques Jr2017-06-3023-253/+231
|
* Update Changelog and bump up to 2.0.0.develop.10add_default_instanceAbinoam P. Marques Jr2017-06-291-1/+1
|
* Replace $terminal to HighLine.default_instanceAbinoam P. Marques Jr2017-06-291-1/+1
|
* Fix HighLine::SimulateAbinoam P. Marques Jr2017-06-291-3/+3
|
* Use the more specific method name (not the alias)Abinoam P. Marques Jr2017-06-291-1/+1
|
* Reduce global namespace polutionAbinoam P. Marques Jr2017-06-291-2/+1
|
* Update documentation about highline/import and $terminalAbinoam P. Marques Jr2017-06-291-5/+5
|