alephant-preview 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/preview/server.rb +1 -1
- data/lib/alephant/preview/version.rb +1 -1
- 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: be62fc3657a13b7460b8ff88f09148099524b8b4
|
4
|
+
data.tar.gz: 15f516356db561a7cc5c6c155437e59fb7d1ef29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 020f2906ac8b16194bd0beec6869c666114423c2701fb219645510110600a203515578d562c266c8a69355760cb3a2fdc9fec36af8ade3cfd77ce5c22a298eec
|
7
|
+
data.tar.gz: 53d2024c19cd6f8fdfadc594ebd9faf9aeb3811c752dd37763182c56e7a75db53b525aabda2dcb47928ea261e7e0655757cc938fb4ba21992cf797e6289cf061
|
@@ -39,7 +39,7 @@ module Alephant
|
|
39
39
|
|
40
40
|
def find_id_from_template(template)
|
41
41
|
files = Dir.glob(BASE_LOCATION + '/**/models/*')
|
42
|
-
file = files.select! { |file| file.include? template }.pop
|
42
|
+
file = files.select! { |file| file.include? "/#{template}.rb" }.pop
|
43
43
|
result = /#{BASE_LOCATION}\/(\w+)/.match(file)
|
44
44
|
result[1]
|
45
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alephant-preview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Kenny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|