cocoapods-tdfire-binary 0.1.7 → 0.1.8

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: 4705698b543d0946ed9ec9a5550d464acfeec7f3
4
- data.tar.gz: b0f7db70ab05be66cc56a9748e8b63938e73855a
3
+ metadata.gz: 657b1c465e3ae04542e623c91b8d25e956461761
4
+ data.tar.gz: 4036ef11758257d58599ef7b12aaaf8bbfe641dc
5
5
  SHA512:
6
- metadata.gz: e0d16931ab6a53d1f34b1c45527070fb5064ff4f8904da94897645335140cfd242642a7a401e4ac90e683d764680655a287019dd8ca3dbbc2259dfd87c037e68
7
- data.tar.gz: 805e103223cd1581c0e942bc69a6101b9d14e32d0dcffbc044a45acae936c8478272764ccc83077fe250ee7ebddbe40ec5ad5d2e691396033b867d28a3c342ca
6
+ metadata.gz: 709fba2804df01c8676fef64d490ba95f68a132610e841c770d9d99708f6bbfc7336cef8be8e0715bfccf04c0c204bb42568acd63b26b64ea8eb1df0da84eefd
7
+ data.tar.gz: 3b2b5d3ebf2d26c5037d139100897bfbe622099962461c47ca6c78d426b65cf00e4325058eb152ba34753e8df41bf287eb050710e5aa0afe2864da8a0b7e89dd
data/Gemfile.lock CHANGED
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-tdfire-binary (0.1.7)
4
+ cocoapods-tdfire-binary (0.1.8)
5
5
  cocoapods (~> 1.4)
6
- colored2 (~> 3.1)
7
6
 
8
7
  GEM
9
8
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -8,6 +8,14 @@ A description of cocoapods-tdfire-binary.
8
8
 
9
9
  ## Usage
10
10
 
11
+ > For .gitignore
12
+
13
+ ```
14
+ ...
15
+
16
+ *.framework
17
+ ```
18
+
11
19
  > For Podfile
12
20
 
13
21
  ```
@@ -15,34 +23,39 @@ A description of cocoapods-tdfire-binary.
15
23
  plugin 'cocoapods-tdfire-binary'
16
24
 
17
25
  tdfire_use_binary!
18
- tdfire_use_source_pods 'AFNetworking'
26
+ tdfire_use_source_pods ['AFNetworking']
19
27
 
20
28
  use_frameworks!
21
29
 
22
30
  ...
23
31
 
24
- tdfire_external_pods 'SDWebImage'
25
-
26
32
  ```
27
33
 
28
34
  > For podspec
29
35
 
30
36
  ```
31
- s.tdfire_source |s|
32
- # source configuration
33
- ...
37
+ ...
34
38
 
39
+ tdfire_source_proc = Proc.new do
40
+ # source configuration
35
41
  end
36
42
 
37
- s.tdfire_binary |s|
38
- # binary configuration
39
-
40
- s.vendored_framework = "#{s.name}.framework"
41
- s.source_files = "#{s.name}.framework/Headers/*"
42
- s.public_header_files = "#{s.name}.framework/Headers/*"
43
-
44
- ...
43
+ unless %w[tdfire_set_binary_download_configurations_at_last tdfire_source tdfire_binary].reduce(true) { |r, m| s.respond_to?(m) & r }
44
+
45
+ tdfire_source_proc.call
46
+ else
47
+ s.tdfire_source &tdfire_source_proc
48
+
49
+ s.tdfire_binary do
50
+ s.vendored_framework = "#{s.name}.framework"
51
+ s.source_files = "#{s.name}.framework/Headers/*"
52
+ s.public_header_files = "#{s.name}.framework/Headers/*"
53
+
54
+ # binary configuration
55
+ end
56
+
57
+ # s.tdfire_set_binary_download_configurations_at_last(download_url)
58
+ s.tdfire_set_binary_download_configurations_at_last
45
59
  end
46
60
 
47
- s.tdfire_set_binary_download_configurations_at_last
48
61
  ```
@@ -22,5 +22,4 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'rake', '~> 12.0'
23
23
 
24
24
  spec.add_dependency 'cocoapods', '~> 1.4'
25
- spec.add_dependency 'colored2', '~> 3.1'
26
25
  end
@@ -1,3 +1,3 @@
1
1
  module CocoapodsTdfireBinary
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -54,7 +54,7 @@ module Pod
54
54
  private
55
55
 
56
56
  def framework_url_for_pod_version(pod, version)
57
- "http://10.1.131.104:8080/getframework/PRODUCTION/#{pod}/#{version}"
57
+ "http://iosframeworkserver-shopkeeperclient.cloudapps.2dfire.com/getframework/PRODUCTION/#{pod}/#{version}"
58
58
  end
59
59
 
60
60
  def set_framework_preserve_paths
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-tdfire-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - tripleCC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-21 00:00:00.000000000 Z
11
+ date: 2018-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.4'
55
- - !ruby/object:Gem::Dependency
56
- name: colored2
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '3.1'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '3.1'
69
55
  description: cocoapods-tdfire-binary is a plugin which helps developer switching there
70
56
  project dependency between source and binary.
71
57
  email: