front_end_builds 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 604bf9e0a83fad3c0c624698c52ec16bf00908a1
4
- data.tar.gz: f9255252feb4be6a07fa6c145e731f68d17d577a
3
+ metadata.gz: d8ccf997611f06bfcbb3198031260ddd9d30cbd1
4
+ data.tar.gz: 00ebf50c5dfd71d5af82895f95df66799a72d99a
5
5
  SHA512:
6
- metadata.gz: 90a49d26638821a8a73055387eb7c35aa6a00c52a0164fbcfbcf5cbbf6566e08adf88dcedf325da54e5d4281fc7f515c6740fb79fb3a5cc30a777821ba0cbdb9
7
- data.tar.gz: a6a76c787601104f793b6124565b1d1119ea94219b845dcebe20315121508c63c375e9b6efc6cc5d9d6d26ef8745d7c4dbf98ffce0adc63bd8a432e9ca4f1f96
6
+ metadata.gz: 7379cc2a0e5bfef31094df32be32ce0a1b69f650e0c883be5eddfad15cfcaa862105da29a9cb9b016a88035f87079026e3b186e854c5daf29f4d0d4b25f76dc3
7
+ data.tar.gz: 40a257342eaae5a84b4f336da375740edd783cb960a6bf7105327c3fc18a1b7d1da1ff2f3e66eee323a999ddf67c1c5762e255455864c1b228ff9c1f7791e75b
@@ -1,7 +1,7 @@
1
1
  module FrontEndBuilds
2
2
  class HtmlRoutingConstraint
3
3
  def matches?(request)
4
- request.format == :html && !request.xhr?
4
+ (request.format == :html || request.format == "*/*") && !request.xhr?
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module FrontEndBuilds
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: front_end_builds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - 'Ryan Toronto '
7
+ - Ryan Toronto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []