rapporteur 3.5.0 → 3.5.1

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: df96dace0f56dd73b553b4e8e5740763df7d436e
4
- data.tar.gz: a17856a53239ef0502e3204b4bb4f021ab217c20
3
+ metadata.gz: f8784fb86dab0544971bd66b4ca106ca445175da
4
+ data.tar.gz: dfb30e4b43f0d6c58632e2f6e5f46fa2459901a8
5
5
  SHA512:
6
- metadata.gz: 78544882974c0d03947f7f6672bddab451c202005bc12b5164e36473af1840f974b0f57d4a212779b1eb159e4bce7e6ff26e3ae1fe23b8c07f833fc16416e85f
7
- data.tar.gz: cabde3e3047f46b5718206ce2fad85c32556ecab3192526bff3ebd54e32a2b4d90be52324e62a903c8c06b3c80c897fa5e19fd47456916a258dcb9a4cc9c6f88
6
+ metadata.gz: 8e9542d1ad27f7da7f64985128486c4c9dd2faf1550e6659987f37700b5a17949df6df9b840581b9531a914fc72307678ef3d42b11fc38e281a072cf88171fc3
7
+ data.tar.gz: 858b38cdc1dc8a297f1bac3769108163f2700af467739d537c5e682e9bfd6e77d40541df280dae42c141e92286d799286e1e8860aa0768f58f82adc88409bcfb
@@ -1,4 +1,4 @@
1
- before_install: gem install bundler -v 1.13.7
1
+ before_install: gem install bundler -v 1.14.3
2
2
  cache: bundler
3
3
  gemfile:
4
4
  - gemfiles/rails3.2.gemfile
@@ -10,6 +10,12 @@
10
10
 
11
11
  * No significant changes.
12
12
 
13
+ ## [3.5.1][] / 2016-02-08
14
+
15
+ * Fix automatic Rapporteur mount detection logic under Rails 4.0 and 4.1. The
16
+ mapper constraints used in 4.2 were not used in 4.0 and 4.1, causing a method
17
+ reference error. See #15, thanks to [sshaw][].
18
+
13
19
  ## [3.5.0][] / 2016-01-28
14
20
 
15
21
  * Add a backward-compatible fallback to auto-mount the `Rapporteur::Engine` in
@@ -133,18 +139,20 @@
133
139
 
134
140
 
135
141
  [lsylvester]: https://github.com/lsylvester
142
+ [sshaw]: https://github.com/sshaw
136
143
 
137
- [HEAD]: https://github.com/envylabs/rapporteur/compare/v3.5.0...master
138
- [3.5.0]: https://github.com/envylabs/rapporteur/compare/v3.4.0...v3.5.0
139
- [3.4.0]: https://github.com/envylabs/rapporteur/compare/v3.3.0...v3.4.0
140
- [3.3.0]: https://github.com/envylabs/rapporteur/compare/v3.2.0...v3.3.0
141
- [3.2.0]: https://github.com/envylabs/rapporteur/compare/v3.1.0...v3.2.0
142
- [3.1.0]: https://github.com/envylabs/rapporteur/compare/v3.0.2...v3.1.0
143
- [3.0.2]: https://github.com/envylabs/rapporteur/compare/v3.0.1...v3.0.2
144
- [3.0.1]: https://github.com/envylabs/rapporteur/compare/v3.0.0...v3.0.1
145
- [3.0.0]: https://github.com/envylabs/rapporteur/compare/v2.1.0...v3.0.0
146
- [2.1.0]: https://github.com/envylabs/rapporteur/compare/v2.0.1...v2.1.0
147
- [2.0.1]: https://github.com/envylabs/rapporteur/compare/v2.0.0...v2.0.1
148
- [2.0.0]: https://github.com/envylabs/rapporteur/compare/v1.1.0...v2.0.0
149
- [1.1.0]: https://github.com/envylabs/rapporteur/compare/v1.0.1...v1.1.0
150
144
  [1.0.1]: https://github.com/envylabs/rapporteur/compare/v1.0.0...v1.0.1
145
+ [1.1.0]: https://github.com/envylabs/rapporteur/compare/v1.0.1...v1.1.0
146
+ [2.0.0]: https://github.com/envylabs/rapporteur/compare/v1.1.0...v2.0.0
147
+ [2.0.1]: https://github.com/envylabs/rapporteur/compare/v2.0.0...v2.0.1
148
+ [2.1.0]: https://github.com/envylabs/rapporteur/compare/v2.0.1...v2.1.0
149
+ [3.0.0]: https://github.com/envylabs/rapporteur/compare/v2.1.0...v3.0.0
150
+ [3.0.1]: https://github.com/envylabs/rapporteur/compare/v3.0.0...v3.0.1
151
+ [3.0.2]: https://github.com/envylabs/rapporteur/compare/v3.0.1...v3.0.2
152
+ [3.1.0]: https://github.com/envylabs/rapporteur/compare/v3.0.2...v3.1.0
153
+ [3.2.0]: https://github.com/envylabs/rapporteur/compare/v3.1.0...v3.2.0
154
+ [3.3.0]: https://github.com/envylabs/rapporteur/compare/v3.2.0...v3.3.0
155
+ [3.4.0]: https://github.com/envylabs/rapporteur/compare/v3.3.0...v3.4.0
156
+ [3.5.0]: https://github.com/envylabs/rapporteur/compare/v3.4.0...v3.5.0
157
+ [3.5.1]: https://github.com/envylabs/rapporteur/compare/v3.5.0...v3.5.1
158
+ [HEAD]: https://github.com/envylabs/rapporteur/compare/v3.5.1...master
@@ -2,7 +2,7 @@ Rapporteur::Engine.routes.draw do
2
2
  get '/(.:format)', to: 'statuses#show', as: :status
3
3
  end
4
4
 
5
- unless Rails.application.routes.routes.any? { |r| Rapporteur::Engine == r.app.app }
5
+ unless Rails.application.routes.routes.any? { |r| (Rapporteur::Engine == r.app) || (r.app.respond_to?(:app) && Rapporteur::Engine == r.app.app) }
6
6
  ActiveSupport::Deprecation.warn('Rapporteur was not explicitly mounted in your application. Please add an explicit mount call to your /config/routes.rb. Automatically mounted Rapporteur::Engine to /status for backward compatibility. This will be no longer automatically mount in Rapporteur 4.')
7
7
  Rails.application.routes.draw do
8
8
  mount Rapporteur::Engine, at: '/status'
@@ -1,3 +1,3 @@
1
1
  module Rapporteur
2
- VERSION = "3.5.0".freeze
2
+ VERSION = "3.5.1".freeze
3
3
  end
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency 'i18n', '~> 0.6'
24
24
 
25
25
  spec.add_development_dependency "appraisal", "~> 2.1"
26
- spec.add_development_dependency "bundler", "~> 1.3"
26
+ spec.add_development_dependency "bundler", "~> 1.14"
27
27
  spec.add_development_dependency "combustion", "~> 0.5", ">= 0.5.1"
28
28
  spec.add_development_dependency "rails", ">= 3.1", "< 6"
29
29
  spec.add_development_dependency "rspec-rails", "~> 3.2"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rapporteur
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envy Labs
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-01-28 00:00:00.000000000 Z
12
+ date: 2017-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '1.3'
48
+ version: '1.14'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '1.3'
55
+ version: '1.14'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: combustion
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -186,4 +186,3 @@ signing_key:
186
186
  specification_version: 4
187
187
  summary: An engine that provides common status polling endpoint.
188
188
  test_files: []
189
- has_rdoc: