git_compound 0.2.1 → 0.2.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 287db85dda9ecf699911c56ab8ccde4c7c8069f2
|
4
|
+
data.tar.gz: fb80f3b9f28b5819fbdb4e6cd9212eabc9fa4e4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6822d5a321144d9258d08e43f620e7d09c1875323db6f46742a17a8b649859cff8de40e4bea835dc45e2242f09d6b221a898555461e3b68683868630ae19669
|
7
|
+
data.tar.gz: 7b5a67c18e65ddd93e02ee68805aff98d6e94d64898e8dedc25f67b44d2be7c91f452fb5f5eee762b93f82c4ab24da76db149ec38585921eb79057700161b67f
|
data/README.md
CHANGED
@@ -86,6 +86,8 @@ If manifest is not supplied, it uses `Compoundfile` or `.gitcompound`
|
|
86
86
|
|
87
87
|
`gitcompound update [manifest]` -- updates project and lockfile
|
88
88
|
|
89
|
+
If parameter `--perserve-lock` is present, lockfile will not be updated.
|
90
|
+
|
89
91
|
### check
|
90
92
|
|
91
93
|
`gitcompound check [manifest]` -- checks for circular dependencies, conflicting dependencies
|
@@ -14,6 +14,10 @@ module GitCompound
|
|
14
14
|
Logger.info 'Building components from lockfile ...'
|
15
15
|
end
|
16
16
|
|
17
|
+
step :protect_local_modifications do
|
18
|
+
@lock.process(Worker::LocalChangesGuard.new(@lock))
|
19
|
+
end
|
20
|
+
|
17
21
|
step :verify_manifest do
|
18
22
|
raise GitCompoundError,
|
19
23
|
'Manifest md5sum has changed ! Use `update` command.' unless
|
@@ -8,6 +8,7 @@ module GitCompound
|
|
8
8
|
include Element::Lock
|
9
9
|
include Element::Subprocedure
|
10
10
|
|
11
|
+
add_parameter :perserve_lock, type: :boolean
|
11
12
|
add_subprocedure :check_dependencies, Check
|
12
13
|
add_subprocedure :tasks_runner, Tasks
|
13
14
|
|
@@ -35,8 +36,10 @@ module GitCompound
|
|
35
36
|
end
|
36
37
|
|
37
38
|
step :lock_updated_manifest do
|
38
|
-
@
|
39
|
-
|
39
|
+
unless @opts[:perserve_lock]
|
40
|
+
@lock_new.lock_manifest(@manifest)
|
41
|
+
@lock_new.write
|
42
|
+
end
|
40
43
|
end
|
41
44
|
|
42
45
|
step :remove_dormant_components do
|
data/lib/git_compound/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_compound
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grzegorz Bizon
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|