bigbroda 0.0.7 → 0.1.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +15 -0
- data/Gemfile +1 -0
- data/README.md +39 -21
- data/Rakefile +5 -2
- data/{google_bigquery.gemspec → bigbroda.gemspec} +2 -2
- data/gemfiles/rails_3.gemfile +20 -0
- data/gemfiles/rails_4.0.3.gemfile +20 -0
- data/gemfiles/rails_4.0.3.gemfile.lock +176 -0
- data/gemfiles/rails_4.1.gemfile +20 -0
- data/gemfiles/rails_4.1.gemfile.lock +182 -0
- data/gemfiles/rails_4.2.gemfile +20 -0
- data/gemfiles/rails_4.2.gemfile.lock +202 -0
- data/gemfiles/rails_4.gemfile +20 -0
- data/gemfiles/rails_4.gemfile.lock +176 -0
- data/lib/active_record/connection_adapters/bigquery_adapter.rb +32 -601
- data/lib/active_record/connection_adapters/rails_41.rb +607 -0
- data/lib/active_record/connection_adapters/rails_42.rb +628 -0
- data/lib/{google_bigquery → bigbroda}/auth.rb +3 -3
- data/lib/{google_bigquery → bigbroda}/client.rb +3 -3
- data/lib/{google_bigquery → bigbroda}/config.rb +1 -1
- data/lib/{google_bigquery → bigbroda}/dataset.rb +23 -23
- data/lib/{google_bigquery → bigbroda}/engine.rb +4 -4
- data/lib/{google_bigquery → bigbroda}/jobs.rb +28 -28
- data/lib/bigbroda/project.rb +16 -0
- data/lib/{google_bigquery → bigbroda}/railtie.rb +3 -3
- data/lib/{google_bigquery → bigbroda}/table.rb +19 -19
- data/lib/{google_bigquery → bigbroda}/table_data.rb +7 -7
- data/lib/bigbroda/version.rb +3 -0
- data/lib/bigbroda.rb +27 -0
- data/lib/generators/{google_bigquery → bigbroda}/install/install_generator.rb +2 -2
- data/lib/generators/templates/{bigquery.rb.erb → bigbroda.rb.erb} +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/functional/adapter/adapter_spec.rb +40 -38
- data/spec/functional/auth_spec.rb +3 -3
- data/spec/functional/config_spec.rb +5 -5
- data/spec/functional/dataset_spec.rb +19 -19
- data/spec/functional/project_spec.rb +4 -4
- data/spec/functional/table_data_spec.rb +13 -13
- data/spec/functional/table_spec.rb +30 -30
- data/spec/spec_helper.rb +2 -2
- metadata +32 -20
- data/lib/google_bigquery/project.rb +0 -16
- data/lib/google_bigquery/version.rb +0 -3
- data/lib/google_bigquery.rb +0 -27
@@ -0,0 +1,202 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
bigbroda (0.1.0.pre)
|
5
|
+
activerecord
|
6
|
+
activesupport
|
7
|
+
google-api-client
|
8
|
+
hash-deep-merge
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
actionmailer (4.2.0)
|
14
|
+
actionpack (= 4.2.0)
|
15
|
+
actionview (= 4.2.0)
|
16
|
+
activejob (= 4.2.0)
|
17
|
+
mail (~> 2.5, >= 2.5.4)
|
18
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
19
|
+
actionpack (4.2.0)
|
20
|
+
actionview (= 4.2.0)
|
21
|
+
activesupport (= 4.2.0)
|
22
|
+
rack (~> 1.6.0)
|
23
|
+
rack-test (~> 0.6.2)
|
24
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
25
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
26
|
+
actionview (4.2.0)
|
27
|
+
activesupport (= 4.2.0)
|
28
|
+
builder (~> 3.1)
|
29
|
+
erubis (~> 2.7.0)
|
30
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
31
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
32
|
+
activejob (4.2.0)
|
33
|
+
activesupport (= 4.2.0)
|
34
|
+
globalid (>= 0.3.0)
|
35
|
+
activemodel (4.2.0)
|
36
|
+
activesupport (= 4.2.0)
|
37
|
+
builder (~> 3.1)
|
38
|
+
activerecord (4.2.0)
|
39
|
+
activemodel (= 4.2.0)
|
40
|
+
activesupport (= 4.2.0)
|
41
|
+
arel (~> 6.0)
|
42
|
+
activesupport (4.2.0)
|
43
|
+
i18n (~> 0.7)
|
44
|
+
json (~> 1.7, >= 1.7.7)
|
45
|
+
minitest (~> 5.1)
|
46
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
47
|
+
tzinfo (~> 1.1)
|
48
|
+
addressable (2.3.7)
|
49
|
+
appraisal (1.0.2)
|
50
|
+
bundler
|
51
|
+
rake
|
52
|
+
thor (>= 0.14.0)
|
53
|
+
arel (6.0.0)
|
54
|
+
autoparse (0.3.3)
|
55
|
+
addressable (>= 2.3.1)
|
56
|
+
extlib (>= 0.9.15)
|
57
|
+
multi_json (>= 1.0.0)
|
58
|
+
builder (3.2.2)
|
59
|
+
certified (1.0.0)
|
60
|
+
coderay (1.1.0)
|
61
|
+
columnize (0.9.0)
|
62
|
+
crack (0.4.2)
|
63
|
+
safe_yaml (~> 1.0.0)
|
64
|
+
debugger (1.6.8)
|
65
|
+
columnize (>= 0.3.1)
|
66
|
+
debugger-linecache (~> 1.2.0)
|
67
|
+
debugger-ruby_core_source (~> 1.3.5)
|
68
|
+
debugger-linecache (1.2.0)
|
69
|
+
debugger-ruby_core_source (1.3.8)
|
70
|
+
diff-lcs (1.2.5)
|
71
|
+
erubis (2.7.0)
|
72
|
+
extlib (0.9.16)
|
73
|
+
faraday (0.9.1)
|
74
|
+
multipart-post (>= 1.2, < 3)
|
75
|
+
globalid (0.3.3)
|
76
|
+
activesupport (>= 4.1.0)
|
77
|
+
google-api-client (0.8.2)
|
78
|
+
activesupport (>= 3.2)
|
79
|
+
addressable (~> 2.3)
|
80
|
+
autoparse (~> 0.3)
|
81
|
+
extlib (~> 0.9)
|
82
|
+
faraday (~> 0.9)
|
83
|
+
launchy (~> 2.4)
|
84
|
+
multi_json (~> 1.10)
|
85
|
+
retriable (~> 1.4)
|
86
|
+
signet (~> 0.6)
|
87
|
+
hash-deep-merge (0.1.1)
|
88
|
+
hike (1.2.3)
|
89
|
+
i18n (0.7.0)
|
90
|
+
json (1.8.2)
|
91
|
+
jwt (1.3.0)
|
92
|
+
launchy (2.4.3)
|
93
|
+
addressable (~> 2.3)
|
94
|
+
loofah (2.0.1)
|
95
|
+
nokogiri (>= 1.5.9)
|
96
|
+
mail (2.6.3)
|
97
|
+
mime-types (>= 1.16, < 3)
|
98
|
+
method_source (0.8.2)
|
99
|
+
mime-types (2.4.3)
|
100
|
+
mini_portile (0.6.2)
|
101
|
+
minitest (5.5.1)
|
102
|
+
multi_json (1.10.1)
|
103
|
+
multipart-post (2.0.0)
|
104
|
+
nokogiri (1.6.6.2)
|
105
|
+
mini_portile (~> 0.6.0)
|
106
|
+
pry (0.10.1)
|
107
|
+
coderay (~> 1.1.0)
|
108
|
+
method_source (~> 0.8.1)
|
109
|
+
slop (~> 3.4)
|
110
|
+
pry-nav (0.2.4)
|
111
|
+
pry (>= 0.9.10, < 0.11.0)
|
112
|
+
pry-remote (0.1.8)
|
113
|
+
pry (~> 0.9)
|
114
|
+
slop (~> 3.0)
|
115
|
+
rack (1.6.0)
|
116
|
+
rack-test (0.6.3)
|
117
|
+
rack (>= 1.0)
|
118
|
+
rails (4.2.0)
|
119
|
+
actionmailer (= 4.2.0)
|
120
|
+
actionpack (= 4.2.0)
|
121
|
+
actionview (= 4.2.0)
|
122
|
+
activejob (= 4.2.0)
|
123
|
+
activemodel (= 4.2.0)
|
124
|
+
activerecord (= 4.2.0)
|
125
|
+
activesupport (= 4.2.0)
|
126
|
+
bundler (>= 1.3.0, < 2.0)
|
127
|
+
railties (= 4.2.0)
|
128
|
+
sprockets-rails
|
129
|
+
rails-deprecated_sanitizer (1.0.3)
|
130
|
+
activesupport (>= 4.2.0.alpha)
|
131
|
+
rails-dom-testing (1.0.5)
|
132
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
133
|
+
nokogiri (~> 1.6.0)
|
134
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
135
|
+
rails-html-sanitizer (1.0.1)
|
136
|
+
loofah (~> 2.0)
|
137
|
+
railties (4.2.0)
|
138
|
+
actionpack (= 4.2.0)
|
139
|
+
activesupport (= 4.2.0)
|
140
|
+
rake (>= 0.8.7)
|
141
|
+
thor (>= 0.18.1, < 2.0)
|
142
|
+
rake (10.4.2)
|
143
|
+
retriable (1.4.1)
|
144
|
+
rspec (3.2.0)
|
145
|
+
rspec-core (~> 3.2.0)
|
146
|
+
rspec-expectations (~> 3.2.0)
|
147
|
+
rspec-mocks (~> 3.2.0)
|
148
|
+
rspec-core (3.2.1)
|
149
|
+
rspec-support (~> 3.2.0)
|
150
|
+
rspec-expectations (3.2.0)
|
151
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
152
|
+
rspec-support (~> 3.2.0)
|
153
|
+
rspec-mocks (3.2.1)
|
154
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
155
|
+
rspec-support (~> 3.2.0)
|
156
|
+
rspec-support (3.2.2)
|
157
|
+
safe_yaml (1.0.4)
|
158
|
+
signet (0.6.0)
|
159
|
+
addressable (~> 2.3)
|
160
|
+
extlib (~> 0.9)
|
161
|
+
faraday (~> 0.9)
|
162
|
+
jwt (~> 1.0)
|
163
|
+
multi_json (~> 1.10)
|
164
|
+
slop (3.6.0)
|
165
|
+
sprockets (2.12.3)
|
166
|
+
hike (~> 1.2)
|
167
|
+
multi_json (~> 1.0)
|
168
|
+
rack (~> 1.0)
|
169
|
+
tilt (~> 1.1, != 1.3.0)
|
170
|
+
sprockets-rails (2.2.4)
|
171
|
+
actionpack (>= 3.0)
|
172
|
+
activesupport (>= 3.0)
|
173
|
+
sprockets (>= 2.8, < 4.0)
|
174
|
+
sqlite3 (1.3.10)
|
175
|
+
thor (0.19.1)
|
176
|
+
thread_safe (0.3.4)
|
177
|
+
tilt (1.4.1)
|
178
|
+
tzinfo (1.2.2)
|
179
|
+
thread_safe (~> 0.1)
|
180
|
+
vcr (2.9.3)
|
181
|
+
webmock (1.16.0)
|
182
|
+
addressable (>= 2.2.7)
|
183
|
+
crack (>= 0.3.2)
|
184
|
+
|
185
|
+
PLATFORMS
|
186
|
+
ruby
|
187
|
+
|
188
|
+
DEPENDENCIES
|
189
|
+
appraisal
|
190
|
+
bigbroda!
|
191
|
+
bundler
|
192
|
+
certified
|
193
|
+
debugger
|
194
|
+
pry
|
195
|
+
pry-nav
|
196
|
+
pry-remote
|
197
|
+
rails (= 4.2.0)
|
198
|
+
rake
|
199
|
+
rspec
|
200
|
+
sqlite3
|
201
|
+
vcr
|
202
|
+
webmock (= 1.16.0)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "certified"
|
6
|
+
gem "debugger", :platform => :ruby_19
|
7
|
+
gem "pry"
|
8
|
+
gem "pry-remote"
|
9
|
+
gem "pry-nav"
|
10
|
+
gem "sqlite3"
|
11
|
+
gem "appraisal"
|
12
|
+
gem "rails", "4.0.0"
|
13
|
+
|
14
|
+
group :test do
|
15
|
+
gem "rspec"
|
16
|
+
gem "vcr"
|
17
|
+
gem "webmock", "1.16.0", :require => false
|
18
|
+
end
|
19
|
+
|
20
|
+
gemspec :path => "../"
|
@@ -0,0 +1,176 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
bigbroda (0.1.0.pre)
|
5
|
+
activerecord
|
6
|
+
activesupport
|
7
|
+
google-api-client
|
8
|
+
hash-deep-merge
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
actionmailer (4.0.0)
|
14
|
+
actionpack (= 4.0.0)
|
15
|
+
mail (~> 2.5.3)
|
16
|
+
actionpack (4.0.0)
|
17
|
+
activesupport (= 4.0.0)
|
18
|
+
builder (~> 3.1.0)
|
19
|
+
erubis (~> 2.7.0)
|
20
|
+
rack (~> 1.5.2)
|
21
|
+
rack-test (~> 0.6.2)
|
22
|
+
activemodel (4.0.0)
|
23
|
+
activesupport (= 4.0.0)
|
24
|
+
builder (~> 3.1.0)
|
25
|
+
activerecord (4.0.0)
|
26
|
+
activemodel (= 4.0.0)
|
27
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
28
|
+
activesupport (= 4.0.0)
|
29
|
+
arel (~> 4.0.0)
|
30
|
+
activerecord-deprecated_finders (1.0.3)
|
31
|
+
activesupport (4.0.0)
|
32
|
+
i18n (~> 0.6, >= 0.6.4)
|
33
|
+
minitest (~> 4.2)
|
34
|
+
multi_json (~> 1.3)
|
35
|
+
thread_safe (~> 0.1)
|
36
|
+
tzinfo (~> 0.3.37)
|
37
|
+
addressable (2.3.7)
|
38
|
+
appraisal (1.0.2)
|
39
|
+
bundler
|
40
|
+
rake
|
41
|
+
thor (>= 0.14.0)
|
42
|
+
arel (4.0.2)
|
43
|
+
autoparse (0.3.3)
|
44
|
+
addressable (>= 2.3.1)
|
45
|
+
extlib (>= 0.9.15)
|
46
|
+
multi_json (>= 1.0.0)
|
47
|
+
builder (3.1.4)
|
48
|
+
certified (1.0.0)
|
49
|
+
coderay (1.1.0)
|
50
|
+
columnize (0.9.0)
|
51
|
+
crack (0.4.2)
|
52
|
+
safe_yaml (~> 1.0.0)
|
53
|
+
debugger (1.6.8)
|
54
|
+
columnize (>= 0.3.1)
|
55
|
+
debugger-linecache (~> 1.2.0)
|
56
|
+
debugger-ruby_core_source (~> 1.3.5)
|
57
|
+
debugger-linecache (1.2.0)
|
58
|
+
debugger-ruby_core_source (1.3.8)
|
59
|
+
diff-lcs (1.2.5)
|
60
|
+
erubis (2.7.0)
|
61
|
+
extlib (0.9.16)
|
62
|
+
faraday (0.9.1)
|
63
|
+
multipart-post (>= 1.2, < 3)
|
64
|
+
google-api-client (0.8.2)
|
65
|
+
activesupport (>= 3.2)
|
66
|
+
addressable (~> 2.3)
|
67
|
+
autoparse (~> 0.3)
|
68
|
+
extlib (~> 0.9)
|
69
|
+
faraday (~> 0.9)
|
70
|
+
launchy (~> 2.4)
|
71
|
+
multi_json (~> 1.10)
|
72
|
+
retriable (~> 1.4)
|
73
|
+
signet (~> 0.6)
|
74
|
+
hash-deep-merge (0.1.1)
|
75
|
+
hike (1.2.3)
|
76
|
+
i18n (0.7.0)
|
77
|
+
jwt (1.4.1)
|
78
|
+
launchy (2.4.3)
|
79
|
+
addressable (~> 2.3)
|
80
|
+
mail (2.5.4)
|
81
|
+
mime-types (~> 1.16)
|
82
|
+
treetop (~> 1.4.8)
|
83
|
+
method_source (0.8.2)
|
84
|
+
mime-types (1.25.1)
|
85
|
+
minitest (4.7.5)
|
86
|
+
multi_json (1.10.1)
|
87
|
+
multipart-post (2.0.0)
|
88
|
+
polyglot (0.3.5)
|
89
|
+
pry (0.10.1)
|
90
|
+
coderay (~> 1.1.0)
|
91
|
+
method_source (~> 0.8.1)
|
92
|
+
slop (~> 3.4)
|
93
|
+
pry-nav (0.2.4)
|
94
|
+
pry (>= 0.9.10, < 0.11.0)
|
95
|
+
pry-remote (0.1.8)
|
96
|
+
pry (~> 0.9)
|
97
|
+
slop (~> 3.0)
|
98
|
+
rack (1.5.2)
|
99
|
+
rack-test (0.6.3)
|
100
|
+
rack (>= 1.0)
|
101
|
+
rails (4.0.0)
|
102
|
+
actionmailer (= 4.0.0)
|
103
|
+
actionpack (= 4.0.0)
|
104
|
+
activerecord (= 4.0.0)
|
105
|
+
activesupport (= 4.0.0)
|
106
|
+
bundler (>= 1.3.0, < 2.0)
|
107
|
+
railties (= 4.0.0)
|
108
|
+
sprockets-rails (~> 2.0.0)
|
109
|
+
railties (4.0.0)
|
110
|
+
actionpack (= 4.0.0)
|
111
|
+
activesupport (= 4.0.0)
|
112
|
+
rake (>= 0.8.7)
|
113
|
+
thor (>= 0.18.1, < 2.0)
|
114
|
+
rake (10.4.2)
|
115
|
+
retriable (1.4.1)
|
116
|
+
rspec (3.2.0)
|
117
|
+
rspec-core (~> 3.2.0)
|
118
|
+
rspec-expectations (~> 3.2.0)
|
119
|
+
rspec-mocks (~> 3.2.0)
|
120
|
+
rspec-core (3.2.1)
|
121
|
+
rspec-support (~> 3.2.0)
|
122
|
+
rspec-expectations (3.2.0)
|
123
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
124
|
+
rspec-support (~> 3.2.0)
|
125
|
+
rspec-mocks (3.2.1)
|
126
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
127
|
+
rspec-support (~> 3.2.0)
|
128
|
+
rspec-support (3.2.2)
|
129
|
+
safe_yaml (1.0.4)
|
130
|
+
signet (0.6.0)
|
131
|
+
addressable (~> 2.3)
|
132
|
+
extlib (~> 0.9)
|
133
|
+
faraday (~> 0.9)
|
134
|
+
jwt (~> 1.0)
|
135
|
+
multi_json (~> 1.10)
|
136
|
+
slop (3.6.0)
|
137
|
+
sprockets (2.12.3)
|
138
|
+
hike (~> 1.2)
|
139
|
+
multi_json (~> 1.0)
|
140
|
+
rack (~> 1.0)
|
141
|
+
tilt (~> 1.1, != 1.3.0)
|
142
|
+
sprockets-rails (2.0.1)
|
143
|
+
actionpack (>= 3.0)
|
144
|
+
activesupport (>= 3.0)
|
145
|
+
sprockets (~> 2.8)
|
146
|
+
sqlite3 (1.3.10)
|
147
|
+
thor (0.19.1)
|
148
|
+
thread_safe (0.3.4)
|
149
|
+
tilt (1.4.1)
|
150
|
+
treetop (1.4.15)
|
151
|
+
polyglot
|
152
|
+
polyglot (>= 0.3.1)
|
153
|
+
tzinfo (0.3.43)
|
154
|
+
vcr (2.9.3)
|
155
|
+
webmock (1.16.0)
|
156
|
+
addressable (>= 2.2.7)
|
157
|
+
crack (>= 0.3.2)
|
158
|
+
|
159
|
+
PLATFORMS
|
160
|
+
ruby
|
161
|
+
|
162
|
+
DEPENDENCIES
|
163
|
+
appraisal
|
164
|
+
bigbroda!
|
165
|
+
bundler
|
166
|
+
certified
|
167
|
+
debugger
|
168
|
+
pry
|
169
|
+
pry-nav
|
170
|
+
pry-remote
|
171
|
+
rails (= 4.0.0)
|
172
|
+
rake
|
173
|
+
rspec
|
174
|
+
sqlite3
|
175
|
+
vcr
|
176
|
+
webmock (= 1.16.0)
|