added guard stuff
This commit is contained in:
@@ -8,6 +8,16 @@ gem 'rails', '3.2.13'
|
|||||||
gem 'sqlite3'
|
gem 'sqlite3'
|
||||||
gem 'foreman'
|
gem 'foreman'
|
||||||
|
|
||||||
|
|
||||||
|
group :development do
|
||||||
|
gem 'brakeman'
|
||||||
|
gem 'guard-brakeman'
|
||||||
|
gem 'rb-fsevent'
|
||||||
|
gem 'guard-shell'
|
||||||
|
gem 'bundler-audit'
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
# Gems used only for assets and not required
|
# Gems used only for assets and not required
|
||||||
# in production environments by default.
|
# in production environments by default.
|
||||||
group :assets do
|
group :assets do
|
||||||
@@ -20,6 +30,7 @@ group :assets do
|
|||||||
gem 'uglifier', '>= 1.0.3'
|
gem 'uglifier', '>= 1.0.3'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
gem 'jquery-rails'
|
gem 'jquery-rails'
|
||||||
|
|
||||||
# To use ActiveModel has_secure_password
|
# To use ActiveModel has_secure_password
|
||||||
|
|||||||
+62
-7
@@ -29,7 +29,21 @@ GEM
|
|||||||
i18n (= 0.6.1)
|
i18n (= 0.6.1)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
arel (3.0.2)
|
arel (3.0.2)
|
||||||
|
brakeman (1.9.5)
|
||||||
|
erubis (~> 2.6)
|
||||||
|
fastercsv (~> 1.5)
|
||||||
|
haml (>= 3.0, < 5.0)
|
||||||
|
highline (~> 1.6)
|
||||||
|
multi_json (~> 1.2)
|
||||||
|
ruby2ruby (= 2.0.3)
|
||||||
|
ruby_parser (~> 3.1.1)
|
||||||
|
sass (~> 3.0)
|
||||||
|
slim (~> 1.3.6)
|
||||||
|
terminal-table (~> 1.4)
|
||||||
builder (3.0.4)
|
builder (3.0.4)
|
||||||
|
bundler-audit (0.1.2)
|
||||||
|
bundler (~> 1.2)
|
||||||
|
coderay (1.0.9)
|
||||||
coffee-rails (3.2.2)
|
coffee-rails (3.2.2)
|
||||||
coffee-script (>= 2.2.0)
|
coffee-script (>= 2.2.0)
|
||||||
railties (~> 3.2.0)
|
railties (~> 3.2.0)
|
||||||
@@ -40,9 +54,25 @@ GEM
|
|||||||
erubis (2.7.0)
|
erubis (2.7.0)
|
||||||
execjs (1.4.0)
|
execjs (1.4.0)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
|
fastercsv (1.5.5)
|
||||||
foreman (0.62.0)
|
foreman (0.62.0)
|
||||||
thor (>= 0.13.6)
|
thor (>= 0.13.6)
|
||||||
hike (1.2.1)
|
formatador (0.2.4)
|
||||||
|
guard (1.7.0)
|
||||||
|
formatador (>= 0.2.4)
|
||||||
|
listen (>= 0.6.0)
|
||||||
|
lumberjack (>= 1.0.2)
|
||||||
|
pry (>= 0.9.10)
|
||||||
|
thor (>= 0.14.6)
|
||||||
|
guard-brakeman (0.6.3)
|
||||||
|
brakeman (>= 1.8.2)
|
||||||
|
guard (>= 1.1.0)
|
||||||
|
guard-shell (0.5.1)
|
||||||
|
guard (>= 1.1.0)
|
||||||
|
haml (4.0.2)
|
||||||
|
tilt
|
||||||
|
highline (1.6.16)
|
||||||
|
hike (1.2.2)
|
||||||
i18n (0.6.1)
|
i18n (0.6.1)
|
||||||
journey (1.0.4)
|
journey (1.0.4)
|
||||||
jquery-rails (2.2.1)
|
jquery-rails (2.2.1)
|
||||||
@@ -50,13 +80,20 @@ GEM
|
|||||||
thor (>= 0.14, < 2.0)
|
thor (>= 0.14, < 2.0)
|
||||||
json (1.7.7)
|
json (1.7.7)
|
||||||
kgio (2.8.0)
|
kgio (2.8.0)
|
||||||
|
listen (0.7.3)
|
||||||
|
lumberjack (1.0.3)
|
||||||
mail (2.5.3)
|
mail (2.5.3)
|
||||||
i18n (>= 0.4.0)
|
i18n (>= 0.4.0)
|
||||||
mime-types (~> 1.16)
|
mime-types (~> 1.16)
|
||||||
treetop (~> 1.4.8)
|
treetop (~> 1.4.8)
|
||||||
mime-types (1.21)
|
method_source (0.8.1)
|
||||||
multi_json (1.7.1)
|
mime-types (1.22)
|
||||||
|
multi_json (1.7.2)
|
||||||
polyglot (0.3.3)
|
polyglot (0.3.3)
|
||||||
|
pry (0.9.12)
|
||||||
|
coderay (~> 1.0.5)
|
||||||
|
method_source (~> 0.8)
|
||||||
|
slop (~> 3.4)
|
||||||
rack (1.4.5)
|
rack (1.4.5)
|
||||||
rack-cache (1.2)
|
rack-cache (1.2)
|
||||||
rack (>= 0.4)
|
rack (>= 0.4)
|
||||||
@@ -80,27 +117,40 @@ GEM
|
|||||||
rdoc (~> 3.4)
|
rdoc (~> 3.4)
|
||||||
thor (>= 0.14.6, < 2.0)
|
thor (>= 0.14.6, < 2.0)
|
||||||
raindrops (0.10.0)
|
raindrops (0.10.0)
|
||||||
rake (10.0.3)
|
rake (10.0.4)
|
||||||
|
rb-fsevent (0.9.3)
|
||||||
rdoc (3.12.2)
|
rdoc (3.12.2)
|
||||||
json (~> 1.4)
|
json (~> 1.4)
|
||||||
|
ruby2ruby (2.0.3)
|
||||||
|
ruby_parser (~> 3.1)
|
||||||
|
sexp_processor (~> 4.0)
|
||||||
|
ruby_parser (3.1.3)
|
||||||
|
sexp_processor (~> 4.1)
|
||||||
sass (3.2.7)
|
sass (3.2.7)
|
||||||
sass-rails (3.2.6)
|
sass-rails (3.2.6)
|
||||||
railties (~> 3.2.0)
|
railties (~> 3.2.0)
|
||||||
sass (>= 3.1.10)
|
sass (>= 3.1.10)
|
||||||
tilt (~> 1.3)
|
tilt (~> 1.3)
|
||||||
|
sexp_processor (4.2.1)
|
||||||
|
slim (1.3.8)
|
||||||
|
temple (~> 0.6.3)
|
||||||
|
tilt (~> 1.3.3)
|
||||||
|
slop (3.4.4)
|
||||||
sprockets (2.2.2)
|
sprockets (2.2.2)
|
||||||
hike (~> 1.2)
|
hike (~> 1.2)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
rack (~> 1.0)
|
rack (~> 1.0)
|
||||||
tilt (~> 1.1, != 1.3.0)
|
tilt (~> 1.1, != 1.3.0)
|
||||||
sqlite3 (1.3.7)
|
sqlite3 (1.3.7)
|
||||||
thor (0.17.0)
|
temple (0.6.3)
|
||||||
tilt (1.3.6)
|
terminal-table (1.4.5)
|
||||||
|
thor (0.18.1)
|
||||||
|
tilt (1.3.7)
|
||||||
treetop (1.4.12)
|
treetop (1.4.12)
|
||||||
polyglot
|
polyglot
|
||||||
polyglot (>= 0.3.1)
|
polyglot (>= 0.3.1)
|
||||||
tzinfo (0.3.37)
|
tzinfo (0.3.37)
|
||||||
uglifier (1.3.0)
|
uglifier (2.0.1)
|
||||||
execjs (>= 0.3.0)
|
execjs (>= 0.3.0)
|
||||||
multi_json (~> 1.0, >= 1.0.2)
|
multi_json (~> 1.0, >= 1.0.2)
|
||||||
unicorn (4.6.2)
|
unicorn (4.6.2)
|
||||||
@@ -112,10 +162,15 @@ PLATFORMS
|
|||||||
ruby
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
brakeman
|
||||||
|
bundler-audit
|
||||||
coffee-rails (~> 3.2.1)
|
coffee-rails (~> 3.2.1)
|
||||||
foreman
|
foreman
|
||||||
|
guard-brakeman
|
||||||
|
guard-shell
|
||||||
jquery-rails
|
jquery-rails
|
||||||
rails (= 3.2.13)
|
rails (= 3.2.13)
|
||||||
|
rb-fsevent
|
||||||
sass-rails (~> 3.2.3)
|
sass-rails (~> 3.2.3)
|
||||||
sqlite3
|
sqlite3
|
||||||
uglifier (>= 1.0.3)
|
uglifier (>= 1.0.3)
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
# A sample Guardfile
|
||||||
|
# More info at https://github.com/guard/guard#readme
|
||||||
|
|
||||||
|
guard 'brakeman', :run_on_start => true do
|
||||||
|
watch(%r{^app/.+\.(erb|haml|rhtml|rb)$})
|
||||||
|
watch(%r{^config/.+\.rb$})
|
||||||
|
watch(%r{^lib/.+\.rb$})
|
||||||
|
watch('Gemfile')
|
||||||
|
end
|
||||||
|
|
||||||
|
guard :shell do
|
||||||
|
watch(%r{^Gemfile|Gemfile.lock$}) { system("bundle-audit")}
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user