refinement 0.3.0 → 0.3.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: 23ec4c7c515278641dbd8dd7f8927a42126801d00d0963979a5deca88937382d
4
- data.tar.gz: 10b9168d22d7853fbcbdc0d5a47127643a86f41a55bf6260b9f21c3a88457778
3
+ metadata.gz: 42b43f8f3081cf4cca09c0a24956f5f12acdf6a9d4d6118c50e633be98314eed
4
+ data.tar.gz: 0c3146bb128a1c914a0d8ada40bb822f6e2fb6ea808c9f375d5cfc2bd28d971b
5
5
  SHA512:
6
- metadata.gz: d88a448b3f573e5f7441dd81b2fc818b928f61f4aeb7fcbbf4b31a9cbb33fd64cc0f91b9d9199a572017b1bde699595c694831368ac528d961d54f3e65f951d3
7
- data.tar.gz: 7d9eddf6218a4f70d433a55e8fa1aef2b055dbe5d8f599c94e1496a407de45704e260808562dd2c8358991ca40054cb0eeeae52740c011d5d5384428e9124038
6
+ metadata.gz: b317658245f639d73554c56bc25db74305f046376b5b966b2cc9a443c379390ace4fe5e8ccbbe7318f18722d707271439211d2b0635ce7b418191a4f471f4b6f
7
+ data.tar.gz: 40fe0d269f5dbf305ac152eb3bbcd9961f596e4dde117602154dbf2f4b0266c44a856770d709e437010efec9d8bbd4f772e278c4c1d63fa743b618b67a84f446
@@ -1,5 +1,12 @@
1
1
  # Refinement Changes
2
2
 
3
+ ## 0.3.1 (2019-08-09)
4
+
5
+ ##### Bug Fixes
6
+
7
+ * Take into consideration product reference names when refinining.
8
+
9
+
3
10
  ## 0.3.0 (2019-08-09)
4
11
 
5
12
  ##### Bug Fixes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -153,11 +153,11 @@ module Refinement
153
153
  targets = projects.flat_map(&:targets)
154
154
  targets_by_uuid = Hash[targets.map { |t| [t.uuid, t] }]
155
155
  targets_by_name = Hash[targets.map { |t| [t.name, t] }]
156
- targets_by_product_name = Hash[targets.map do |t|
156
+ targets_by_product_name = targets.each_with_object({}) do |t, h|
157
157
  next unless t.respond_to?(:product_reference)
158
-
159
- [File.basename(t.product_reference.path), t]
160
- end.compact]
158
+ h[File.basename(t.product_reference.path)] = t
159
+ h[File.basename(t.product_reference.name)] = t if t.product_reference.name
160
+ end
161
161
 
162
162
  find_dep = ->(td) { targets_by_uuid[td.native_target_uuid] || targets_by_name[td.name] }
163
163
  target_deps = lambda do |target|
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.3.0
4
+ version: 0.3.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-08-12 00:00:00.000000000 Z
11
+ date: 2019-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.0.4
88
+ rubygems_version: 3.0.1
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Generates a list of Xcode targets to build & test as a result of a git diff.