presto-client 0.3.3 → 0.4.0

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.
@@ -24,7 +24,7 @@ describe Presto::Client::StatementClient do
24
24
  }
25
25
  end
26
26
 
27
- it do
27
+ it "sets headers" do
28
28
  stub_request(:post, "localhost/v1/statement").
29
29
  with(body: query,
30
30
  headers: {
@@ -32,7 +32,7 @@ describe Presto::Client::StatementClient do
32
32
  "X-Presto-Catalog" => options[:catalog],
33
33
  "X-Presto-Schema" => options[:schema],
34
34
  "X-Presto-User" => options[:user],
35
- "X-Presto-Language" => options[:Language],
35
+ "X-Presto-Language" => options[:language],
36
36
  "X-Presto-Time-Zone" => options[:time_zone],
37
37
  }).to_return(body: response_json.to_json)
38
38
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: presto-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-06 00:00:00.000000000 Z
11
+ date: 2014-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -100,6 +100,9 @@ files:
100
100
  - lib/presto/client/query.rb
101
101
  - lib/presto/client/statement_client.rb
102
102
  - lib/presto/client/version.rb
103
+ - modelgen/modelgen.rb
104
+ - modelgen/models.rb
105
+ - modelgen/presto_models.rb
103
106
  - presto-client.gemspec
104
107
  - presto-client.rb
105
108
  - spec/spec_helper.rb
@@ -131,4 +134,3 @@ summary: Presto client library
131
134
  test_files:
132
135
  - spec/spec_helper.rb
133
136
  - spec/statement_client_spec.rb
134
- has_rdoc: false