Skip to content

Commit

Permalink
Merge pull request #107 from danger/felix_fixes
Browse files Browse the repository at this point in the history
Merge #100 & #97
  • Loading branch information
orta committed Feb 29, 2016
2 parents 9551af6 + df02d78 commit f448cff
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ script:
- git config --global user.name "Danger McShane"
- bundle exec rake spec
- bundle exec danger --verbose
- bundle exec danger init --mousey --impatient
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1

* Fixes for `danger init` - krausefx

## 0.5.0

* New: Converted `danger init` into a wizard for setting up Danger, walking you though tokens/ci - orta
Expand Down
2 changes: 1 addition & 1 deletion lib/danger/commands/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def circle_token
end

ui.say "In order to expose an environment variable, go to:"
ui.link "https://circleci.com/gh/#{repo_slug}/edit#env-vars"
ui.link "https://circleci.com/gh/#{current_repo_slug}/edit#env-vars"
ui.say "The name is " + "DANGER_GITHUB_API_TOKEN".yellow + " and the value is the GitHub Personal Acess Token."
end

Expand Down
2 changes: 1 addition & 1 deletion lib/danger/commands/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize(argv)

def validate!
super
unless @dangerfile_path
if self.class == Runner && !@dangerfile_path
help! "Could not find a Dangerfile."
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/danger/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Danger
VERSION = "0.5.0"
VERSION = "0.5.1"
DESCRIPTION = "Automate your PR etiquette."
end

0 comments on commit f448cff

Please sign in to comment.