xcodeproj 0.20.1 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d12a2179ece4dba969c51ec942f973f8bc1799f
4
- data.tar.gz: f0fe24105ea6ec46bcd86ff7720fffa729a138f5
3
+ metadata.gz: c012d924f60d9d52ed4d9c5f386a4363e76665ad
4
+ data.tar.gz: 9a710ff3e852c7d84d1a184741e2349eaeb63593
5
5
  SHA512:
6
- metadata.gz: 0ce5a3f083f0e275c50a30ad8e8fe11234011d8964d5bfcdc1493378407ee0113a7723e6de7604d42ac8b889df7dd89db0e7b342996739a72dafe7891e08110c
7
- data.tar.gz: d5877614b4ff849ec9655a610a68b1d4477aeb62be1791c5a87f95bba7a05afa3a8471e7f9070754480c4e6acf2fa6ac7f83c2c6c7d3bb7a4ad16e0c770a0c89
6
+ metadata.gz: f17bcfd4a22838b71149810dcc3c8a235793807a0a245325e4960467b29dee3a5524739429c4890b090eb64fa527537736dbcc26f58e24a0706af270f0c42dfd
7
+ data.tar.gz: 4eec675ec32c2bdfae60eea97eaa4b1b90c51dc9e2772d225865799109e7f7f49caffd94917a904e62c389b4c8caacb928df9c0b8c4c85855397501252e7979e
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '0.20.1' unless defined? Xcodeproj::VERSION
4
+ VERSION = '0.20.2' unless defined? Xcodeproj::VERSION
5
5
  end
@@ -89,8 +89,10 @@ module Xcodeproj
89
89
  # @return [Symbol] the name of the platform of the target.
90
90
  #
91
91
  def platform_name
92
- if sdk.include? 'iphoneos' then :ios
93
- elsif sdk.include? 'macosx' then :osx
92
+ if sdk.include? 'iphoneos'
93
+ :ios
94
+ elsif sdk.include? 'macosx'
95
+ :osx
94
96
  end
95
97
  end
96
98
 
@@ -54,7 +54,7 @@ module Xcodeproj
54
54
  #
55
55
  def to_node
56
56
  REXML::Element.new('FileRef').tap do |element|
57
- element.attributes['location'] = "#{type}:#{path}"
57
+ element.add_attribute('location', "#{type}:#{path}")
58
58
  end
59
59
  end
60
60
 
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.20.1
4
+ version: 0.20.2
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-28 00:00:00.000000000 Z
11
+ date: 2014-11-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'
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'
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
@@ -100,12 +100,12 @@ require_paths:
100
100
  - lib
101
101
  required_ruby_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
103
+ - - '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: 2.0.0
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
@@ -115,4 +115,3 @@ signing_key:
115
115
  specification_version: 3
116
116
  summary: Create and modify Xcode projects from Ruby.
117
117
  test_files: []
118
- has_rdoc: