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 +4 -4
- data/lib/mas/rad_core/version.rb +1 -1
- data/lib/mas/tasks/firms/audit.rake +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b93520ce239de6d9095fe231bc78aac9371c8245
|
4
|
+
data.tar.gz: a5c02858ef5a3f6be03529ae2953531eb78758dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce88bd5d65021fc8b489d1034dfaa44cdc479512374bc3b8603022997e941184edb44cef9148aef7cdb44da1136fbca6ae7e89a4688defc74b89a6bfb6ff36b8
|
7
|
+
data.tar.gz: 02ab9ce26d298342ee207d885562b8291c48b5db829677b9099f2c39b92fae6a566478982795b2c53b00dde8433f72b54ab9d140297ff4f4b63bbfbc8b0a7f27
|
data/lib/mas/rad_core/version.rb
CHANGED
@@ -14,7 +14,7 @@ namespace :firms do
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def audit_database
|
17
|
-
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.
|
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.
|
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-
|
11
|
+
date: 2015-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|