breezer 0.4.0 → 0.5.0
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/README.md +6 -6
- data/breezer.gemspec +1 -1
- data/lib/breezer/freezer.rb +3 -0
- data/test/samples/Gemfile +9 -10
- data/test/samples/Gemfile.checked +9 -10
- data/test/samples/Gemfile.final.minor +9 -10
- data/test/samples/Gemfile.final.patch +9 -10
- data/test/samples/Gemfile.lock +48 -2
- 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: 98dd5c1644aae7137d5539e7c2a6f4a3962d1dadcd102f5105f3765392389b14
|
4
|
+
data.tar.gz: 0463b4c52a5eeed47e15954d9c769a0284a50ef3aafd1a697ced20fec3f790c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6edb02ad03c9bab37781b7e17c464a0d0edfa85f28474527c233df4091229889e9d2c8523931b1215717f9c62dd9469a2e80a77bdbe347feef773103a9ca66a9
|
7
|
+
data.tar.gz: 1c74af74bc42cdb20311024f22c9ad14355f57be58324a6bef26f12ae60e11d67c9ccbaceab8b8fadb1133283722edc9f74f9c160c19f2067ef3bfc125593a18
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,13 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# ❄️ Breezer
|
2
2
|
|
3
|
-
|
3
|
+
> /Bundle freezer/
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/breezer.svg)](http://badge.fury.io/rb/breezer)
|
5
6
|
|
6
|
-
A cli to automatically set all your Gemfile dependancies to your current version.
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
![video](./images/demo.gif)
|
8
|
+
A cli to automatically set all your Gemfile dependencies to safe versions.
|
11
9
|
|
12
10
|
## In short
|
13
11
|
|
@@ -16,6 +14,8 @@ A cli to automatically set all your Gemfile dependancies to your current version
|
|
16
14
|
* Run a check on your Gemfile to ensure all your deps are properly constrained.
|
17
15
|
* No deps except bundler.
|
18
16
|
|
17
|
+
![video](./images/demo.gif)
|
18
|
+
|
19
19
|
## Cli
|
20
20
|
|
21
21
|
```bash
|
data/breezer.gemspec
CHANGED
data/lib/breezer/freezer.rb
CHANGED
@@ -43,6 +43,9 @@ class Breezer::Freezer
|
|
43
43
|
# Drop lines if no gem declared
|
44
44
|
return false if (line =~ /gem[\s]+/).nil?
|
45
45
|
|
46
|
+
# Skip git and github direct references
|
47
|
+
return false if (line =~ /(git:\/\/|(github(:|\s)))/)
|
48
|
+
|
46
49
|
# Drop line if it's a comment
|
47
50
|
return false unless (line =~ /^[\s]?#/).nil?
|
48
51
|
|
data/test/samples/Gemfile
CHANGED
@@ -1,29 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source 'https://rubygems.org'
|
2
|
-
git_source(:github) {|repo| "https://github.com/#{repo}.git" }
|
4
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
5
|
|
4
6
|
ruby '2.6.5'
|
5
7
|
|
6
8
|
gem 'colorize'
|
7
|
-
|
8
9
|
gem 'ruby-progressbar'
|
9
|
-
|
10
10
|
gem 'bootsnap', '>= 1.4.2', require: false
|
11
|
+
gem 'carrierwave-azure', github: 'tsara27/carrierwave-azure'
|
12
|
+
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
|
13
|
+
# gem 'cancancan', '~> 1.10'
|
14
|
+
gem 'rack', git: 'git://github.com/rack/rack.git'
|
11
15
|
|
12
16
|
group :development, :test do
|
13
17
|
gem 'bullet'
|
14
18
|
gem 'byebug', platforms: %i[mri mingw x64_mingw]
|
15
19
|
gem 'rubocop', '~> 0.79.0'
|
20
|
+
gem 'simplecov', require: false
|
16
21
|
end
|
17
22
|
|
18
23
|
group :development do
|
19
24
|
gem 'listen', '>= 3.0.5', '< 3.2'
|
20
|
-
gem 'web-console', '>= 3.3.0'
|
21
25
|
gem 'spring'
|
22
26
|
gem 'spring-watcher-listen', '~> 2.0.0'
|
27
|
+
gem 'web-console', '>= 3.3.0'
|
23
28
|
end
|
24
|
-
|
25
|
-
group :test do
|
26
|
-
gem 'simplecov', require: false
|
27
|
-
end
|
28
|
-
|
29
|
-
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
|
@@ -1,29 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source 'https://rubygems.org'
|
2
|
-
git_source(:github) {|repo| "https://github.com/#{repo}.git" }
|
4
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
5
|
|
4
6
|
ruby '2.6.5'
|
5
7
|
|
6
8
|
gem 'colorize', '~> 0.8.1'
|
7
|
-
|
8
9
|
gem 'ruby-progressbar', '~> 1.10.1'
|
9
|
-
|
10
10
|
gem 'bootsnap', '~> 1.4.5', require: false
|
11
|
+
gem 'carrierwave-azure', github: 'tsara27/carrierwave-azure'
|
12
|
+
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] # breezer-disable
|
13
|
+
# gem 'cancancan', '~> 1.10'
|
14
|
+
gem 'rack', git: 'git://github.com/rack/rack.git'
|
11
15
|
|
12
16
|
group :development, :test do
|
13
17
|
gem 'bullet', '~> 6.1.0'
|
14
18
|
gem 'byebug', '~> 11.1.1', platforms: %i[mri mingw x64_mingw]
|
15
19
|
gem 'rubocop', '~> 0.79.0'
|
20
|
+
gem 'simplecov', '~> 0.18.1', require: false
|
16
21
|
end
|
17
22
|
|
18
23
|
group :development do
|
19
24
|
gem 'listen', '~> 3.1.5'
|
20
|
-
gem 'web-console', '~> 4.0.1'
|
21
25
|
gem 'spring', '~> 2.1.0'
|
22
26
|
gem 'spring-watcher-listen', '~> 2.0.1'
|
27
|
+
gem 'web-console', '~> 4.0.1'
|
23
28
|
end
|
24
|
-
|
25
|
-
group :test do
|
26
|
-
gem 'simplecov', '~> 0.18.1', require: false
|
27
|
-
end
|
28
|
-
|
29
|
-
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] # breezer-disable
|
@@ -1,29 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source 'https://rubygems.org'
|
2
|
-
git_source(:github) {|repo| "https://github.com/#{repo}.git" }
|
4
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
5
|
|
4
6
|
ruby '2.6.5'
|
5
7
|
|
6
8
|
gem 'colorize', '~> 0.8'
|
7
|
-
|
8
9
|
gem 'ruby-progressbar', '~> 1.10'
|
9
|
-
|
10
10
|
gem 'bootsnap', '~> 1.4', require: false
|
11
|
+
gem 'carrierwave-azure', github: 'tsara27/carrierwave-azure'
|
12
|
+
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
|
13
|
+
# gem 'cancancan', '~> 1.10'
|
14
|
+
gem 'rack', git: 'git://github.com/rack/rack.git'
|
11
15
|
|
12
16
|
group :development, :test do
|
13
17
|
gem 'bullet', '~> 6.1'
|
14
18
|
gem 'byebug', '~> 11.1', platforms: %i[mri mingw x64_mingw]
|
15
19
|
gem 'rubocop', '~> 0.79'
|
20
|
+
gem 'simplecov', '~> 0.18', require: false
|
16
21
|
end
|
17
22
|
|
18
23
|
group :development do
|
19
24
|
gem 'listen', '~> 3.1'
|
20
|
-
gem 'web-console', '~> 4.0'
|
21
25
|
gem 'spring', '~> 2.1'
|
22
26
|
gem 'spring-watcher-listen', '~> 2.0'
|
27
|
+
gem 'web-console', '~> 4.0'
|
23
28
|
end
|
24
|
-
|
25
|
-
group :test do
|
26
|
-
gem 'simplecov', '~> 0.18', require: false
|
27
|
-
end
|
28
|
-
|
29
|
-
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
|
@@ -1,29 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source 'https://rubygems.org'
|
2
|
-
git_source(:github) {|repo| "https://github.com/#{repo}.git" }
|
4
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
5
|
|
4
6
|
ruby '2.6.5'
|
5
7
|
|
6
8
|
gem 'colorize', '~> 0.8.1'
|
7
|
-
|
8
9
|
gem 'ruby-progressbar', '~> 1.10.1'
|
9
|
-
|
10
10
|
gem 'bootsnap', '~> 1.4.5', require: false
|
11
|
+
gem 'carrierwave-azure', github: 'tsara27/carrierwave-azure'
|
12
|
+
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
|
13
|
+
# gem 'cancancan', '~> 1.10'
|
14
|
+
gem 'rack', git: 'git://github.com/rack/rack.git'
|
11
15
|
|
12
16
|
group :development, :test do
|
13
17
|
gem 'bullet', '~> 6.1.0'
|
14
18
|
gem 'byebug', '~> 11.1.1', platforms: %i[mri mingw x64_mingw]
|
15
19
|
gem 'rubocop', '~> 0.79.0'
|
20
|
+
gem 'simplecov', '~> 0.18.1', require: false
|
16
21
|
end
|
17
22
|
|
18
23
|
group :development do
|
19
24
|
gem 'listen', '~> 3.1.5'
|
20
|
-
gem 'web-console', '~> 4.0.1'
|
21
25
|
gem 'spring', '~> 2.1.0'
|
22
26
|
gem 'spring-watcher-listen', '~> 2.0.1'
|
27
|
+
gem 'web-console', '~> 4.0.1'
|
23
28
|
end
|
24
|
-
|
25
|
-
group :test do
|
26
|
-
gem 'simplecov', '~> 0.18.1', require: false
|
27
|
-
end
|
28
|
-
|
29
|
-
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
|
data/test/samples/Gemfile.lock
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rack/rack.git
|
3
|
+
revision: 5cdea4f6ded1e77a8077945ccee0950aedf25279
|
4
|
+
specs:
|
5
|
+
rack (2.2.0)
|
6
|
+
|
7
|
+
GIT
|
8
|
+
remote: https://github.com/tsara27/carrierwave-azure.git
|
9
|
+
revision: d348af2f7e0a440f64bda46c6479c61c87f1ad9c
|
10
|
+
specs:
|
11
|
+
carrierwave-azure (0.0.3)
|
12
|
+
azure
|
13
|
+
carrierwave
|
14
|
+
|
1
15
|
GEM
|
2
16
|
remote: https://rubygems.org/
|
3
17
|
specs:
|
@@ -22,7 +36,15 @@ GEM
|
|
22
36
|
minitest (~> 5.1)
|
23
37
|
tzinfo (~> 1.1)
|
24
38
|
zeitwerk (~> 2.2)
|
39
|
+
addressable (2.7.0)
|
40
|
+
public_suffix (>= 2.0.2, < 5.0)
|
25
41
|
ast (2.4.0)
|
42
|
+
azure (0.6.4)
|
43
|
+
json (~> 1.8)
|
44
|
+
mime-types (~> 1.0)
|
45
|
+
nokogiri (~> 1.5)
|
46
|
+
systemu (~> 2.6)
|
47
|
+
uuid (~> 2.0)
|
26
48
|
bindex (0.8.1)
|
27
49
|
bootsnap (1.4.5)
|
28
50
|
msgpack (~> 1.0)
|
@@ -31,6 +53,13 @@ GEM
|
|
31
53
|
activesupport (>= 3.0.0)
|
32
54
|
uniform_notifier (~> 1.11)
|
33
55
|
byebug (11.1.1)
|
56
|
+
carrierwave (2.0.2)
|
57
|
+
activemodel (>= 5.0.0)
|
58
|
+
activesupport (>= 5.0.0)
|
59
|
+
addressable (~> 2.6)
|
60
|
+
image_processing (~> 1.1)
|
61
|
+
mimemagic (>= 0.3.0)
|
62
|
+
mini_mime (>= 0.1.3)
|
34
63
|
colorize (0.8.1)
|
35
64
|
concurrent-ruby (1.1.5)
|
36
65
|
crass (1.0.6)
|
@@ -39,7 +68,11 @@ GEM
|
|
39
68
|
ffi (1.12.2)
|
40
69
|
i18n (1.8.2)
|
41
70
|
concurrent-ruby (~> 1.0)
|
71
|
+
image_processing (1.10.3)
|
72
|
+
mini_magick (>= 4.9.5, < 5)
|
73
|
+
ruby-vips (>= 2.0.17, < 3)
|
42
74
|
jaro_winkler (1.5.4)
|
75
|
+
json (1.8.6)
|
43
76
|
listen (3.1.5)
|
44
77
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
45
78
|
rb-inotify (~> 0.9, >= 0.9.7)
|
@@ -47,7 +80,13 @@ GEM
|
|
47
80
|
loofah (2.4.0)
|
48
81
|
crass (~> 1.0.2)
|
49
82
|
nokogiri (>= 1.5.9)
|
83
|
+
macaddr (1.7.2)
|
84
|
+
systemu (~> 2.6.5)
|
50
85
|
method_source (0.9.2)
|
86
|
+
mime-types (1.25.1)
|
87
|
+
mimemagic (0.3.4)
|
88
|
+
mini_magick (4.10.1)
|
89
|
+
mini_mime (1.0.2)
|
51
90
|
mini_portile2 (2.4.0)
|
52
91
|
minitest (5.14.0)
|
53
92
|
msgpack (1.3.3)
|
@@ -56,7 +95,7 @@ GEM
|
|
56
95
|
parallel (1.19.1)
|
57
96
|
parser (2.7.0.2)
|
58
97
|
ast (~> 2.4.0)
|
59
|
-
|
98
|
+
public_suffix (4.0.3)
|
60
99
|
rack-test (1.1.0)
|
61
100
|
rack (>= 1.0, < 3)
|
62
101
|
rails-dom-testing (2.0.3)
|
@@ -83,6 +122,8 @@ GEM
|
|
83
122
|
ruby-progressbar (~> 1.7)
|
84
123
|
unicode-display_width (>= 1.4.0, < 1.7)
|
85
124
|
ruby-progressbar (1.10.1)
|
125
|
+
ruby-vips (2.0.17)
|
126
|
+
ffi (~> 1.9)
|
86
127
|
ruby_dep (1.5.0)
|
87
128
|
simplecov (0.18.1)
|
88
129
|
docile (~> 1.1)
|
@@ -92,12 +133,15 @@ GEM
|
|
92
133
|
spring-watcher-listen (2.0.1)
|
93
134
|
listen (>= 2.7, < 4.0)
|
94
135
|
spring (>= 1.2, < 3.0)
|
136
|
+
systemu (2.6.5)
|
95
137
|
thor (1.0.1)
|
96
138
|
thread_safe (0.3.6)
|
97
139
|
tzinfo (1.2.6)
|
98
140
|
thread_safe (~> 0.1)
|
99
141
|
unicode-display_width (1.6.1)
|
100
142
|
uniform_notifier (1.13.0)
|
143
|
+
uuid (2.3.9)
|
144
|
+
macaddr (~> 1.0)
|
101
145
|
web-console (4.0.1)
|
102
146
|
actionview (>= 6.0.0)
|
103
147
|
activemodel (>= 6.0.0)
|
@@ -112,8 +156,10 @@ DEPENDENCIES
|
|
112
156
|
bootsnap (>= 1.4.2)
|
113
157
|
bullet
|
114
158
|
byebug
|
159
|
+
carrierwave-azure!
|
115
160
|
colorize
|
116
161
|
listen (>= 3.0.5, < 3.2)
|
162
|
+
rack!
|
117
163
|
rubocop (~> 0.79.0)
|
118
164
|
ruby-progressbar
|
119
165
|
simplecov
|
@@ -126,4 +172,4 @@ RUBY VERSION
|
|
126
172
|
ruby 2.6.5p114
|
127
173
|
|
128
174
|
BUNDLED WITH
|
129
|
-
2.
|
175
|
+
2.1.4
|