refinement 0.1.0 → 0.1.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: 695104530dba26775514c23cdf0e7802eb5cc2d83c421855c1a063b064a86a2e
4
- data.tar.gz: 46d8e6cdb5774196354a4e13ca91f2bc5db969f572116856db0bf8498102a245
3
+ metadata.gz: 87c655329c601f9c86f48116dace0494bf45ec6661175a2a4ac5a64cd3a3fdb1
4
+ data.tar.gz: a08fa1b1e1241dbf3556ccafba733d569b29e4c23871c69c87b90183bacf80de
5
5
  SHA512:
6
- metadata.gz: 8e5c9694afb88668f2224a50863f37a2624dbcc0a7cdc5e32e4ad4e91f718a66658475a5b4fa3bbb33f7601dc63f5950982794a51d94e2654d90f0655b474b97
7
- data.tar.gz: c2a655bf067bedd777d7dc2a5b2a0a4beede3250fb8708219884e63bfff4e66f7dd260ba7e4b6a47ba1a9538f2d819e4b4e763bef7084a12386b77e4a5a1fbc0
6
+ metadata.gz: 73ab3f309ae51a604e4519210d2b3fc4c0e1f25b5f0bbe5ec7803ac6f3d22ef02695b4087756a5b34d464b4c7080477b47c0bf912101f339bb2225e724fc99a0
7
+ data.tar.gz: 8089a83f61739697d9c9b710dc2c0a99d6c2b4493a79a462e86f92dc9565aedbeaaf94eb902eedaf826415db386d1f122893b7820934988dc1d9f3eeb4ae99af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Refinement Changes
2
2
 
3
+ ## 0.1.1 (2019-03-06)
4
+
5
+ ##### Bug Fixes
6
+
7
+ * Use the merge base with the target revision to determine to prior contents of a file.
8
+ This will allow YAML keypath dependencies to resolve correctly, versus reading from the
9
+ current tip of the target branch.
10
+
3
11
  ## 0.1.0 (2019-02-19)
4
12
 
5
13
  ##### Enhancements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -135,7 +135,7 @@ module Refinement
135
135
  def self.from_git(repository:, base_revision:)
136
136
  merge_base = git!('merge-base', base_revision, 'HEAD', chdir: repository).strip
137
137
  diff = git!('diff', '--raw', '-z', merge_base, chdir: repository)
138
- modifications = parse_raw_diff(diff, repository: repository, base_revision: base_revision).freeze
138
+ modifications = parse_raw_diff(diff, repository: repository, base_revision: merge_base).freeze
139
139
 
140
140
  new(repository: repository, modifications: modifications)
141
141
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinement
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.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-02-19 00:00:00.000000000 Z
11
+ date: 2019-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.8.1
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 1.8.0
22
+ version: '2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 1.8.1
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 1.8.0
32
+ version: '2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement