transient-model 0.1.0 → 0.1.1

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: 4834b578d0f364eb5db665ec3801d3d1601cca30
4
- data.tar.gz: 2909d3c25af1fb60f5ddeaa00f3c9c3986edd9c7
3
+ metadata.gz: db8d96500c9b9f1a68e15b42f3dfd816e9c0f5bf
4
+ data.tar.gz: d6121d74332ed2d2866197fb48a86ecb13c62342
5
5
  SHA512:
6
- metadata.gz: 6b49fbbc0fc4d60330b49477f2a78fe42f0f927292c69ea8c16041c0d4616c17d84b9dab007539c2725f5c6d12891d3960ca5d740f2de34d0811b14890aaece8
7
- data.tar.gz: 0206f69d925d1ecf5baa99532300a6ab1f9c712f213144cd8f8b03d26df35a14498bbb89d71739d825c15344bddaa2f616425575b7a425325db8285fd9726df1
6
+ metadata.gz: 1b357dbd4bb009e55cdcbd3d1860203d6463569b65a6b50778cc2f05e81f846b7c1fa9a38eda53f6fec565bed6f928c4e4be108cfba046d04ccb884063554536
7
+ data.tar.gz: 9203299867caf8ed7e88ab92d6efe162ae38b96dfe5e2ef21b2745c2e03f19e303a07d5fa3c828dad8b710a79ca79c2662c3920c92c588265c515a028f11f951
@@ -40,7 +40,7 @@ module TransientModel
40
40
  ##
41
41
  def define_field(name, options = {})
42
42
  field = field_for(name, options)
43
- fields[name.to_sym] = field
43
+ self.fields = self.fields.merge(name.to_sym => field)
44
44
  create_accessors name, options
45
45
  field
46
46
  end
@@ -1,5 +1,5 @@
1
1
  # lib/transient_model/version.rb
2
2
 
3
3
  module TransientModel
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transient-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JD Hendrickson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler