bundle_outdated 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/bundle_outdated/gem_dependency.rb +1 -1
- data/lib/bundle_outdated/version.rb +1 -1
- data/test/gem_dependency_test.rb +8 -0
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/test/gem_dependency_test.rb
CHANGED
@@ -60,4 +60,12 @@ class GemDependencyTest < Test::Unit::TestCase
|
|
60
60
|
gd = BundleOutdated::GemDependency.new 'gem "rails", "3.1"'
|
61
61
|
assert !gd.outdated?
|
62
62
|
end
|
63
|
+
|
64
|
+
def test_outdated_handles_unavailable_gems
|
65
|
+
mock(Gem).latest_version_for('rails') { nil }
|
66
|
+
gd = BundleOutdated::GemDependency.new 'gem "rails", "3.1"'
|
67
|
+
assert_nothing_raised {
|
68
|
+
assert !gd.outdated?
|
69
|
+
}
|
70
|
+
end
|
63
71
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundle_outdated
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Patrick Lenz
|