scms 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scms/version.rb +1 -1
- data/lib/scms.rb +3 -3
- 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: 1e7ccb2671e3b6dae0941e59b5f8dde76772fe37
|
4
|
+
data.tar.gz: 3a4064e03c9e7800c8deeeef06b7ea44ddbcef9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e9a22729250e2503ec2b87cb9e737813253dfa4d1d850ab9dc0bb16afdf5834509a0f0d38502f0f553e593afbc9b4a72d5136080bd8fcd26e4aeca1d0331c0e
|
7
|
+
data.tar.gz: 96a9668bae63606e8c0bcd6e71be11ead08c96bb9aeffae3d296075a4ff71381337bbc2ecae08404b12c88152b2b479e8d981db5083517df993c8a588bc1ef28
|
data/lib/scms/version.rb
CHANGED
data/lib/scms.rb
CHANGED
@@ -158,7 +158,7 @@ module Scms
|
|
158
158
|
views[view[0]] = Scms.parsetemplate(viewSnippet, viewmodel)
|
159
159
|
end
|
160
160
|
else
|
161
|
-
ScmsUtils.
|
161
|
+
ScmsUtils.log("Empty view: #{view[1]}")
|
162
162
|
end
|
163
163
|
else
|
164
164
|
ScmsUtils.errLog("View not found: #{view[0]} - #{view[1]} [#{viewpath}]")
|
@@ -198,8 +198,8 @@ module Scms
|
|
198
198
|
Dir.mkdir(pubsubdir, 755) unless File::directory?(pubsubdir)
|
199
199
|
|
200
200
|
erbtemplate = File.read(erb)
|
201
|
-
erbtemplate = erbtemplate.gsub('data.','page.')#lagasy fix
|
202
|
-
File.open(erb, 'w') {|f| f.write(erbtemplate) }#lagasy fix
|
201
|
+
#erbtemplate = erbtemplate.gsub('data.','page.')#lagasy fix
|
202
|
+
#File.open(erb, 'w') {|f| f.write(erbtemplate) }#lagasy fix
|
203
203
|
|
204
204
|
html = Scms.parsetemplate(erbtemplate, pagemodel)
|
205
205
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Courtenay Probert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cprobert-s3sync
|