alephant-publisher 0.6.1 → 0.6.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: aa40ce959677b14f7a5c135013a4deac722a26a7
4
- data.tar.gz: 4eaf4ef0c0d96ba7829bdbb8ddaf9318b71d8d9d
3
+ metadata.gz: ffe970223b60e2e7d4ad5cd3a6248749fd5a8545
4
+ data.tar.gz: 4a7fa0268125646611f0b8e2d3a7b5f8c8148285
5
5
  SHA512:
6
- metadata.gz: 3b1868ff97a51e4157dbdf3e4f82c786292c13b8911e76587e22ca8d01eafdd6d7abd4ac6057e3bac937db6a10d76f1dd1b38b6023919d1c8ca0af4043fc1abd
7
- data.tar.gz: 13ffe1f81e279b4567fe016a3fbb5d59be49fe0fe7f1a7760c477c3494b8e43644d08bf7477f06c38b47b1a1d1fd9ef1320c3669cd0dc35dec1e524213f12fb8
6
+ metadata.gz: 7e80be129bb07e65a7cb717ccbf3bdb804202c2198eb79ee5e626be0650306e4b1d5e9f8e833389bfe63d322dae1c7dc53e230c90138e76ac7a074b3b0195078
7
+ data.tar.gz: 30dc49da71dd43d62669fd9f218b425d76872534ed5dc767e55a465b5db00ab926b8d2c52a7536d8cc0a3724e65c11768f0f98ff1fbeeaeebad21a0e6bf3f3e7
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Publisher
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
@@ -31,7 +31,7 @@ module Alephant::Publisher::Views
31
31
  attr_accessor :base_path
32
32
 
33
33
  def inherited(subclass)
34
- current_dir = File.dirname(caller.first[/^[^:]+/])
34
+ current_dir = File.dirname(caller.first[/\/[^:]+/])
35
35
  dir_path = Pathname.new(File.join(current_dir,'..')).realdirpath
36
36
 
37
37
  subclass.base_path = dir_path.to_s
@@ -37,7 +37,7 @@ describe Alephant::Publisher::ViewMapper do
37
37
  it "calls create_renderer for each template found" do
38
38
  expect(
39
39
  subject.new(component_id, path).generate(data).size
40
- ).to eq(2)
40
+ ).to eq(3)
41
41
  end
42
42
  end
43
43
  end
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.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Integralist