directory_diff 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/directory_diff/transform.rb +3 -0
- data/lib/directory_diff/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f42af684a671982743bfbaff26b165e5338ef7d
|
4
|
+
data.tar.gz: 2396a30e022f9571b747764df801ba5d35d07bb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f20ed1ada34a8e6beeb4dd7343ae27c78c126f8dbd3c1ebf43dec6695d172f19d82eebda5ec1d028b65363f2215f8a26ee9ef1531f8e3ecb147b0f920c88f42b
|
7
|
+
data.tar.gz: 803f0ea6fdddef66b17ada42989b14caf056d98d4144ae87ba64716d0820f42108cb4e3187957ebbfdb91d513a2230b533a59cef91a7668eabbe28632c32fde1
|
@@ -122,9 +122,12 @@ module DirectoryDiff
|
|
122
122
|
def build_index(directory)
|
123
123
|
accum = {}
|
124
124
|
directory.each do |employee|
|
125
|
+
# Item at index 1 is email, so downcase it
|
126
|
+
employee[1] = employee[1].downcase
|
125
127
|
email = employee[1]
|
126
128
|
accum[email] = employee
|
127
129
|
end
|
130
|
+
|
128
131
|
accum
|
129
132
|
end
|
130
133
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: directory_diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamal Mahyuddin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.
|
98
|
+
rubygems_version: 2.6.12
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Envoy employee directory diffing.
|