Skip to content

Commit

Permalink
Updated typhoeus gem requirement to 0.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
weshays committed Nov 20, 2013
1 parent 2bde1b9 commit 70cd5b8
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,6 +1,6 @@
source 'http://rubygems.org'

gem 'typhoeus', '0.5.1'
gem 'typhoeus', '0.6.6'
gem 'json'

group :development, :test do
Expand Down
20 changes: 10 additions & 10 deletions Gemfile.lock
@@ -1,7 +1,7 @@
GEM
remote: http://rubygems.org/
specs:
activesupport (4.0.0)
activesupport (4.0.1)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
Expand All @@ -15,13 +15,13 @@ GEM
debugger-ruby_core_source (~> 1.2.3)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.3)
diff-lcs (1.2.4)
ethon (0.5.3)
ffi (~> 1.0.11)
diff-lcs (1.2.5)
ethon (0.6.1)
ffi (>= 1.3.0)
mime-types (~> 1.18)
factory_girl (4.2.0)
factory_girl (4.3.0)
activesupport (>= 3.0.0)
ffi (1.0.11)
ffi (1.9.3)
i18n (0.6.5)
json (1.8.1)
mime-types (1.25)
Expand All @@ -32,13 +32,13 @@ GEM
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.7)
rspec-expectations (2.14.3)
rspec-expectations (2.14.4)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.4)
thread_safe (0.1.3)
atomic
typhoeus (0.5.1)
ethon (= 0.5.3)
typhoeus (0.6.6)
ethon (~> 0.6.1)
tzinfo (0.3.38)

PLATFORMS
Expand All @@ -49,4 +49,4 @@ DEPENDENCIES
factory_girl
json
rspec
typhoeus (= 0.5.1)
typhoeus (= 0.6.6)
29 changes: 29 additions & 0 deletions examples/funds.rb
@@ -0,0 +1,29 @@
# *******************************************
# This is a demo file to show usage.
#
# @package TheCity::Admin
# @authors Robbie Lieb <robbie@onthecity.org>, Wes Hays <wes@onthecity.org>
# *******************************************

require 'ruby-debug'
require File.dirname(__FILE__) + '/../lib/the_city_admin.rb'

require File.dirname(__FILE__) + '/city_keys.rb'
include CityKeys

TheCity::AdminApi.connect(KEY, TOKEN)

fund_options = {:include_inactive => 'true', :show_give_online_only => 'false'}
page = 1

fund_list = TheCity::FundList.new({:page => page}.merge(fund_options))
fund_list.each do |item|
puts "FundList: #{item.inspect}"
end


puts "------------------------------------"

puts "####################################"


4 changes: 2 additions & 2 deletions thecity_admin_api.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
PROJECT_GEM = 'the-city-admin'
PROJECT_GEM_VERSION = '0.6.9'
PROJECT_GEM_VERSION = '0.7.0'

s.name = PROJECT_GEM
s.version = PROJECT_GEM_VERSION
Expand All @@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.summary = 'Ruby gem/plugin to interact with The City Admin API (https://api.OnTheCity.org).'
s.description = 'Ruby gem/plugin to interact with The City Admin API (https://api.OnTheCity.org). Checkout the project on github for more detail.'

s.add_dependency('typhoeus', '0.5.1')
s.add_dependency('typhoeus', '0.6.6')


s.files = `git ls-files`.split("\n")
Expand Down

0 comments on commit 70cd5b8

Please sign in to comment.