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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8033b630c233ee1fb2ffb6edc375cd8923fcaf123b79f0a7cfeb59dfeeb2038f
4
- data.tar.gz: a8cbe3f6fab587af7694090fefdd3a0bc572f09b550f05e0feb4c9f976f84e46
3
+ metadata.gz: 5c6d8541665431df0b385213a9e959b327b6b6ca6a9f436fece9b37390d776c4
4
+ data.tar.gz: 4b0430c1c890ac4ca89c2ebf90d58dd339b3220d6514388df86de385489d682e
5
5
  SHA512:
6
- metadata.gz: '09c09faf8bf6df24cdb21440a28927da8de576f226c4022b6b8c58698af92395b004a97aa707e321e0923de19caad8401ce7ce04c3be75ee6d602cb7738ea7a3'
7
- data.tar.gz: 4f100a58b11ef870bdabe07fbe3053fdb51109ec981f0cfbac68b8bae4dd25060b5a1600c94861a2b06f392cc88dfebd1ed4ecf12c39222e34c682db4f3a2446
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
-
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class SmartEnum
4
- VERSION = "0.1.0"
4
+ VERSION = "1.0.0"
5
5
  end
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: 0.1.0
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: '0'
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.4
67
+ rubygems_version: 2.7.2
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Enums to replace database lookup tables