scms 2.0.5 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/scms/version.rb +1 -1
  3. data/lib/scms.rb +3 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 609c59402344d9305ba7e76db8552d4806ba317c
4
- data.tar.gz: 12a2b3db3a156fc520f61ca422e9d6792b1534d4
3
+ metadata.gz: 1e7ccb2671e3b6dae0941e59b5f8dde76772fe37
4
+ data.tar.gz: 3a4064e03c9e7800c8deeeef06b7ea44ddbcef9e
5
5
  SHA512:
6
- metadata.gz: 535c525277e5930d81705dfbbce442878f54ac80ec2bbe39e722779440a42682f409fa5f48e6fb5982b43527eabf0f29b696109587b8ec5a2f49c84beaadbdea
7
- data.tar.gz: 3f19d0ef09e134a84015247633634f89a0129e42562ffedb075b6544d68817308718bd07daf7a452509caef24fc9f4cef8a01da3704aabc5dfbd9df8c025fb3d
6
+ metadata.gz: 2e9a22729250e2503ec2b87cb9e737813253dfa4d1d850ab9dc0bb16afdf5834509a0f0d38502f0f553e593afbc9b4a72d5136080bd8fcd26e4aeca1d0331c0e
7
+ data.tar.gz: 96a9668bae63606e8c0bcd6e71be11ead08c96bb9aeffae3d296075a4ff71381337bbc2ecae08404b12c88152b2b479e8d981db5083517df993c8a588bc1ef28
data/lib/scms/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scms
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
3
3
  end
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.writelog("Empty file: #{viewpath}")
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.5
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-16 00:00:00.000000000 Z
11
+ date: 2013-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cprobert-s3sync