mas-rad_core 0.0.48 → 0.0.49

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: dc1fa6d070c67cb3f593f968aa61927c00a77cd6
4
- data.tar.gz: 6e6da27d20af5bb80e271aa76e9fe0c2d0ec94ed
3
+ metadata.gz: b93520ce239de6d9095fe231bc78aac9371c8245
4
+ data.tar.gz: a5c02858ef5a3f6be03529ae2953531eb78758dd
5
5
  SHA512:
6
- metadata.gz: 2ab4c7783234f123aa7863e0ba06a7d60898069cb5a0503a3808e1d3f44439c255018cb576e171a10b7316b35b25a372328984d04a9d88670aab60ec53f0fba1
7
- data.tar.gz: fffb4fb5535b8e88416a6891a0e0489d3e67540f8ba9ccdef3a831420d80c7fd3c6ee4e93df0f50bf7d5586889c8fa62abbff7c7acd1d8901eb5f587706e4766
6
+ metadata.gz: ce88bd5d65021fc8b489d1034dfaa44cdc479512374bc3b8603022997e941184edb44cef9148aef7cdb44da1136fbca6ae7e89a4688defc74b89a6bfb6ff36b8
7
+ data.tar.gz: 02ab9ce26d298342ee207d885562b8291c48b5db829677b9099f2c39b92fae6a566478982795b2c53b00dde8433f72b54ab9d140297ff4f4b63bbfbc8b0a7f27
@@ -1,5 +1,5 @@
1
1
  module MAS
2
2
  module RadCore
3
- VERSION = '0.0.48'
3
+ VERSION = '0.0.49'
4
4
  end
5
5
  end
@@ -14,7 +14,7 @@ namespace :firms do
14
14
  end
15
15
 
16
16
  def audit_database
17
- Firm.all.select do |firm|
17
+ Firm.registered.select do |firm|
18
18
  es_firm = FirmRepository.new.find(firm)['_source']
19
19
  if es_firm != serialize_firm(firm)
20
20
  print '!'
@@ -27,7 +27,7 @@ namespace :firms do
27
27
  end
28
28
 
29
29
  def audit_es
30
- ids = Firm.all.map(&:id)
30
+ ids = Firm.registered.map(&:id)
31
31
  all_firms.select do |es_firm|
32
32
  if ids.include? es_firm['_source']['_id']
33
33
  print '.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mas-rad_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.48
4
+ version: 0.0.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-04 00:00:00.000000000 Z
11
+ date: 2015-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails