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 +4 -4
- data/CHANGELOG.md +8 -0
- data/VERSION +1 -1
- data/lib/refinement/changeset.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87c655329c601f9c86f48116dace0494bf45ec6661175a2a4ac5a64cd3a3fdb1
|
4
|
+
data.tar.gz: a08fa1b1e1241dbf3556ccafba733d569b29e4c23871c69c87b90183bacf80de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
0.1.1
|
data/lib/refinement/changeset.rb
CHANGED
@@ -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:
|
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.
|
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-
|
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:
|
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:
|
32
|
+
version: '2'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rake
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|