enumerations 1.3.0 → 1.3.1

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
- SHA1:
3
- metadata.gz: 0301fc3454228a9bfb34210934af6e60396179b4
4
- data.tar.gz: 76ea564324b2e3e79565009e6ae2182a56d84a84
2
+ SHA256:
3
+ metadata.gz: 6cfe9acdaa6ea0ac0489fe0c92db8a0273d5d969dbe2063481cbbf191764ac9c
4
+ data.tar.gz: bdfcdf71787a01105fcdd84d57b7339e9c7217c7ecc1ee689bdd741614648842
5
5
  SHA512:
6
- metadata.gz: 8c9a14f99e311b3e65a41bb9d03cee5788b288352270f3cbbc0b5c19b2dd4e823573613267d03c73a239a6c5b9039d2c10ccce9c4e2326e9e9f4b27427486ae7
7
- data.tar.gz: aeff9a7fcf7ce2177831dadc13eaf940b534112a31fe51e0f2167cf31d57acf3d85ae3c409b3b5c0e670e893707216d8b85e2c52b65e7cd20b5cec29b413223b
6
+ metadata.gz: e244b51917e0f7c4dedcde50c429333e2fb893b2965c397908e6974809415ef1b925b3293c0622842cbeea2e10e8cef134ebfc5620a44e5371dc61a9109b6e6f
7
+ data.tar.gz: d72b6df24bc5c1122d85e32b0ebfcffb258816d1b7f8c615b33985c99220b86180a453d305b67245ce5e358b09e89c04b9ebdaa2973f2c5a0b4ea5401232927c
@@ -92,7 +92,7 @@ module Enumeration
92
92
  case key
93
93
  when Symbol then find_by_key(key)
94
94
  when String then find_by_key(key.to_sym) || find_by_id(key.to_i)
95
- when Fixnum then find_by_id(key)
95
+ when Integer then find_by_id(key)
96
96
  end
97
97
  end
98
98
 
@@ -1,3 +1,3 @@
1
1
  module Enumeration
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enumerations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car
8
8
  - Nikica Jokic
9
9
  - Nikola Santic
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
  date: 2010-08-20 00:00:00.000000000 Z
@@ -81,7 +81,7 @@ files:
81
81
  homepage: https://github.com/infinum/enumerations
82
82
  licenses: []
83
83
  metadata: {}
84
- post_install_message:
84
+ post_install_message:
85
85
  rdoc_options: []
86
86
  require_paths:
87
87
  - lib
@@ -96,9 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubyforge_project:
100
- rubygems_version: 2.5.1
101
- signing_key:
99
+ rubygems_version: 3.0.3
100
+ signing_key:
102
101
  specification_version: 4
103
102
  summary: Enumerations for ActiveRecord!
104
103
  test_files:
@@ -107,4 +106,3 @@ test_files:
107
106
  - test/reflection_test.rb
108
107
  - test/test_helper.rb
109
108
  - test/version_test.rb
110
- has_rdoc: