big_resources 0.1.1 → 0.1.2

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
- SHA1:
3
- metadata.gz: c238f4bf3d0d3ab599547b0943cce0eda0f722e0
4
- data.tar.gz: 2c9e5de1cbf0e797effa55d4270b871d5a1005d5
2
+ SHA256:
3
+ metadata.gz: c2262c80b486eea2e0621e56211242574e7ede791061130c74e859b9062cfda8
4
+ data.tar.gz: 7811ebcfa9861e7f40a0df71a08f8fb6e4dfb639fa39d75ffa60c34c6ecef561
5
5
  SHA512:
6
- metadata.gz: 70afd96a76a9ccbd68b67258884ddce0060416c31f903bed4a2091d3f80a144e64fb1a3e2e8a38d26fdb3b304b50d425c8ac75dc5a2d8f03b9843a275204884e
7
- data.tar.gz: fd5468bd300ff793bdeb9145be3fa1bb4ce2252627192d0b5c150e43880ed4058dad44ba640b073da85eeaf5826659435f9a856e71b09ae16f3673bc4db33a83
6
+ metadata.gz: 5c1a44bb031b0a8d52d87b7afb68adfffab76101be0ac62240175b194e5cd25ef758e2092c7e0959026770ea0dce0fbdf95112923cb07038be240bf18769024b
7
+ data.tar.gz: cd091d56bb7f5da32fb85e2d6b188212c6e8d02225420156f688e95575897c10e5d4b070d4875a2547e31c928713e37116c6f7b3742498ef10ad252aae783b56
data/Gemfile.lock CHANGED
@@ -112,4 +112,4 @@ DEPENDENCIES
112
112
  rubocop (~> 0.50.0)
113
113
 
114
114
  BUNDLED WITH
115
- 1.16.1
115
+ 1.16.4
@@ -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
@@ -1,3 +1,3 @@
1
1
  module BigResources
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  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.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: 2018-07-16 00:00:00.000000000 Z
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
- rubyforge_project:
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.