ember-cli-rails 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -1
- data/README.md +2 -2
- data/lib/ember_cli/build_monitor.rb +6 -1
- data/lib/ember_cli/configuration.rb +1 -1
- data/lib/ember_cli/engine.rb +0 -3
- data/lib/ember_cli/route_helpers.rb +1 -1
- data/lib/ember_cli/trailing_slash_constraint.rb +1 -1
- data/lib/ember_cli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed137eea5bdc56c6a89bbfaca9ccb77aa477c7d2c15c7cc363aea86148e194a9
|
4
|
+
data.tar.gz: 5b87d3079ad0dba80afc777be24fa7c374ffc44f6b9d14095b08848af41535e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e013d35a791907b4df054156abf9d111e36dd68ac1f0e1da2173310940a2ab657112619a5edf05109e64a427846936004cdb39e22fd83bb373d981c3fba1b709
|
7
|
+
data.tar.gz: e19ea5bd822a38c5004f1f8de21a6d5cf2866626e87132cdf8d1bfe40a7402f7edd90a3c4420bf6337fd4c4788dad4f1fbccdac91d5abbcaae04a95606401220
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
master
|
2
2
|
------
|
3
3
|
|
4
|
+
0.12.0
|
5
|
+
------
|
6
|
+
|
7
|
+
* Redirecting with trailing slash with query parameters
|
8
|
+
* Recognize Building notice as not an error
|
9
|
+
* Use keyword argument for options
|
10
|
+
* Add Ruby 2.7 & 3.0 into CI matrix
|
11
|
+
* Add missing gems that removed from stdlibs in Ruby 3.0.0
|
12
|
+
* Fix autoload deprecation in Rails 6
|
13
|
+
* Drop support for Rails versions 4.2, 5.0, 5.1, and 5.2
|
14
|
+
* Drop support for End-of-Lifed Ruby versions 2.3 and 2.4
|
15
|
+
|
4
16
|
0.11.0
|
5
17
|
------
|
6
18
|
|
@@ -8,7 +20,8 @@ master
|
|
8
20
|
* Redirect Ember routes with paths that don't end in `/` to corresponding paths
|
9
21
|
that end in `/`.
|
10
22
|
* Don't route requests to `/rails/active_storage` through the mounted Ember application.
|
11
|
-
|
23
|
+
* Only support for Ruby versions >= 2.5
|
24
|
+
* Only support for Rails versions >= 5.2
|
12
25
|
|
13
26
|
0.10.0
|
14
27
|
------
|
data/README.md
CHANGED
@@ -660,8 +660,8 @@ This project supports:
|
|
660
660
|
|
661
661
|
This project supports:
|
662
662
|
|
663
|
-
* Ruby versions `>= 2.
|
664
|
-
* Rails versions `>=
|
663
|
+
* Ruby versions `>= 2.5.0`
|
664
|
+
* Rails versions `>=5.2.x`.
|
665
665
|
|
666
666
|
To learn more about supported versions and upgrades, read the [upgrading guide].
|
667
667
|
|
@@ -42,7 +42,8 @@ module EmberCli
|
|
42
42
|
def build_errors
|
43
43
|
error_lines.
|
44
44
|
reject { |line| is_blank_or_backtrace?(line) }.
|
45
|
-
reject { |line| is_deprecation_warning?(line) }
|
45
|
+
reject { |line| is_deprecation_warning?(line) }.
|
46
|
+
reject { |line| is_building_notice?(line) }
|
46
47
|
end
|
47
48
|
|
48
49
|
def has_build_errors?
|
@@ -57,6 +58,10 @@ module EmberCli
|
|
57
58
|
line =~ /^(\e[^\s]+)?DEPRECATION:/
|
58
59
|
end
|
59
60
|
|
61
|
+
def is_building_notice?(line)
|
62
|
+
line =~ /^(\e[^\s]+)?.\s(\e[^\s]+)?Building/
|
63
|
+
end
|
64
|
+
|
60
65
|
def error_lines
|
61
66
|
if error_file_exists?
|
62
67
|
error_file.readlines
|
data/lib/ember_cli/engine.rb
CHANGED
@@ -19,7 +19,7 @@ module ActionDispatch
|
|
19
19
|
redirect_if_missing_trailing_slash = {
|
20
20
|
constraints: EmberCli::TrailingSlashConstraint.new,
|
21
21
|
to: redirect(-> (_, request) {
|
22
|
-
File.join(request.
|
22
|
+
File.join(request.path, "/?#{request.query_parameters.to_query}")
|
23
23
|
}),
|
24
24
|
}
|
25
25
|
|
data/lib/ember_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-cli-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Pravosud
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ember-cli-rails-assets
|
@@ -176,7 +176,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
176
|
requirements:
|
177
177
|
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: 2.
|
179
|
+
version: 2.5.0
|
180
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
181
|
requirements:
|
182
182
|
- - ">="
|