Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 2.0.0release/2.0 | Abinoam Praxedes Marques Junior | 2018-06-11 | 1 | -1/+1 |
| | |||||
* | Release 2.0.0-develop.16v2.0.0.pre.develop.16 | Abinoam Praxedes Marques Junior | 2018-05-12 | 1 | -1/+1 |
| | |||||
* | about shell and gather | 邹云慧 | 2018-05-12 | 1 | -2/+8 |
| | |||||
* | 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 | ||||
* | Bump version to 2.0.0-develop.15 and update Changelogupdate/ruby_version_on_travis | Abinoam P. Marques Jr | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Prepare for v2.0.0-develop.14issue_221 | Abinoam P. Marques Jr | 2017-11-21 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Bump up version to 2.0.0-develop.13 | Abinoam P. Marques Jr | 2017-11-05 | 1 | -1/+1 |
| | | | | ... 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 |
| | |||||
* | Bump up version to 2.0.0-develop.12 | Abinoam P. Marques Jr | 2017-10-19 | 1 | -1/+1 |
| | |||||
* | Expose IOConsoleCompatible | Abinoam P. Marques Jr | 2017-10-19 | 1 | -0/+37 |
| | |||||
* | Update Changelog / 2.0.0-develop.11rubocop | Abinoam P. Marques Jr | 2017-09-25 | 1 | -1/+1 |
| | |||||
* | Fix rescueing without error class | Abinoam P. Marques Jr | 2017-09-25 | 2 | -2/+2 |
| | |||||
* | Fix exception suppresion | Abinoam P. Marques Jr | 2017-09-25 | 1 | -6/+0 |
| | |||||
* | 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 | 1 | -6/+6 |
| | |||||
* | 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 | 1 | -195/+202 |
| | |||||
* | Adjust documentation | Abinoam P. Marques Jr | 2017-09-25 | 2 | -2/+2 |
| | |||||
* | Revert %i use for 1.9 compatibility | Abinoam P. Marques Jr | 2017-09-25 | 2 | -10/+10 |
| | |||||
* | Improve StringExtension method_missing | Abinoam P. Marques Jr | 2017-09-25 | 1 | -3/+9 |
| | |||||
* | Autocorrect Style/Encoding | Abinoam P. Marques Jr | 2017-09-24 | 3 | -0/+6 |
| | |||||
* | Remove double negation | Abinoam P. Marques Jr | 2017-09-24 | 1 | -2/+2 |
| | |||||
* | Whitelist some files with snake_case on meth names | Abinoam P. Marques Jr | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Use #zero? (rubocop warning) | Abinoam P. Marques Jr | 2017-07-07 | 1 | -1/+1 |
| | |||||
* | Use guard clauses (rubocop warning) | Abinoam P. Marques Jr | 2017-07-07 | 1 | -4/+4 |
| | |||||
* | Remove assignments in conditionals | Abinoam P. Marques Jr | 2017-07-07 | 1 | -1/+2 |
| | |||||
* | Enforce double quotes on strings | Abinoam P. Marques Jr | 2017-07-07 | 11 | -27/+27 |
| | |||||
* | Fix LineLength warnings from Rubocop | Abinoam P. Marques Jr | 2017-07-04 | 1 | -2/+4 |
| | |||||
* | Remove unecessary options param | Abinoam P. Marques Jr | 2017-07-02 | 1 | -3/+3 |
| | |||||
* | More manual fixes for Rubocop warnings | Abinoam P. Marques Jr | 2017-07-02 | 2 | -12/+26 |
| | |||||
* | More manual fixes for rubocop warnings | Abinoam P. Marques Jr | 2017-07-02 | 5 | -27/+53 |
| | |||||
* | Fix else -> elsif | Abinoam P. Marques Jr | 2017-07-02 | 1 | -2/+2 |
| | |||||
* | Use a guard clause | Abinoam P. Marques Jr | 2017-07-02 | 1 | -6/+6 |
| | |||||
* | Remove unecessary code | Abinoam P. Marques Jr | 2017-07-02 | 1 | -2/+0 |
| | | | | It was useful previously | ||||
* | Simplify conditional | Abinoam P. Marques Jr | 2017-07-02 | 1 | -3/+2 |
| | |||||
* | Use loop do over begin/end/while | Abinoam P. Marques Jr | 2017-07-02 | 1 | -3/+4 |
| | |||||
* | Apply manual fixes for rubocop warnings | Abinoam P. Marques Jr | 2017-07-01 | 8 | -68/+93 |
| | |||||
* | Fix menu indexing by letter | Abinoam P. Marques Jr | 2017-07-01 | 1 | -2/+4 |
| | |||||
* | Require 'English' for rubocop autofixed files | Abinoam P. Marques Jr | 2017-07-01 | 2 | -0/+3 |
| | |||||
* | Rubocop automatic corrections | Abinoam P. Marques Jr | 2017-06-30 | 23 | -253/+231 |
| | |||||
* | Update Changelog and bump up to 2.0.0.develop.10add_default_instance | Abinoam P. Marques Jr | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Replace $terminal to HighLine.default_instance | Abinoam P. Marques Jr | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Fix HighLine::Simulate | Abinoam P. Marques Jr | 2017-06-29 | 1 | -3/+3 |
| | |||||
* | Use the more specific method name (not the alias) | Abinoam P. Marques Jr | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Reduce global namespace polution | Abinoam P. Marques Jr | 2017-06-29 | 1 | -2/+1 |
| | |||||
* | Update documentation about highline/import and $terminal | Abinoam P. Marques Jr | 2017-06-29 | 1 | -5/+5 |
| |