fbrails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/fbrails/version.rb +1 -1
  2. data/lib/fbrails.rb +2 -2
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module Fbrails
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/fbrails.rb CHANGED
@@ -3,11 +3,11 @@ require 'net/https'
3
3
  require 'json'
4
4
 
5
5
  module Fbrails
6
-
7
6
  class FailedToGet < StandardError
8
7
  end
9
8
 
10
- def get (url,raw = false)
9
+
10
+ def self.get (url,raw = false)
11
11
  uri = URI.parse(url)
12
12
  http = Net::HTTP.new(uri.host,uri.port)
13
13
  http.use_ssl = true if url =~ /^https/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: