simple_form_object 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c37b0286cc72f6c39614929b2fd7e2dd3016e6d0
4
- data.tar.gz: 60680fc3ecbbd4e32b4b58353c214f2458b5ab7d
3
+ metadata.gz: a69baf840092290a6fa0f0a87af33bbab2755dac
4
+ data.tar.gz: a751158509221fbd5a1dd3b360d7302da29739fa
5
5
  SHA512:
6
- metadata.gz: 2080be5c6f844ea3af7c85e2aac7fae1d5ad0e6a9c1ae36209dcf14a38a5eccfd7d3111ec97ee985b12202fb611d12a331a97a0d4181df79e87805e5ae516561
7
- data.tar.gz: a9932b96ff317b5c44d771be3d793c68d970395dc9b04e2dffa5c65674dea7bc55a7cccb3afe295da3901208341597b72036d74cf8dda64b96b7b7abdad091c2
6
+ metadata.gz: d81bc3300e0d973e84162f87264c29c6169375940d0e2f126a4a82a1504439dcde181b645075f1678de26bf3e1075caed2542aa081ad7e511f2afff1ffa06387
7
+ data.tar.gz: 7ec09e6a3d97b8ad39df15e2d42a22d38f9443502b7f1f34f203de29221e78151bd147bdd99916f9319b4a31d2a16fce73e8bc28bfb96a6d62a61922c340ceac
@@ -1,3 +1,3 @@
1
1
  module SimpleFormObject
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -23,7 +23,7 @@ module SimpleFormObject
23
23
  end
24
24
 
25
25
  def model_name
26
- ActiveModel::Name.new(self, nil, self.to_s.gsub(/Form^/, ''))
26
+ ActiveModel::Name.new(self, nil, self.to_s.gsub(/Form$/, ''))
27
27
  end
28
28
  end
29
29
 
data/spec/model_spec.rb CHANGED
@@ -97,7 +97,7 @@ describe 'including SimpleFormObject' do
97
97
  include SimpleFormObject
98
98
  end
99
99
 
100
- Klass
100
+ KlassForm
101
101
  end
102
102
 
103
103
  it 'should return an ActiveModel::Name' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_object
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
  - Leonard Garvey