Skip to content

Commit 43b30be

Browse files
committed
Drop hiredis
update gems run codeclimate-test-reporter only when ENV['COVERAGE'] is set
1 parent 2308413 commit 43b30be

File tree

3 files changed

+24
-26
lines changed

3 files changed

+24
-26
lines changed

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ gem 'kaminari'
6666
gem 'chronic'
6767

6868
# Redis
69-
gem 'hiredis'
70-
gem 'redis', require: ['redis', 'redis/connection/hiredis']
71-
gem 'redis-rails'
69+
gem 'redis-rails' , '~> 3.2'
7270

7371
# Background Job Processing
7472
gem 'resque'

Gemfile.lock

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ GEM
152152
coffee-script-source
153153
execjs
154154
coffee-script-source (1.7.1)
155-
color (1.7)
155+
color (1.7.1)
156156
columnize (0.8.9)
157-
compass (0.12.6)
157+
compass (0.12.7)
158158
chunky_png (~> 1.2)
159159
fssm (>= 0.2.7)
160160
sass (~> 3.2.19)
@@ -200,9 +200,9 @@ GEM
200200
eventmachine (>= 1.0.0.beta.4)
201201
ember-data-source (1.0.0.beta.8)
202202
ember-source
203-
ember-source (1.6.0)
203+
ember-source (1.6.1)
204204
handlebars-source (~> 1.0)
205-
ephemeral (2.3.2)
205+
ephemeral (2.3.3)
206206
activesupport
207207
equalizer (0.0.9)
208208
erubis (2.7.0)
@@ -227,28 +227,32 @@ GEM
227227
sax-machine (~> 0.2.1)
228228
ffaker (1.24.0)
229229
ffi (1.9.3)
230-
flog (4.2.1)
230+
flog (4.3.0)
231231
ruby_parser (~> 3.1, > 3.1.0)
232232
sexp_processor (~> 4.4)
233-
fog (1.22.1)
233+
fog (1.23.0)
234234
fog-brightbox
235-
fog-core (~> 1.22)
235+
fog-core (~> 1.23)
236236
fog-json
237+
fog-softlayer
237238
ipaddress (~> 0.5)
238239
nokogiri (~> 1.5, >= 1.5.11)
239240
fog-brightbox (0.1.1)
240241
fog-core (~> 1.22)
241242
fog-json
242243
inflecto
243-
fog-core (1.22.0)
244+
fog-core (1.23.0)
244245
builder
245-
excon (~> 0.33)
246+
excon (~> 0.38)
246247
formatador (~> 0.2)
247248
mime-types
248249
net-scp (~> 1.1)
249250
net-ssh (>= 2.1.3)
250251
fog-json (1.0.0)
251252
multi_json (~> 1.0)
253+
fog-softlayer (0.3.9)
254+
fog-core
255+
fog-json
252256
foreman (0.74.0)
253257
dotenv (~> 0.11.1)
254258
thor (~> 0.19.1)
@@ -307,7 +311,6 @@ GEM
307311
highline (1.6.21)
308312
hike (1.2.3)
309313
hirb (0.7.2)
310-
hiredis (0.5.2)
311314
http (0.5.1)
312315
http_parser.rb
313316
http_parser.rb (0.6.0)
@@ -318,7 +321,7 @@ GEM
318321
i18n (0.6.11)
319322
inflecto (0.0.2)
320323
ipaddress (0.8.0)
321-
jbuilder (2.1.2)
324+
jbuilder (2.1.3)
322325
activesupport (>= 3.0.0, < 5)
323326
multi_json (~> 1.2)
324327
journey (1.0.4)
@@ -589,7 +592,7 @@ GEM
589592
rspec-support (3.0.2)
590593
ruby-graphviz (1.0.9)
591594
ruby-progressbar (1.5.1)
592-
ruby_parser (3.6.1)
595+
ruby_parser (3.6.2)
593596
sexp_processor (~> 4.1)
594597
rufus-scheduler (2.0.24)
595598
tzinfo (>= 0.3.22)
@@ -606,7 +609,7 @@ GEM
606609
sax-machine (0.2.1)
607610
nokogiri (~> 1.6.0)
608611
sexp_processor (4.4.3)
609-
shoulda-matchers (2.6.1)
612+
shoulda-matchers (2.6.2)
610613
activesupport (>= 3.0.0)
611614
sidekiq (3.2.1)
612615
celluloid (>= 0.15.2)
@@ -619,7 +622,7 @@ GEM
619622
actionpack (~> 3.0)
620623
activemodel (~> 3.0)
621624
simple_oauth (0.2.0)
622-
simplecov (0.8.2)
625+
simplecov (0.9.0)
623626
docile (~> 1.1.0)
624627
multi_json
625628
simplecov-html (~> 0.8.0)
@@ -628,7 +631,7 @@ GEM
628631
rack (~> 1.4)
629632
rack-protection (~> 1.4)
630633
tilt (~> 1.3, >= 1.3.4)
631-
slop (3.5.0)
634+
slop (3.6.0)
632635
split (0.7.2)
633636
redis (>= 2.1)
634637
redis-namespace (>= 1.1.0)
@@ -695,7 +698,7 @@ GEM
695698
typhoeus (0.6.9)
696699
ethon (>= 0.7.1)
697700
tzinfo (0.3.40)
698-
uglifier (2.5.1)
701+
uglifier (2.5.3)
699702
execjs (>= 0.3.0)
700703
json (>= 1.8.0)
701704
vcr (2.9.2)
@@ -752,7 +755,6 @@ DEPENDENCIES
752755
hamlbars (= 1.1.0)
753756
hashie
754757
heroku_rails_deflate
755-
hiredis
756758
jazz_hands!
757759
jbuilder
758760
jquery-rails (= 2.0.3)
@@ -794,8 +796,7 @@ DEPENDENCIES
794796
rails_autolink
795797
rakismet
796798
redcarpet
797-
redis
798-
redis-rails
799+
redis-rails (~> 3.2)
799800
resque
800801
resque-scheduler
801802
resque_mailer

spec/spec_helper.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
if ENV['COVERAGE']
22
require 'simplecov'
33
SimpleCov.start 'rails'
4+
require 'codeclimate-test-reporter'
5+
CodeClimate::TestReporter.start
46
end
57

6-
require 'codeclimate-test-reporter'
7-
CodeClimate::TestReporter.start
8-
9-
ENV['RAILS_ENV'] ||= 'test'
8+
ENV['RAILS_ENV'] = 'test'
109
require File.expand_path("../../config/environment", __FILE__)
1110
require 'rspec/rails'
1211
require 'capybara/rspec'

0 commit comments

Comments
 (0)