Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mdl from 0.4.0 to 0.5.0 #470

Merged
merged 3 commits into from
Jul 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ plugins:
- .rubocop_todo.yml
- .travis.yml

markdownlint:
enabled: true

shellcheck:
enabled: true

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source "https://rubygems.org"
gemspec

gem "chandler", "0.7.0"
gem "mdl", "0.4.0"
gem "mdl", "0.5.0"
gem "minitest", "~> 5.11"
gem "pry", "0.11.3"
gem "rake", "~> 12.3"
Expand Down
10 changes: 6 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ GEM
multipart-post (>= 1.2, < 3)
jaro_winkler (1.5.1)
json (2.1.0)
kramdown (1.16.2)
mdl (0.4.0)
kramdown (1.17.0)
mdl (0.5.0)
kramdown (~> 1.12, >= 1.12.0)
mixlib-cli (~> 1.7, >= 1.7.0)
mixlib-config (~> 2.2, >= 2.2.1)
method_source (0.9.0)
minitest (5.11.3)
mixlib-cli (1.7.0)
mixlib-config (2.2.4)
mixlib-config (2.2.8)
tomlrb
multipart-post (2.0.0)
netrc (0.11.0)
octokit (4.8.0)
Expand Down Expand Up @@ -60,6 +61,7 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
tomlrb (1.2.7)
unicode-display_width (1.4.0)
yard (0.9.14)

Expand All @@ -70,7 +72,7 @@ DEPENDENCIES
bundler (~> 1.7)
byebug!
chandler (= 0.7.0)
mdl (= 0.4.0)
mdl (= 0.5.0)
minitest (~> 5.11)
pry (= 0.11.3)
rake (~> 12.3)
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,9 @@ bundle add byebug --group "development, test"

### From within the Ruby code

Simply drop

byebug

wherever you want to start debugging and the execution will stop there.
If you were debugging Rails, for example, you would add `byebug` to your code.
Simply drop `byebug` wherever you want to start debugging and the execution will
stop there. If you were debugging Rails, for example, you would add `byebug` to
your code.

```ruby
def index
Expand Down
9 changes: 8 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ end

namespace :lint do
desc "Run all linters"
task all: %i[clang_format unnecessary_executables rubocop]
task all: %i[clang_format unnecessary_executables rubocop mdl]

require_relative "tasks/linter"

Expand All @@ -59,6 +59,13 @@ namespace :lint do
require "rubocop/rake_task"

RuboCop::RakeTask.new

desc "Checks markdown code style with Markdownlint"
task :mdl do
puts "Running mdl..."

abort unless system("mdl", *Dir.glob("*.md"))
end
end

desc "Runs lint tasks not available on codeclimate"
Expand Down