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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a99bcf514ec4c492f440d7da3f88fa0fa985965ba26ba5a1d402f24c00a7bee9
4
- data.tar.gz: 65bc69b43d47cf902c76e7271f77a611c29d7dab4e40d2bd09763d846a1dddcb
3
+ metadata.gz: 61159414fd746fe91c0a50bf44ad0f382a7abd0b9aae6fd16c67e989f9039650
4
+ data.tar.gz: f1d97a4cf3a54cee29209928dc3cbff10f981abc2b925d46b2312a6018ad9064
5
5
  SHA512:
6
- metadata.gz: 59564e789d67708dcb2ad0a565f434f170d9343234a448106292be5eb1666c5b0b9cd41ec7a6ab359989fb2b1baef0c7977bcc799bb5d0f4ac537a650fc7aa98
7
- data.tar.gz: 8f464e9634f5ab6227d1165c8e7c3653bbe949437065b17c2b9c2beb3af1ac6827a78ec95d1699cf82d183b90f1d83b6fe87bb3006580938d65f4c075d1ba37e
6
+ metadata.gz: 7b4c9f79c1971593e745864674fcabb9f05b89a0708e76d8bf59d0f37f9302a488847b2971b2c40d07287efe3d6aab8e23a0e1a95972beaae375cd06a6a55bed
7
+ data.tar.gz: ce51b8bc7721049959317f8366fb508e593c0690d1c78f12da13d0a69f2f5c9fd74149f2cfb413a116a51b9a990e74ba8fef192cfc59f20360236570235f1ce8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Refinement Changes
2
2
 
3
+ ## 0.2.1 (2019-04-08)
4
+
5
+ ##### Bug Fixes
6
+
7
+ * Record augmenting paths for pods that are not linked against any user targets.
8
+
9
+
3
10
  ## 0.2.0 (2019-03-21)
4
11
 
5
12
  ##### Enhancements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -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
- aggregate_targets.flat_map(&:pod_targets).uniq.each do |pod_target|
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.0
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-03-21 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj