ramen-rails 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/lib/ramen-rails/ramen_after_filter.rb +1 -1
- data/lib/ramen-rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 436444c10b31bc4d33f2a4ae5a36b42a5b9954ac
|
4
|
+
data.tar.gz: f975754fc33d4f7f350fef88f158ea89b2e829b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f47bd6bdf3f5a15867bd69329e507477ec7ea5b15d17282252f4b0760f289fb3559aaded949043a21f8a91039ccfff0f9ac7ff7dec8d2fc30918ac0f9dea1b9
|
7
|
+
data.tar.gz: 569bc48cfee7d22f12b0aeae89a705c7f2048de20178dd66182479c706677e233ae6e0727f2d0acadb3f8895dad8d814ed7741bcb4e6e0860e7485467363ec56
|
data/CHANGELOG
CHANGED
@@ -29,3 +29,8 @@ don't render `ramenSettings`
|
|
29
29
|
|
30
30
|
Version 0.6.2
|
31
31
|
Add more information to the 'exception in script tag' comment code
|
32
|
+
|
33
|
+
Version 0.6.3
|
34
|
+
Since we fallback on `current_company` if it is not provided, we shouldn't throw an exception if that
|
35
|
+
object doesn't conform to the interface we're expecting. Try to get name, url, and id, but don't force
|
36
|
+
it.
|
@@ -226,7 +226,7 @@ module RamenRails
|
|
226
226
|
obj[:company] = {}
|
227
227
|
|
228
228
|
[:url, :name, :id].each do |attr|
|
229
|
-
obj[:company][attr] = company.send(attr)
|
229
|
+
obj[:company][attr] = company.send(attr) if company.respond_to?(attr)
|
230
230
|
end
|
231
231
|
|
232
232
|
if company.respond_to?(:traits) && company.send(:traits).present?
|
data/lib/ramen-rails/version.rb
CHANGED