big_resources 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +20 -18
- data/big_resources.gemspec +7 -2
- data/lib/big_resources/util/image/file_scan_util.rb +3 -3
- data/lib/big_resources/util/image/name_analyze_util.rb +2 -5
- data/lib/big_resources/version.rb +1 -1
- metadata +71 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c238f4bf3d0d3ab599547b0943cce0eda0f722e0
|
4
|
+
data.tar.gz: 2c9e5de1cbf0e797effa55d4270b871d5a1005d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70afd96a76a9ccbd68b67258884ddce0060416c31f903bed4a2091d3f80a144e64fb1a3e2e8a38d26fdb3b304b50d425c8ac75dc5a2d8f03b9843a275204884e
|
7
|
+
data.tar.gz: fd5468bd300ff793bdeb9145be3fa1bb4ce2252627192d0b5c150e43880ed4058dad44ba640b073da85eeaf5826659435f9a856e71b09ae16f3673bc4db33a83
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
big_resources (0.1.
|
4
|
+
big_resources (0.1.1)
|
5
|
+
chunky_png
|
6
|
+
cocoapods
|
7
|
+
colorize
|
8
|
+
gli (~> 2.16)
|
9
|
+
plist
|
5
10
|
|
6
11
|
GEM
|
7
12
|
remote: https://rubygems.org/
|
@@ -14,16 +19,14 @@ GEM
|
|
14
19
|
tzinfo (~> 1.1)
|
15
20
|
ast (2.4.0)
|
16
21
|
atomos (0.1.2)
|
17
|
-
big_stash (0.6.0)
|
18
|
-
gli (~> 2.16)
|
19
22
|
chunky_png (1.3.10)
|
20
23
|
claide (1.0.2)
|
21
|
-
cocoapods (1.
|
24
|
+
cocoapods (1.5.3)
|
22
25
|
activesupport (>= 4.0.2, < 5)
|
23
26
|
claide (>= 1.0.2, < 2.0)
|
24
|
-
cocoapods-core (= 1.
|
27
|
+
cocoapods-core (= 1.5.3)
|
25
28
|
cocoapods-deintegrate (>= 1.0.2, < 2.0)
|
26
|
-
cocoapods-downloader (>= 1.
|
29
|
+
cocoapods-downloader (>= 1.2.0, < 2.0)
|
27
30
|
cocoapods-plugins (>= 1.0.0, < 2.0)
|
28
31
|
cocoapods-search (>= 1.0.0, < 2.0)
|
29
32
|
cocoapods-stats (>= 1.0.0, < 2.0)
|
@@ -33,16 +36,16 @@ GEM
|
|
33
36
|
escape (~> 0.0.4)
|
34
37
|
fourflusher (~> 2.0.1)
|
35
38
|
gh_inspector (~> 1.0)
|
36
|
-
molinillo (~> 0.6.
|
39
|
+
molinillo (~> 0.6.5)
|
37
40
|
nap (~> 1.0)
|
38
41
|
ruby-macho (~> 1.1)
|
39
|
-
xcodeproj (>= 1.5.
|
40
|
-
cocoapods-core (1.
|
42
|
+
xcodeproj (>= 1.5.7, < 2.0)
|
43
|
+
cocoapods-core (1.5.3)
|
41
44
|
activesupport (>= 4.0.2, < 6)
|
42
45
|
fuzzy_match (~> 2.0.4)
|
43
46
|
nap (~> 1.0)
|
44
47
|
cocoapods-deintegrate (1.0.2)
|
45
|
-
cocoapods-downloader (1.1
|
48
|
+
cocoapods-downloader (1.2.1)
|
46
49
|
cocoapods-plugins (1.0.0)
|
47
50
|
nap
|
48
51
|
cocoapods-search (1.0.0)
|
@@ -63,14 +66,14 @@ GEM
|
|
63
66
|
concurrent-ruby (~> 1.0)
|
64
67
|
minitest (5.11.3)
|
65
68
|
molinillo (0.6.5)
|
66
|
-
nanaimo (0.2.
|
69
|
+
nanaimo (0.2.6)
|
67
70
|
nap (1.1.0)
|
68
71
|
netrc (0.11.0)
|
69
72
|
parallel (1.12.1)
|
70
|
-
parser (2.5.
|
73
|
+
parser (2.5.1.2)
|
71
74
|
ast (~> 2.4.0)
|
72
75
|
plist (3.4.0)
|
73
|
-
powerpack (0.1.
|
76
|
+
powerpack (0.1.2)
|
74
77
|
rainbow (2.2.2)
|
75
78
|
rake
|
76
79
|
rake (10.5.0)
|
@@ -81,25 +84,24 @@ GEM
|
|
81
84
|
rainbow (>= 2.2.2, < 3.0)
|
82
85
|
ruby-progressbar (~> 1.7)
|
83
86
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
84
|
-
ruby-macho (1.
|
87
|
+
ruby-macho (1.2.0)
|
85
88
|
ruby-progressbar (1.9.0)
|
86
89
|
thread_safe (0.3.6)
|
87
90
|
tzinfo (1.2.5)
|
88
91
|
thread_safe (~> 0.1)
|
89
|
-
unicode-display_width (1.
|
90
|
-
xcodeproj (1.5.
|
92
|
+
unicode-display_width (1.4.0)
|
93
|
+
xcodeproj (1.5.9)
|
91
94
|
CFPropertyList (>= 2.3.3, < 4.0)
|
92
95
|
atomos (~> 0.1.2)
|
93
96
|
claide (>= 1.0.2, < 2.0)
|
94
97
|
colored2 (~> 3.1)
|
95
|
-
nanaimo (~> 0.2.
|
98
|
+
nanaimo (~> 0.2.5)
|
96
99
|
|
97
100
|
PLATFORMS
|
98
101
|
ruby
|
99
102
|
|
100
103
|
DEPENDENCIES
|
101
104
|
big_resources!
|
102
|
-
big_stash (~> 0.1)
|
103
105
|
bundler (~> 1.16)
|
104
106
|
chunky_png
|
105
107
|
cocoapods
|
data/big_resources.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{A tools collection of iOS projects.}
|
13
13
|
spec.description = %q{A tools collection of iOS projects for iOS developer.}
|
14
|
-
spec.homepage = "https://github.com/
|
14
|
+
spec.homepage = "https://github.com/BigKeeper/bigResources"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
@@ -30,10 +30,15 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
31
31
|
spec.require_paths = ["lib"]
|
32
32
|
|
33
|
+
spec.add_runtime_dependency "gli", "~> 2.16"
|
34
|
+
spec.add_runtime_dependency "cocoapods"
|
35
|
+
spec.add_runtime_dependency "plist"
|
36
|
+
spec.add_runtime_dependency "colorize"
|
37
|
+
spec.add_runtime_dependency "chunky_png"
|
38
|
+
|
33
39
|
spec.add_development_dependency "bundler", "~> 1.16"
|
34
40
|
spec.add_development_dependency "rake", "~> 10.0"
|
35
41
|
spec.add_development_dependency "gli", "~> 2.16"
|
36
|
-
spec.add_development_dependency "big_stash", "~> 0.1"
|
37
42
|
spec.add_development_dependency "cocoapods"
|
38
43
|
spec.add_development_dependency "plist"
|
39
44
|
spec.add_development_dependency "colorize"
|
@@ -67,9 +67,9 @@ module BigResources
|
|
67
67
|
duplicate = []
|
68
68
|
dic.keys.select do | file_name_key |
|
69
69
|
if dic[file_name_key][:count] > 1
|
70
|
-
duplicate << {
|
71
|
-
|
72
|
-
|
70
|
+
duplicate << {:file_name => file_name_key,
|
71
|
+
:count => dic[file_name_key][:count],
|
72
|
+
:path => dic[file_name_key][:path]}
|
73
73
|
end
|
74
74
|
end
|
75
75
|
duplicate
|
@@ -16,7 +16,7 @@ module BigResources
|
|
16
16
|
FileScanUtil.detect_file_by_name(dic, PictureFileType.type_name(file_type), path, file_filter_dic)
|
17
17
|
end
|
18
18
|
array = FileScanUtil.get_duplicate_name_file(file_filter_dic)
|
19
|
-
|
19
|
+
puts JSON.pretty_generate(array)
|
20
20
|
end
|
21
21
|
|
22
22
|
def self.get_duplicate_content_file_with_type(path, file_type)
|
@@ -31,10 +31,7 @@ module BigResources
|
|
31
31
|
FileScanUtil.detect_file_by_size(dic, PictureFileType.type_name(file_type), path, file_filter_dic)
|
32
32
|
end
|
33
33
|
array = FileScanUtil.get_same_file(file_filter_dic)
|
34
|
-
|
35
|
-
# file << array.to_json
|
36
|
-
# file.close
|
37
|
-
p array
|
34
|
+
puts JSON.pretty_generate(array)
|
38
35
|
end
|
39
36
|
end
|
40
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serena_R
|
@@ -11,61 +11,117 @@ cert_chain: []
|
|
11
11
|
date: 2018-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: gli
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
19
|
+
version: '2.16'
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.16'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: cocoapods
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: plist
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: colorize
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: chunky_png
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
29
85
|
requirement: !ruby/object:Gem::Requirement
|
30
86
|
requirements:
|
31
87
|
- - "~>"
|
32
88
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
89
|
+
version: '1.16'
|
34
90
|
type: :development
|
35
91
|
prerelease: false
|
36
92
|
version_requirements: !ruby/object:Gem::Requirement
|
37
93
|
requirements:
|
38
94
|
- - "~>"
|
39
95
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
96
|
+
version: '1.16'
|
41
97
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
98
|
+
name: rake
|
43
99
|
requirement: !ruby/object:Gem::Requirement
|
44
100
|
requirements:
|
45
101
|
- - "~>"
|
46
102
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
103
|
+
version: '10.0'
|
48
104
|
type: :development
|
49
105
|
prerelease: false
|
50
106
|
version_requirements: !ruby/object:Gem::Requirement
|
51
107
|
requirements:
|
52
108
|
- - "~>"
|
53
109
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
110
|
+
version: '10.0'
|
55
111
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
112
|
+
name: gli
|
57
113
|
requirement: !ruby/object:Gem::Requirement
|
58
114
|
requirements:
|
59
115
|
- - "~>"
|
60
116
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
117
|
+
version: '2.16'
|
62
118
|
type: :development
|
63
119
|
prerelease: false
|
64
120
|
version_requirements: !ruby/object:Gem::Requirement
|
65
121
|
requirements:
|
66
122
|
- - "~>"
|
67
123
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
124
|
+
version: '2.16'
|
69
125
|
- !ruby/object:Gem::Dependency
|
70
126
|
name: cocoapods
|
71
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,7 +219,7 @@ files:
|
|
163
219
|
- lib/big_resources/util/image/file_scan_util.rb
|
164
220
|
- lib/big_resources/util/image/name_analyze_util.rb
|
165
221
|
- lib/big_resources/version.rb
|
166
|
-
homepage: https://github.com/
|
222
|
+
homepage: https://github.com/BigKeeper/bigResources
|
167
223
|
licenses:
|
168
224
|
- MIT
|
169
225
|
metadata:
|