pod-builder 0.8.0 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90f0645df06aec79b82eec983cfad9a85597f862d7fcdc9581eb384143fe791b
4
- data.tar.gz: 410dae78a46ecd1f5aa9fee1ad62dc8a97ea1d816b47b535d4b4ef58d1bd1c52
3
+ metadata.gz: 9df88e5bdfa2915c916eb80be23f435218be52f7dc1657129595e2cf76de8b49
4
+ data.tar.gz: 52cd9f825f9234af9c9a6f3a3ba70f5505414e25957acd98f3fdc23dba5d1ef4
5
5
  SHA512:
6
- metadata.gz: 1b21b0a478ae6d0dbe054c69022dda13a8a5ca26e1a415c73f6fe66a98988764e811c479b9cc0e9d0930bfc4174a3938e02594d5ac2c61c4ac7265073b9e7893
7
- data.tar.gz: bf54f791d4c6742d10a6729f23cc520c9dd7cae87eae52755475c7587c5a0acd220754c9d44e2fc183708c6ccd7280b87a97a0b098f2607c79358e38d688b738
6
+ metadata.gz: df82d3f85c5420d63e8df91b422bfe6adac438b9c77c6341dc4b72ecb88be009508d2183125cb22eb5cbc45efb6d65f72989ec7c703cec43cabfd7acd1c0b1e1
7
+ data.tar.gz: 6445b45c51d89e77aae95c9f818e99964e51b92358d6340abd767f95a539778327c203493d036d08f4f81f785573700cd9cd5a30de9c9eeab3bf31f54d3b6bef
@@ -48,7 +48,7 @@ module PodBuilder
48
48
  def self.find_xcodeproj
49
49
  project_name = File.basename(find_xcodeworkspace, ".*")
50
50
 
51
- xcodeprojects = Dir.glob("#{home}/**/#{project_name}.xcodeproj").select { |x| !x.include?("/Pods/") && !x.include?("/Sources/") && !x.include?(basepath) }
51
+ xcodeprojects = Dir.glob("#{home}/**/#{project_name}.xcodeproj").select { |x| !x.include?("/Pods/") && !x.include?(PodBuilder::basepath("Sources")) && !x.include?(basepath) }
52
52
  raise "xcodeproj not found!".red if xcodeprojects.count == 0
53
53
  raise "Found multiple xcodeproj:\n#{xcodeprojects.join("\n")}".red if xcodeprojects.count > 1
54
54
 
@@ -56,7 +56,7 @@ module PodBuilder
56
56
  end
57
57
 
58
58
  def self.find_xcodeworkspace
59
- xcworkspaces = Dir.glob("#{home}/**/#{Configuration.project_name}*.xcworkspace").select { |x| !x.include?("/Pods/") && !x.include?("/Sources/") && !x.include?(basepath) && !x.include?(".xcodeproj/") }
59
+ xcworkspaces = Dir.glob("#{home}/**/#{Configuration.project_name}*.xcworkspace").select { |x| !x.include?("/Pods/") && !x.include?(PodBuilder::basepath("Sources")) && !x.include?(basepath) && !x.include?(".xcodeproj/") }
60
60
  raise "xcworkspace not found!".red if xcworkspaces.count == 0
61
61
  raise "Found multiple xcworkspaces:\n#{xcworkspaces.join("\n")}".red if xcworkspaces.count > 1
62
62
 
@@ -1,4 +1,4 @@
1
1
  module PodBuilder
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pod-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Camin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-10 00:00:00.000000000 Z
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler