httpstatus-rails 0.1.1 → 0.1.2

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: 553a14b378847254a779458ed1ef1f116b3b4db95ba1c22b6e4d727f8a9ee1ec
4
- data.tar.gz: 11f7ff9a13680612433a43f651949caf4045e409c403dd2d7eeec521f0b5ce33
3
+ metadata.gz: b484f96186f2be7cb93be6d86d4dac84cd642e3760be0d6784cb608ff10b316f
4
+ data.tar.gz: 65821c4265d5c0e585df0a257c578b917ddf8fcbf82c5271ffcbcd8a23631ed0
5
5
  SHA512:
6
- metadata.gz: 5290af483fe267eaba2e8315e6684b7284d8a11f0a782d74bfb27e8e3ef515efa676fe1cb12335c38bb1cf004f87d05dc89fb6801c4041d37cb9718985660bb8
7
- data.tar.gz: f8e85f476b92959ed1407f225d3da3a5f1f50466d50195f3d615058955e50f3d9be9803e78b1dc417dfb6747e23eda4cedb491c5325e5254991360b1a2e9ce8a
6
+ metadata.gz: ee1489989666bdd6d474f3636948b6f32df5567c11578c85f79437b952f80dd6d3482b30b5767910a5e7c8afb70c0aea943af7e970a57aa3360ff8f1354efd06
7
+ data.tar.gz: 96faa7a2c1376b331493d58a87c0b1e39d568e68057c6052b9a94d94a1d01dcd3f00d0c2de9167eff7089bc3024b84b7f954ba1ae13e3180847e2dc0c9539b8d
@@ -1,5 +1,5 @@
1
1
  module Httpstatus
2
2
  module Rails
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
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?(Fixnum) && title.is_a?(String) && message.is_a?(String)
67
+ code.is_a?(Number) && 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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos