yammer-oauth2.gemspec in yammer-oauth2-0.1.1 vs yammer-oauth2.gemspec in yammer-oauth2-0.2.0
- old
+ new
@@ -1,15 +1,12 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yammer-oauth2/version'
Gem::Specification.new do |spec|
- spec.add_dependency 'oauth2-client', '~> 1.1.2'
- spec.add_development_dependency 'bundler', '~> 1.0'
-
spec.authors = ["Kevin Mutyaba"]
- spec.date = %q{2013-03-03}
+ spec.date = %q{2013-04-22}
spec.description = "A Yammer OAuth2 wrapper"
spec.email = %q{tiabasnk@gmail.com}
spec.files = `git ls-files`.split("\n")
spec.homepage = 'http://tiabas.github.com/yammer-oauth2/'
spec.licenses = ['MIT']
@@ -18,7 +15,10 @@
spec.required_rubygems_version = '>= 1.3.6'
spec.summary = "OAuth2 client wrapper for Yammer"
spec.version = YammerOAuth2::Version
spec.cert_chain = ['certs/tiabas-public.pem']
- spec.signing_key = File.expand_path("~/.gem/certs/private_key.pem")
+ spec.signing_key = File.expand_path("~/.gem/certs/private_key.pem") if $0 =~ /gem\z/
+
+ spec.add_dependency 'oauth2-client', '~> 1.1.2'
+ spec.add_development_dependency 'bundler', '~> 1.0'
end
\ No newline at end of file