mystic 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mystic/model.rb +0 -1
  3. metadata +2 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1e592ee5ecc01ba11d3504a180f611d0edc5750
4
- data.tar.gz: 426a67b8cd7c0ffd8e615db88edcdffd332191d9
3
+ metadata.gz: f8d3e3a15283f0671fb7cdee16c1981124ab2ad0
4
+ data.tar.gz: da09d7415712acb9758e005c09f5da9abd1ba3d6
5
5
  SHA512:
6
- metadata.gz: adaaf10689933dd6a2bf7536069f9dd49a23eebcb9a9a8e2edf92cf65e7e12003f96c4e51285542613706272cd48432bba5150a355a577f7d38e17e4bdaf4d16
7
- data.tar.gz: 63471fe4db1e70702dd917d566911ecfcc97bf4db8d8b2c0e914752e55688cced0812c8b7e57fd1be323e3eff3496eabf407cd29194ae3b582a2ddb747100e53
6
+ metadata.gz: b2b7f1917713a63f0688e6f4fa1e99c7dd31afc5cb5a941cf51c7b8c70e4f913fb7fba78259d5c8987abea5a775fefa7046a6f28873ff87d23203dfdfe37beb9
7
+ data.tar.gz: 7de83502cc5d0abd7c02190de4428c1b491ca49e89437638f14466bfa5b51a461bf0cbd6fb0e4785b754a77b11bd09e6f7c37fe95377b6ee95d0fcb35cbb8337
data/lib/mystic/model.rb CHANGED
@@ -26,7 +26,6 @@ module Mystic
26
26
 
27
27
  if return_json
28
28
  s << "WITH res AS (#{sql}) SELECT"
29
- s << "row_to_json(res)" if op == "INSERT"
30
29
  s << "array_to_json(array_agg(res))" if plural
31
30
  s << "row_to_json(res)" unless plural
32
31
  s << "AS #{Mystic::JSON_COL}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mystic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Symer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-08 00:00:00.000000000 Z
11
+ date: 2014-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: densify
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3'
55
41
  description: Database management/access gem. Supports adapters, migrations, and a
56
42
  singleton to make SQL queries.
57
43
  email: nate@ivytap.com