summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2016-06-03 02:55:48 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2016-06-03 02:55:48 -0300
commitea45451c4aa97d32de99bb57cade28b7027dbd69 (patch)
tree6a12ac6bff43496cd0ce5c477b400d5b22e9c13e
parentc55d48cdcf9147718ecf4347695411ff860ccab7 (diff)
parentb1cf653c7aa86aefdbb9bdb907fc096dc9cdb697 (diff)
downloadhighline-ea45451c4aa97d32de99bb57cade28b7027dbd69.tar.gz
Merge pull request #195 from JEG2/add_pronto
Add pronto - code review gem
-rw-r--r--.rubocop.yml31
-rw-r--r--Changelog.md13
-rw-r--r--Gemfile15
-rw-r--r--README.md3
-rw-r--r--lib/highline/version.rb2
5 files changed, 61 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 0000000..898f418
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,31 @@
+# Bellow the changes to default Rubocop behavior.
+
+# See options at:
+# https://github.com/bbatsov/rubocop/tree/master/config
+
+# General
+
+# Multi-line method chaining should be done with leading dots.
+Style/DotPosition:
+ EnforcedStyle: trailing
+ SupportedStyles:
+ - leading
+ - trailing
+
+# Enabling!
+
+Style/CollectionMethods:
+ Description: 'Preferred collection methods.'
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size'
+ Enabled: true
+
+Style/StringMethods:
+ Description: 'Checks if configured preferred methods are used over non-preferred.'
+ Enabled: true
+
+# Disabling!
+
+Style/StringLiterals:
+ Description: 'Checks if uses of quotes match the configured preference.'
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-string-literals'
+ Enabled: false
diff --git a/Changelog.md b/Changelog.md
index fe42734..96a91df 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -2,7 +2,18 @@
Below is a complete listing of changes for each revision of HighLine.
+### 2.0.0-develop.8 / 2016-06-03
+
+* PR #195 - Add PRONTO to development group at Gemfile by Abinoam Jr. (@abinoam)
+
+### 2.0.0-develop.7 / 2016-05-31
+
+* PR #194 - Indices coloring on HighLine::Menu by Aregic (@aregic)
+* PR #190 - Add Ruby 2.3.0 to travis matrix by Koichi (@koic/ruby-23)
+* PR #189 - Improve #agree tests by @kevinoid
+
### 2.0.0-develop.6 / 2016-02-01
+
* PR #184 - Menu improvements, bug fixes, and more tests by Geoff Lee (@matrinox)
* Add third arg to menu that overides the choice displayed to the user
* FIX: autocomplete prompt does not include menu choices after the first
@@ -10,9 +21,11 @@ Below is a complete listing of changes for each revision of HighLine.
* PR #183 - Fix menu example in README.md by Fabien Foerster (@fabienfoerster)
### 2.0.0-develop.5 / 2015-12-27
+
* Fix #180 with PR #181 - Make it possible to overwrite the menu prompt shown on errors.
### 2.0.0-develop.4 / 2015-12-14
+
This versions makes the code documentation 100% 'A' grade on inch.
We have used inch and http://inch-ci.org to guide the priorities
on documentation production.
diff --git a/Gemfile b/Gemfile
index 820bc6d..be5b329 100644
--- a/Gemfile
+++ b/Gemfile
@@ -9,4 +9,17 @@ group :development, :test do
end
gem "codeclimate-test-reporter", group: :test, require: false
-gem "simplecov", group: :test, require: false \ No newline at end of file
+gem "simplecov", group: :test, require: false
+
+group :development do
+ gem 'pronto'
+ gem 'pronto-reek', require: false
+ gem 'pronto-rubocop', require: false
+ gem 'pronto-poper', require: false
+
+ # Using strict versions of flay and pronto-flay while
+ # PR https://github.com/mmozuras/pronto-flay/pull/11/files
+ # is not merged
+ gem 'flay', '2.7.0'
+ gem 'pronto-flay', '0.6.1', require: false
+end
diff --git a/README.md b/README.md
index ddae96d..0b4b258 100644
--- a/README.md
+++ b/README.md
@@ -165,9 +165,10 @@ Contributing
6. Create your feature branch
- ```git checkout -b your_branch```
-7. Hack the source code and run the tests
+7. Hack the source code, run the tests and __pronto__
- ```rake test```
- ```rake acceptance```
+ - ```pronto run```
8. Commit your changes
- ```git commit -am "Your commit message"```
diff --git a/lib/highline/version.rb b/lib/highline/version.rb
index b905781..fa4ded5 100644
--- a/lib/highline/version.rb
+++ b/lib/highline/version.rb
@@ -2,5 +2,5 @@
class HighLine
# The version of the installed library.
- VERSION = "2.0.0-develop.7".freeze
+ VERSION = "2.0.0-develop.8".freeze
end