lite_enum 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lite_enum.rb +1 -1
  3. data/lite_enum.gemspec +1 -3
  4. metadata +1 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a50aba22ca2f57d2b36c6159995affa4d0f2a71
4
- data.tar.gz: 0f321e80beb4af6fb509def84c7916dec6ad7e17
3
+ metadata.gz: 787c46f5c1aed517ea762559b58764357bc97420
4
+ data.tar.gz: c563e96965efdaf815507c94f31c5268e7bac29f
5
5
  SHA512:
6
- metadata.gz: c9d6dfa0636cab799f9df14fb627e1c7476e1e4e719d9354306fc9a239eca0ea16a9d301b1a145467fd0812d629848d36c4c384d7299c3c4498797a1ecadcd6b
7
- data.tar.gz: 7bb6d3ed9b585ee8144f9cf99360cdcc3ec9ed2f9853c1df6a61a9b15a02561255c32c7cbfb933df82c820bd208d49a3ed7018680574c8f3513ad030cd829d7a
6
+ metadata.gz: a122a03ee7e6f6ea451349ec82e7a99d12f535afc348b43ba26689689f26f6a7a5dc0b39a0ced0f34fc73ed55cba8b33b60904a06ff907f55bc8d2279f30fdf9
7
+ data.tar.gz: 9bb40547009039415d9a1db782b57e25a8e0ced584492b53b460529007169529948d2e3b5a6cc31a2ec7da3272773d51b5895cffd91735cbb1229ebb300423fd
data/lib/lite_enum.rb CHANGED
@@ -55,7 +55,7 @@ end
55
55
  begin
56
56
  require 'simple_form'
57
57
  require 'simple_form/version'
58
- rescue
58
+ rescue LoadError
59
59
  end
60
60
 
61
61
  if defined?(SimpleForm) && Gem::Version.new(SimpleForm::VERSION) >= Gem::Version.new('3.1.0')
data/lite_enum.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
  # Describe your gem and declare its dependencies:
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'lite_enum'
6
- s.version = '0.0.1'
6
+ s.version = '0.0.2'
7
7
  s.required_ruby_version = Gem::Requirement.new('>= 2.0.0')
8
8
  s.authors = ['Adam Becker']
9
9
  s.summary = 'Lightweight Enum class'
@@ -14,7 +14,5 @@ Gem::Specification.new do |s|
14
14
  s.homepage = 'http://github.com/dobtco/lite_enum'
15
15
 
16
16
  s.add_dependency 'activesupport'
17
-
18
17
  s.add_development_dependency 'rspec-rails', '3.1.0'
19
- s.add_development_dependency 'simple_form', '3.1.0'
20
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite_enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.1.0
41
- - !ruby/object:Gem::Dependency
42
- name: simple_form
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '='
46
- - !ruby/object:Gem::Version
47
- version: 3.1.0
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '='
53
- - !ruby/object:Gem::Version
54
- version: 3.1.0
55
41
  description:
56
42
  email: adam@dobt.co
57
43
  executables: []