xsort 1.2.0 → 1.2.1
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/README.md +21 -1
- data/lib/xsort/version.rb +1 -1
- data/lib/xsort/xcodeproj/pbxproj/pbxobject/PbxWrite.rb +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 844f7e4de980c4c7801ee69727fd64f7ba622910f552b46f4908b977994313e6
|
|
4
|
+
data.tar.gz: d92396cc32aae0a7bfb1ac004770b3014128dc2e2c0f15f14809daa1740ce1a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7366706fe26814aa9c71c9d3489cf4a76fedd3538de3540c4c08a80da08708dc93db34d0a3073449cc8ae00218e59b8c082b4fc6ed5c7667ccc5399bdfa6bd7
|
|
7
|
+
data.tar.gz: 45b261a826d844cad25968ee32d0c648ab740f7455a7c772f5fb978117a2357bc0448d253ebecbb7b0b149b76978a5a3c5f49ff5209054d55bc526280e9e79e1
|
data/README.md
CHANGED
|
@@ -64,6 +64,26 @@ Regars !
|
|
|
64
64
|
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
# Hot fix ***********************
|
|
68
|
+
#### (☝ ՞ਊ ՞)☝ Wow What's this!
|
|
69
|
+
|
|
70
|
+
mac OSX to HighSierra,
|
|
71
|
+
When xsort is executed, the following error occurs.
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
->> xsort
|
|
75
|
+
-bash: /usr/local/bin/xsort: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### (☝ ՞ਊ ՞)☝ Wow What's this!
|
|
79
|
+
|
|
80
|
+
In that case, please execute the following.
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
sudo gem update --system -n /usr/local/bin
|
|
84
|
+
sudo gem install -n /usr/local/bin xsort
|
|
85
|
+
```
|
|
86
|
+
|
|
67
87
|
## Run
|
|
68
88
|
|
|
69
89
|
⚠️Please do version control and back up before doing.⚠️
|
|
@@ -142,5 +162,5 @@ xsort ../App/App.xcodeproj -r
|
|
|
142
162
|
```
|
|
143
163
|
->> ./xsort -v
|
|
144
164
|
|
|
145
|
-
Version: 1.0
|
|
165
|
+
Version: 1.2.0
|
|
146
166
|
```
|
data/lib/xsort/version.rb
CHANGED
|
@@ -15,7 +15,7 @@ module Xcodeproj
|
|
|
15
15
|
isPbxGroup = false
|
|
16
16
|
pbxValue = ""
|
|
17
17
|
num = 0
|
|
18
|
-
|
|
18
|
+
isSuccess = true
|
|
19
19
|
begin
|
|
20
20
|
File.open(@path, "r") do |pbx|
|
|
21
21
|
pbx.each_line do |pbx_line|
|
|
@@ -46,11 +46,16 @@ module Xcodeproj
|
|
|
46
46
|
writeFile(pbxValue)
|
|
47
47
|
|
|
48
48
|
rescue IOError => ioerr
|
|
49
|
+
isSuccess = false
|
|
49
50
|
puts "Error #{ioerr.message}"
|
|
50
51
|
rescue SystemCallError => sysCallErr
|
|
52
|
+
isSuccess = false
|
|
51
53
|
puts "Failuer: reason #{sysCallErr.message}"
|
|
52
54
|
puts "The entered path is invalid."
|
|
53
55
|
end
|
|
56
|
+
if isSuccess == true
|
|
57
|
+
puts "Xsort Successful (☝ ՞ਊ ՞)☝"
|
|
58
|
+
end
|
|
54
59
|
end
|
|
55
60
|
|
|
56
61
|
def writeFile(value)
|
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.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- keisuke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
97
|
version: '0'
|
|
98
98
|
requirements: []
|
|
99
99
|
rubyforge_project:
|
|
100
|
-
rubygems_version: 2.
|
|
100
|
+
rubygems_version: 2.7.7
|
|
101
101
|
signing_key:
|
|
102
102
|
specification_version: 4
|
|
103
103
|
summary: Sort by file.
|