ember-cli-rails 0.8.5 → 0.11.0

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
- SHA1:
3
- metadata.gz: ff30b30d60cf45b946c688fc355c29c2ac79e1a5
4
- data.tar.gz: 89d52810daf83b9b675f8a59f83aef69dfb76370
2
+ SHA256:
3
+ metadata.gz: ae81b97b3eedcb84768b305b7c69d78ebf6d9a00ee3cf9b09e61d570fd82d72e
4
+ data.tar.gz: 8faab1baa2ba94bb79520e2413c9a1dac154bc1ae17af17c41b91ebb176f99b0
5
5
  SHA512:
6
- metadata.gz: f0353db532b3c66bd5bc9183a40ea5399c44e35ed7343f285488a1803b85c980cbf4b76b7ac8b6f085e173e857dd1e23a4c3a2835a5964f07819d2936d3dc2f4
7
- data.tar.gz: 7ff75f83a0be222d214d878356621b4dc27c9c4da9af965654c0937090bc134c67411eb675d1657c61ed5e978aad46825c289a6874105771c77d738f62c40759
6
+ metadata.gz: d91b224e3a2dc5658153616c962ee6e035446f1656be54298fb95f3188350adc8e438fcb0d50ad69046ce066ae297aa2dc0146fcb2ca2a5a156b1c5a48188865
7
+ data.tar.gz: 49d65db9d74a115f36ad74ef9fdcdd6450d7456448188190476089b83ced25cfda82fe7ef78d3b0f988c0c4e8c5258cff3b896c551c05ca50e03295460185a04
@@ -1,6 +1,55 @@
1
1
  master
2
2
  ------
3
3
 
4
+ 0.11.0
5
+ ------
6
+
7
+ * Switch from TravisCI to GitHub Actions for Continuous Integration
8
+ * Redirect Ember routes with paths that don't end in `/` to corresponding paths
9
+ that end in `/`.
10
+ * Don't route requests to `/rails/active_storage` through the mounted Ember application.
11
+
12
+
13
+ 0.10.0
14
+ ------
15
+
16
+ * Remove `bin/heroku_install` to simplify Heroku setup.
17
+ To upgrade, remove your project's generated `bin/heroku_install`.
18
+ Next, execute `rake ember:heroku`. [#544]
19
+ * Generate an empty `yarn.lock` so that Heroku understands that the
20
+ application's deployment target requires `yarn`. Closes [#538]. [#540]
21
+ * No longer support `rails < 4.2`. [#543]
22
+ * Generate an empty `yarn.lock` so that Heroku understands that the
23
+ application's deployment target requires `yarn`. Closes [#538]. [#540]
24
+
25
+ [#543]: https://github.com/thoughtbot/ember-cli-rails/pull/543
26
+ [#544]: https://github.com/thoughtbot/ember-cli-rails/pull/544
27
+ [#538]: https://github.com/thoughtbot/ember-cli-rails/issues/538
28
+ [#540]: https://github.com/thoughtbot/ember-cli-rails/pull/540
29
+
30
+ 0.9.0
31
+ -----
32
+
33
+ * Don't require `bower` installation if `bower.json` is missing [#532]
34
+
35
+ [#532]: https://github.com/thoughtbot/ember-cli-rails/pull/532
36
+
37
+ 0.8.7
38
+ -----
39
+
40
+ * Revert [`34ff6dd`][reverted-commit] so that it can be reintroduced as a
41
+ breaking change, [requiring a major version bump][#532-comment]
42
+
43
+ [reverted-commit]: https://github.com/thoughtbot/ember-cli-rails/commit/34ff6dd
44
+ [#532-comment]: https://github.com/thoughtbot/ember-cli-rails/pull/532#issuecomment-308141408
45
+
46
+ 0.8.6
47
+ -----
48
+
49
+ * Don't require `bower` installation if `bower.json` is missing [#532]
50
+
51
+ [#532]: https://github.com/thoughtbot/ember-cli-rails/pull/532
52
+
4
53
  0.8.5
5
54
  -----
6
55
 
data/README.md CHANGED
@@ -270,7 +270,8 @@ To configure your EmberCLI-Rails applications for Heroku:
270
270
  1. Execute `rails generate ember:heroku`.
271
271
  1. Commit the newly generated files.
272
272
  1. [Add the NodeJS buildpack][buildpack] and configure NPM to include the
273
- `bower` dependency's executable file.
273
+ `bower` dependency's executable file (if your build process requires
274
+ `bower`).
274
275
 
275
276
  ```sh
276
277
  $ heroku buildpacks:clear
@@ -328,11 +329,16 @@ contains the directory or directories that contain the `bower` and `npm`
328
329
  executables.
329
330
 
330
331
  #### For faster deployments
331
- Place the following in your deploy/<environment>.rb
332
+
333
+ Place the following in your `deploy/<environment>.rb`
334
+
332
335
  ```ruby
333
336
  set :linked_dirs, %w{<ember-app-name>/node_modules <ember-app-name>/bower_components}
334
337
  ```
335
- to avoid rebuilding all the node modules and bower components with every deploy. Replace `<ember-app-name>` with the name of your ember app (default is `frontend`).
338
+
339
+ to avoid rebuilding all the node modules and bower components with every deploy.
340
+ Replace `<ember-app-name>` with the name of your ember app (default is
341
+ `frontend`).
336
342
 
337
343
  ## Override
338
344
 
@@ -415,7 +421,7 @@ To override this behavior, you can specify [any of Rails' routing options]
415
421
  For the sake of this example, override the `controller` and `action` options:
416
422
 
417
423
  ```rb
418
- # config/routes
424
+ # config/routes.rb
419
425
 
420
426
  Rails.application.routes.draw do
421
427
  mount_ember_app :frontend, to: "/", controller: "application", action: "index"
@@ -470,13 +476,13 @@ EmberCli.configure do |c|
470
476
  end
471
477
  ```
472
478
 
473
- Next, mount the applications alongside the rest of Rails' routes:
479
+ Next, mount the applications alongside the rest of Rails' routes. Note that `admin_panel` route is added before the `frontend` route because it's more specific:
474
480
 
475
481
  ```rb
476
482
  # /config/routes.rb
477
483
  Rails.application.routes.draw do
478
- mount_ember_app :frontend, to: "/"
479
484
  mount_ember_app :admin_panel, to: "/admin_panel"
485
+ mount_ember_app :frontend, to: "/"
480
486
  end
481
487
  ```
482
488
 
@@ -655,7 +661,7 @@ This project supports:
655
661
  This project supports:
656
662
 
657
663
  * Ruby versions `>= 2.2.0`
658
- * Rails versions `>=4.1.x`.
664
+ * Rails versions `>=4.2.x`.
659
665
 
660
666
  To learn more about supported versions and upgrades, read the [upgrading guide].
661
667
 
@@ -1,69 +1,3 @@
1
- require "fileutils"
2
- require "ember-cli-rails-assets"
3
- require "ember_cli/engine"
4
- require "ember_cli/configuration"
5
- require "ember_cli/helpers"
6
- require "ember_cli/errors"
7
-
8
- module EmberCli
9
- extend self
10
-
11
- def configure
12
- yield configuration
13
- end
14
-
15
- def configuration
16
- Configuration.instance
17
- end
18
-
19
- def app(name)
20
- apps.fetch(name) do
21
- fail KeyError, "#{name.inspect} app is not defined"
22
- end
23
- end
24
-
25
- def build(name)
26
- app(name).build
27
- end
28
-
29
- alias_method :[], :app
30
-
31
- def skip?
32
- ENV["SKIP_EMBER"].present?
33
- end
34
-
35
- def install_dependencies!
36
- each_app(&:install_dependencies)
37
- end
38
-
39
- def test!
40
- each_app(&:test)
41
- end
42
-
43
- def compile!
44
- cleanup!
45
- each_app(&:compile)
46
- end
47
-
48
- def root
49
- @root ||= Rails.root.join("tmp", "ember-cli").tap(&:mkpath)
50
- end
51
-
52
- def env
53
- @env ||= Helpers.current_environment
54
- end
55
-
56
- delegate :apps, to: :configuration
57
-
58
- private
59
-
60
- def cleanup!
61
- root.children.each { |tmp_file| FileUtils.rm_rf(tmp_file) }
62
- end
63
-
64
- def each_app
65
- apps.each { |_, app| yield app }
66
- end
67
- end
1
+ require "ember_cli"
68
2
 
69
3
  EmberCLI = EmberCli
@@ -0,0 +1,72 @@
1
+ require "fileutils"
2
+ require "ember-cli-rails-assets"
3
+ require "ember_cli/engine"
4
+ require "ember_cli/configuration"
5
+ require "ember_cli/helpers"
6
+ require "ember_cli/errors"
7
+
8
+ module EmberCli
9
+ extend self
10
+
11
+ def configure
12
+ yield configuration
13
+ end
14
+
15
+ def configuration
16
+ Configuration.instance
17
+ end
18
+
19
+ def app(name)
20
+ apps.fetch(name) do
21
+ fail KeyError, "#{name.inspect} app is not defined"
22
+ end
23
+ end
24
+ alias_method :[], :app
25
+
26
+ def apps
27
+ configuration.apps
28
+ end
29
+
30
+ def build(name)
31
+ app(name).build
32
+ end
33
+
34
+ def any?(*arguments, &block)
35
+ apps.values.any?(*arguments, &block)
36
+ end
37
+
38
+ def skip?
39
+ ENV["SKIP_EMBER"].present?
40
+ end
41
+
42
+ def install_dependencies!
43
+ each_app(&:install_dependencies)
44
+ end
45
+
46
+ def test!
47
+ each_app(&:test)
48
+ end
49
+
50
+ def compile!
51
+ cleanup!
52
+ each_app(&:compile)
53
+ end
54
+
55
+ def root
56
+ @root ||= Rails.root.join("tmp", "ember-cli").tap(&:mkpath)
57
+ end
58
+
59
+ def env
60
+ @env ||= Helpers.current_environment
61
+ end
62
+
63
+ private
64
+
65
+ def cleanup!
66
+ root.children.each { |tmp_file| FileUtils.rm_rf(tmp_file) }
67
+ end
68
+
69
+ def each_app
70
+ apps.each { |_, app| yield app }
71
+ end
72
+ end
@@ -33,6 +33,10 @@ module EmberCli
33
33
  paths.dist
34
34
  end
35
35
 
36
+ def cached_directories
37
+ paths.cached_directories
38
+ end
39
+
36
40
  def compile
37
41
  @compiled ||= begin
38
42
  prepare
@@ -83,6 +87,14 @@ module EmberCli
83
87
  deploy.mountable?
84
88
  end
85
89
 
90
+ def yarn_enabled?
91
+ options.fetch(:yarn, false)
92
+ end
93
+
94
+ def bower?
95
+ paths.bower_json.exist?
96
+ end
97
+
86
98
  def to_rack
87
99
  deploy.to_rack
88
100
  end
@@ -1,4 +1,4 @@
1
- require "cocaine"
1
+ require "terrapin"
2
2
 
3
3
  module EmberCli
4
4
  class Command
@@ -8,7 +8,7 @@ module EmberCli
8
8
  end
9
9
 
10
10
  def test
11
- line = Cocaine::CommandLine.new(paths.ember, "test --environment test")
11
+ line = Terrapin::CommandLine.new(paths.ember, "test --environment test")
12
12
 
13
13
  line.command
14
14
  end
@@ -30,7 +30,7 @@ module EmberCli
30
30
  end
31
31
 
32
32
  def ember_build(watch: false)
33
- line = Cocaine::CommandLine.new(paths.ember, [
33
+ line = Terrapin::CommandLine.new(paths.ember, [
34
34
  "build",
35
35
  ("--watch" if watch),
36
36
  ("--watcher :watcher" if process_watcher),
@@ -1,7 +1,9 @@
1
1
  module EmberCli
2
2
  class EmberConstraint
3
3
  def matches?(request)
4
- html_request?(request) && !rails_info_request?(request)
4
+ html_request?(request) &&
5
+ !rails_info_request?(request) &&
6
+ !rails_active_storage_request?(request)
5
7
  end
6
8
 
7
9
  private
@@ -10,6 +12,10 @@ module EmberCli
10
12
  request.fullpath.start_with?("/rails/info", "/rails/mailers")
11
13
  end
12
14
 
15
+ def rails_active_storage_request?(request)
16
+ request.fullpath.start_with?("/rails/active_storage")
17
+ end
18
+
13
19
  def html_request?(request)
14
20
  request.format.html?
15
21
  end
@@ -35,6 +35,10 @@ module EmberCli
35
35
  @gemfile ||= root.join("Gemfile")
36
36
  end
37
37
 
38
+ def bower_json
39
+ root.join("bower.json")
40
+ end
41
+
38
42
  def ember
39
43
  @ember ||= begin
40
44
  root.join("node_modules", "ember-cli", "bin", "ember").tap do |path|
@@ -46,6 +50,7 @@ module EmberCli
46
50
 
47
51
  $ cd #{root}
48
52
  $ #{package_manager} install
53
+
49
54
  MSG
50
55
  end
51
56
  end
@@ -62,16 +67,15 @@ module EmberCli
62
67
 
63
68
  def bower
64
69
  @bower ||= begin
65
- bower_path = app_options.fetch(:bower_path) { which("bower") }
66
-
67
- bower_path.tap do |path|
68
- unless Pathname(path.to_s).executable?
70
+ path_for_executable("bower").tap do |bower_path|
71
+ if bower_json.exist? && (bower_path.blank? || !bower_path.executable?)
69
72
  fail DependencyError.new <<-MSG.strip_heredoc
70
- Bower is required by EmberCLI
73
+ Bower is required by EmberCLI
71
74
 
72
- Install it with:
75
+ Install it with:
76
+
77
+ $ npm install -g bower
73
78
 
74
- $ npm install -g bower
75
79
  MSG
76
80
  end
77
81
  end
@@ -83,12 +87,21 @@ module EmberCli
83
87
  end
84
88
 
85
89
  def npm
86
- @npm ||= app_options.fetch(:npm_path) { which("npm") }
90
+ @npm ||= path_for_executable("npm")
87
91
  end
88
92
 
89
93
  def yarn
90
94
  if yarn?
91
- @yarn ||= app_options.fetch(:yarn_path) { which("yarn") }
95
+ @yarn ||= path_for_executable("yarn").tap do |yarn|
96
+ unless File.executable?(yarn.to_s)
97
+ fail DependencyError.new(<<-MSG.strip_heredoc)
98
+ EmberCLI has been configured to install NodeJS dependencies with Yarn, but the Yarn executable is unavailable.
99
+
100
+ Install it by following the instructions at https://yarnpkg.com/lang/en/docs/install/
101
+
102
+ MSG
103
+ end
104
+ end
92
105
  end
93
106
  end
94
107
 
@@ -97,17 +110,32 @@ module EmberCli
97
110
  end
98
111
 
99
112
  def tee
100
- @tee ||= app_options.fetch(:tee_path) { which("tee") }
113
+ @tee ||= path_for_executable("tee")
101
114
  end
102
115
 
103
116
  def bundler
104
- @bundler ||= app_options.fetch(:bundler_path) { which("bundler") }
117
+ @bundler ||= path_for_executable("bundler")
118
+ end
119
+
120
+ def cached_directories
121
+ [
122
+ node_modules,
123
+ (bower_components if bower_json.exist?),
124
+ ].compact
105
125
  end
106
126
 
107
127
  private
108
128
 
109
129
  attr_reader :app, :ember_cli_root, :environment, :rails_root
110
130
 
131
+ def path_for_executable(command)
132
+ path = app_options.fetch("#{command}_path") { which(command) }
133
+
134
+ if path.present?
135
+ Pathname.new(path)
136
+ end
137
+ end
138
+
111
139
  def package_manager
112
140
  if yarn?
113
141
  "yarn"
@@ -125,7 +153,7 @@ module EmberCli
125
153
  end
126
154
 
127
155
  def app_options
128
- app.options
156
+ app.options.with_indifferent_access
129
157
  end
130
158
 
131
159
  def which(executable)
@@ -1,4 +1,5 @@
1
1
  require "ember_cli/ember_constraint"
2
+ require "ember_cli/trailing_slash_constraint"
2
3
 
3
4
  module ActionDispatch
4
5
  module Routing
@@ -15,7 +16,15 @@ module ActionDispatch
15
16
  )
16
17
 
17
18
  scope constraints: ::EmberCli::EmberConstraint.new do
18
- get("#{to}(*rest)", routing_options)
19
+ redirect_if_missing_trailing_slash = {
20
+ constraints: EmberCli::TrailingSlashConstraint.new,
21
+ to: redirect(-> (_, request) {
22
+ File.join(request.original_fullpath, "")
23
+ }),
24
+ }
25
+
26
+ get(to, redirect_if_missing_trailing_slash)
27
+ get(File.join(to, "(*rest)"), routing_options)
19
28
  end
20
29
 
21
30
  mount_ember_assets(app_name, to: to)
@@ -47,7 +47,9 @@ module EmberCli
47
47
  run! "#{paths.npm} prune && #{paths.npm} install"
48
48
  end
49
49
 
50
- run! "#{paths.bower} prune && #{paths.bower} install"
50
+ if paths.bower_json.exist?
51
+ run! "#{paths.bower} prune && #{paths.bower} install"
52
+ end
51
53
  end
52
54
 
53
55
  def test
@@ -0,0 +1,7 @@
1
+ module EmberCli
2
+ class TrailingSlashConstraint
3
+ def matches?(request)
4
+ !request.original_fullpath.to_s.ends_with?("/")
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module EmberCli
2
- VERSION = "0.8.5".freeze
2
+ VERSION = "0.11.0".freeze
3
3
  end
@@ -4,9 +4,8 @@ Description:
4
4
  Once the generator is complete, execute the following:
5
5
 
6
6
  $ heroku buildpacks:clear
7
- $ heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-nodejs
8
- $ heroku buildpacks:add --index 2 https://github.com/heroku/heroku-buildpack-ruby
9
- $ heroku config:set NPM_CONFIG_PRODUCTION=false
7
+ $ heroku buildpacks:add --index 1 heroku/nodejs
8
+ $ heroku buildpacks:add --index 2 heroku/ruby
10
9
  $ heroku config:unset SKIP_EMBER
11
10
 
12
11
  Example:
@@ -16,5 +15,4 @@ Example:
16
15
  rails_12factor
17
16
 
18
17
  This will create:
19
- bin/heroku_install
20
18
  package.json
@@ -8,19 +8,44 @@ module EmberCli
8
8
  template "package.json.erb", "package.json"
9
9
  end
10
10
 
11
- def copy_setup_heroku_file
12
- template "bin_heroku_install.erb", "bin/heroku_install"
13
- run "chmod a+x bin/heroku_install"
11
+ def identify_as_yarn_project
12
+ if EmberCli.any?(&:yarn_enabled?)
13
+ template "yarn.lock.erb", "yarn.lock"
14
+ end
14
15
  end
15
16
 
16
17
  def inject_12factor_gem
17
18
  gem "rails_12factor", group: [:staging, :production]
18
19
  end
19
20
 
21
+ private
22
+
23
+ def cache_directories
24
+ all_cached_directories.map do |cached_directory|
25
+ cached_directory.relative_path_from(Rails.root).to_s
26
+ end
27
+ end
28
+
29
+ def all_cached_directories
30
+ app_specific_cached_directories + project_root_cached_directories
31
+ end
32
+
33
+ def app_specific_cached_directories
34
+ apps.flat_map(&:cached_directories)
35
+ end
36
+
37
+ def project_root_cached_directories
38
+ [Rails.root.join("node_modules")]
39
+ end
40
+
20
41
  def app_paths
21
42
  EmberCli.apps.values.map do |app|
22
43
  app.root_path.relative_path_from(Rails.root)
23
44
  end
24
45
  end
46
+
47
+ def apps
48
+ EmberCli.apps.values
49
+ end
25
50
  end
26
51
  end
@@ -1,15 +1,8 @@
1
1
  {
2
- "scripts": {
3
- "postinstall": "sh bin/heroku_install"
4
- },
2
+ <% if EmberCli.any?(&:bower?) %>
5
3
  "dependencies": {
6
4
  "bower": "*"
7
5
  },
8
- "cacheDirectories": [
9
- <%- app_paths.each do |app_path| -%>
10
- "<%= app_path %>/node_modules",
11
- "<%= app_path %>/bower_components",
12
- <%- end -%>
13
- "node_modules"
14
- ]
6
+ <% end %>
7
+ "cacheDirectories": <%= cache_directories.to_json %>
15
8
  }
@@ -16,10 +16,5 @@ namespace :ember do
16
16
  end
17
17
 
18
18
  unless EmberCli.skip?
19
- # Hook into assets:precompile:all for Rails 3.1+
20
- if Rails::VERSION::MAJOR < 4
21
- task "assets:precompile:all" => "ember:compile"
22
- else
23
- task "assets:precompile" => "ember:compile"
24
- end
19
+ task "assets:precompile" => "ember:compile"
25
20
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-cli-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Pravosud
8
8
  - Jonathan Jackson
9
9
  - Sean Doyle
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-05-12 00:00:00.000000000 Z
13
+ date: 2020-08-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ember-cli-rails-assets
@@ -32,28 +32,28 @@ dependencies:
32
32
  requirements:
33
33
  - - ">="
34
34
  - !ruby/object:Gem::Version
35
- version: '3.2'
35
+ version: '4.2'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: '3.2'
42
+ version: '4.2'
43
43
  - !ruby/object:Gem::Dependency
44
- name: cocaine
44
+ name: terrapin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: 0.5.8
49
+ version: 0.6.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: 0.5.8
56
+ version: 0.6.0
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: html_page
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -68,7 +68,63 @@ dependencies:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
70
  version: 0.1.0
71
- description:
71
+ - !ruby/object:Gem::Dependency
72
+ name: generator_spec
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: 0.9.0
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: 0.9.0
85
+ - !ruby/object:Gem::Dependency
86
+ name: rspec-rails
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: 3.6.0
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - "~>"
97
+ - !ruby/object:Gem::Version
98
+ version: 3.6.0
99
+ - !ruby/object:Gem::Dependency
100
+ name: capybara-selenium
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ - !ruby/object:Gem::Dependency
114
+ name: codeclimate-test-reporter
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: 0.6.0
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: 0.6.0
127
+ description:
72
128
  email:
73
129
  - pavel@pravosud.com
74
130
  - jonathan.jackson1@me.com
@@ -84,6 +140,7 @@ files:
84
140
  - app/helpers/ember_rails_helper.rb
85
141
  - app/views/ember_cli/ember/index.html.erb
86
142
  - lib/ember-cli-rails.rb
143
+ - lib/ember_cli.rb
87
144
  - lib/ember_cli/app.rb
88
145
  - lib/ember_cli/build_monitor.rb
89
146
  - lib/ember_cli/command.rb
@@ -97,11 +154,12 @@ files:
97
154
  - lib/ember_cli/route_helpers.rb
98
155
  - lib/ember_cli/runner.rb
99
156
  - lib/ember_cli/shell.rb
157
+ - lib/ember_cli/trailing_slash_constraint.rb
100
158
  - lib/ember_cli/version.rb
101
159
  - lib/generators/ember/heroku/USAGE
102
160
  - lib/generators/ember/heroku/heroku_generator.rb
103
- - lib/generators/ember/heroku/templates/bin_heroku_install.erb
104
161
  - lib/generators/ember/heroku/templates/package.json.erb
162
+ - lib/generators/ember/heroku/templates/yarn.lock.erb
105
163
  - lib/generators/ember/init/USAGE
106
164
  - lib/generators/ember/init/init_generator.rb
107
165
  - lib/generators/ember/init/templates/initializer.rb
@@ -110,7 +168,7 @@ homepage: https://github.com/thoughtbot/ember-cli-rails
110
168
  licenses:
111
169
  - MIT
112
170
  metadata: {}
113
- post_install_message:
171
+ post_install_message:
114
172
  rdoc_options: []
115
173
  require_paths:
116
174
  - lib
@@ -125,9 +183,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
183
  - !ruby/object:Gem::Version
126
184
  version: '0'
127
185
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.4.5.1
130
- signing_key:
186
+ rubyforge_project:
187
+ rubygems_version: 2.7.6.2
188
+ signing_key:
131
189
  specification_version: 4
132
190
  summary: Integration between Ember CLI and Rails
133
191
  test_files: []
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env sh
2
-
3
- set -e
4
-
5
- bower="$(pwd)/node_modules/.bin/bower"
6
-
7
- for app in <%= app_paths.map { |app_path| %{"#{app_path}"} }.join(" ") -%>; do
8
- cd $app &&
9
- npm install &&
10
- $bower install &&
11
- cd -
12
- done