Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Add license scan report and status"revert-234-master | Abinoam P. Marques Jr | 2018-06-10 | 1 | -5/+0 |
| | |||||
* | Merge pull request #234 from fossabot/master | Abinoam P. Marques Jr | 2018-06-10 | 1 | -0/+5 |
|\ | | | | | Add license scan report and status | ||||
| * | Add license scan report and status | fossabot | 2018-06-10 | 1 | -0/+5 |
|/ | | | Signed-off-by: fossabot <badges@fossa.io> | ||||
* | Release 2.0.0-develop.16v2.0.0.pre.develop.16 | Abinoam Praxedes Marques Junior | 2018-05-12 | 2 | -1/+5 |
| | |||||
* | test about menu's shell | 邹云慧 | 2018-05-12 | 1 | -0/+19 |
| | |||||
* | about shell and gather | 邹云慧 | 2018-05-12 | 2 | -4/+27 |
| | |||||
* | Merge pull request #231 from koic/deprecate_safe_level_of_erb_new_in_ruby_2_6 | Abinoam P. Marques Jr | 2018-05-12 | 3 | -3/+15 |
|\ | | | | | Deprecate safe_level of ERB.new in Ruby 2.6 | ||||
| * | Deprecate safe_level of ERB.new in Ruby 2.6 | Koichi ITO | 2018-05-12 | 3 | -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.15 | Abinoam P. Marques Jr | 2018-03-30 | 4 | -8/+15 |
|\ | | | | | Add Ruby 2.5 to travis | ||||
| * | Add before_install to ruby-head and rbx-3.81 | Abinoam P. Marques Jr | 2018-03-30 | 1 | -2/+6 |
| | | |||||
| * | Add before_install to 2.5 | Abinoam P. Marques Jr | 2018-03-30 | 1 | -0/+3 |
| | | |||||
| * | Remove codeclimate meanwhile | Abinoam P. Marques Jr | 2018-03-30 | 2 | -4/+0 |
| | | |||||
| * | Bump version to 2.0.0-develop.15 and update Changelogupdate/ruby_version_on_travis | Abinoam P. Marques Jr | 2017-12-28 | 2 | -1/+4 |
| | | |||||
| * | Add Ruby 2.5 to travis | Abinoam P. Marques Jr | 2017-12-28 | 1 | -1/+2 |
|/ | |||||
* | Merge pull request #228 from JEG2/fix/autodetect_non_jruby_gems | Abinoam P. Marques Jr | 2017-12-12 | 1 | -5/+5 |
|\ | | | | | Blacklist jruby incompatible gems | ||||
| * | Blacklist jruby incompatible gems | Abinoam P. Marques Jr | 2017-12-12 | 1 | -5/+5 |
|/ | |||||
* | Merge pull request #222 from JEG2/issue_221v2.0.0.pre.develop.14 | Abinoam P. Marques Jr | 2017-11-22 | 6 | -7/+27 |
|\ | | | | | Fix #221 - Consistent behaviour for agree with readline = true | ||||
| * | Prepare for v2.0.0-develop.14issue_221 | Abinoam P. Marques Jr | 2017-11-21 | 2 | -1/+4 |
| | | |||||
| * | Add agree with readline acceptance test | Abinoam P. Marques Jr | 2017-11-21 | 1 | -0/+18 |
| | | |||||
| * | Remove now useless code | Abinoam P. Marques Jr | 2017-11-21 | 1 | -4/+2 |
| | | |||||
| * | Prompt treated the same with or without readline | Abinoam P. Marques Jr | 2017-11-21 | 2 | -2/+2 |
| | | |||||
| * | Add completion hints to agree with readline | Abinoam P. Marques Jr | 2017-11-21 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #220 from JEG2/issue_219v2.0.0.pre.develop.13 | Abinoam P. Marques Jr | 2017-11-05 | 6 | -13/+56 |
|\ | | | | | Resolves #219 - May set response to anything that answers to :call | ||||
| * | Bump up version to 2.0.0-develop.13 | Abinoam P. Marques Jr | 2017-11-05 | 2 | -2/+5 |
| | | | | | | | | ... and update Changelog. | ||||
| * | Change rescue for a simple if/else | Abinoam P. Marques Jr | 2017-11-05 | 1 | -1/+5 |
| | | |||||
| * | Move logic to Question | Abinoam P. Marques Jr | 2017-11-05 | 2 | -7/+7 |
| | | |||||
| * | Implement proc or string for error | Abinoam P. Marques Jr | 2017-11-05 | 1 | -1/+6 |
| | | |||||
| * | Remove unused code. QuestionAsker has its own | Abinoam P. Marques Jr | 2017-11-05 | 1 | -9/+0 |
| | | |||||
| * | Add a failing test for issue #219 dynamic | Abinoam P. Marques Jr | 2017-11-05 | 1 | -0/+21 |
| | | |||||
| * | Add test for #219 static response | Abinoam P. Marques Jr | 2017-11-05 | 1 | -0/+19 |
|/ | |||||
* | Merge pull request #218 from JEG2/highline_use_colorv2.0.0.pre.develop.12 | Abinoam P. Marques Jr | 2017-10-19 | 6 | -4/+23 |
|\ | | | | | Ease transition from 1.7.x to 2.0.x (specially for travis.rb) | ||||
| * | Add fast_finish: true to .travis.yml | Abinoam P. Marques Jr | 2017-10-19 | 1 | -0/+1 |
| | | |||||
| * | Bump up version to 2.0.0-develop.12 | Abinoam P. Marques Jr | 2017-10-19 | 2 | -1/+4 |
| | | |||||
| * | Expose IOConsoleCompatible | Abinoam P. Marques Jr | 2017-10-19 | 2 | -1/+1 |
| | | |||||
| * | Copy use_color from HighLine.default_instance | Abinoam P. Marques Jr | 2017-10-19 | 1 | -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_appveyor | Abinoam P. Marques Jr | 2017-09-25 | 2 | -10/+31 |
|\ | | | | | Update .appveyor.yml | ||||
| * | Update .appveyor.yml | Abinoam P. Marques Jr | 2017-09-25 | 2 | -10/+31 |
|/ | |||||
* | Merge pull request #215 from JEG2/rubocopv2.0.0.pre.develop.11 | Abinoam P. Marques Jr | 2017-09-25 | 66 | -1572/+1794 |
|\ | | | | | Apply Rubocop stylistic suggestions | ||||
| * | Update Changelog / 2.0.0-develop.11rubocop | Abinoam P. Marques Jr | 2017-09-25 | 2 | -2/+8 |
| | | |||||
| * | Don't change script permissions | Abinoam P. Marques Jr | 2017-09-25 | 1 | -0/+4 |
| | | |||||
| * | Fix rescueing without error class | Abinoam P. Marques Jr | 2017-09-25 | 5 | -7/+7 |
| | | |||||
| * | Fix exception suppresion | Abinoam P. Marques Jr | 2017-09-25 | 1 | -6/+0 |
| | | |||||
| * | Sort gems at Gemfile | Abinoam P. Marques Jr | 2017-09-25 | 1 | -3/+3 |
| | | |||||
| * | Whitelist heredoc indenting | Abinoam P. Marques Jr | 2017-09-25 | 1 | -0/+9 |
| | | |||||
| * | Use get_character name because it implies effort | Abinoam P. Marques Jr | 2017-09-25 | 2 | -2/+2 |
| | | |||||
| * | Add meaningful heredoc delimiters | Abinoam P. Marques Jr | 2017-09-25 | 4 | -12/+12 |
| | | |||||
| * | Use Hash#each_value | Abinoam P. Marques Jr | 2017-09-25 | 1 | -1/+1 |
| | | |||||
| * | Fix class/module nesting | Abinoam P. Marques Jr | 2017-09-25 | 2 | -246/+255 |
| | | |||||
| * | Adjust documentation | Abinoam P. Marques Jr | 2017-09-25 | 4 | -3/+6 |
| | | |||||
| * | Enforces 1.9 on rubocop | Abinoam P. Marques Jr | 2017-09-25 | 1 | -0/+3 |
| | |