xcselect 0.1.10 → 0.1.11

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f53bffab6431ad828cfb972b217e2313025f3237
4
+ data.tar.gz: 2f755d99747210884ad7b4f42bd665c2bb326e8e
5
+ SHA512:
6
+ metadata.gz: e2cf1f4014816ae284e1ed795e3459fa7af01a2feb87509a116bf7a0cf717877f45f32921e5615e3f287de42403f4eadcb573712e9e201988045ebcea3a4753a
7
+ data.tar.gz: 60807d9eeeaffec9595fe6ea42fc186ec6e0f60079be3908fed3c1ebf36e0b0ffc0eb3d7eea86d28bf52d73b20bb79527f2463c34ede2700b672cc0ccc288198
@@ -1,3 +1,3 @@
1
1
  module Xcselect
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
@@ -21,7 +21,12 @@ module Xcselect
21
21
 
22
22
  def <=>(o)
23
23
  result = sim_version.to_f <=> o.sim_version.to_f
24
- (!result.zero?) ? result : name <=> o.name
24
+ if result.zero?
25
+ return -1 if name.nil?
26
+ return 1 if o.name.nil?
27
+ result = name.downcase <=> o.name.downcase
28
+ end
29
+ return result
25
30
  end
26
31
 
27
32
  def sim_version
@@ -114,7 +119,8 @@ module Xcselect
114
119
 
115
120
  # all applications for all simulator versions, unsorted
116
121
  def self.all_apps
117
- Dir["#{app_support_folder}/**/*.app"].map{|a| XcApp.new a }
122
+ dirs = Dir["#{app_support_folder}/**/*.app"].reject{|d| File.symlink? d }
123
+ dirs.map{|a| XcApp.new a }
118
124
  end
119
125
 
120
126
  # every newsstand application
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcselect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
5
- prerelease:
4
+ version: 0.1.11
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kim Hunter
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-18 00:00:00.000000000 Z
11
+ date: 2013-07-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: plist
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.1.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.5.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.5.0
46
41
  description: A more user friendly interface to the xcode-select command showing more
@@ -71,27 +66,26 @@ files:
71
66
  - xcselect.gemspec
72
67
  homepage: https://github.com/bigkm/xcselect
73
68
  licenses: []
69
+ metadata: {}
74
70
  post_install_message:
75
71
  rdoc_options: []
76
72
  require_paths:
77
73
  - lib
78
74
  required_ruby_version: !ruby/object:Gem::Requirement
79
- none: false
80
75
  requirements:
81
- - - ! '>='
76
+ - - '>='
82
77
  - !ruby/object:Gem::Version
83
78
  version: '0'
84
79
  required_rubygems_version: !ruby/object:Gem::Requirement
85
- none: false
86
80
  requirements:
87
- - - ! '>='
81
+ - - '>='
88
82
  - !ruby/object:Gem::Version
89
83
  version: '0'
90
84
  requirements: []
91
85
  rubyforge_project: xcselect
92
- rubygems_version: 1.8.23
86
+ rubygems_version: 2.0.3
93
87
  signing_key:
94
- specification_version: 3
88
+ specification_version: 4
95
89
  summary: xcselect - Xcode Select
96
90
  test_files:
97
91
  - test/big_cats.plist