summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.0.0release/2.0Abinoam Praxedes Marques Junior2018-06-112-2/+5
|
* Release 2.0.0-develop.16v2.0.0.pre.develop.16Abinoam Praxedes Marques Junior2018-05-122-1/+5
|
* test about menu's shell邹云慧2018-05-121-0/+19
|
* about shell and gather邹云慧2018-05-122-4/+27
|
* Merge pull request #231 from koic/deprecate_safe_level_of_erb_new_in_ruby_2_6Abinoam P. Marques Jr2018-05-123-3/+15
|\ | | | | Deprecate safe_level of ERB.new in Ruby 2.6
| * 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
* Merge pull request #229 from JEG2/update/ruby_version_on_travisv2.0.0.pre.develop.15Abinoam P. Marques Jr2018-03-304-8/+15
|\ | | | | Add Ruby 2.5 to travis
| * Add before_install to ruby-head and rbx-3.81Abinoam P. Marques Jr2018-03-301-2/+6
| |
| * Add before_install to 2.5Abinoam P. Marques Jr2018-03-301-0/+3
| |
| * Remove codeclimate meanwhileAbinoam P. Marques Jr2018-03-302-4/+0
| |
| * Bump version to 2.0.0-develop.15 and update Changelogupdate/ruby_version_on_travisAbinoam P. Marques Jr2017-12-282-1/+4
| |
| * Add Ruby 2.5 to travisAbinoam P. Marques Jr2017-12-281-1/+2
|/
* Merge pull request #228 from JEG2/fix/autodetect_non_jruby_gemsAbinoam P. Marques Jr2017-12-121-5/+5
|\ | | | | Blacklist jruby incompatible gems
| * Blacklist jruby incompatible gemsAbinoam P. Marques Jr2017-12-121-5/+5
|/
* Merge pull request #222 from JEG2/issue_221v2.0.0.pre.develop.14Abinoam P. Marques Jr2017-11-226-7/+27
|\ | | | | Fix #221 - Consistent behaviour for agree with readline = true
| * Prepare for v2.0.0-develop.14issue_221Abinoam P. Marques Jr2017-11-212-1/+4
| |
| * Add agree with readline acceptance testAbinoam P. Marques Jr2017-11-211-0/+18
| |
| * 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
| |
| * Add completion hints to agree with readlineAbinoam P. Marques Jr2017-11-211-0/+1
|/
* Merge pull request #220 from JEG2/issue_219v2.0.0.pre.develop.13Abinoam P. Marques Jr2017-11-056-13/+56
|\ | | | | Resolves #219 - May set response to anything that answers to :call
| * Bump up version to 2.0.0-develop.13Abinoam P. Marques Jr2017-11-052-2/+5
| | | | | | | | ... 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
| |
| * Remove unused code. QuestionAsker has its ownAbinoam P. Marques Jr2017-11-051-9/+0
| |
| * Add a failing test for issue #219 dynamicAbinoam P. Marques Jr2017-11-051-0/+21
| |
| * Add test for #219 static responseAbinoam P. Marques Jr2017-11-051-0/+19
|/
* Merge pull request #218 from JEG2/highline_use_colorv2.0.0.pre.develop.12Abinoam P. Marques Jr2017-10-196-4/+23
|\ | | | | Ease transition from 1.7.x to 2.0.x (specially for travis.rb)
| * Add fast_finish: true to .travis.ymlAbinoam P. Marques Jr2017-10-191-0/+1
| |
| * Bump up version to 2.0.0-develop.12Abinoam P. Marques Jr2017-10-192-1/+4
| |
| * Expose IOConsoleCompatibleAbinoam P. Marques Jr2017-10-192-1/+1
| |
| * Copy use_color from HighLine.default_instanceAbinoam P. Marques Jr2017-10-191-2/+17
|/ | | | | | | | | | | This is gonna help people migrating code from 1.7.x to 2.0.x. At 1.7.x if you set HighLine.use_color to anything, the effect would be global. At 2.0.x this setting is saved per instance and were being default to true. With this commit, newly instantiated HighLine instances will copy use_color setting from the HighLine defaul_instance wich mimicks the behaviour at 1.7.x. The main difference is, as soon as an instance come to life, HighLine.use_color (class method) will have no effect on the instance use_color setting.
* Merge pull request #216 from JEG2/fix_appveyorAbinoam P. Marques Jr2017-09-252-10/+31
|\ | | | | Update .appveyor.yml
| * Update .appveyor.ymlAbinoam P. Marques Jr2017-09-252-10/+31
|/
* Merge pull request #215 from JEG2/rubocopv2.0.0.pre.develop.11Abinoam P. Marques Jr2017-09-2566-1572/+1794
|\ | | | | Apply Rubocop stylistic suggestions
| * Update Changelog / 2.0.0-develop.11rubocopAbinoam P. Marques Jr2017-09-252-2/+8
| |
| * Don't change script permissionsAbinoam P. Marques Jr2017-09-251-0/+4
| |
| * Fix rescueing without error classAbinoam P. Marques Jr2017-09-255-7/+7
| |
| * Fix exception suppresionAbinoam P. Marques Jr2017-09-251-6/+0
| |
| * Sort gems at GemfileAbinoam P. Marques Jr2017-09-251-3/+3
| |
| * Whitelist heredoc indentingAbinoam P. Marques Jr2017-09-251-0/+9
| |
| * Use get_character name because it implies effortAbinoam P. Marques Jr2017-09-252-2/+2
| |
| * Add meaningful heredoc delimitersAbinoam P. Marques Jr2017-09-254-12/+12
| |
| * Use Hash#each_valueAbinoam P. Marques Jr2017-09-251-1/+1
| |
| * Fix class/module nestingAbinoam P. Marques Jr2017-09-252-246/+255
| |
| * Adjust documentationAbinoam P. Marques Jr2017-09-254-3/+6
| |
| * Enforces 1.9 on rubocopAbinoam P. Marques Jr2017-09-251-0/+3
| |
| * Ensure correct Array of Symbol syntax for 1.9Abinoam P. Marques Jr2017-09-251-0/+8
| |
| * Revert %i use for 1.9 compatibilityAbinoam P. Marques Jr2017-09-256-24/+24
| |