Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7d0a88a

Browse files
Don’t raise a hard error if a route is not present.
1 parent 1cc72b9 commit 7d0a88a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ However, more packages may need to be installed depending on your OS distributio
2727
After reviewing the dependency requirements, add `critical-path-css-rails` to your Gemfile:
2828

2929
```
30-
gem 'critical-path-css-rails', '~> 3.0.0'
30+
gem 'critical-path-css-rails', '~> 3.1.0'
3131
```
3232

3333
Download and install by running:

‎lib/critical_path_css/css_fetcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def fetch_route(route)
4646
if !st.exitstatus.zero? || out.empty? && !err.empty?
4747
STDOUT.puts out
4848
STDERR.puts err
49-
raise "Failed to get CSS for route #{route}\n" \
49+
STDERR.puts "Failed to get CSS for route #{route}\n" \
5050
" with options=#{options.inspect}"
5151
end
5252
out

‎lib/critical_path_css/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module CriticalPathCSS
22
module Rails
3-
VERSION = '3.0.3'.freeze
3+
VERSION = '3.1.0'.freeze
44
end
55
end

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /