Skip to content

Commit b1b2a15

Browse files
committed
修正 Warning
1 parent 7500249 commit b1b2a15

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

Gemfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,9 @@ group :development, :test do
142142

143143
gem 'puma', '~> 2.14.0'
144144

145-
gem 'byebug'
146145
# Better Errors
147146
gem 'better_errors'
148147
gem 'binding_of_caller'
149148

150-
gem 'tunemygc'
151-
152149
gem 'bundler-audit', require: false
153150
end

Gemfile.lock

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ GEM
5959
sass-rails
6060
arel (6.0.3)
6161
ast (2.2.0)
62-
astrolabe (1.3.1)
63-
parser (~> 2.2)
6462
auto-space (0.0.4)
6563
activesupport (> 3.0.0)
6664
axiom-types (0.1.1)
@@ -82,7 +80,6 @@ GEM
8280
bundler-audit (0.4.0)
8381
bundler (~> 1.2)
8482
thor (~> 0.18)
85-
byebug (8.2.1)
8683
cancancan (1.8.4)
8784
capistrano (2.9.0)
8885
highline
@@ -273,8 +270,8 @@ GEM
273270
omniauth (~> 1.2)
274271
orm_adapter (0.5.0)
275272
parallel (1.6.1)
276-
parser (2.2.3.0)
277-
ast (>= 1.1, < 3.0)
273+
parser (2.3.0.1)
274+
ast (~> 2.2)
278275
pg (0.18.4)
279276
phantomjs (1.9.8.0)
280277
posix-spawn (0.3.11)
@@ -361,13 +358,11 @@ GEM
361358
rspec-mocks (~> 3.4.0)
362359
rspec-support (~> 3.4.0)
363360
rspec-support (3.4.1)
364-
rubocop (0.35.1)
365-
astrolabe (~> 1.3)
366-
parser (>= 2.2.3.0, < 3.0)
361+
rubocop (0.36.0)
362+
parser (>= 2.3.0.0, < 3.0)
367363
powerpack (~> 0.1)
368364
rainbow (>= 1.99.1, < 3.0)
369365
ruby-progressbar (~> 1.7)
370-
tins (<= 1.6.0)
371366
ruby-prof (0.15.9)
372367
ruby-progressbar (1.7.5)
373368
rucaptcha (0.3.2)
@@ -405,8 +400,6 @@ GEM
405400
thor (0.19.1)
406401
thread_safe (0.3.5)
407402
tilt (2.0.1)
408-
tins (1.6.0)
409-
tunemygc (1.0.62)
410403
tzinfo (1.2.2)
411404
thread_safe (~> 0.1)
412405
uglifier (2.7.2)
@@ -439,7 +432,6 @@ DEPENDENCIES
439432
better_errors
440433
binding_of_caller
441434
bundler-audit
442-
byebug
443435
cancancan (~> 1.8.4)
444436
capistrano (= 2.9.0)
445437
capistrano-sidekiq
@@ -510,7 +502,6 @@ DEPENDENCIES
510502
sinatra
511503
social-share-button (= 0.1.5)
512504
sprockets
513-
tunemygc
514505
turbolinks!
515506
uglifier
516507
unicorn (= 5.0.0)

spec/models/concerns/mentionable_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
t.integer :user_id
55
t.integer :mentioned_user_ids, array: true, default: []
66
t.text :body
7-
t.timestamps
7+
t.timestamps null: false
88
end
99

1010
class TestDocument < ActiveRecord::Base

0 commit comments

Comments
 (0)