fusion_tables 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,26 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ examples/credentials.yml
20
+
21
+ ## PROJECT::TEST
22
+ test/test_config.yml
23
+
24
+
25
+ ## PROJECT::SPECIFIC
26
+
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.3.1 (21/08/11)
2
+
3
+ * updated to use new HTTPS endpoints (sdball)
4
+
1
5
  == 0.3.0 (05/06/11)
2
6
 
3
7
  * simple SQL interface API
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
- fusion-tables
1
+ fusion_tables
2
2
  ==============
3
+ <iframe style="float:right;" width="280px" height="150px" scrolling="no" src="http://www.google.com/fusiontables/embedviz?viz=MAP&q=select+col0%2C+col1%2C+col2%2C+col3%2C+col4%2C+col5%2C+col6%2C+col7%2C+col8%2C+col9%2C+col10%2C+col11%2C+col12%2C+col13+from+245192+&h=false&lat=51.509383501611595&lng=-0.13586997985839844&z=12&t=4&l=col11"></iframe>
3
4
 
4
- This gem lets you easily interact with [Google Fusion Tables](http://www.google.com/fusiontables/Home) from your Ruby application. There is a plain SQL interface, or an object orientated interface available.
5
+ This gem lets you easily interact with [Google Fusion Tables API](http://www.google.com/fusiontables/Home) from your Ruby application via a plain SQL interface, or an object orientated interface.
6
+
7
+
5
8
 
6
9
  Demo and examples
7
10
  ------------------
@@ -39,14 +42,14 @@ require 'fusion_tables'
39
42
  @ft.clientlogin(username, password)
40
43
 
41
44
 
42
- # 1. Simple SQL interface
45
+ # 1. SQL interface
43
46
  # =========================
44
47
  @ft.execute "SHOW TABLES"
45
48
  @ft.execute "INSERT INTO #{my_table_id} (name, geo) VALUES ('tokyo', '35.6894 139.6917');"
46
49
  @ft.execute "SELECT count() FROM #{my_table_id};"
47
50
 
48
51
 
49
- # 2. basic ORM interface
52
+ # 2. ORM interface
50
53
  # ========================
51
54
  # Browse existing tables
52
55
  @ft.show_tables
@@ -128,4 +131,4 @@ Largely based on Tom Verbeure's [work for MTBGuru](http://code.google.com/p/mtbg
128
131
  * sikachu
129
132
  * troy
130
133
  * wynst
131
-
134
+ * sdball
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -1,55 +1,67 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fusion_tables}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Simon Tokumine", "Tom Verbeure"]
12
- s.date = %q{2011-06-05}
12
+ s.date = %q{2011-08-21}
13
13
  s.description = %q{A simple Google Fusion Tables API wrapper. Supports bulk inserts and most API functions}
14
14
  s.email = %q{simon@tinypla.net}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.md"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- "CHANGELOG",
22
- "LICENSE",
23
- "README.md",
24
- "Rakefile",
25
- "TODO.md",
26
- "VERSION",
27
- "examples/boris_bikes.rb",
28
- "examples/compare_tweets.rb",
29
- "examples/credentials.example.yml",
30
- "fusion_tables.gemspec",
31
- "lib/fusion_tables.rb",
32
- "lib/fusion_tables/client/fusion_tables.rb",
33
- "lib/fusion_tables/data/data.rb",
34
- "lib/fusion_tables/data/table.rb",
35
- "lib/fusion_tables/ext/fusion_tables.rb",
36
- "test/README",
37
- "test/helper.rb",
38
- "test/test_client.rb",
39
- "test/test_config.yml.sample",
40
- "test/test_ext.rb",
41
- "test/test_sql.rb",
42
- "test/test_table.rb"
21
+ ".gitignore",
22
+ "CHANGELOG",
23
+ "LICENSE",
24
+ "README.md",
25
+ "Rakefile",
26
+ "TODO.md",
27
+ "VERSION",
28
+ "examples/boris_bikes.rb",
29
+ "examples/compare_tweets.rb",
30
+ "examples/credentials.example.yml",
31
+ "fusion_tables.gemspec",
32
+ "lib/fusion_tables.rb",
33
+ "lib/fusion_tables/client/fusion_tables.rb",
34
+ "lib/fusion_tables/data/data.rb",
35
+ "lib/fusion_tables/data/table.rb",
36
+ "lib/fusion_tables/ext/fusion_tables.rb",
37
+ "test/README",
38
+ "test/helper.rb",
39
+ "test/test_client.rb",
40
+ "test/test_config.yml.sample",
41
+ "test/test_ext.rb",
42
+ "test/test_sql.rb",
43
+ "test/test_table.rb"
43
44
  ]
