mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
DEV: rtlcss_wrapper renamed to rtlcss (#20331)
The `rtlcss_wrapper` gem has been renamed to `rtlcss` per bd89847a39
.
This commit is contained in:
parent
5423e7c5b7
commit
75ae70c27c
2
Gemfile
2
Gemfile
|
@ -105,7 +105,7 @@ gem "pg"
|
||||||
gem "mini_sql"
|
gem "mini_sql"
|
||||||
gem "pry-rails", require: false
|
gem "pry-rails", require: false
|
||||||
gem "pry-byebug", require: false
|
gem "pry-byebug", require: false
|
||||||
gem "rtlcss_wrapper", require: false
|
gem "rtlcss", require: false
|
||||||
gem "rake"
|
gem "rake"
|
||||||
|
|
||||||
gem "thor", require: false
|
gem "thor", require: false
|
||||||
|
|
|
@ -408,7 +408,7 @@ GEM
|
||||||
json-schema (>= 2.2, < 4.0)
|
json-schema (>= 2.2, < 4.0)
|
||||||
railties (>= 3.1, < 7.1)
|
railties (>= 3.1, < 7.1)
|
||||||
rspec-core (>= 2.14)
|
rspec-core (>= 2.14)
|
||||||
rtlcss_wrapper (0.1.0)
|
rtlcss (0.2.0)
|
||||||
mini_racer (~> 0.6.3)
|
mini_racer (~> 0.6.3)
|
||||||
rubocop (1.44.1)
|
rubocop (1.44.1)
|
||||||
json (~> 2.3)
|
json (~> 2.3)
|
||||||
|
@ -638,7 +638,7 @@ DEPENDENCIES
|
||||||
rspec-rails
|
rspec-rails
|
||||||
rss
|
rss
|
||||||
rswag-specs
|
rswag-specs
|
||||||
rtlcss_wrapper
|
rtlcss
|
||||||
rubocop-discourse
|
rubocop-discourse
|
||||||
ruby-prof
|
ruby-prof
|
||||||
ruby-readability
|
ruby-readability
|
||||||
|
|
|
@ -66,8 +66,8 @@ module Stylesheet
|
||||||
result = engine.render
|
result = engine.render
|
||||||
|
|
||||||
if options[:rtl]
|
if options[:rtl]
|
||||||
require "rtlcss_wrapper"
|
require "rtlcss"
|
||||||
[RtlcssWrapper.flip_css(result), nil]
|
[Rtlcss.flip_css(result), nil]
|
||||||
else
|
else
|
||||||
source_map = engine.source_map
|
source_map = engine.source_map
|
||||||
source_map.force_encoding("UTF-8")
|
source_map.force_encoding("UTF-8")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user