xsort 1.2.6 → 1.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1205d5db8513cf8745c2426718f3303f2ad8e6d3
4
- data.tar.gz: 78f1d3e3cb61c888af047bee895348f30f4af426
3
+ metadata.gz: d534c7ec3f038cd81f4a79dcdf1109ed470b2c0b
4
+ data.tar.gz: de216ac077da5658bcfcdb8f352b5db844eca9ad
5
5
  SHA512:
6
- metadata.gz: c564a056e8004fa0ae66df5773cf11b9ee8babd5f6c8dd0addf0eee6faa736aaed91f384b90b188ece44663a65517ed7171568bb6562a69bd280ba1b5090d9ef
7
- data.tar.gz: 16453ec926527a8eeff7bb821f4fd416ac69dd2341ff7e517023337f6349959a1a99f55121090c2bdca8482aa17ee8dc3dd739dd2c57ca51de21678b9f1bb7f1
6
+ metadata.gz: 17c192c63020b2b63acaaa982f68e1a8fd049bd4cd55301cb69cd14d2af36a39e74c301431f7943e23c0b05bbf188c7ec57e8c81dfb7b1dc9cd39cefbd36481c
7
+ data.tar.gz: 328dd841d490a0282ed597c223bc1ba702f11d9bc38fe865b01cb9ccd8519c9b4d4b0e02f3c7a87f821f02a28bfc793df94f2224e55a8b4d791c5776e9ab9528
data/.gitignore CHANGED
@@ -7,5 +7,8 @@
7
7
  /tmp/
8
8
  .DS_Store
9
9
  # rspec failure tracking
10
- .rspec_status
11
- .gem
10
+ *.rspec_status
11
+ *.gem
12
+ *.lock
13
+ output.pbxproj
14
+ .vscode/
@@ -10,5 +10,5 @@
10
10
  #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
11
 
12
12
  module Xsort
13
- VERSION = "1.2.6"
13
+ VERSION = "1.3.0"
14
14
  end
@@ -33,7 +33,9 @@ module Xcodeproj
33
33
  # puts pbx.parentUUID
34
34
  # ->> puts pbx.pbxBase
35
35
  # puts "children"
36
-
36
+ # pbx.children.each { |pbxC|
37
+ # puts pbxC.name
38
+ # }
37
39
  sort = pbx.children.sort{|pbx1, pbx2|
38
40
  pbx1.name <=> pbx2.name
39
41
  }
@@ -133,8 +133,7 @@ module Xcodeproj
133
133
  if isPbxChild == true
134
134
  name = Emurate.emurates(pbx_line)
135
135
  uuid = Emurate.emurateUUID(pbx_line)
136
- pbxName = File.basename(name, File.extname(name))
137
- @child = Xcodeproj::Pbxproj::PbxObject::PbxChild.new(uuid,pbxName,pbx_line)
136
+ @child = Xcodeproj::Pbxproj::PbxObject::PbxChild.new(uuid,name,pbx_line)
138
137
  @group.setChildren(@child)
139
138
  end
140
139
 
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.6
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - keisuke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-25 00:00:00.000000000 Z
11
+ date: 2020-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler