summaryrefslogtreecommitdiff
path: root/lib/bundler/remote_specification.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-05-30 17:34:30 -0700
committerAndre Arko <andre@arko.net>2015-05-30 17:34:32 -0700
commit6817f3ad86bceb5f56108a67d3a1f7b11d78dc69 (patch)
tree113b7db14f124f1187935d2ed715779fc5e3f183 /lib/bundler/remote_specification.rb
parentd93b37e49266fd7adfd550f12295ac2593605085 (diff)
downloadbundler-6817f3ad86bceb5f56108a67d3a1f7b11d78dc69.tar.gz
Hoist StubSpecification up into a file
Diffstat (limited to 'lib/bundler/remote_specification.rb')
-rw-r--r--lib/bundler/remote_specification.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/bundler/remote_specification.rb b/lib/bundler/remote_specification.rb
index 456686dc0f..c80eaa40fc 100644
--- a/lib/bundler/remote_specification.rb
+++ b/lib/bundler/remote_specification.rb
@@ -54,24 +54,4 @@ module Bundler
end
end
end
-
- class StubSpecification < RemoteSpecification
- def self.from_stub(stub)
- spec = new(stub.name, stub.version, stub.platform, nil)
- spec.stub = stub
- spec
- end
-
- attr_accessor :stub
-
- def to_yaml
- _remote_specification.to_yaml
- end
-
- private
-
- def _remote_specification
- stub.to_spec
- end
- end
end