big_resources 0.1.1 → 0.1.2
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 +5 -5
- data/Gemfile.lock +1 -1
- data/lib/big_resources/util/image/file_scan_util.rb +15 -1
- data/lib/big_resources/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c2262c80b486eea2e0621e56211242574e7ede791061130c74e859b9062cfda8
|
4
|
+
data.tar.gz: 7811ebcfa9861e7f40a0df71a08f8fb6e4dfb639fa39d75ffa60c34c6ecef561
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c1a44bb031b0a8d52d87b7afb68adfffab76101be0ac62240175b194e5cd25ef758e2092c7e0959026770ea0dce0fbdf95112923cb07038be240bf18769024b
|
7
|
+
data.tar.gz: cd091d56bb7f5da32fb85e2d6b188212c6e8d02225420156f688e95575897c10e5d4b070d4875a2547e31c928713e37116c6f7b3742498ef10ad252aae783b56
|
data/Gemfile.lock
CHANGED
@@ -67,9 +67,16 @@ module BigResources
|
|
67
67
|
duplicate = []
|
68
68
|
dic.keys.select do | file_name_key |
|
69
69
|
if dic[file_name_key][:count] > 1
|
70
|
+
module_arr = []
|
71
|
+
dic[file_name_key][:path].each do | path |
|
72
|
+
module_name = self.get_path_module(path)
|
73
|
+
module_arr << module_name
|
74
|
+
end
|
75
|
+
|
70
76
|
duplicate << {:file_name => file_name_key,
|
71
77
|
:count => dic[file_name_key][:count],
|
72
|
-
:path => dic[file_name_key][:path]
|
78
|
+
:path => dic[file_name_key][:path],
|
79
|
+
:module => module_arr}
|
73
80
|
end
|
74
81
|
end
|
75
82
|
duplicate
|
@@ -110,5 +117,12 @@ module BigResources
|
|
110
117
|
def self.get_current_path(last_path,file_name)
|
111
118
|
"#{last_path}/#{file_name}"
|
112
119
|
end
|
120
|
+
|
121
|
+
def self.get_path_module(file_path)
|
122
|
+
path = file_path.split('/Pods/')
|
123
|
+
return 'main' unless path[0] != file_path
|
124
|
+
module_name = path[1].split('/')[0]
|
125
|
+
module_name
|
126
|
+
end
|
113
127
|
end
|
114
128
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: big_resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serena_R
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
@@ -239,8 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
|
-
|
243
|
-
rubygems_version: 2.6.13
|
242
|
+
rubygems_version: 3.0.1
|
244
243
|
signing_key:
|
245
244
|
specification_version: 4
|
246
245
|
summary: A tools collection of iOS projects.
|