simple_enums 0.1.1 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ *.gem
@@ -3,16 +3,16 @@
3
3
  == Description
4
4
  Simple Enum is a simple and useful plugin for using enum attribute.
5
5
 
6
- * version 0.23
6
+ * version 0.2.4
7
7
  * by Caryl
8
8
 
9
9
  == Requirements
10
10
 
11
- * Rails 2.2 or greater
11
+ * Rails 3.1 or greater
12
12
 
13
13
  ==Installation
14
14
 
15
- ./script/plugin install git://github.com/caryl/simple_enum.git
15
+ gem 'simple_enums'
16
16
 
17
17
  ==Getting Started
18
18
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  module SimpleEnum
2
3
  def self.included(base)
3
4
  base.cattr_accessor :enum_columns
@@ -0,0 +1,4 @@
1
+ # -*- encoding: utf-8 -*-
2
+ module SimpleEnum
3
+ VERSION = "0.2.4"
4
+ end
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- require "simple_enum/version"
3
+ require "simple_enums/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "simple_enums"
@@ -1,3 +1,4 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  ActiveRecord::Schema.define(:version => 0) do
2
3
  create_table :mocks, :force => true do |t|
3
4
  t.string :name
@@ -1,3 +1,4 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/test_helper'
2
3
 
3
4
  class SimpleEnumTest < Test::Unit::TestCase
@@ -1,3 +1,4 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  $:.unshift(File.dirname(__FILE__) + '/../lib')
2
3
 
3
4
  require 'rubygems'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_enums
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
8
+ - 2
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - CarylWang
@@ -28,11 +28,12 @@ extensions: []
28
28
  extra_rdoc_files: []
29
29
 
30
30
  files:
31
+ - .gitignore
31
32
  - Gemfile
32
33
  - README.rdoc
33
34
  - Rakefile
34
- - lib/simple_enum.rb
35
- - lib/simple_enum/version.rb
35
+ - lib/simple_enums.rb
36
+ - lib/simple_enums/version.rb
36
37
  - simple_enum.gemspec
37
38
  - test/database.yml
38
39
  - test/schema.rb
@@ -1,3 +0,0 @@
1
- module SimpleEnum
2
- VERSION = "0.1.1"
3
- end