44
45
  s.homepage = %q{http://github.com/tokumine/fusion_tables}
46
+ s.rdoc_options = ["--charset=UTF-8"]
45
47
  s.require_paths = ["lib"]
46
- s.rubygems_version = %q{1.6.2}
48
+ s.rubygems_version = %q{1.3.6}
47
49
  s.summary = %q{Google Fusion Tables API wrapper}
50
+ s.test_files = [
51
+ "test/helper.rb",
52
+ "test/test_client.rb",
53
+ "test/test_ext.rb",
54
+ "test/test_sql.rb",
55
+ "test/test_table.rb",
56
+ "examples/boris_bikes.rb",
57
+ "examples/compare_tweets.rb"
58
+ ]
48
59
 
49
60
  if s.respond_to? :specification_version then
61
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
62
  s.specification_version = 3
51
63
 
52
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
64
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
53
65
  s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
54
66
  s.add_runtime_dependency(%q<gdata_19>, [">= 1.1.2"])
55
67
  else
@@ -16,7 +16,7 @@ module GData
16
16
  module Client
17
17
  class FusionTables < Base
18
18
 
19
- SERVICE_URL = "http://tables.googlelabs.com/api/query"
19
+ SERVICE_URL = "https://tables.googlelabs.com/api/query"
20
20
  DATATYPES = %w(number string location datetime)
21
21
 
22
22
  def initialize(options = {})
metadata CHANGED
@@ -1,8 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusion_tables
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.3.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 1
9
+ version: 0.3.1
6
10
  platform: ruby
7
11
  authors:
8
12
  - Simon Tokumine
@@ -11,17 +15,18 @@ autorequire:
11
15
  bindir: bin
12
16
  cert_chain: []
13
17
 
14
- date: 2011-06-05 00:00:00 +01:00
18
+ date: 2011-08-21 00:00:00 +01:00
15
19
  default_executable:
16
20
  dependencies:
17
21
  - !ruby/object:Gem::Dependency
18
22
  name: thoughtbot-shoulda
19
23
  prerelease: false
20
24
  requirement: &id001 !ruby/object:Gem::Requirement
21
- none: false
22
25
  requirements:
23
26
  - - ">="
24
27
  - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
25
30
  version: "0"
26
31
  type: :development
27
32
  version_requirements: *id001
@@ -29,10 +34,13 @@ dependencies:
29
34
  name: gdata_19
30
35
  prerelease: false
31
36
  requirement: &id002 !ruby/object:Gem::Requirement
32
- none: false
33
37
  requirements:
34
38
  - - ">="
35
39
  - !ruby/object:Gem::Version
40
+ segments:
41
+ - 1
42
+ - 1
43
+ - 2
36
44
  version: 1.1.2
37
45
  type: :runtime
38
46
  version_requirements: *id002
@@ -47,6 +55,7 @@ extra_rdoc_files:
47
55
  - README.md
48
56
  files:
49
57
  - .document
58
+ - .gitignore
50
59
  - CHANGELOG
51
60
  - LICENSE
52
61
  - README.md
@@ -74,28 +83,36 @@ homepage: http://github.com/tokumine/fusion_tables
74
83
  licenses: []
75
84
 
76
85
  post_install_message:
77
- rdoc_options: []
78
-
86
+ rdoc_options:
87
+ - --charset=UTF-8
79
88
  require_paths:
80
89
  - lib
81
90
  required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
91
  requirements:
84
92
  - - ">="
85
93
  - !ruby/object:Gem::Version
94
+ segments:
95
+ - 0
86
96
  version: "0"
87
97
  required_rubygems_version: !ruby/object:Gem::Requirement
88
- none: false
89
98
  requirements:
90
99
  - - ">="
91
100
  - !ruby/object:Gem::Version
101
+ segments:
102
+ - 0
92
103
  version: "0"
93
104
  requirements: []
94
105
 
95
106
  rubyforge_project:
96
- rubygems_version: 1.6.2
107
+ rubygems_version: 1.3.6
97
108
  signing_key:
98
109
  specification_version: 3
99
110
  summary: Google Fusion Tables API wrapper
100
- test_files: []
101
-
111
+ test_files:
112
+ - test/helper.rb
113
+ - test/test_client.rb
114
+ - test/test_ext.rb
115
+ - test/test_sql.rb
116
+ - test/test_table.rb
117
+ - examples/boris_bikes.rb
118
+ - examples/compare_tweets.rb