From 561265660897c4abda33a1a3af222bcee5d81440 Mon Sep 17 00:00:00 2001 From: Ryan Resella Date: Thu, 9 Jun 2011 11:01:10 -0700 Subject: [PATCH 1/3] Added dependancy for html-entities gemspec --- Gemfile.lock | 20 ++++++++++++++++++++ usatoday-census.gemspec | 1 + 2 files changed, 21 insertions(+) create mode 100644 Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..9c8e290 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,20 @@ +PATH + remote: . + specs: + usatoday-census (0.0.1) + htmlentities + json + shoulda + +GEM + remote: http://rubygems.org/ + specs: + htmlentities (4.3.0) + json (1.5.1) + shoulda (2.11.3) + +PLATFORMS + ruby + +DEPENDENCIES + usatoday-census! diff --git a/usatoday-census.gemspec b/usatoday-census.gemspec index bdc76f3..41b045a 100644 --- a/usatoday-census.gemspec +++ b/usatoday-census.gemspec @@ -16,6 +16,7 @@ Gem::Specification.new do |s| s.add_dependency "shoulda" s.add_dependency "json" + s.add_dependency "htmlentities" s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") From ae26323d6e64acb2de30adc07e14191694858792 Mon Sep 17 00:00:00 2001 From: Ryan Resella Date: Thu, 9 Jun 2011 11:26:47 -0700 Subject: [PATCH 2/3] Added gemfile.lock to .gitignore file --- .gitignore | 1 + Gemfile.lock | 20 -------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 Gemfile.lock diff --git a/.gitignore b/.gitignore index 9f30a35..4547e12 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ pkg/* *.gem .bundle +Gemfile.lock \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 9c8e290..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,20 +0,0 @@ -PATH - remote: . - specs: - usatoday-census (0.0.1) - htmlentities - json - shoulda - -GEM - remote: http://rubygems.org/ - specs: - htmlentities (4.3.0) - json (1.5.1) - shoulda (2.11.3) - -PLATFORMS - ruby - -DEPENDENCIES - usatoday-census! From 5279a0f804d79d8aba3a7d21fe2632bdaab0ca7e Mon Sep 17 00:00:00 2001 From: Ryan Resella Date: Thu, 9 Jun 2011 11:51:40 -0700 Subject: [PATCH 3/3] Fixed typo in query - was keypath should be keypat --- lib/usatoday-census/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/usatoday-census/base.rb b/lib/usatoday-census/base.rb index 22c0262..69e7179 100644 --- a/lib/usatoday-census/base.rb +++ b/lib/usatoday-census/base.rb @@ -44,7 +44,7 @@ def self.float_field(value) end def self.prepare_params(method, keyname=nil) - params = {"keypath" => method } + params = {"keypat" => method } params["keyname"] = keyname if keyname params end