representable 2.4.0.rc1 → 2.4.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +3 -0
- data/Gemfile +1 -1
- data/lib/representable/cached.rb +5 -5
- data/lib/representable/version.rb +1 -1
- data/representable.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12b358b0408f681050cffbf59f725d7e30258a09
|
4
|
+
data.tar.gz: dbed48942320f3fe55ea7860afeb18460c31bd95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5831da653f955596c08149596675ca62a0238ac6dd59c8f1840e8f8fbd792542a1d1324c78518fd97c176c9ef09640317ad9f618e9417a09348003534b83e3fb
|
7
|
+
data.tar.gz: 3da85e9e4109e885806e6f8903a85c946bb025f2023183aaf8409956bcb631099fe2f447910f45a2e6d6c7f876964b277be6f943e395f9f25c3c3561435e2d31
|
data/CHANGES.md
CHANGED
@@ -44,6 +44,9 @@ and it suddenly is super simple to understand
|
|
44
44
|
* Removed `Binding@represented` (which was never public anyway). Use `Binding#represented`.
|
45
45
|
* Changed signature: `Binding#get(represented:)`. In now needs a hash `{represented: ..}`.
|
46
46
|
|
47
|
+
# 2.4.0.rc2
|
48
|
+
|
49
|
+
* Use Declarative's `::build_definition` interface instead of overwriting `::property`.
|
47
50
|
|
48
51
|
# 2.3.0
|
49
52
|
|
data/Gemfile
CHANGED
data/lib/representable/cached.rb
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
module Representable
|
2
2
|
# Using this module only makes sense with Decorator representers.
|
3
3
|
module Cached
|
4
|
-
module
|
5
|
-
def
|
6
|
-
super.tap do |
|
4
|
+
module BuildDefinition
|
5
|
+
def build_definition(*)
|
6
|
+
super.tap do |definition|
|
7
7
|
binding_builder = format_engine::Binding
|
8
8
|
|
9
|
-
map << binding_builder.build(
|
9
|
+
map << binding_builder.build(definition)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
def self.included(includer)
|
15
|
-
includer.extend(
|
15
|
+
includer.extend(BuildDefinition)
|
16
16
|
end
|
17
17
|
|
18
18
|
def representable_map(*)
|
data/representable.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.license = "MIT"
|
21
21
|
|
22
22
|
s.add_dependency "uber", "~> 0.0.15"
|
23
|
-
s.add_dependency "declarative", "~> 0.0.
|
23
|
+
s.add_dependency "declarative", "~> 0.0.5"
|
24
24
|
|
25
25
|
s.add_development_dependency "rake"
|
26
26
|
s.add_development_dependency "test_xml", "0.1.6"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: representable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.0.
|
4
|
+
version: 2.4.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uber
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.5
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|