alephant 0.1.1-java → 0.1.2-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/alephant/models/parser.rb +1 -1
- data/lib/alephant/models/writer.rb +2 -2
- data/lib/alephant/version.rb +1 -1
- data/spec/writer_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b1da928aad5de8cf8dd8b35e18dc0bd0ade980b
|
4
|
+
data.tar.gz: cc8bb2abf9b9626eef58d1e9ca5ea60f76f20db9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67eaebb9049850eb6a770c32044964a8a0dd6919fb462fa8ecde3b0fb88cc410fc23381eef25558061911809634f9520df3b9a2cd9ca48119bf06f92db8930d9
|
7
|
+
data.tar.gz: a7bc6d12dcbaa367ac5ef5b83bdd189d645acd01ed6fe4d488da32b83724e36e1767467db1b37e68ce6cb3c83f7622af300b825ffe01a6babe974e41782a28bf
|
@@ -36,8 +36,8 @@ module Alephant
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def location_for(component_id, version = nil)
|
39
|
-
base_name = "#{@renderer_id}
|
40
|
-
version ? "#{base_name}
|
39
|
+
base_name = "#{@renderer_id}/#{component_id}"
|
40
|
+
version ? "#{base_name}/#{version}" : base_name
|
41
41
|
end
|
42
42
|
|
43
43
|
end
|
data/lib/alephant/version.rb
CHANGED
data/spec/writer_spec.rb
CHANGED
@@ -35,7 +35,7 @@ describe Alephant::Writer do
|
|
35
35
|
.stub(:initialize)
|
36
36
|
Alephant::Lookup::Lookup.any_instance
|
37
37
|
.should_receive(:write)
|
38
|
-
.with(options, '
|
38
|
+
.with(options, 'renderer_id/component_id/0')
|
39
39
|
|
40
40
|
subject.write(data, 0)
|
41
41
|
end
|
@@ -44,7 +44,7 @@ describe Alephant::Writer do
|
|
44
44
|
Alephant::Lookup::Lookup.any_instance.stub(:initialize)
|
45
45
|
Alephant::Lookup::Lookup.any_instance.stub(:write)
|
46
46
|
Alephant::Cache.any_instance
|
47
|
-
.should_receive(:put).with('
|
47
|
+
.should_receive(:put).with('renderer_id/component_id/0', 'content')
|
48
48
|
|
49
49
|
subject.write({}, 0)
|
50
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alephant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Robert Kenny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|