mincer 0.2.13 → 0.2.14

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: f8429e501c5e08d22afbc1b91d22e7679b36d8c8
4
- data.tar.gz: 7ecdf9d3adbf364693382952c075477b59468795
3
+ metadata.gz: 596cff7167053281b57a50ee49b6d201a6c3481d
4
+ data.tar.gz: 6040bf0e675643a66ed39573172dcf770fac77c1
5
5
  SHA512:
6
- metadata.gz: c680f281b5e09e3269c8cdc1ff2bfadd2a55d559a4346c3fc4981c0cc6cada1956c54554bbf5c1c6e9e860b2a72be091b37a65e4f0a0eaa21d97ddd0520b2c9b
7
- data.tar.gz: bd0d3055705492811c242aaa3b7fcfc67f441eee140d80b70989ec11d66dd54bc709f91340bd75f7cf5db53fadaeca0314cb01766338086c85936a5b2c2fcdd9
6
+ metadata.gz: d4bcf26e32eae3d1d0b31b4a4fe45b0cdd2b2fa812cdc26197986c304d3363c4f00dfbd2fa6e2effb7efabaad122ada725ce3e4dee4852b736de0aea3da4274b
7
+ data.tar.gz: 36a7cf9e5c1ff79f8398cc2590af4afc690eac1e37f22aab969d66a48395b7f6a93350b967607030a6937402150f4545ab5222f3a3708582790f476062edcab2
@@ -16,7 +16,7 @@ module Mincer
16
16
  result = Mincer.connection.execute(json_query).first['json']
17
17
  return result unless @options[:singularize]
18
18
  return (result[1..-2].presence || '{}') unless @options[:root]
19
- (result.sub('[', '').sub(/(])}$/, '}').presence || '{}')
19
+ (result.sub('[', '').sub(/(\])}$/, '}').presence || '{}')
20
20
  else
21
21
  warn 'To dump data to json with postgres you need to use postgres server version >= 9.2'
22
22
  end
@@ -1,7 +1,7 @@
1
1
  module Mincer
2
2
 
3
3
  def self.version
4
- Gem::Version.new '0.2.13'
4
+ Gem::Version.new '0.2.14'
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mincer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Krasinsky
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.4.5.1
199
+ rubygems_version: 2.6.10
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: ActiveRecord::Relation wrapper for pagination, order, json, search, cache_digest