refinement 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/cocoapods_plugin.rb +1 -1
- data/lib/refinement/cocoapods_post_install_writer.rb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61159414fd746fe91c0a50bf44ad0f382a7abd0b9aae6fd16c67e989f9039650
|
4
|
+
data.tar.gz: f1d97a4cf3a54cee29209928dc3cbff10f981abc2b925d46b2312a6018ad9064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4c9f79c1971593e745864674fcabb9f05b89a0708e76d8bf59d0f37f9302a488847b2971b2c40d07287efe3d6aab8e23a0e1a95972beaae375cd06a6a55bed
|
7
|
+
data.tar.gz: ce51b8bc7721049959317f8366fb508e593c0690d1c78f12da13d0a69f2f5c9fd74149f2cfb413a116a51b9a990e74ba8fef192cfc59f20360236570235f1ce8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/cocoapods_plugin.rb
CHANGED
@@ -13,7 +13,7 @@ Pod::Installer
|
|
13
13
|
|
14
14
|
require 'refinement/cocoapods_post_install_writer'
|
15
15
|
Pod::UI.message 'Writing refinement file' do
|
16
|
-
Refinement::CocoaPodsPostInstallWriter.new(aggregate_targets, config, plugins['refinement']).write!
|
16
|
+
Refinement::CocoaPodsPostInstallWriter.new(aggregate_targets, pod_targets, config, plugins['refinement']).write!
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end)
|
@@ -3,16 +3,17 @@ module Refinement
|
|
3
3
|
# takes into account changes to Pod configuration,
|
4
4
|
# as well as the globs used by podspecs to search for files
|
5
5
|
class CocoaPodsPostInstallWriter
|
6
|
-
attr_reader :aggregate_targets, :config, :repo, :options
|
7
|
-
private :aggregate_targets, :config, :repo, :options
|
6
|
+
attr_reader :aggregate_targets, :pod_targets, :config, :repo, :options
|
7
|
+
private :aggregate_targets, :pod_targets, :config, :repo, :options
|
8
8
|
|
9
9
|
# Initializes a post-install writer with CocoaPods target objects.
|
10
10
|
# @return [CocoaPodsPostInstallWriter] a new instance of CocoaPodsPostInstallWriter
|
11
11
|
# @param aggregate_targets [Array<Pod::AggregateTarget>]
|
12
12
|
# @param config [Pod::Config]
|
13
13
|
# @param options [Hash]
|
14
|
-
def initialize(aggregate_targets, config, options)
|
14
|
+
def initialize(aggregate_targets, pod_targets, config, options)
|
15
15
|
@aggregate_targets = aggregate_targets
|
16
|
+
@pod_targets = pod_targets
|
16
17
|
@config = config
|
17
18
|
@repo = config.installation_root
|
18
19
|
@options = options || {}
|
@@ -38,7 +39,7 @@ module Refinement
|
|
38
39
|
aggregate_targets.each do |aggregate_target|
|
39
40
|
targets[aggregate_target.label] = paths_for_aggregate_target(aggregate_target)
|
40
41
|
end
|
41
|
-
|
42
|
+
pod_targets.each do |pod_target|
|
42
43
|
targets.merge! paths_for_pod_targets(pod_target)
|
43
44
|
end
|
44
45
|
targets
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinement
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Giddins
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcodeproj
|