hsql 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12cbc29780960ce0454e0bdd075f296a75eff08a
4
- data.tar.gz: 866fa2ea979dd4d9bb1df5381181d35f323cf178
3
+ metadata.gz: 92a6d1e3fd48b97e097cd313b872e3b4846099b5
4
+ data.tar.gz: cf1ccc9268ec22de5e1f4c1b30919a91bf1a4aa4
5
5
  SHA512:
6
- metadata.gz: 7a8b9a2a8a856a53bfe5205c6330483fca9b8f0e7426fbd1e7a1a69249c0604f50b479ed89d692edcb62eef1d030b879164e508dae9bef59cba84040b67f3b2c
7
- data.tar.gz: fef426598ce5b2de7efc13dbb437f6a80a55f78bd785a0c8371582060383d225f9602fda4e663312fe428978f383e968a09af76a10e2d6a7ae22654d926c0e3d
6
+ metadata.gz: da5c1bdd69680ddaa11ed50cf55f30fd69ecdb60f55c8ff04cce8b0eeb28451cb4e1faf09d59226ddaa516757e080b1fd5d0407b19c9cd91ea3a7ce0a75b375f
7
+ data.tar.gz: 480d4571781e006096bdcc4834c3ae77cf481ba0d99e56a086b5dba3cb8a32131569cf10b957f5417af48e096b781d6c46704aa8201f9bcd007c2d672fb9fd00
data/Rakefile CHANGED
@@ -18,6 +18,7 @@ task default: [:lint, :spec]
18
18
  task test: :spec
19
19
  task lint: :rubocop
20
20
 
21
+ desc 'Publish the gem (after running all tests)'
21
22
  task publish: [:lint, :spec] do
22
23
  require_relative 'lib/hsql/version'
23
24
  system(p('gem build hsql.gemspec'))
data/hsql.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency 'mustache', '> 0'
23
23
  spec.add_dependency 'activesupport', '> 0'
24
- spec.add_dependency 'pg_query', '>= 0.6.3'
24
+ spec.add_dependency 'pg_query', '>= 0.6.4'
25
25
  spec.add_development_dependency 'bundler', '~> 1.10'
26
26
  spec.add_development_dependency 'rubocop', '~> 0.3'
27
27
  spec.add_development_dependency 'rake', '> 0'
data/lib/hsql/query.rb CHANGED
@@ -13,7 +13,7 @@ module HSQL
13
13
 
14
14
  # Show the parsed query as reconstructed SQL
15
15
  def to_s
16
- PgQuery.deparse ast
16
+ PgQuery::Deparse.from ast
17
17
  end
18
18
  alias_method :to_sql, :to_s
19
19
  end
data/lib/hsql/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # http://semver.org/
2
2
  module HSQL
3
- VERSION = '0.3.7'
3
+ VERSION = '0.3.8'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hsql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Danger Canty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-30 00:00:00.000000000 Z
11
+ date: 2015-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mustache
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.6.3
47
+ version: 0.6.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.6.3
54
+ version: 0.6.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement