Skip to content

Commit ab86abb

Browse files
authored
Update all Bundler dependencies (2022-03-07) (#609)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
1 parent e7796c7 commit ab86abb

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ GEM
4141
diff-lcs (1.5.0)
4242
docile (1.4.0)
4343
execjs (2.8.1)
44-
faker (2.19.0)
45-
i18n (>= 1.6, < 2)
44+
faker (2.20.0)
45+
i18n (>= 1.8.11, < 2)
4646
feedbag (0.10.1)
4747
nokogiri (~> 1.8, >= 1.8.2)
4848
open_uri_redirections (~> 0.2)
@@ -139,7 +139,7 @@ GEM
139139
rubocop (>= 1.7.0, < 2.0)
140140
rubocop-rake (0.6.0)
141141
rubocop (~> 1.0)
142-
rubocop-rspec (2.8.0)
142+
rubocop-rspec (2.9.0)
143143
rubocop (~> 1.19)
144144
ruby-progressbar (1.11.0)
145145
ruby2_keywords (0.0.5)
@@ -173,7 +173,7 @@ GEM
173173
tilt (~> 2.0)
174174
sinatra-flash (0.3.0)
175175
sinatra (>= 1.0.0)
176-
sprockets (4.0.2)
176+
sprockets (4.0.3)
177177
concurrent-ruby (~> 1.0)
178178
rack (> 1, < 3)
179179
sprockets-helpers (1.4.0)

spec/commands/feeds/add_new_feed_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
it "returns false if cant discover any feeds" do
1010
result = AddNewFeed.add("http://not-a-feed.com", discoverer)
1111

12-
expect(result).to eq(false)
12+
expect(result).to be(false)
1313
end
1414
end
1515

spec/commands/users/complete_setup_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
expect(user).to receive(:save).once
99

1010
result = CompleteSetup.complete(user)
11-
expect(result.setup_complete).to eq(true)
11+
expect(result.setup_complete).to be(true)
1212
end
1313
end

spec/controllers/stories_controller_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595

9696
put "/stories/#{story_one.id}", { is_read: true }.to_json
9797

98-
expect(story_one.is_read).to eq true
98+
expect(story_one.is_read).to be true
9999
end
100100
end
101101

@@ -105,7 +105,7 @@
105105

106106
put "/stories/#{story_one.id}", { is_read: "malformed" }.to_json
107107

108-
expect(story_one.is_read).to eq true
108+
expect(story_one.is_read).to be true
109109
end
110110
end
111111
end
@@ -115,15 +115,15 @@
115115
it "marks a story as permanently unread" do
116116
put "/stories/#{story_one.id}", { keep_unread: false }.to_json
117117

118-
expect(story_one.keep_unread).to eq false
118+
expect(story_one.keep_unread).to be false
119119
end
120120
end
121121

122122
context "when it is malformed" do
123123
it "marks a story as permanently unread" do
124124
put "/stories/#{story_one.id}", { keep_unread: "malformed" }.to_json
125125

126-
expect(story_one.keep_unread).to eq true
126+
expect(story_one.keep_unread).to be true
127127
end
128128
end
129129
end
@@ -133,15 +133,15 @@
133133
it "marks a story as permanently starred" do
134134
put "/stories/#{story_one.id}", { is_starred: true }.to_json
135135

136-
expect(story_one.is_starred).to eq true
136+
expect(story_one.is_starred).to be true
137137
end
138138
end
139139

140140
context "when it is malformed" do
141141
it "marks a story as permanently starred" do
142142
put "/stories/#{story_one.id}", { is_starred: "malformed" }.to_json
143143

144-
expect(story_one.is_starred).to eq true
144+
expect(story_one.is_starred).to be true
145145
end
146146
end
147147
end

spec/helpers/authentications_helper_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@ class Helper # rubocop:disable Lint/ConstantDefinitionInBlock
2020
it "returns false" do
2121
allow(UserRepository).to receive(:setup_complete?).and_return(false)
2222

23-
expect(helper.needs_authentication?(authenticated_path)).to eq(false)
23+
expect(helper.needs_authentication?(authenticated_path)).to be(false)
2424
end
2525
end
2626

2727
%w(/login /logout /heroku).each do |path|
2828
context "when `path` is '#{path}'" do
2929
it "returns false" do
30-
expect(helper.needs_authentication?(path)).to eq(false)
30+
expect(helper.needs_authentication?(path)).to be(false)
3131
end
3232
end
3333
end
3434

3535
%w(css js img).each do |path|
3636
context "when `path` contains '#{path}'" do
3737
it "returns false" do
38-
expect(helper.needs_authentication?("/#{path}/file.ext")).to eq(false)
38+
expect(helper.needs_authentication?("/#{path}/file.ext")).to be(false)
3939
end
4040
end
4141
end
4242

4343
context "otherwise" do
4444
it "returns true" do
45-
expect(helper.needs_authentication?(authenticated_path)).to eq(true)
45+
expect(helper.needs_authentication?(authenticated_path)).to be(true)
4646
end
4747
end
4848
end

spec/repositories/story_repository_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
feed = double(url: "http://github.com")
386386
entry = double(url: nil)
387387

388-
expect(StoryRepository.extract_url(entry, feed)).to eq nil
388+
expect(StoryRepository.extract_url(entry, feed)).to be_nil
389389
end
390390
end
391391

spec/repositories/user_repository_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
describe UserRepository do
77
describe ".fetch" do
88
it "returns nil when given id is nil" do
9-
expect(UserRepository.fetch(nil)).to be(nil)
9+
expect(UserRepository.fetch(nil)).to be_nil
1010
end
1111

1212
it "returns the user for the given id" do

spec/utils/feed_discovery_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
result = FeedDiscovery.new.discover(url, finder, parser, client)
2222

23-
expect(result).to eq(false)
23+
expect(result).to be(false)
2424
end
2525

2626
it "returns a feed if the url provided is parsable" do
@@ -43,7 +43,7 @@
4343

4444
result = FeedDiscovery.new.discover(url, finder, parser, client)
4545

46-
expect(result).to eq(false)
46+
expect(result).to be(false)
4747
end
4848

4949
it "returns the feed if the discovered feed is parsable" do

spec/utils/i18n_support_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
it "should load default locale" do
1414
expect(I18n.locale.to_s).to eq "en"
15-
expect(I18n.locale.to_s).not_to eq nil
15+
expect(I18n.locale.to_s).not_to be_nil
1616
end
1717
end
1818

0 commit comments

Comments
 (0)