mongo_masker 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +11 -7
- data/lib/mongo_masker.rb +1 -1
- data/mongo_masker.gemspec +2 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a6afb148e4a02eec33581cf43b0dc307d6633cb37d1b8458a524632011e2f520
|
4
|
+
data.tar.gz: 73ddb5421b63f6febfb4d7ee57d6e711d1ffd485f61544e857e6dae8035a1d1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b427eaba1b6bcd0a0432bf556621d14527453328cd258cffda1be961568c7a95920d79e1dc14b81580b76992c4622d2a82e34259d34df4f192458720f82ab72
|
7
|
+
data.tar.gz: c9ce13d27a0d9f75684e9b729e078b3112287a2a3787e9edfbd8b3f06de99418771392375a5fcedec213dee26fb559e52376d4bb30a269e8770c8a0601247ce1
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
bson (4.
|
5
|
-
ffaker (2.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
bson (4.7.0)
|
5
|
+
ffaker (2.13.0)
|
6
|
+
io-console (0.5.5)
|
7
|
+
irb (1.2.1)
|
8
|
+
reline (>= 0.0.1)
|
9
|
+
mongo (2.11.2)
|
10
|
+
bson (>= 4.6.0, < 5.0.0)
|
11
|
+
reline (0.1.2)
|
12
|
+
io-console (~> 0.5)
|
13
|
+
thor (1.0.1)
|
10
14
|
|
11
15
|
PLATFORMS
|
12
16
|
ruby
|
@@ -18,4 +22,4 @@ DEPENDENCIES
|
|
18
22
|
thor
|
19
23
|
|
20
24
|
BUNDLED WITH
|
21
|
-
1.17.
|
25
|
+
1.17.2
|
data/lib/mongo_masker.rb
CHANGED
@@ -45,7 +45,7 @@ module MongoMasker
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def format_time_diff(start_at, finish_at)
|
48
|
-
output = Time.at(finish_at - start_at).strftime '%H hours %M minutes %S seconds'
|
48
|
+
output = Time.at(finish_at - start_at).utc.strftime '%H hours %M minutes %S seconds'
|
49
49
|
output.gsub(/^0+ hours /, '').gsub(/^0+ minutes /, '')
|
50
50
|
end
|
51
51
|
|
data/mongo_masker.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'mongo_masker'
|
3
|
-
s.version = '1.0.
|
4
|
-
s.date = '
|
3
|
+
s.version = '1.0.2'
|
4
|
+
s.date = '2020-01-23'
|
5
5
|
s.summary = 'Mongo masker'
|
6
6
|
s.description = 'Masking production data mongodb for testing/development'
|
7
7
|
s.authors = ['Clicia Scarlet']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo_masker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clicia Scarlet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -131,8 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
|
-
|
135
|
-
rubygems_version: 2.5.2
|
134
|
+
rubygems_version: 3.0.3
|
136
135
|
signing_key:
|
137
136
|
specification_version: 4
|
138
137
|
summary: Mongo masker
|