smart_enum 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/smart_enum/version.rb +1 -1
- data/smart_enum.gemspec +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c6d8541665431df0b385213a9e959b327b6b6ca6a9f436fece9b37390d776c4
|
4
|
+
data.tar.gz: 4b0430c1c890ac4ca89c2ebf90d58dd339b3220d6514388df86de385489d682e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48851031b733fce0d63453c6155c97e72bc4a03b4e889c463fc17612cbddc0d392cec6af13b82153125fc21bb4d1ae80f73278a51ed02f7b53f497b57ab3827b
|
7
|
+
data.tar.gz: bd7d182e11e7dd99ced0db64fae7a0aa8d79f9ea8cae1a8b4bb785f233c846ad961cef5e690ef172cd279b16d6307729dbcb9f8bb4880236e56984831f1038a3
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@ Create Enum values to replace database lookup tables.
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
+
SmartEnum requires ruby 2.4.0 or above.
|
8
|
+
|
7
9
|
Add this line to your application's Gemfile:
|
8
10
|
|
9
11
|
```ruby
|
@@ -36,4 +38,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/Shippi
|
|
36
38
|
## License
|
37
39
|
|
38
40
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
39
|
-
|
data/lib/smart_enum/version.rb
CHANGED
data/smart_enum.gemspec
CHANGED
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.files = Dir["lib/**/*", "Rakefile", "README.md", "LICENSE.txt", "smart_enum.gemspec"]
|
20
20
|
spec.bindir = "exe"
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.required_ruby_version = '>= 2.4.0'
|
22
23
|
spec.require_paths = ["lib"]
|
23
24
|
|
24
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_enum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Brasic
|
@@ -56,7 +56,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
59
|
+
version: 2.4.0
|
60
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
62
|
- - ">="
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubyforge_project:
|
67
|
-
rubygems_version: 2.7.
|
67
|
+
rubygems_version: 2.7.2
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
70
|
summary: Enums to replace database lookup tables
|