ember-cli-rails 0.8.4 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd9baba448c470a3fe86b56c3939493cf4ce2ad4
4
- data.tar.gz: 4d4b6dff42876a6e69a2c445f963db08a5dd042f
3
+ metadata.gz: ff30b30d60cf45b946c688fc355c29c2ac79e1a5
4
+ data.tar.gz: 89d52810daf83b9b675f8a59f83aef69dfb76370
5
5
  SHA512:
6
- metadata.gz: 9c61768e7fa04cd8bec9eb17815c50cc675ca5d6bfc07a43d0e9bedcf85126f42fa18fc59438d77c89d98aa9df53802803ba5246bed0502b72cd0533626cbd68
7
- data.tar.gz: 3c582d1b1a57ee397c2e81482a4909ee38eaaa9cbada45c3c057962d0df72aa8ef8c7fb39f31d6c0f5364f349797a999b06476ee1ffe86024acb8d92476e87a5
6
+ metadata.gz: f0353db532b3c66bd5bc9183a40ea5399c44e35ed7343f285488a1803b85c980cbf4b76b7ac8b6f085e173e857dd1e23a4c3a2835a5964f07819d2936d3dc2f4
7
+ data.tar.gz: 7ff75f83a0be222d214d878356621b4dc27c9c4da9af965654c0937090bc134c67411eb675d1657c61ed5e978aad46825c289a6874105771c77d738f62c40759
@@ -1,6 +1,17 @@
1
1
  master
2
2
  ------
3
3
 
4
+ 0.8.5
5
+ -----
6
+
7
+ * Ignore calls to `/rails/mailers`. [#520]
8
+ * Call `render` with `html:` instead of `text:`. [#519]
9
+ * Use `Mime::Type.html?` [#523]
10
+
11
+ [#520]: https://github.com/thoughtbot/ember-cli-rails/pull/520
12
+ [#519]: https://github.com/thoughtbot/ember-cli-rails/pull/519
13
+ [#523]: https://github.com/thoughtbot/ember-cli-rails/pull/523
14
+
4
15
  0.8.4
5
16
  -----
6
17
 
data/README.md CHANGED
@@ -690,7 +690,7 @@ Jackson][rondale-sc].
690
690
  [rondale-sc]: https://github.com/rondale-sc
691
691
  [seanpdoyle]: https://github.com/seanpdoyle
692
692
 
693
- ![thoughtbot](https://thoughtbot.com/logo.png)
693
+ ![thoughtbot](http://presskit.thoughtbot.com/images/thoughtbot-logo-for-readmes.svg)
694
694
 
695
695
  ember-cli-rails is maintained and funded by thoughtbot, inc.
696
696
  The names and logos for thoughtbot are trademarks of thoughtbot, inc.
@@ -8,6 +8,6 @@ module EmberRailsHelper
8
8
 
9
9
  head, body = markup_capturer.capture
10
10
 
11
- render text: EmberCli[name].index_html(head: head, body: body).html_safe
11
+ render html: EmberCli[name].index_html(head: head, body: body).html_safe
12
12
  end
13
13
  end
@@ -7,13 +7,11 @@ module EmberCli
7
7
  private
8
8
 
9
9
  def rails_info_request?(request)
10
- request.fullpath.start_with?("/rails/info")
10
+ request.fullpath.start_with?("/rails/info", "/rails/mailers")
11
11
  end
12
12
 
13
13
  def html_request?(request)
14
- index = request.format.to_s =~ /html/ || -1
15
-
16
- index > -1
14
+ request.format.html?
17
15
  end
18
16
  end
19
17
  end
@@ -1,3 +1,3 @@
1
1
  module EmberCli
2
- VERSION = "0.8.4".freeze
2
+ VERSION = "0.8.5".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.8.4
4
+ version: 0.8.5
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: 2017-01-27 00:00:00.000000000 Z
13
+ date: 2017-05-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ember-cli-rails-assets