# coding: utf-8
lib = File.expand_path('lib', File.dirname(__FILE__))
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pubsubhub'

Gem::Specification.new do |spec|
  spec.name          = 'pubsubhub'
  spec.version       = PubSubHub::VERSION
  spec.authors       = ['Causes Engineering']
  spec.email         = ['eng@causes.com']
  spec.summary       = %q{Simple event-based publish-subscribe library}
  spec.description = <<-EOS.strip.gsub(/\s+/, ' ')
    PubSubHub allows you to loosen the coupling between components in a system
    by providing a centralized registry of events and listeners that subscribe
    to them.
  EOS
  spec.homepage      = 'https://github.com/causes/pubsubhub'
  spec.license       = 'MIT'

  spec.files         = Dir['lib/**/*.rb']
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler', '~> 1.3'
  spec.add_development_dependency 'rake'
end

# coding: utf-8
lib = File.expand_path('lib', File.dirname(__FILE__))
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pubsubhub'

Gem::Specification.new do |spec|
  spec.name          = 'pubsubhub'
  spec.version       = PubSubHub::VERSION
  spec.authors       = ['Causes Engineering']
  spec.email         = ['eng@causes.com']
  spec.summary       = %q{Simple event-based publish-subscribe library}
  spec.description = <<-EOS.strip.gsub(/\s+/, ' ')
    PubSubHub allows you to loosen the coupling between components in a system
    by providing a centralized registry of events and listeners that subscribe
    to them.
  EOS
  spec.homepage      = 'https://github.com/causes/pubsubhub'
  spec.license       = 'MIT'

  spec.files         = Dir['lib/**/*.rb']
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.0.0'

  spec.add_development_dependency 'bundler', '~> 1.3'
  spec.add_development_dependency 'rake'
end

Add dependency on Ruby 2.0.0
Add dependency on Ruby 2.0.0

I'm about to import the PubSubHub files from the causes.git repo, and
they effectively depend on Ruby 2.0.0 because they use 2.0.0 syntax.

Make that dependency explicit in the gemspec.

Change-Id: I9fb4711004b402eb8e5e1150a28e0382a410daad
Reviewed-on: https://gerrit.causes.com/26272
Reviewed-by: Lann Martin <564fa7a717c51b612962ea128f146981a0e99d90@causes.com>
Tested-by: Greg Hurrell <79e2475f81a6317276bf7cbb3958b20d289b78df@causes.com>
