xcodeproj 0.19.3 → 0.19.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcodeproj/config.rb +4 -0
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/plist_helper.rb +41 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15d4866be3a0c0e6822284381fe063e88569c6d8
|
4
|
+
data.tar.gz: 62bb5c0836656973f9abb42c45b338787c06efa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6957ded10d5c212485c7eba72d951c1be505c3d942f30fe2fbae73404698faeee0b8627da53ba31f5258693b8d34a18cabce13caea6bb96204b83257b3e70ec1
|
7
|
+
data.tar.gz: 73959189a97c54fd761cbb14b8ffd6e9da579fd4371b6f549a4fec136528360003ddb161f7402360c78585426879d492bb8729832105f5111fdb1eb0535de9de
|
data/lib/xcodeproj/config.rb
CHANGED
@@ -58,6 +58,44 @@ module Xcodeproj
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
61
|
+
# Define compatibility with older Fiddle implementation in Ruby 1.9.3.
|
62
|
+
#
|
63
|
+
# @todo: Soon we will drop support for any Ruby < 2 and this should be removed.
|
64
|
+
#
|
65
|
+
# @!visibility private
|
66
|
+
#
|
67
|
+
module Fiddle
|
68
|
+
unless defined?(NULL)
|
69
|
+
require 'dl'
|
70
|
+
NULL = DL::NULL
|
71
|
+
end
|
72
|
+
|
73
|
+
unless defined?(SIZEOF_INTPTR_T)
|
74
|
+
require 'dl'
|
75
|
+
SIZEOF_INTPTR_T = DL::SIZEOF_VOIDP
|
76
|
+
end
|
77
|
+
|
78
|
+
unless defined?(Handle)
|
79
|
+
require 'dl'
|
80
|
+
Handle = DL::Handle
|
81
|
+
end
|
82
|
+
|
83
|
+
unless respond_to?(:dlopen)
|
84
|
+
require 'dl'
|
85
|
+
def self.dlopen(library)
|
86
|
+
DL.dlopen(library)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class Function
|
91
|
+
unless public_method_defined?(:to_i)
|
92
|
+
def to_i
|
93
|
+
@ptr.to_i
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
61
99
|
# This module provides an interface to the CoreFoundation OS X framework.
|
62
100
|
# Specifically it bridges the functions required to be able to read and write
|
63
101
|
# property lists.
|
@@ -67,6 +105,8 @@ end
|
|
67
105
|
#
|
68
106
|
# @todo Move this out into its own gem.
|
69
107
|
#
|
108
|
+
# @!visibility private
|
109
|
+
#
|
70
110
|
module CoreFoundation
|
71
111
|
PATH = '/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation'
|
72
112
|
|
@@ -182,7 +222,7 @@ module CoreFoundation
|
|
182
222
|
end
|
183
223
|
|
184
224
|
def self.free_function
|
185
|
-
@
|
225
|
+
@free_function ||= Fiddle::Function.new(Fiddle::Handle.new['free'], [VoidPointer], Void)
|
186
226
|
end
|
187
227
|
|
188
228
|
def self.CFRelease_function
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcodeproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
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
26
|
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: colored
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.2'
|
41
41
|
description: Xcodeproj lets you create and modify Xcode projects from Ruby. Script
|
@@ -102,12 +102,12 @@ require_paths:
|
|
102
102
|
- lib
|
103
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
|
-
- -
|
105
|
+
- - '>='
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- -
|
110
|
+
- - '>='
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|