inferred_crumpets 0.2.4 → 0.2.5

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: 6250044ac0ab2d1597b36ba4475f8ba7efe47cc2
4
- data.tar.gz: f14abcedf89bd9e396dafe8481d9ee0217dc615f
3
+ metadata.gz: 045e0bc072e7b6a693338c9c0e4591961be036aa
4
+ data.tar.gz: 48daa44b273bde9c0a7c00a2083ef7173dbbf20e
5
5
  SHA512:
6
- metadata.gz: ccd76c2a344cb2932ab1214a21e8652ee2a9118751ed36d849eebf5b99608b19d8ec35a93f920a9131ea0830c533ea54a2c2fcf2bbd7b602c266f4da107f30dd
7
- data.tar.gz: 867545fa1b70b5486ea715ec8872aa556ea4f6920550323a06a795d9249d0faf0782c70d78060dffc9df6bc01209bf32f74aed436fa3b1f4141f2f314df315b4
6
+ metadata.gz: 139a18b8eed6b35cde2506d22fb487a479c0d4e17d6eb03ea9ef018e079780aa42045a7739de5269cea4e70d3e2502fed9513ba342497099661c9d42b712749b
7
+ data.tar.gz: 79d3116669a3346abdd2590911cb52529e4b4fc9dcef015e0ef5dfd380a2f36382eb727b29f45d498441e5e352e49c14b549a78794a1bb59be3d99a03b6b7257
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.4.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # InferredCrumpets
2
2
 
3
+ ## 0.2.5
4
+
5
+ * [RU-145] Check for the Rails 5 ActionController::UrlGenerationError
6
+
3
7
  ## 0.2.4
4
8
 
5
9
  * [TT-3102] Move url checking out into seperate class
@@ -15,7 +15,9 @@ module InferredCrumpets
15
15
  action: action,
16
16
  controller: subject.class.table_name,
17
17
  }.merge(params))
18
- rescue ActionController::RoutingError
18
+ rescue ActionController::RoutingError # Rails 3
19
+ false
20
+ rescue ActionController::UrlGenerationError # Rails 4+
19
21
  false
20
22
  end
21
23
  end
@@ -1,3 +1,3 @@
1
1
  module InferredCrumpets
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inferred_crumpets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Colegate
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.6.8
129
+ rubygems_version: 2.6.13
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Automatic breadcrumbs for Rails.