enumlogic 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION.yml +1 -1
  2. data/enumlogic.gemspec +2 -1
  3. data/init.rb +1 -3
  4. data/rails/init.rb +3 -0
  5. metadata +2 -1
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 0
3
- :patch: 2
3
+ :patch: 3
4
4
  :major: 1
5
5
  :build:
data/enumlogic.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{enumlogic}
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["binarylogic"]
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
27
27
  "enumlogic.gemspec",
28
28
  "init.rb",
29
29
  "lib/enumlogic.rb",
30
+ "rails/init.rb",
30
31
  "spec/enumlogic_spec.rb",
31
32
  "spec/spec_helper.rb"
32
33
  ]
data/init.rb CHANGED
@@ -1,3 +1 @@
1
- require 'enumlogic'
2
-
3
- ActiveRecord::Base.extend(Enumlogic)
1
+ require File.dirname(__FILE__) + "/rails/init.rb"
data/rails/init.rb ADDED
@@ -0,0 +1,3 @@
1
+ require 'enumlogic'
2
+
3
+ ActiveRecord::Base.extend(Enumlogic)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enumlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - binarylogic
@@ -42,6 +42,7 @@ files:
42
42
  - enumlogic.gemspec
43
43
  - init.rb
44
44
  - lib/enumlogic.rb
45
+ - rails/init.rb
45
46
  - spec/enumlogic_spec.rb
46
47
  - spec/spec_helper.rb
47
48
  has_rdoc: true