roger_themes 0.7.0 → 0.8.0

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: 8c0420e45b64eb7bb1249b9a715f37c8a75a6220
4
- data.tar.gz: c62ac39fb65807afa30fd5c888ed3bce288aa9ca
3
+ metadata.gz: a999370c36dd7e266783782c0856d182d6c04a7c
4
+ data.tar.gz: 134a4a12213cbd3b8f09ee9968b49b5aa1307f1b
5
5
  SHA512:
6
- metadata.gz: c46652f12dc3c238a624c8980b1d041d3e473095750bf03fecd233da66b283f4b20a8ca861e98814b07d688d1f78bb60b7e5d6ee974f59f0f98cfeb4448e8fd9
7
- data.tar.gz: 800c20999641f4c6027c0987ddd6a7d5a382655069495d7f3d383fbb247f5243c1e299aedeac5c96b5ea93f9c0f53a8f676fd3c0321d0ea4bd0eda051dcef4c2
6
+ metadata.gz: 553b4ae6b884748826faadc28a16f416c3aaea20feb449573f6546996451f763dfd5b16563acbb2ca1e7579ea8a189d8956684374183e17fabd3aa1d1d85c523
7
+ data.tar.gz: adb861e3c673746e42480ae87620db4fee91d8d19c3623f60316185b15e2fd17dd3eb7c9943da4718f5a08cb7400fb64f647d0658b7634f15d943f17e2becdd9
data/README.md CHANGED
@@ -48,6 +48,9 @@ mockup.release do |r|
48
48
 
49
49
  ## Changelog
50
50
 
51
+ ### v0.8.0
52
+ * Make XC zip finalizer contents configurable
53
+
51
54
  ### v0.7.0
52
55
  * Allow config of shard folders in manifest files
53
56
  * Allow disabling of shared templates in manifest files
@@ -1,3 +1,3 @@
1
1
  module RogerThemes
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -8,6 +8,7 @@ module RogerThemes
8
8
  {
9
9
  :prefix => nil,
10
10
  :zip => "zip",
11
+ :sources => ['rel', 'js'],
11
12
  :source_path => release.build_path + "themes/*",
12
13
  :target_path => release.build_path + "themes/zips"
13
14
  }
@@ -40,7 +41,8 @@ module RogerThemes
40
41
  end
41
42
 
42
43
  ::Dir.chdir(path) do
43
- `#{options[:zip]} -r -9 "#{zipdir + name}.zip" rel js`
44
+ zipfiles = options[:sources].map { |a| Shellwords.escape(a) }.join(' ')
45
+ `#{options[:zip]} -r -9 "#{zipdir + name}.zip" #{zipfiles}`
44
46
  end
45
47
 
46
48
  release.log(self, "Creating zip for custom #{name}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roger_themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin van der Graaf
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-02 00:00:00.000000000 Z
12
+ date: 2017-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: roger