Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove gems dependency

  • Loading branch information...
commit 63b77d7e397520b117fd95fec8b96143fc5e6024 1 parent 3117dc0
@pengwynn authored
View
10 lib/nesta-plugin-project-meta/init.rb
@@ -1,6 +1,5 @@
require 'api_cache'
require 'octokit'
-require 'gems'
require 'hashie'
module Nesta
@@ -15,15 +14,6 @@ def self.github_meta(page)
end
end
- def self.rubygems_meta(page)
- gem_name = page.metadata('gem')
- return nil if gem_name.nil?
-
- APICache.get("gem-#{gem_name}", :fail => nil) do
- Hashie::Mash.new(Gems.info(gem_name))
- end
- end
-
module Helpers
def github_meta(page)
ProjectMeta.github_meta(page)
View
1  nesta-plugin-project-meta.gemspec
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.add_dependency("nesta", ">= 0.9.11")
s.add_dependency("octokit", "~> 0.6.2")
- s.add_dependency("gems", "~> 0.5.0")
s.add_dependency("hashie", "~> 1.0.0")
s.add_dependency("api_cache", "~> 0.2.3")
Please sign in to comment.
Something went wrong with that request. Please try again.