bigkeeper 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/big_keeper/dependency/dep_gradle_operator.rb +4 -4
- data/lib/big_keeper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da570e5e33eb967d29da59f451cdf6e0576296e3
|
4
|
+
data.tar.gz: 042531a18b3acf3acb37dceb2635599e17de7c86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4dae8988e739591c9f831067ed27d094ecc4ab36a0a278b49c734eaff7d41eb4485ba05fe1c068e91c222f0dfb31050ea984d8af2f63dd07174efbb385d8f22
|
7
|
+
data.tar.gz: a086662146ebe5a2618dd78e1eec97c5010c17790a91bb419c7845586c451c9ad7044eb71b3fe4203ff271dc3c7ae8c3619b4af5664f0bd567cb94fd98264506
|
@@ -6,7 +6,7 @@ module BigKeeper
|
|
6
6
|
|
7
7
|
def backup
|
8
8
|
cache_operator = CacheOperator.new(@path)
|
9
|
-
cache_operator.save('
|
9
|
+
cache_operator.save('settings.gradle')
|
10
10
|
Dir.glob("#{@path}/*/build.gradle").each do |build_gradle_file_path|
|
11
11
|
build_gradle_file = build_gradle_file_path.gsub!(/#{@path}/, '')
|
12
12
|
cache_operator.save(build_gradle_file)
|
@@ -16,7 +16,7 @@ module BigKeeper
|
|
16
16
|
def recover
|
17
17
|
cache_operator = CacheOperator.new(@path)
|
18
18
|
|
19
|
-
cache_operator.load('
|
19
|
+
cache_operator.load('settings.gradle')
|
20
20
|
Dir.glob("#{@path}/*/build.gradle").each do |build_gradle_file_path|
|
21
21
|
build_gradle_file = build_gradle_file_path.gsub!(/#{@path}/, '')
|
22
22
|
cache_operator.load(build_gradle_file)
|
@@ -93,10 +93,10 @@ module BigKeeper
|
|
93
93
|
def install(addition)
|
94
94
|
modules = modules_with_type(BigkeeperParser.module_names, ModuleType::PATH)
|
95
95
|
|
96
|
-
CacheOperator.new(@path).load('
|
96
|
+
CacheOperator.new(@path).load('settings.gradle')
|
97
97
|
|
98
98
|
begin
|
99
|
-
File.open("#{@path}/
|
99
|
+
File.open("#{@path}/settings.gradle", 'a') do |file|
|
100
100
|
modules.each do |module_name|
|
101
101
|
module_path = BigkeeperParser.module_path(user, module_name)
|
102
102
|
file.puts "include '#{prefix_of_module(module_name)}#{module_name.downcase}'\r\n"
|
data/lib/big_keeper/version.rb
CHANGED