ember-cli-rails 0.11.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae81b97b3eedcb84768b305b7c69d78ebf6d9a00ee3cf9b09e61d570fd82d72e
4
- data.tar.gz: 8faab1baa2ba94bb79520e2413c9a1dac154bc1ae17af17c41b91ebb176f99b0
3
+ metadata.gz: 5fa9fb0cad27fb25b846656f1e32590fb5a0383dc32f3f365faaa1c06c25beec
4
+ data.tar.gz: 129284aab192ae018d5e3f97e5e7c2835fbc2bafa2f71bdf14e9b8b82edb3149
5
5
  SHA512:
6
- metadata.gz: d91b224e3a2dc5658153616c962ee6e035446f1656be54298fb95f3188350adc8e438fcb0d50ad69046ce066ae297aa2dc0146fcb2ca2a5a156b1c5a48188865
7
- data.tar.gz: 49d65db9d74a115f36ad74ef9fdcdd6450d7456448188190476089b83ced25cfda82fe7ef78d3b0f988c0c4e8c5258cff3b896c551c05ca50e03295460185a04
6
+ metadata.gz: a99430bb9a3b808ab97b9797bd230cacea5f65a8319fc86558bf7f056ca52bf516a098f616b4c6898cb61d535dbc814c7e3c4b0fa665b7795b0048895b3835f7
7
+ data.tar.gz: 6bad6df934b5ab0bdc97297ef89843f475cfd1d492034d775352cd9ac3f08f582f1b1e1908b7a2c43bcdcb9ccdb6a2d65d2db7eebb375876cfc4501a3e2522ce
data/CHANGELOG.md CHANGED
@@ -1,6 +1,28 @@
1
1
  master
2
2
  ------
3
3
 
4
+ 0.12.1
5
+ ------
6
+
7
+ * Drop explicit dependency to rexml (#602)
8
+ * Remove note for PhantomJS (#604)
9
+ * Allow rspec-rails 6.x (#603)
10
+ * Allow ember-cli-rails-assets < 1.0 (#599)
11
+ * Update webdrivers gem (#600)
12
+ * Disallow rack 3 to be compatible with capybara (#601)
13
+
14
+ 0.12.0
15
+ ------
16
+
17
+ * Redirecting with trailing slash with query parameters
18
+ * Recognize Building notice as not an error
19
+ * Use keyword argument for options
20
+ * Add Ruby 2.7 & 3.0 into CI matrix
21
+ * Add missing gems that removed from stdlibs in Ruby 3.0.0
22
+ * Fix autoload deprecation in Rails 6
23
+ * Drop support for Rails versions 4.2, 5.0, 5.1, and 5.2
24
+ * Drop support for End-of-Lifed Ruby versions 2.3 and 2.4
25
+
4
26
  0.11.0
5
27
  ------
6
28
 
@@ -8,7 +30,8 @@ master
8
30
  * Redirect Ember routes with paths that don't end in `/` to corresponding paths
9
31
  that end in `/`.
10
32
  * Don't route requests to `/rails/active_storage` through the mounted Ember application.
11
-
33
+ * Only support for Ruby versions >= 2.5
34
+ * Only support for Rails versions >= 5.2
12
35
 
13
36
  0.10.0
14
37
  ------
data/README.md CHANGED
@@ -660,8 +660,8 @@ This project supports:
660
660
 
661
661
  This project supports:
662
662
 
663
- * Ruby versions `>= 2.2.0`
664
- * Rails versions `>=4.2.x`.
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
@@ -8,7 +8,7 @@ module EmberCli
8
8
  attr_accessor :watcher
9
9
 
10
10
  def app(name, **options)
11
- app = App.new(name, options)
11
+ app = App.new(name, **options)
12
12
  apps.store(name, app)
13
13
  end
14
14
 
@@ -1,10 +1,7 @@
1
1
  module EmberCli
2
2
  class Engine < Rails::Engine
3
3
  initializer "ember-cli-rails.setup" do
4
- require "ember_cli/ember_controller"
5
4
  require "ember_cli/route_helpers"
6
-
7
- ActionController::Base.helper EmberRailsHelper
8
5
  end
9
6
  end
10
7
  end
@@ -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.original_fullpath, "")
22
+ File.join(request.path, "/?#{request.query_parameters.to_query}")
23
23
  }),
24
24
  }
25
25
 
@@ -1,7 +1,7 @@
1
1
  module EmberCli
2
2
  class TrailingSlashConstraint
3
3
  def matches?(request)
4
- !request.original_fullpath.to_s.ends_with?("/")
4
+ !request.original_fullpath.to_s.split("?").first.end_with?("/")
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module EmberCli
2
- VERSION = "0.11.0".freeze
2
+ VERSION = "0.12.1".freeze
3
3
  end
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.11.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Pravosud
@@ -10,22 +10,28 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-08-26 00:00:00.000000000 Z
13
+ date: 2023-02-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ember-cli-rails-assets
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: 0.6.2
22
+ - - "<"
23
+ - !ruby/object:Gem::Version
24
+ version: '1.0'
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
- - - "~>"
29
+ - - ">="
27
30
  - !ruby/object:Gem::Version
28
31
  version: 0.6.2
32
+ - - "<"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.0'
29
35
  - !ruby/object:Gem::Dependency
30
36
  name: railties
31
37
  requirement: !ruby/object:Gem::Requirement
@@ -86,16 +92,22 @@ dependencies:
86
92
  name: rspec-rails
87
93
  requirement: !ruby/object:Gem::Requirement
88
94
  requirements:
89
- - - "~>"
95
+ - - ">="
90
96
  - !ruby/object:Gem::Version
91
97
  version: 3.6.0
98
+ - - "<"
99
+ - !ruby/object:Gem::Version
100
+ version: '7.0'
92
101
  type: :development
93
102
  prerelease: false
94
103
  version_requirements: !ruby/object:Gem::Requirement
95
104
  requirements:
96
- - - "~>"
105
+ - - ">="
97
106
  - !ruby/object:Gem::Version
98
107
  version: 3.6.0
108
+ - - "<"
109
+ - !ruby/object:Gem::Version
110
+ version: '7.0'
99
111
  - !ruby/object:Gem::Dependency
100
112
  name: capybara-selenium
101
113
  requirement: !ruby/object:Gem::Requirement
@@ -176,15 +188,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
188
  requirements:
177
189
  - - ">="
178
190
  - !ruby/object:Gem::Version
179
- version: 2.2.0
191
+ version: 2.5.0
180
192
  required_rubygems_version: !ruby/object:Gem::Requirement
181
193
  requirements:
182
194
  - - ">="
183
195
  - !ruby/object:Gem::Version
184
196
  version: '0'
185
197
  requirements: []
186
- rubyforge_project:
187
- rubygems_version: 2.7.6.2
198
+ rubygems_version: 3.4.6
188
199
  signing_key:
189
200
  specification_version: 4
190
201
  summary: Integration between Ember CLI and Rails