Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request #38 from y-yagi/brakeman
Browse files Browse the repository at this point in the history
Brakeman
  • Loading branch information
y-yagi committed Feb 16, 2015
2 parents d0926c2 + 0b702cb commit 1ac2b19
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@

coverage
public/assets/

output.html
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ group :development do
end

group :development, :test do
gem 'brakeman'
gem 'web-console', '~> 2.0.0'
gem 'spring'
gem 'pry-rails'
Expand Down
22 changes: 22 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ GEM
actionpack (>= 4.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
brakeman (3.0.1)
erubis (~> 2.6)
fastercsv (~> 1.5)
haml (>= 3.0, < 5.0)
highline (~> 1.6.20)
multi_json (~> 1.2)
ruby2ruby (~> 2.1.1)
ruby_parser (~> 3.5.0)
sass (~> 3.0)
terminal-table (~> 1.4)
builder (3.2.2)
capybara (2.4.4)
mime-types (>= 1.16)
Expand Down Expand Up @@ -94,6 +104,7 @@ GEM
execjs (2.3.0)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
fastercsv (1.5.5)
geocoder (1.2.7)
globalid (0.3.0)
activesupport (>= 4.1.0)
Expand All @@ -106,7 +117,10 @@ GEM
guard-minitest (2.4.3)
guard-compat (~> 1.2)
minitest (>= 3.0)
haml (4.0.6)
tilt
hashie (3.4.0)
highline (1.6.21)
hike (1.2.3)
httparty (0.13.3)
json (~> 1.8)
Expand Down Expand Up @@ -251,13 +265,19 @@ GEM
rest-client (1.7.2)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
ruby2ruby (2.1.3)
ruby_parser (~> 3.1)
sexp_processor (~> 4.0)
ruby_parser (3.5.0)
sexp_processor (~> 4.1)
sass (3.4.11)
sass-rails (5.0.1)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (~> 1.1)
sexp_processor (4.4.5)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
Expand Down Expand Up @@ -286,6 +306,7 @@ GEM
temple (0.7.5)
term-ansicolor (1.3.0)
tins (~> 1.0)
terminal-table (1.4.5)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
Expand Down Expand Up @@ -316,6 +337,7 @@ PLATFORMS
DEPENDENCIES
active_decorator
array_form_helper
brakeman
capybara
coffee-rails
coveralls
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/travels_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def create

if @travel.save
flash[:info] ='旅行情報を作成しました'
redirect_to @travel
redirect_to travel_path(@travel)
else
render :new
end
Expand Down

0 comments on commit 1ac2b19

Please sign in to comment.