alephant-publisher 0.0.4 → 0.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5881a6177001bcf344015dfaa3ed0fec651605cd
4
- data.tar.gz: c198621e6599350f34bee50239d4c640dca61ab9
3
+ metadata.gz: 35bd92123f4d88d37f98565eada8b900944314f8
4
+ data.tar.gz: 6a878f67cbc84dc067ead0e14bdd7711451bf9b3
5
5
  SHA512:
6
- metadata.gz: 00bcbb7db028005f82144cc75bfc2d69de224fbb8829dfbb95188351dcd2fa4ab66e4900c2469ac47043fee2fecf200958403231402effcd2b6caf231be033f2
7
- data.tar.gz: 95136189089c0f6732944ee609f9744c8e56efdcd7d03a06bffdebd46063e61a2a83391897d53f4b75e520bdf1070b05ab9041d74f7c8db9b135d3d456a853cd
6
+ metadata.gz: bbae7c11ceff43c6e67a4a1d9e8180783ea7152f76b48cebf6f706632bb412a0963005876e664b16f43cb4b3ddc5afcdd1ce7365de2b394453f824f526a566db
7
+ data.tar.gz: ba18a78fa958da6e2d9cdb5313033f02a56ef7eee8ea999ad2814772686476ba900994cdbe49f18e8d9bdfdf233550ca6ed2a97f936e96c7c47ea992effc89f6
@@ -41,7 +41,7 @@ module Alephant
41
41
  )
42
42
 
43
43
  cache.put(location, content)
44
- lookup.batch_write(id, options, location)
44
+ lookup.batch_write(options, location, id)
45
45
  end
46
46
 
47
47
  def location_for(component_id, options_hash, version = nil)
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Publisher
3
- VERSION = "0.0.4"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
data/spec/writer_spec.rb CHANGED
@@ -51,9 +51,9 @@ describe Alephant::Publisher::Writer do
51
51
  Alephant::Lookup::LookupHelper.any_instance
52
52
  .should_receive(:batch_write)
53
53
  .with(
54
- 'component_id',
55
54
  options,
56
- 'renderer_id/component_id/42de5e5c6f74b9fe4d956704a6d9e1c7/0'
55
+ 'renderer_id/component_id/42de5e5c6f74b9fe4d956704a6d9e1c7/0',
56
+ 'component_id'
57
57
  )
58
58
 
59
59
  Alephant::Lookup::LookupHelper.any_instance
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Integralist