merging
This commit is contained in:
+2
-1
@@ -6,4 +6,5 @@
|
||||
.elasticbeanstalk/
|
||||
.DS_Store
|
||||
/public/data
|
||||
*.png
|
||||
*.png
|
||||
coverage
|
||||
@@ -26,6 +26,8 @@ end
|
||||
|
||||
gem 'gauntlt'
|
||||
|
||||
gem 'simplecov', '0.8.0.pre2', :require => false, :group => :test
|
||||
|
||||
group :development, :test do
|
||||
gem 'launchy'
|
||||
gem 'capybara'
|
||||
|
||||
@@ -82,6 +82,7 @@ GEM
|
||||
database_cleaner (1.0.1)
|
||||
debug_inspector (0.0.2)
|
||||
diff-lcs (1.2.4)
|
||||
docile (1.1.0)
|
||||
dotenv (0.9.0)
|
||||
em-websocket (0.5.0)
|
||||
eventmachine (>= 0.12.9)
|
||||
@@ -139,6 +140,7 @@ GEM
|
||||
celluloid (>= 0.15.2)
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9)
|
||||
lockfile (2.1.0)
|
||||
mail (2.5.4)
|
||||
mime-types (~> 1.16)
|
||||
treetop (~> 1.4.8)
|
||||
@@ -218,6 +220,12 @@ GEM
|
||||
sass (>= 3.1.10)
|
||||
tilt (~> 1.3)
|
||||
sexp_processor (4.4.0)
|
||||
simplecov (0.8.0.pre2)
|
||||
docile (~> 1.1.0)
|
||||
lockfile (>= 2.1.0)
|
||||
multi_json
|
||||
simplecov-html (~> 0.7.1)
|
||||
simplecov-html (0.7.1)
|
||||
slim (2.0.1)
|
||||
temple (~> 0.6.6)
|
||||
tilt (>= 1.3.3, < 2.1)
|
||||
@@ -285,6 +293,7 @@ DEPENDENCIES
|
||||
rb-fsevent
|
||||
rspec-rails
|
||||
sass-rails
|
||||
simplecov (= 0.8.0.pre2)
|
||||
sqlite3
|
||||
therubyracer
|
||||
travis-lint
|
||||
|
||||
@@ -12,7 +12,7 @@ class Benefits < ActiveRecord::Base
|
||||
|
||||
def self.make_backup(file, data_path, full_file_name)
|
||||
if File.exists?(full_file_name)
|
||||
system("cp #{full_file_name} #{data_path}/bak#{Time.now.to_i}_#{file.original_filename}")
|
||||
system("cp #{full_file_name} #{data_path}/bak#{Time.now.to_i}_#{file.original_filename}")
|
||||
end
|
||||
rescue
|
||||
end
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
# Logfile created on 2013-10-24 00:32:47 -0500 by logger.rb/31641
|
||||
@@ -0,0 +1 @@
|
||||
# Logfile created on 2013-10-24 00:32:37 -0500 by logger.rb/31641
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
# Your secret key for verifying the integrity of signed cookies.
|
||||
# If you change this key, all old signed cookies will become invalid!
|
||||
# Make sure the secret is at least 30 characters and all random,
|
||||
# no regular words or you'll be exposed to dictionary attacks.
|
||||
Railsgoat::Application.config.secret_token = '2f1d90a26236c3245d96f5606c201a780dc9ca687e5ed82b45e211bb5dc84c1870f61ca9e002dad5dd8a149c9792d8f07f31a9575065cca064bd6af44f8750e4'
|
||||
+6
-1
@@ -1,5 +1,10 @@
|
||||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
||||
ENV["RAILS_ENV"] ||= 'test'
|
||||
|
||||
# To use simplecov, do this: COVERAGE=true rake
|
||||
require 'simplecov'
|
||||
SimpleCov.start if ENV["COVERAGE"]
|
||||
|
||||
require File.expand_path("../../config/environment", __FILE__)
|
||||
require 'rspec/rails'
|
||||
require 'rspec/autorun'
|
||||
@@ -50,4 +55,4 @@ end
|
||||
|
||||
Capybara.javascript_driver = :poltergeist
|
||||
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
ENV["RAILS_ENV"] = "test"
|
||||
|
||||
# To use simplecov, do this: COVERAGE=true rake
|
||||
require 'simplecov'
|
||||
SimpleCov.start if ENV["COVERAGE"]
|
||||
|
||||
require File.expand_path('../../config/environment', __FILE__)
|
||||
require 'rails/test_help'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user