scms 1.9.2 → 1.9.3

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: ce31ecc9d9369edd7858fd14b68725d9a6b2199b
4
- data.tar.gz: a776a26cbdb502cfb100e10332b967bd14d60103
3
+ metadata.gz: 7d87cf0e9c7ace8edfe9ab7b3b29efe5190b3949
4
+ data.tar.gz: 8154a52768916c8c0dea448fa7026f8ed9d13677
5
5
  SHA512:
6
- metadata.gz: 17eecea46db52b5687577fed5ee1353429c88abdef6fd5d27e5ef461ee97387e08b785ca8ebeb5afd1538d89461df6206c4d8bebcdb29a9e519dc2190d41a562
7
- data.tar.gz: 958feec11241c8440ef0f639420df3e3f4a55c2b098493efc93a1c6063a11cc0ffbe9621d19409d95b3cb062932a498bf67fb58014fbe78516fcf98c70b72d2b
6
+ metadata.gz: f412b3720d06c6ed7454a28221b6ca54f88a87f7a23e0e8db79423f699c0dbcdf33139c31dc50919100faeefb2cc2654763b7de87dba8b1c8a368906c21ffca1
7
+ data.tar.gz: f1792b97b4980811586dddbeae6c890aed9197d14e427297a54a1976babeca11724cd712813ac7c3823cba555824dd343f23da33d0119fa6950861753b2896cb
data/build commands.txt CHANGED
@@ -1,3 +1,3 @@
1
1
  rake install
2
2
  gem build Scms.gemspec
3
- gem push Scms-1.7.9.gem
3
+ gem push .\pkg\Scms-1.7.9.gem
data/lib/scms.rb CHANGED
@@ -243,12 +243,10 @@ module Scms
243
243
  end
244
244
  scriptname = File.join("scripts", "#{name}-v#{scriptversion}.js") #Legasy name filename from root and version
245
245
  scriptname = File.join(option[1]["generate"]) if option[1]["generate"] != nil #just use the generate
246
- scriptsdir = File.dirname(scriptname)
247
- Dir.mkdir(scriptsdir, 755) unless File::directory?(scriptsdir)
248
-
246
+ scripts[name] = scriptname
249
247
  ScmsUtils.successLog("#{scriptname}")
248
+
250
249
  content = ""
251
-
252
250
  assetList = ""
253
251
  bundle = option[1]["bundle"]
254
252
  bundle.each do |asset|
@@ -262,7 +260,8 @@ module Scms
262
260
  end
263
261
  ScmsUtils.log("#{assetList}")
264
262
 
265
- scripts[name] = scriptname
263
+ scriptsdir = File.dirname(scriptname)
264
+ Dir.mkdir(scriptsdir, 755) unless File::directory?(scriptsdir)
266
265
  File.open(scriptname, 'w') {|f| f.write(content) }
267
266
  Scms.packr(scriptname) unless /(-min)|(\.min)/.match(scriptname)
268
267
  end
@@ -286,12 +285,10 @@ module Scms
286
285
  end
287
286
  stylesheetname = File.join("stylesheets", "#{name}-v#{stylesheetversion}.css") #Legasy name filename from root and version
288
287
  stylesheetname = File.join(option[1]["generate"]) if option[1]["generate"] != nil #just use the generate
289
- stylesheetdir = File.dirname(stylesheetname)
290
- Dir.mkdir(stylesheetdir, 755) unless File::directory?(stylesheetdir)
291
-
288
+ stylesheets[name] = stylesheetname
292
289
  ScmsUtils.successLog("#{stylesheetname}")
290
+
293
291
  content = ""
294
-
295
292
  bundle = option[1]["bundle"]
296
293
  assetList = ""
297
294
  bundle.each do |asset|
@@ -304,8 +301,9 @@ module Scms
304
301
  end
305
302
  end
306
303
  ScmsUtils.log( "#{assetList}" )
307
-
308
- stylesheets[name] = stylesheetname
304
+
305
+ stylesheetdir = File.dirname(stylesheetname)
306
+ Dir.mkdir(stylesheetdir, 755) unless File::directory?(stylesheetdir)
309
307
  File.open(stylesheetname, 'w') {|f| f.write(content) }
310
308
  end
311
309
  end
data/lib/scms/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scms
2
- VERSION = "1.9.2"
2
+ VERSION = "1.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Courtenay Probert