cocoapods-developing-folder 0.0.1 → 0.0.2
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 +5 -5
- data/README.md +5 -1
- data/lib/cocoapods-developing-folder/command/folder.rb +3 -1
- data/lib/cocoapods-developing-folder/command/folder_DSL.rb +27 -0
- data/lib/cocoapods-developing-folder/command/{patch.rb → preserve_folder.rb} +0 -0
- data/lib/cocoapods-developing-folder/gem_version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 328f3ce5e79046fcfecb5d86a00ea091e52a294fa7cae0ffe8ba8f6030f716fb
|
4
|
+
data.tar.gz: 117c7d174350b357594f4abc2c8abb1505242f03ba977b1262cc5b4af766bf1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eea131216dc1fd05450be2196cde80ece7e74c070787a248ccb9e7e919dded54627b5ad2ccb7cc5e9b162363f8a33f2f52d3f344488e6d7a6423c45bb58955f0
|
7
|
+
data.tar.gz: b680913a45e2665256a24f69f46767455e73c5c6ff3bc048a88dec3a3eec3424168d437da544759ba6dc94d30d973ebedad4934f021b04fe2542756609651e1c
|
data/README.md
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'pathname'
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Podfile
|
5
|
+
module DSL
|
6
|
+
|
7
|
+
def folder(path)
|
8
|
+
basePath = Pathname.new path
|
9
|
+
def import_pod(path)
|
10
|
+
podspec = path.children.find do |p|
|
11
|
+
!p.directory? and p.extname == ".podspec"
|
12
|
+
end
|
13
|
+
if podspec != nil
|
14
|
+
pod podspec.basename(".podspec").to_s, :path => path.to_path
|
15
|
+
end
|
16
|
+
path.children.each do |p|
|
17
|
+
if p.directory?
|
18
|
+
import_pod(p)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
import_pod basePath
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-developing-folder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- leavez
|
@@ -55,7 +55,8 @@ files:
|
|
55
55
|
- lib/cocoapods-developing-folder.rb
|
56
56
|
- lib/cocoapods-developing-folder/command.rb
|
57
57
|
- lib/cocoapods-developing-folder/command/folder.rb
|
58
|
-
- lib/cocoapods-developing-folder/command/
|
58
|
+
- lib/cocoapods-developing-folder/command/folder_DSL.rb
|
59
|
+
- lib/cocoapods-developing-folder/command/preserve_folder.rb
|
59
60
|
- lib/cocoapods-developing-folder/gem_version.rb
|
60
61
|
- lib/cocoapods_plugin.rb
|
61
62
|
- spec/command/folder_spec.rb
|
@@ -80,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
81
|
version: '0'
|
81
82
|
requirements: []
|
82
83
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.4
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: Preserve the folder hierarchy for development pods in xcode
|