simpler_enum 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -1
- data/lib/simpler_enum/version.rb +1 -1
- data/simpler_enum.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
# SimplerEnum [![Build Status](https://travis-ci.org/necojackarc/simpler_enum.svg?branch=master)](https://travis-ci.org/necojackarc/simpler_enum) [![Code Climate](https://codeclimate.com/github/necojackarc/simpler_enum/badges/gpa.svg)](https://codeclimate.com/github/necojackarc/simpler_enum) [![Test Coverage](https://codeclimate.com/github/necojackarc/simpler_enum/badges/coverage.svg)](https://codeclimate.com/github/necojackarc/simpler_enum/coverage)
|
2
2
|
|
3
|
-
SimplerEnum provides
|
3
|
+
SimplerEnum provides Rails like enumerated type.
|
4
|
+
|
5
|
+
It reproduces part of [ActiveRecord::Enum](http://edgeapi.rubyonrails.org/classes/ActiveRecord/Enum.html) features.
|
6
|
+
|
7
|
+
I hope it will help you when you want to use [ActiveRecord::Enum](http://edgeapi.rubyonrails.org/classes/ActiveRecord/Enum.html) in your older Rails version repositories.
|
8
|
+
|
9
|
+
## Supported Ruby versions
|
10
|
+
|
11
|
+
- Ruby 1.9
|
12
|
+
- Ruby 2.x
|
4
13
|
|
5
14
|
## Installation
|
6
15
|
|
data/lib/simpler_enum/version.rb
CHANGED
data/simpler_enum.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ["necojackarc@gmail.com"]
|
10
10
|
|
11
11
|
spec.summary = %q{Simpler Enumerated Type}
|
12
|
-
spec.description = %q{
|
12
|
+
spec.description = %q{SimplerEnum provides Rails like enumerated type}
|
13
13
|
spec.homepage = "https://github.com/necojackarc/simpler_enum"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpler_enum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -139,7 +139,7 @@ dependencies:
|
|
139
139
|
- - ! '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
|
-
description:
|
142
|
+
description: SimplerEnum provides Rails like enumerated type
|
143
143
|
email:
|
144
144
|
- necojackarc@gmail.com
|
145
145
|
executables: []
|