Permalink
Browse files

remove gemspec from Gemfile, which creates circular dependency

  • Loading branch information...
1 parent 08f3554 commit 0e296cc3bdb3510a12bb5dd0b2b372d1e2735a22 @jpmckinney jpmckinney committed Nov 16, 2012
Showing with 30 additions and 39 deletions.
  1. +9 −6 Gemfile
  2. +0 −4 Rakefile
  3. +21 −29 govkit.gemspec
View
15 Gemfile
@@ -1,13 +1,16 @@
source 'http://rubygems.org'
-gemspec
-
-gem "jeweler"
gem "i18n"
gem "activesupport", :require => 'active_support'
-gem "nokogiri"
-gem "httparty"
-gem "rake"
+gem "nokogiri", '>= 1.4.4'
+gem "httparty", '>= 0.7.4'
+gem "json", '>= 1.4.3'
+gem "fastercsv", '>= 1.5.3'
+
+group :development do
+ gem "jeweler"
+ gem "rake"
+end
group :test do
gem "rake"
View
4 Rakefile
@@ -22,10 +22,6 @@ begin
gem.email = "develop@opencongress.org"
gem.homepage = "http://github.com/opengovernment/govkit"
gem.authors = ["Participatory Politics Foundation", "Srinivas Aki", "Carl Tashian"]
- gem.add_dependency('httparty', '>= 0.7.4')
- gem.add_dependency('json', '>= 1.4.3')
- gem.add_dependency('nokogiri', '>= 1.4.4')
- gem.add_dependency('fastercsv', '>= 1.5.3')
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
View
50 govkit.gemspec
@@ -4,21 +4,22 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{govkit}
+ s.name = "govkit"
s.version = "0.7.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Participatory Politics Foundation", "Srinivas Aki", "Carl Tashian"]
- s.date = %q{2012-01-23}
- s.description = %q{Govkit lets you quickly get encapsulated Ruby objects for common open government APIs. We're starting with Sunlight's Open States API and the Project Vote Smart API.}
- s.email = %q{develop@opencongress.org}
+ s.date = "2012-11-16"
+ s.description = "Govkit lets you quickly get encapsulated Ruby objects for common open government APIs. We're starting with Sunlight's Open States API and the Project Vote Smart API."
+ s.email = "develop@opencongress.org"
s.extra_rdoc_files = [
"LICENSE",
"README.md"
]
s.files = [
".document",
".rspec",
+ ".travis.yml",
"Gemfile",
"LICENSE",
"README.md",
@@ -95,51 +96,42 @@ Gem::Specification.new do |s|
"spec/spec_helper.rb",
"spec/transparency_data_spec.rb"
]
- s.homepage = %q{http://github.com/opengovernment/govkit}
+ s.homepage = "http://github.com/opengovernment/govkit"
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.6}
- s.summary = %q{Simple access to open government APIs around the web}
- s.test_files = [
- "spec/follow_the_money_spec.rb",
- "spec/open_congress_spec.rb",
- "spec/open_states_spec.rb",
- "spec/search_engines_spec.rb",
- "spec/spec_helper.rb",
- "spec/transparency_data_spec.rb"
- ]
+ s.rubygems_version = "1.8.24"
+ s.summary = "Simple access to open government APIs around the web"
if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
- s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
- s.add_runtime_dependency(%q<httparty>, [">= 0"])
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<i18n>, [">= 0"])
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
+ s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_runtime_dependency(%q<httparty>, [">= 0.7.4"])
s.add_runtime_dependency(%q<json>, [">= 1.4.3"])
- s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_runtime_dependency(%q<fastercsv>, [">= 1.5.3"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_development_dependency(%q<rake>, [">= 0"])
else
- s.add_dependency(%q<activesupport>, [">= 0"])
- s.add_dependency(%q<nokogiri>, [">= 0"])
- s.add_dependency(%q<httparty>, [">= 0"])
s.add_dependency(%q<i18n>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_dependency(%q<httparty>, [">= 0.7.4"])
s.add_dependency(%q<json>, [">= 1.4.3"])
- s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_dependency(%q<fastercsv>, [">= 1.5.3"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
end
else
- s.add_dependency(%q<activesupport>, [">= 0"])
- s.add_dependency(%q<nokogiri>, [">= 0"])
- s.add_dependency(%q<httparty>, [">= 0"])
s.add_dependency(%q<i18n>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_dependency(%q<httparty>, [">= 0.7.4"])
s.add_dependency(%q<json>, [">= 1.4.3"])
- s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_dependency(%q<fastercsv>, [">= 1.5.3"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
end
end

0 comments on commit 0e296cc

Please sign in to comment.