xsort 1.2.4 → 1.2.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/.gitignore +1 -0
- data/.travis.yml +9 -1
- data/Gemfile.lock +35 -0
- data/README.md +13 -2
- data/bin/xsort +12 -1
- data/lib/xsort/option.rb +13 -3
- data/lib/xsort/sortproj.rb +11 -0
- data/lib/xsort/version.rb +12 -1
- data/lib/xsort/xcodeproj/pbxproj/pbxobject/Emurate.rb +11 -0
- data/lib/xsort/xcodeproj/pbxproj/pbxobject/PbxSort.rb +11 -0
- data/lib/xsort/xcodeproj/pbxproj/pbxobject/PbxWrite.rb +11 -0
- data/lib/xsort/xcodeproj/pbxproj/pbxobject/Pbxproj.rb +11 -0
- data/lib/xsort.rb +11 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6dadbcc9ddbad1ea66329300d949cb968adde32
|
|
4
|
+
data.tar.gz: 04515270c36acc829ba3dd07efd1ef2f616cfc45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69fcee959c5b225575ce31105974c2464685f47b60f709b1de5910fa1dca351d7ce83519a2aa83d4d6ab81165e114c76efefff8257c99a148caf29a6eff3ed08
|
|
7
|
+
data.tar.gz: 15371f654dd6afa9b63df47866b32565e5a8551de6e15207a58d4788e846b4ba60df5579f30d184cb350ed3ad052e9fbb6cf759ca37137c9894a712733265abb
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
xsort (1.2.5)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
diff-lcs (1.3)
|
|
10
|
+
rake (10.5.0)
|
|
11
|
+
rspec (3.8.0)
|
|
12
|
+
rspec-core (~> 3.8.0)
|
|
13
|
+
rspec-expectations (~> 3.8.0)
|
|
14
|
+
rspec-mocks (~> 3.8.0)
|
|
15
|
+
rspec-core (3.8.0)
|
|
16
|
+
rspec-support (~> 3.8.0)
|
|
17
|
+
rspec-expectations (3.8.3)
|
|
18
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
19
|
+
rspec-support (~> 3.8.0)
|
|
20
|
+
rspec-mocks (3.8.0)
|
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
22
|
+
rspec-support (~> 3.8.0)
|
|
23
|
+
rspec-support (3.8.0)
|
|
24
|
+
|
|
25
|
+
PLATFORMS
|
|
26
|
+
ruby
|
|
27
|
+
|
|
28
|
+
DEPENDENCIES
|
|
29
|
+
bundler (~> 1.16)
|
|
30
|
+
rake (~> 10.0)
|
|
31
|
+
rspec (~> 3.0)
|
|
32
|
+
xsort!
|
|
33
|
+
|
|
34
|
+
BUNDLED WITH
|
|
35
|
+
1.17.2
|
data/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
|
|
3
|
+
<img src="https://github.com/keisukeYamagishi/xsort/blob/master/doc/xsort.png" width="40%" height="40%">
|
|
1
4
|
|
|
2
|
-
<img src="https://github.com/keisukeYamagishi/xsort/blob/master/doc/xsort.png">
|
|
3
5
|
|
|
4
6
|
[](https://twitter.com/O_Linker_Error)
|
|
5
7
|
[](https://www.ruby-lang.org/ja/)
|
|
6
8
|
[](https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE)
|
|
7
9
|
|
|
10
|
+
</p>
|
|
11
|
+
|
|
8
12
|
# Build
|
|
9
13
|
|OS |Result |
|
|
10
14
|
|:---------------|:----------------|
|
|
@@ -161,5 +165,12 @@ xsort ../App/App.xcodeproj -r
|
|
|
161
165
|
```
|
|
162
166
|
->> ./xsort -v
|
|
163
167
|
|
|
164
|
-
Version: 1.2.
|
|
168
|
+
Version: 1.2.4
|
|
165
169
|
```
|
|
170
|
+
|
|
171
|
+
## Contributing
|
|
172
|
+
|
|
173
|
+
We welcome your ideas and bug reports.
|
|
174
|
+
You can either create a [pull request](https://github.com/keisukeYamagishi/xsort/pulls) or create and report an [issue](https://github.com/keisukeYamagishi/xsort/issues).
|
|
175
|
+
|
|
176
|
+
We look forward to your ideas.
|
data/bin/xsort
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
#!/usr/bin/env ruby
|
|
2
13
|
|
|
3
14
|
require "xsort"
|
|
@@ -21,7 +32,7 @@ def execute(option)
|
|
|
21
32
|
xsort.sort(option.stdout,option.notOverwrite)
|
|
22
33
|
else
|
|
23
34
|
puts "(*_*).oO not pbxproj file"
|
|
24
|
-
puts "must select pbxproj file"
|
|
35
|
+
puts "(☝ ՞ਊ ՞)☝!!!must select pbxproj file(☝ ՞ਊ ՞)☝!!!"
|
|
25
36
|
puts "($_$).oO omg"
|
|
26
37
|
end
|
|
27
38
|
end
|
data/lib/xsort/option.rb
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
class Option
|
|
2
13
|
|
|
3
14
|
def initialize(argv)
|
|
@@ -12,14 +23,13 @@ class Option
|
|
|
12
23
|
@options = Array.new
|
|
13
24
|
@path = ""
|
|
14
25
|
argvs.each{|argv|
|
|
15
|
-
if argv.index("
|
|
26
|
+
if !argv.index(".xcodeproj")
|
|
16
27
|
|
|
17
28
|
if argv == "-o"
|
|
18
29
|
@stdout = true
|
|
19
30
|
elsif argv == "-r"
|
|
20
|
-
@
|
|
31
|
+
@notOverwrite = true
|
|
21
32
|
end
|
|
22
|
-
|
|
23
33
|
@options.push(argv)
|
|
24
34
|
else
|
|
25
35
|
@path = createPath(argv)
|
data/lib/xsort/sortproj.rb
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
module Xsort
|
|
2
13
|
class Sortproj
|
|
3
14
|
|
data/lib/xsort/version.rb
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
module Xsort
|
|
2
|
-
VERSION = "1.2.
|
|
13
|
+
VERSION = "1.2.5"
|
|
3
14
|
end
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
module Xcodeproj
|
|
2
13
|
module Pbxproj
|
|
3
14
|
module PbxObject
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
module Xcodeproj
|
|
2
13
|
module Pbxproj
|
|
3
14
|
module PbxObject
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
module Xcodeproj
|
|
2
13
|
module Pbxproj
|
|
3
14
|
module PbxObject
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
module Xcodeproj
|
|
2
13
|
module Pbxproj
|
|
3
14
|
module PbxObject
|
data/lib/xsort.rb
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
|
|
2
|
+
#
|
|
3
|
+
# This source file is part of the xsort open source project
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 2018 - Keisuke Yamagishi. project authors
|
|
6
|
+
# Licensed under MIT LICENCE
|
|
7
|
+
#
|
|
8
|
+
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
|
|
9
|
+
#
|
|
10
|
+
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
|
|
11
|
+
|
|
1
12
|
require "xsort/xcodeproj/pbxproj/pbxobject/Pbxproj"
|
|
2
13
|
require "xsort/xcodeproj/pbxproj/pbxobject/PbxSort"
|
|
3
14
|
require "xsort/xcodeproj/pbxproj/pbxobject/PbxWrite"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xsort
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- keisuke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -65,6 +65,7 @@ files:
|
|
|
65
65
|
- ".travis.yml"
|
|
66
66
|
- CODE_OF_CONDUCT.md
|
|
67
67
|
- Gemfile
|
|
68
|
+
- Gemfile.lock
|
|
68
69
|
- LICENSE.txt
|
|
69
70
|
- README.md
|
|
70
71
|
- Rakefile
|
|
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
99
|
version: '0'
|
|
99
100
|
requirements: []
|
|
100
101
|
rubyforge_project:
|
|
101
|
-
rubygems_version: 2.5.2
|
|
102
|
+
rubygems_version: 2.5.2.3
|
|
102
103
|
signing_key:
|
|
103
104
|
specification_version: 4
|
|
104
105
|
summary: Sort by file.
|