scms 4.4.6 → 4.4.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjAzZGRkODU1Y2RiMjMzYmRkZmJkZjZiM2JiOWFhN2U5MjY2ZTdjZg==
4
+ MGI5MGIyN2ZiNDRjMDJhNzA0Y2ViN2FiOTk3ZTRkNmQyMTE1ZjdjZQ==
5
5
  data.tar.gz: !binary |-
6
- MGU2OTA4ZjA1Y2ZkNzBkNzVkOWY3Njg1ZGZkZDhiZTI5Zjk1OWUxYQ==
6
+ OWMzYzg5NDllOTBkMWE0NWYwYzE0ZGNiMTIxYmYzYWQzZjA0ODNmNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzIxZmRkOTJiMzVlNGI1YmQ2YzQ1ZTk1NDc5YzliOWNlYjQyYjA4ZjIyMDVm
10
- M2Q4ZWQ0YjBmZTZiZmIxNDAyYTk2ZjU5ZjQ5NjAxOTQ2NjhhNjI3ZDNhN2Qw
11
- MDhhMGI4ZDFjZGRjMjczZTFiNzg3ZTdlNzU4MDFhZDViM2FjZTk=
9
+ NTRmMjQ0OTRlZTg5NzI4ZWY3MGZiNTBiODk0YzE0NmEyMTY4NjIwM2UwYWVk
10
+ NTE3MDQxZGY2M2ZiYWQ3YzUwNTE1MjE0OWJmYWRmODkwZjAyOWU5NDFhNjY2
11
+ MjNhNzhkMjI3YjFjNzA3ODRjMmVlMDBmMzg5ODdkNjU1NWU5ZmI=
12
12
  data.tar.gz: !binary |-
13
- NjY2MjM0ZWE3ZTJlZDBjYWQ0Njg4YmFiNTVlYTJiN2M0YTYyNjk4YTljYTRk
14
- YjIxYjMxYWE5NDMzYTBkMTg3MzdlMTkyNmMyOTY1MTMyYzU5YzI3NTU5YWRk
15
- NzhjYTRiMTVlODI0NGRlYTk5ZjhiMTE4YjU3NmZjMTViZTJlN2Y=
13
+ NmVmOThiODAyZTFiZTAxNjEzYzcwMDNjM2NkODlmZmQwMGNlOGQ0MWQzYTlm
14
+ NjlmZWE3YzAwODUwMmJhYmY0Mzg2NjkyMzhiZDQ2ODY2ZjgyOGU2NTBmMmJl
15
+ ZDYwNGRmMjYzZDIyNjVlY2JjZjNkMGRhODIzNzZiMjNkZDY4MWY=
@@ -2,6 +2,7 @@ module ScmsBundler
2
2
  require 'fileutils'
3
3
  require 'packr'
4
4
  require 'scms/scms-bundler.rb'
5
+ require 'zlib'
5
6
 
6
7
  def ScmsBundler.run()
7
8
  Dir.glob('**/*.bundle').each do|bundle|
@@ -49,6 +50,19 @@ module ScmsBundler
49
50
  begin
50
51
  File.open(out, 'w') {|f| f.write(content) }
51
52
  ScmsUtils.successLog("Created: #{out}")
53
+
54
+ extn = File.extname out # => ".mp4"
55
+ name = File.basename out, extn # => "xyz"
56
+ path = File.dirname out # => "/path/to"
57
+
58
+ gzip_out = "#{path}#{name}.gz#{extn}"
59
+ Zlib::GzipWriter.open("#{out}.gz") do |gz|
60
+ File.open(out).each do |line|
61
+ gz.write line
62
+ end
63
+ gz.close
64
+ end
65
+ puts "Created gzip: #{gzip_out}"
52
66
  rescue Exception=>e
53
67
  ScmsUtils.errLog("Error creating bundle: #{out}")
54
68
  ScmsUtils.errLog(e.message)
@@ -1,3 +1,3 @@
1
1
  module Scms
2
- VERSION = "4.4.6"
2
+ VERSION = "4.4.8"
3
3
  end
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: 4.4.6
4
+ version: 4.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Courtenay Probert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-24 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cprobert-s3sync