cocoaseeds 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +2 -2
- data/lib/cocoaseeds/core.rb +2 -1
- data/lib/cocoaseeds/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad1c4d2157aeff736a446e2ccf19a0afbc7df68e
|
|
4
|
+
data.tar.gz: e0672efe2904825a14c933bf48baea85f6d7f563
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 890b4200ce785d8e129d098ffa70cdc6414fb4551abf62407ea3e3de73aebb55a53eee8bf9b988ecd5568a05a10dd48bcb65d7d98ab6d62b93320656808a77af
|
|
7
|
+
data.tar.gz: 4b1aa15433452024c03c9a42cb45f92b95633aa58f100af3051460f7b2048e40624f24d4d10e38084f8f64de2564c62dc826753d8d3c1f04a44d717d792b5a28
|
data/README.md
CHANGED
|
@@ -70,8 +70,8 @@ Then all the source files will be automatically added to your Xcode project with
|
|
|
70
70
|

|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
Resolving Filename Conflicts
|
|
74
|
-
|
|
73
|
+
Resolving Filename Conflicts (Beta)
|
|
74
|
+
-----------------------------------
|
|
75
75
|
|
|
76
76
|
Since CocoaSeeds uses including source files directly than linking dynamic frameworks, it is important to make sure that all source file names are different. CocoaSeeds provides a way to do this:
|
|
77
77
|
|
data/lib/cocoaseeds/core.rb
CHANGED
|
@@ -353,7 +353,8 @@ module Seeds
|
|
|
353
353
|
group.new_group_with_uuid(seedname, uuid)
|
|
354
354
|
filepaths.each do |path|
|
|
355
355
|
filename = path.split('/')[-1]
|
|
356
|
-
|
|
356
|
+
relpath = path[self.root_path.length..-1]
|
|
357
|
+
uuid = Digest::MD5.hexdigest(relpath).upcase
|
|
357
358
|
file_reference = seedgroup[filename] ||
|
|
358
359
|
seedgroup.new_reference_with_uuid(path, uuid)
|
|
359
360
|
self.file_references << file_reference
|
data/lib/cocoaseeds/version.rb
CHANGED