directory_diff 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +16 -0
- data/.gitignore +1 -0
- data/.travis.yml +1 -1
- data/directory_diff.gemspec +1 -1
- data/lib/directory_diff/transformer/in_memory.rb +1 -1
- data/lib/directory_diff/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d9524f8974503247dea40fac0ccb992cdc587ecd29c809d43638c06c528fc42
|
4
|
+
data.tar.gz: 0c32c7b0ef0f7820b600c936ae3acc96866ff51479491bc048c7969f0e2a86e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ad8ef6c772551d0b3c717f73f9e4b2385bcb5e195a5e397adcca5492948e9e338b5f35447d855122b35423d6b44b9500913cb58a2ce0a4dbf34fde46971ac41
|
7
|
+
data.tar.gz: 162488bedfdf248ab54accf18c40ad9cf761a99bf27e556a042d285097fd0f4eb22e01b8559b2ea4349823c3f7d7047dad0ab600075989bde44ce4fa40903ae8
|
@@ -0,0 +1,16 @@
|
|
1
|
+
name: Run CI
|
2
|
+
on: [push]
|
3
|
+
|
4
|
+
jobs:
|
5
|
+
run-rspec-tests:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
steps:
|
8
|
+
- uses: actions/checkout@v2
|
9
|
+
- name: Set up Ruby
|
10
|
+
uses: ruby/setup-ruby@v1
|
11
|
+
with:
|
12
|
+
ruby-version: 2.7
|
13
|
+
bundler-cache: true
|
14
|
+
- name: Run tests
|
15
|
+
run: |
|
16
|
+
bundle exec rspec
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/directory_diff.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency "activerecord", ">= 5.1"
|
23
23
|
spec.add_dependency "pg", "~> 1.1.3"
|
24
24
|
|
25
|
-
spec.add_development_dependency "bundler", "~>
|
25
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.0"
|
28
28
|
spec.add_development_dependency "temping", "~> 3.10.0"
|
@@ -77,7 +77,7 @@ module DirectoryDiff
|
|
77
77
|
|
78
78
|
if old_employee.nil?
|
79
79
|
add_transform(:insert, new_employee)
|
80
|
-
elsif new_employee[0,
|
80
|
+
elsif new_employee[0, 9] == old_employee[0, 9]
|
81
81
|
# restore assistant value after cleanup like missing assistants and own email
|
82
82
|
new_employee[3] = original_assistant_value
|
83
83
|
# restore phone number value
|
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
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamal Mahyuddin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,6 +116,7 @@ extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
118
|
- ".codeclimate.yml"
|
119
|
+
- ".github/workflows/ci.yml"
|
119
120
|
- ".gitignore"
|
120
121
|
- ".rspec"
|
121
122
|
- ".rubocop.yml"
|
@@ -140,7 +141,7 @@ homepage: https://github.com/envoy/directory_diff
|
|
140
141
|
licenses:
|
141
142
|
- MIT
|
142
143
|
metadata: {}
|
143
|
-
post_install_message:
|
144
|
+
post_install_message:
|
144
145
|
rdoc_options: []
|
145
146
|
require_paths:
|
146
147
|
- lib
|
@@ -155,8 +156,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
156
|
- !ruby/object:Gem::Version
|
156
157
|
version: '0'
|
157
158
|
requirements: []
|
158
|
-
rubygems_version: 3.
|
159
|
-
signing_key:
|
159
|
+
rubygems_version: 3.1.6
|
160
|
+
signing_key:
|
160
161
|
specification_version: 4
|
161
162
|
summary: Envoy employee directory diffing.
|
162
163
|
test_files: []
|