bummr 0.1.8 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bummr/outdated.rb +3 -3
- data/lib/bummr/version.rb +1 -1
- data/spec/lib/outdated_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f15bb656e0b45498a6417f7e7571dc0f93acf4c9
|
4
|
+
data.tar.gz: eb89e0ab5a81aec2915dab5f93b1eec3d01a6787
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75b4f53f9f67395c0db7bc2f9c05d30f9bfab145f80f6f7b5a8f6ee6b77286f8d3fe01f76eca750770ce03604b53ed28046b9fe6633e9fd31f13847bb4a2f5bc
|
7
|
+
data.tar.gz: 6573de4f16f0a123a81ff7c83d0fdc93cb700480a33dbd1702e28bf6a8f1851ab25527d21adde21ea2b29b280d36f8f9444311ad0fe9821a2bbd36ef01af8d71
|
data/lib/bummr/outdated.rb
CHANGED
@@ -8,10 +8,10 @@ module Bummr
|
|
8
8
|
def outdated_gems(all_gems: false)
|
9
9
|
results = []
|
10
10
|
|
11
|
-
options =
|
12
|
-
options << "--strict" unless all_gems
|
11
|
+
options = ""
|
12
|
+
options << " --strict" unless all_gems
|
13
13
|
|
14
|
-
Open3.popen2("bundle outdated"
|
14
|
+
Open3.popen2("bundle outdated" + options) do |_std_in, std_out|
|
15
15
|
while line = std_out.gets
|
16
16
|
puts line
|
17
17
|
gem = parse_gem_from(line)
|
data/lib/bummr/version.rb
CHANGED
data/spec/lib/outdated_spec.rb
CHANGED
@@ -53,7 +53,7 @@ describe Bummr::Outdated do
|
|
53
53
|
end
|
54
54
|
|
55
55
|
it "defaults to false" do
|
56
|
-
expect(Open3).to receive(:popen2).with("bundle outdated
|
56
|
+
expect(Open3).to receive(:popen2).with("bundle outdated --strict").and_yield(nil, stdoutput)
|
57
57
|
|
58
58
|
allow(Bummr::Outdated.instance).to receive(:gemfile).and_return gemfile
|
59
59
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bummr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Pender
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|