breezer 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/breezer/version.rb +1 -1
- data/lib/breezer.rb +4 -1
- data/test/test_breezer.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a257e4fc4af102117ba2d59a01578bd12f83182496fa4416e5b273d5eee27e9
|
4
|
+
data.tar.gz: a0d9cfdb594f19d6905188d9fb8fc87922e50a4451fbd63e82f9409bc255c600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46952f038351ba2c475c1a723406b29d99df6db132607b4a3892adf6bc489353aa5a699257e67a56931e4e098d31df615c4b209ab8d8641e22c4bf6d7741f970
|
7
|
+
data.tar.gz: 3162581925835e11dfa934da53bc9dadae0a94fe0d44fa6a483fce97d255fd2c9a7ce96c835cf9990880141e8b444c2453a35212cdd7003d0c84d3ebd73b8523
|
data/Gemfile.lock
CHANGED
data/lib/breezer/version.rb
CHANGED
data/lib/breezer.rb
CHANGED
@@ -4,8 +4,9 @@
|
|
4
4
|
# This is our main class.
|
5
5
|
# Call Breezer.freeze! to update the Gemfile
|
6
6
|
#
|
7
|
-
|
7
|
+
module Breezer
|
8
8
|
def self.freeze!(gemfile_path, lockfile_path, **options)
|
9
|
+
puts "Updating Gemfile #{gemfile_path}..."
|
9
10
|
absolute_lockfile_path = File.join(lockfile_path)
|
10
11
|
absolute_gemfile_path = File.join(gemfile_path)
|
11
12
|
ENV['BUNDLE_GEMFILE'] = absolute_gemfile_path
|
@@ -21,6 +22,7 @@ class Breezer
|
|
21
22
|
end
|
22
23
|
|
23
24
|
def self.check_gemfile!(gemfile, deps, options)
|
25
|
+
puts "Checking Gemfile #{gemfile}..."
|
24
26
|
checks = Freezer.check_gemfile!(gemfile, deps, options)
|
25
27
|
print_check_results(checks)
|
26
28
|
checks.values.map { |e| e[:valid] }.all?
|
@@ -38,6 +40,7 @@ class Breezer
|
|
38
40
|
File.open(output_path, 'w') do |file|
|
39
41
|
file.write(updated_gemfile)
|
40
42
|
end
|
43
|
+
puts "Gemfile updated !"
|
41
44
|
end
|
42
45
|
updated_gemfile
|
43
46
|
end
|
data/test/test_breezer.rb
CHANGED