bootsetting 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bootsetting/version.rb +1 -1
- data/lib/resourcesCopy.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fa77742934b7e7cbeba9a20761a574995c8a019
|
4
|
+
data.tar.gz: ea05fc20c020953168fa8af69a5da54b9a97df06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba61bfd1e8dfe91d3f2ad215c1554460d2c12902727eedb841e280b71181200d770836eb11970677c1286439dc0554227a836cad5cd8583a01b6f76d1734c15e
|
7
|
+
data.tar.gz: ed9bb6aa628c0bbad9cd9f152464c16bb9aa2dce9dc30bb4e5a7f382450b721069e67ad9f1fb654a69c04bd88d15e3112c642d50e9f9e85ce4c47cb7f3e0438d
|
data/lib/bootsetting/version.rb
CHANGED
data/lib/resourcesCopy.rb
CHANGED
@@ -4,9 +4,6 @@ require 'FileUtils'
|
|
4
4
|
class CopyHelper
|
5
5
|
# desc "Copying files from acgn_ios_plugin to acgn_ios_plugin_pod folder"
|
6
6
|
|
7
|
-
# specify files which should not be copied
|
8
|
-
dont_copy = ['.xcassets','.bundle']
|
9
|
-
|
10
7
|
# desc "Instance"
|
11
8
|
def initialize()
|
12
9
|
end
|
@@ -19,6 +16,8 @@ class CopyHelper
|
|
19
16
|
|
20
17
|
# desc "public copy"
|
21
18
|
def copy(from_dir, to_dir)
|
19
|
+
# specify files which should not be copied
|
20
|
+
dont_copy = ['.xcassets','.bundle']
|
22
21
|
Dir[from_dir + "/**/*.{xib,storyboard,xcassets,bundle,jsbundle}"].each do |old_dest|
|
23
22
|
new_dest = old_dest.gsub(from_dir, to_dir)
|
24
23
|
should_not_copy = dont_copy.any? { |s| new_dest.end_with?(s) }
|