Permalink
Browse files

updated openssl

  • Loading branch information...
1 parent 9433c34 commit 5116c90e508af32ba9e816404cf732156d11a06c @chrismatthieu committed Apr 25, 2011
Showing with 2 additions and 27 deletions.
  1. +0 −27 Gemfile
  2. +2 −0 app/controllers/application_controller.rb
View
27 Gemfile
@@ -1,34 +1,7 @@
source 'http://rubygems.org'
gem 'rails', '3.0.3'
-
-# Bundle edge Rails instead:
-# gem 'rails', :git => 'git://github.com/rails/rails.git'
-
gem 'mysql2'
-
-# Use unicorn as the web server
-# gem 'unicorn'
-
-# Deploy with Capistrano
-# gem 'capistrano'
-
-# To use debugger
-# gem 'ruby-debug'
-
-# Bundle the extra gems:
-# gem 'bj'
-# gem 'nokogiri'
-# gem 'sqlite3-ruby', :require => 'sqlite3'
-# gem 'aws-s3', :require => 'aws/s3'
-
-# Bundle gems for the local environment. Make sure to
-# put test-only gems in this group so their generators
-# and rake tasks are available in development mode:
-# group :development, :test do
-# gem 'webrat'
-# end
-
gem 'rest-client'
gem 'json'
gem 'oauth2'
@@ -1,6 +1,8 @@
class ApplicationController < ActionController::Base
# protect_from_forgery
+ OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
+
def isNumeric(s)
Float(s) != nil rescue false
end

0 comments on commit 5116c90

Please sign in to comment.