Merge remote-tracking branch 'origin/master' into merge-upstream

Conflicts:
	app/javascript/styles/mastodon/components.scss
This commit is contained in:
David Yip
2018-01-20 10:45:43 -06:00
122 changed files with 819 additions and 694 deletions

View File

@@ -2,6 +2,9 @@
module PremailerWebpackStrategy
def load(url)
public_path_host = ENV['ASSET_HOST'] || ENV['LOCAL_DOMAIN']
url = url.gsub(/\A\/\/#{public_path_host}/, '')
if Webpacker.dev_server.running?
url = File.join("#{Webpacker.dev_server.protocol}://#{Webpacker.dev_server.host_with_port}", url)
HTTP.get(url).to_s

View File

@@ -9,11 +9,11 @@ module Mastodon
end
def minor
1
2
end
def patch
3
0
end
def pre
@@ -21,7 +21,7 @@ module Mastodon
end
def flags
''
'rc1'
end
def to_a