httpstatus-rails 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 07c16b310f3bb77993a3c93eba946e1b404d44ee41896120b67579fd46e1a273
4
- data.tar.gz: 7474df3c63caa3fb17af72154e768205f482b5edc484ec611daf04978a822fcd
3
+ metadata.gz: ef78c98ebdc49627a1968fd3327725e4eba291cd69d11cb211461153a58945bf
4
+ data.tar.gz: c3f02c5ab57d1c46b2a97287bd7d03926e6396c90d59ebea6bd2702196a6115a
5
5
  SHA512:
6
- metadata.gz: afeee059c2a1f298cdd4085bea46a2551f895e2924ba4faa9df17141e66dc5d24710e42d221a83b1a83a64f2bacfa17735fb8497a957563bcbe4553dece75d8f
7
- data.tar.gz: 5334c95b757c35be8a2585d42c6cbb8f15c8a20781c19a0a3e3cd39f8ba4b4393ff270e3b00056f7abaf6459e009f45e5da3c4658b5ac2f8d537ff5b0e260905
6
+ metadata.gz: 694522d21f0fe0d701a0e273021fe1da5a60b6a0cbe25f8561648bfd84d98b839ca6375f3ea706759b2a710bc81e962f3efdb8a6208c4f763c471b314dda089e
7
+ data.tar.gz: 0a49b1b58c9c1277cf32c5787c9c251538f5b8420a036762a35168d227e672bbce49a571ceea603e134f3c902477a71c92b987252f90ff2f794ebfefa07e42de
@@ -1,5 +1,5 @@
1
1
  module Httpstatus
2
2
  module Rails
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
@@ -64,7 +64,7 @@ module Httpstatus
64
64
  protected
65
65
 
66
66
  def valid?
67
- code.is_a?(Number) && title.is_a?(String) && message.is_a?(String)
67
+ code.is_a?(Integer) && title.is_a?(String) && message.is_a?(String)
68
68
  end
69
69
 
70
70
  def i18n(property)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httpstatus-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos