enum_help 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/enum_help/simple_form.rb +2 -0
- data/lib/enum_help/version.rb +1 -1
- data/lib/enum_help.rb +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42f7cdd1735452d6cd1aa40beacdb8ea085bce61
|
4
|
+
data.tar.gz: e58011f45e85f1245b6a443cc4f17fe3a2dc864a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 542fe66c3050f4f3647ea52ccb610297c5e1892431425d7e441f870c5fa682a9e005b69cb5feb788cfe18e65097bb6b2a61ad40c17a63117ca72be64b19f092a
|
7
|
+
data.tar.gz: 07506b5652aa6e5b1e065638d8a3fe095e7e8a414cfaad2aa044cd61eac4309d69428a973009a87adc17eae1d36f45494c54280434806956e7c4acf87672846e
|
data/lib/enum_help/version.rb
CHANGED
data/lib/enum_help.rb
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
require "enum_help/version"
|
2
|
-
|
2
|
+
|
3
|
+
simple_form_exist = true
|
4
|
+
begin
|
5
|
+
require 'simple_form'
|
6
|
+
rescue LoadError
|
7
|
+
simple_form_exist = false
|
8
|
+
end
|
9
|
+
if simple_form_exist
|
10
|
+
require "enum_help/simple_form"
|
11
|
+
end
|
3
12
|
require "enum_help/i18n"
|
4
13
|
require "enum_help/railtie"
|
5
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enum_help
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lester Zhao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|