Permalink
Browse files

Using hpricot 0.8.4 now and bumped the version number

  • Loading branch information...
1 parent 264ed70 commit 3bccaf5d903c43e8ac8a80a18e1df0ee9e371a55 Chris Le committed Mar 25, 2011
Showing with 13 additions and 10 deletions.
  1. +3 −3 Rakefile
  2. +1 −1 VERSION.yml
  3. +5 −5 gattica.gemspec
  4. +3 −0 lib/gattica.rb
  5. +1 −1 lib/gattica/version.rb
View
6 Rakefile
@@ -10,10 +10,10 @@ begin
gemspec.email = "cannikinn@gmail.com"
gemspec.homepage = "http://github.com/cannikin/gattica"
gemspec.description = "Gattica is a Ruby library for extracting data from the Google Analytics API. It is simple to use, supports metrics, dimensions, sort, filters, goals, and segments"
- gemspec.authors = ["Rob Cameron"]
+ gemspec.authors = ["Rob Cameron", "Christopher Le"]
# Current version of hpricot 0.8.3 seg faults randomly. Use 0.8.2 instead.
# see: (https://github.com/hpricot/hpricot/issues#issue/32).
- gemspec.add_dependency 'hpricot', '=0.8.2'
+ gemspec.add_dependency 'hpricot', '>=0.8.4'
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
@@ -23,4 +23,4 @@ Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = 'test/**/test_*.rb'
t.verbose = false
-end
+end
View
2 VERSION.yml
@@ -1,4 +1,4 @@
---
:major: 0
:minor: 4
-:patch: 0
+:patch: 2
View
10 gattica.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{gattica}
- s.version = "0.4.0"
+ s.version = "0.4.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rob Cameron"]
- s.date = %q{2011-02-27}
+ s.date = %q{2011-03-25}
s.description = %q{Gattica is a Ruby library for extracting data from the Google Analytics API. It is simple to use, supports metrics, dimensions, sort, filters, goals, and segments}
s.email = %q{cannikinn@gmail.com}
s.extra_rdoc_files = [
@@ -60,11 +60,11 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<hpricot>, ["= 0.8.2"])
+ s.add_runtime_dependency(%q<hpricot>, [">= 0.8.4"])
else
- s.add_dependency(%q<hpricot>, ["= 0.8.2"])
+ s.add_dependency(%q<hpricot>, [">= 0.8.4"])
end
else
- s.add_dependency(%q<hpricot>, ["= 0.8.2"])
+ s.add_dependency(%q<hpricot>, [">= 0.8.4"])
end
end
View
3 lib/gattica.rb
@@ -266,6 +266,9 @@ def build_query_string(args,profile)
unless args[:segment].nil?
output += "&segment=#{args[:segment]}"
end
+ unless args[:max_results].nil?
+ output += "&max-results=#{args[:max_results]}"
+ end
# TODO: update so that in regular expression filters (=~ and !~), any initial special characters in the regular expression aren't also picked up as part of the operator (doesn't cause a problem, but just feels dirty)
unless args[:filters].empty? # filters are a little more complicated because they can have all kinds of modifiers
View
2 lib/gattica/version.rb
@@ -1,3 +1,3 @@
module Gattica
- VERSION = '0.4'
+ VERSION = '0.4.2'
end

0 comments on commit 3bccaf5

Please sign in to comment.