lotus-model 0.1.1 → 0.1.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: d6d28ccedb8722497c957e6b3faf8c8fe885d2cf
4
- data.tar.gz: 5eae2a84ec0ccd7be8dfcd3ea1771f99822b437c
3
+ metadata.gz: 4f8aeb016a4308c564ac6a9da4d20dad73669e64
4
+ data.tar.gz: 8a63dbd06ddc13e1c78db5c9961e26a2ace6006b
5
5
  SHA512:
6
- metadata.gz: 3354751cde9176e5aae2e4686450f514a5a419afd5dc1e2bd8d345ad551e3728b6712311e7ea297bbb082f7b9b100ad7011a9ad386e416d42210dc6c6970d018
7
- data.tar.gz: d9fb84225ab7d354f7bd99d3fdcf9c6ad23d7b07f20eeabb68d95e32fa0e937aceb86a1c72287210b402b41e348b6d208a807600cc24964ce22451b19cded59c
6
+ metadata.gz: 16812c63f5ae325e6be21362f00a37aa9e926356119ffafbb6e76823f342db5f18b5a9d1a6a8d4d302045b6c2c72d64e5fa167fda344823664eb056b52efa2e5
7
+ data.tar.gz: dea5481126a0c5104d68335cfe294199c7183f2ba30209e173184d00d490c98bd567d9057f790c2e336cba4baf9da66648c13cd84310c9b9da433195ea28ef04
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## v0.1.2
2
+ ### Jun 26, 2014
3
+
4
+ 27eef39 2014-06-26 **Luca Guidi** Bump version to 0.1.2
5
+
6
+ afc33eb 2014-06-24 **Stanislav Spiridonov** Fix Coercions require
7
+
8
+ f5778e4 2014-05-22 **Krzysztof Zalewski** Entity defines #id accessor by default
9
+
1
10
  ## v0.1.1
2
11
  ### Jun 23, 2014
3
12
 
data/lib/lotus/entity.rb CHANGED
@@ -72,6 +72,7 @@ module Lotus
72
72
  # end
73
73
  def self.included(base)
74
74
  base.extend ClassMethods
75
+ base.send :attr_accessor, :id
75
76
  end
76
77
 
77
78
  module ClassMethods
@@ -1,5 +1,6 @@
1
1
  require 'lotus/model/mapping/collection'
2
2
  require 'lotus/model/mapping/coercer'
3
+ require 'lotus/model/mapping/coercions'
3
4
 
4
5
  module Lotus
5
6
  module Model
@@ -3,6 +3,6 @@ module Lotus
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '0.1.1'
6
+ VERSION = '0.1.2'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lotus-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-23 00:00:00.000000000 Z
11
+ date: 2014-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lotus-utils