legendary 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/legendary/gems.rb +6 -2
- data/lib/legendary/rspec.rb +1 -1
- data/lib/legendary/version.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: 594d2b34e13861f987648e281c471eb0012653d7
|
4
|
+
data.tar.gz: 5713f638590c9a06bcd8b052364847b9bd44c016
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc950ad55813e95d233e4bb4a5d639ace92685efaa142c3e0fe17078a0e3503acc23c38bb01a164bed871d414d0a5ed48e164ff397d23526832e7b75120c9f2a
|
7
|
+
data.tar.gz: 9503877abf04bb1ac894d4a2f8f013dfa370a053fe82ec78934ba1b7df07beeae5d10ca490965c1744b330027117db8c202b570ebca2153d4bc64cb01fe5775e
|
data/lib/legendary/gems.rb
CHANGED
@@ -7,7 +7,7 @@ module Legendary
|
|
7
7
|
delegate :dependencies, to: :bundler
|
8
8
|
delegate :specs, to: :bundler
|
9
9
|
|
10
|
-
def initialize
|
10
|
+
def initialize(cached=false)
|
11
11
|
@bundler = Bundler.load
|
12
12
|
end
|
13
13
|
|
@@ -22,7 +22,11 @@ module Legendary
|
|
22
22
|
def definitions
|
23
23
|
# TODO: locking from gemsurance
|
24
24
|
@definitions ||= Bundler.definition(true).tap do |definition|
|
25
|
-
|
25
|
+
if @cached
|
26
|
+
definition.resolve_with_cache!
|
27
|
+
else
|
28
|
+
definition.resolve_remotely!
|
29
|
+
end
|
26
30
|
end
|
27
31
|
end
|
28
32
|
end
|
data/lib/legendary/rspec.rb
CHANGED
data/lib/legendary/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: legendary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John D'Agostino
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|