markauskas-googlebase 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/google/base.rb +4 -0
- data/lib/google/version.rb +1 -1
- data/markauskas-googlebase.gemspec +2 -2
- metadata +2 -2
data/lib/google/base.rb
CHANGED
@@ -114,6 +114,10 @@ module Google
|
|
114
114
|
@sid ? true : false
|
115
115
|
end
|
116
116
|
|
117
|
+
def self.logged_in?
|
118
|
+
defined?(@@connection) && @@connection.logged_in?
|
119
|
+
end
|
120
|
+
|
117
121
|
# Outputs the headers that are needed to make an authenticated request
|
118
122
|
def headers
|
119
123
|
{'Cookie' => "Name=#{@sid};SID=#{@sid};Domain=.google.com;Path=/;Expires=160000000000"}
|
data/lib/google/version.rb
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{markauskas-googlebase}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tomas Markauskas", "John Nunemaker"]
|
12
|
-
s.date = %q{2010-02-
|
12
|
+
s.date = %q{2010-02-12}
|
13
13
|
s.email = %q{info@tamole.net}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README.txt"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markauskas-googlebase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Markauskas
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-02-
|
13
|
+
date: 2010-02-12 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|