cocoapods 0.36.0 → 0.36.1

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: 34422801dcfb63c977b484dcc025841634e7b6f5
4
- data.tar.gz: 8f5b38874ef893eeef31ed34415ad7368038ca06
3
+ metadata.gz: a9aeeba66625dc74540d9657422a5c529e46f083
4
+ data.tar.gz: f6035889f19066bc24792903ab16849cc694ca68
5
5
  SHA512:
6
- metadata.gz: 71b28d6e75360c4ae1537bcb79c4b15bfe67463c4d394ae50026403a013db908a9f27fdc4817a4181e3e46bacef62b185df6a922060a89cc0a4e19bbbc15cec8
7
- data.tar.gz: b21f3d2eb6b8adaf3a5008fdcede49338d8f935c63adfd321977aadf2b5a331045a6ee509881d74fd20bec67ab1002232e0ee2a41280cea5553b0e673759e3d4
6
+ metadata.gz: 4c9e00a4e8d4546059a1b8a00dbc29259357e88de39f6f3980961e29cae0eef4db3909563636b6f09fc98846d4e7b529e672ed6b8abbc1df1ea736a03ac24ccc
7
+ data.tar.gz: f160e5318d25d6d3639bea7a03a23d68cf43e3f064cd57133f0112779dcd3c477de4935a0db3fbde55d5f1a4158b67252b1fa2bb008dcd4cded8b3615cd299b6
@@ -4,10 +4,35 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
4
4
 
5
5
  To install release candidates run `[sudo] gem install cocoapods --pre`
6
6
 
7
+ ## 0.36.1
8
+
9
+ [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.23.0...0.23.1)
10
+
11
+ ##### Bug Fixes
12
+
13
+ * Workarounds(✻) for the resource script's handling of `.xcasset` files.
14
+ [sodas](https://github.com/sodastsai)
15
+ [Tony Li](https://github.com/crazytonyli)
16
+ [Chongyu Zhu](https://github.com/lembacon)
17
+ [#3247](https://github.com/CocoaPods/CocoaPods/issues/3247)
18
+ [#3303](https://github.com/CocoaPods/CocoaPods/issues/3303)
19
+
20
+ * Fix the sanitization of configuration names in the generated target
21
+ environment header.
22
+ [Samuel Giddins](https://github.com/segiddins)
23
+ [#3301](https://github.com/CocoaPods/CocoaPods/issues/3301)
24
+
25
+ > _(✻) Note: these fixes are only temporary to avoid overriding the user project's `xcassets`.
26
+ We are aware that these workarounds are "too greedy" and thus user projects having different
27
+ `xcassets` for different targets will still have issues; we ([@AliSoftware](https://github.com/AliSoftware))
28
+ are working on a deeper fix ([#3263](https://github.com/CocoaPods/CocoaPods/issues/3263)) for the next release._
29
+
7
30
  ## 0.36.0
8
31
 
9
32
  [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.22.0...0.23.0)
10
33
 
34
+ For more details, see 📝 [CocoaPods 0.36](http://blog.cocoapods.org/CocoaPods-0.36/) on our blog.
35
+
11
36
  ##### Enhancements
12
37
 
13
38
  * Allows Swift pods to have a deployment target under iOS 8.0 if they use
@@ -362,7 +387,7 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
362
387
  • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.19.4...0.20.2)
363
388
  • [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.7.2...0.8.0)
364
389
 
365
- For more details, see :memo: [CocoaPods 0.35](http://blog.cocoapods.org/CocoaPods-0.35/) on our blog.
390
+ For more details, see 📝 [CocoaPods 0.35](http://blog.cocoapods.org/CocoaPods-0.35/) on our blog.
366
391
 
367
392
  ##### Enhancements
368
393
 
@@ -689,7 +714,7 @@ For more details, see :memo: [CocoaPods 0.35](http://blog.cocoapods.org/CocoaPod
689
714
 
690
715
  ## 0.34.0
691
716
 
692
- For more details, see :memo: [CocoaPods 0.34](http://blog.cocoapods.org/CocoaPods-0.34/) on our blog.
717
+ For more details, see 📝 [CocoaPods 0.34](http://blog.cocoapods.org/CocoaPods-0.34/) on our blog.
693
718
 
694
719
  ##### Breaking
695
720
 
@@ -952,7 +977,7 @@ For more details, see :memo: [CocoaPods 0.34](http://blog.cocoapods.org/CocoaPod
952
977
 
953
978
  ## 0.33.0
954
979
 
955
- For more details, see :memo: [CocoaPods 0.33](http://blog.cocoapods.org/CocoaPods-0.33/) on our blog.
980
+ For more details, see 📝 [CocoaPods 0.33](http://blog.cocoapods.org/CocoaPods-0.33/) on our blog.
956
981
 
957
982
  ##### Breaking
958
983
 
@@ -1056,7 +1081,7 @@ For more details, see :memo: [CocoaPods 0.33](http://blog.cocoapods.org/CocoaPod
1056
1081
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.31.1...0.32.0)
1057
1082
  • [CocoaPods-Core](https://github.com/CocoaPods/Core/compare/0.31.1...0.32.0)
1058
1083
 
1059
- For more details, see :memo: [CocoaPods 0.32](http://blog.cocoapods.org/CocoaPods-0.32/) on our blog.
1084
+ For more details, see 📝 [CocoaPods 0.32](http://blog.cocoapods.org/CocoaPods-0.32/) on our blog.
1060
1085
 
1061
1086
  ##### Enhancements
1062
1087
 
@@ -1173,7 +1198,7 @@ For more details, see :memo: [CocoaPods 0.32](http://blog.cocoapods.org/CocoaPod
1173
1198
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.30.0...0.31.0)
1174
1199
  • [CocoaPods-Core](https://github.com/CocoaPods/Core/compare/0.30.0...0.31.0)
1175
1200
 
1176
- For more details, see :memo: [CocoaPods 0.31](http://blog.cocoapods.org/CocoaPods-0.31/) on our blog.
1201
+ For more details, see 📝 [CocoaPods 0.31](http://blog.cocoapods.org/CocoaPods-0.31/) on our blog.
1177
1202
 
1178
1203
  ##### Enhancements
1179
1204
 
@@ -1271,7 +1296,7 @@ For more details, see :memo: [CocoaPods 0.31](http://blog.cocoapods.org/CocoaPod
1271
1296
 
1272
1297
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.29.0...0.30.0)
1273
1298
 
1274
- For more details, see :memo: [CocoaPods 0.30](http://blog.cocoapods.org/CocoaPods-0.30/) on our blog.
1299
+ For more details, see 📝 [CocoaPods 0.30](http://blog.cocoapods.org/CocoaPods-0.30/) on our blog.
1275
1300
 
1276
1301
  ###### Enhancements
1277
1302
 
@@ -1309,7 +1334,7 @@ For more details, see :memo: [CocoaPods 0.30](http://blog.cocoapods.org/CocoaPod
1309
1334
  • [CocoaPods-core](https://github.com/CocoaPods/Core/compare/0.28.0...0.29.0)
1310
1335
  • [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.2.0...0.3.0)
1311
1336
 
1312
- For more details, see :memo: [CocoaPods 0.29](http://blog.cocoapods.org/CocoaPods-0.29/) on our blog.
1337
+ For more details, see 📝 [CocoaPods 0.29](http://blog.cocoapods.org/CocoaPods-0.29/) on our blog.
1313
1338
 
1314
1339
  ###### Breaking
1315
1340
 
@@ -1437,7 +1462,7 @@ For more details, see :memo: [CocoaPods 0.29](http://blog.cocoapods.org/CocoaPod
1437
1462
  • [CocoaPods-core](https://github.com/CocoaPods/Core/compare/0.27.1...0.28.0)
1438
1463
  • [CLAide](https://github.com/CocoaPods/CLAide/compare/0.3.2...0.4.0)
1439
1464
 
1440
- For more details, see :memo: [CocoaPods 0.28](http://blog.cocoapods.org/CocoaPods-0.28/) on our blog.
1465
+ For more details, see 📝 [CocoaPods 0.28](http://blog.cocoapods.org/CocoaPods-0.28/) on our blog.
1441
1466
 
1442
1467
  ###### Enhancements
1443
1468
 
@@ -1511,7 +1536,7 @@ For more details, see :memo: [CocoaPods 0.28](http://blog.cocoapods.org/CocoaPod
1511
1536
  • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.26.2...0.27.1)
1512
1537
  • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.13.0...0.14.0)
1513
1538
 
1514
- For more details, see :memo: [CocoaPods 0.27 and improved installation UX](http://blog.cocoapods.org/CocoaPods-0.27-and-improved-installation-UX/) on our blog.
1539
+ For more details, see 📝 [CocoaPods 0.27 and improved installation UX](http://blog.cocoapods.org/CocoaPods-0.27-and-improved-installation-UX/) on our blog.
1515
1540
 
1516
1541
  ###### Enhancements
1517
1542
 
@@ -1592,7 +1617,7 @@ For more details, see :memo: [CocoaPods 0.27 and improved installation UX](http:
1592
1617
  • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.25.0...0.26.1)
1593
1618
  • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.11.1...0.12.0)
1594
1619
 
1595
- For more details, see :memo: [CocoaPods 0.26](http://blog.cocoapods.org/CocoaPods-0.26/) on our blog.
1620
+ For more details, see 📝 [CocoaPods 0.26](http://blog.cocoapods.org/CocoaPods-0.26/) on our blog.
1596
1621
 
1597
1622
  ###### Enhancements
1598
1623
 
data/README.md CHANGED
@@ -22,14 +22,13 @@ guide](http://guides.cocoapods.org/using/getting-started.html#installation) and
22
22
 
23
23
  ## Sponsors
24
24
 
25
- Lovingly sponsored by [Fingertips](http://www.fngtps.com),
26
- [Hipbyte](http://www.hipbyte.com), [Artsy](http://artsy.net) and
27
- [Sauspiel](https://www.sauspiel.de).
25
+ Lovingly sponsored by a collection of companies, see the footer of [CocoaPods.org](http://cocoapods.org) for an up-to-date list.
28
26
 
29
27
  ## Collaborate
30
28
 
31
29
  All CocoaPods development happens on GitHub. Contributions make for good karma and
32
- we welcome new contributors with joy.
30
+ we [welcome new](http://blog.cocoapods.org/starting-open-source/) contributors with joy. We take contributors seriously, and thus have a
31
+ contributor [code of conduct](CODE_OF_CONDUCT.md).
33
32
 
34
33
  ## Links
35
34
 
@@ -42,6 +41,7 @@ we welcome new contributors with joy.
42
41
  [Guides](http://guides.cocoapods.org) | Everything you want to know about CocoaPods.
43
42
  [Changelog](https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md) | See the changes introduced in each CocoaPods version.
44
43
  [New Pods RSS](http://feeds.cocoapods.org/new-pods.rss) | Don't miss any new Pods.
44
+ [Code of Conduct](CODE_OF_CONDUCT.md) | Find out the standards we hold ourselves to.
45
45
 
46
46
  ## Projects
47
47
 
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods command line tool.
3
3
  #
4
- VERSION = '0.36.0' unless defined? Pod::VERSION
4
+ VERSION = '0.36.1' unless defined? Pod::VERSION
5
5
  end
@@ -128,7 +128,7 @@ install_resource()
128
128
  xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
129
129
  ;;
130
130
  *.xcassets)
131
- XCASSET_FILES="$XCASSET_FILES '$1'"
131
+ XCASSET_FILES="$XCASSET_FILES '${PODS_ROOT}/$1'"
132
132
  ;;
133
133
  /*)
134
134
  echo "$1"
@@ -153,7 +153,7 @@ EOS
153
153
 
154
154
  XCASSETS_COMPILE = <<EOS
155
155
 
156
- if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n $XCASSET_FILES ]
156
+ if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
157
157
  then
158
158
  case "${TARGETED_DEVICE_FAMILY}" in
159
159
  1,2)
@@ -169,6 +169,7 @@ then
169
169
  TARGET_DEVICE_ARGS="--target-device mac"
170
170
  ;;
171
171
  esac
172
+ while read line; do XCASSET_FILES="$XCASSET_FILES '$line'"; done <<<$(find "$PWD" -name "*.xcassets" | egrep -v "^$PODS_ROOT")
172
173
  echo $XCASSET_FILES | xargs actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
173
174
  fi
174
175
  EOS
@@ -47,11 +47,10 @@ module Pod
47
47
  result << "\n"
48
48
  end
49
49
 
50
- file_accessors.each do |file_accessor|
51
- if prefix_header = file_accessor.prefix_header
52
- result << Pathname(prefix_header).read
53
- end
50
+ file_accessors.map(&:prefix_header).compact.uniq.each do |prefix_header|
51
+ result << Pathname(prefix_header).read
54
52
  end
53
+
55
54
  result
56
55
  end
57
56
 
@@ -46,10 +46,12 @@ module Pod
46
46
  common_specs = common_specs(specs_by_configuration)
47
47
  common_specs.each { |spec| result << spec_defines(spec) }
48
48
 
49
+ c99ext_identifier_method = Target.new.method(:c99ext_identifier)
50
+
49
51
  specs_by_config = specs_scoped_by_configuration(common_specs, specs_by_configuration)
50
52
  specs_by_config.each do |config, specs|
51
53
  result << "// #{config} build configuration\n"
52
- result << "#ifdef #{config.gsub(/[^a-zA-Z0-9_]/, '_').upcase}\n\n"
54
+ result << "#ifdef #{c99ext_identifier_method[config].upcase}\n\n"
53
55
  specs.each { |spec| result << spec_defines(spec, 1) }
54
56
  result << "#endif\n"
55
57
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.36.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-11 00:00:00.000000000 Z
12
+ date: 2015-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocoapods-core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.36.0
20
+ version: 0.36.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.36.0
27
+ version: 0.36.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: claide
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - ~>
47
47
  - !ruby/object:Gem::Version
48
- version: 0.23.0
48
+ version: 0.23.1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
- version: 0.23.0
55
+ version: 0.23.1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: cocoapods-downloader
58
58
  requirement: !ruby/object:Gem::Requirement