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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8ee4b73f492c39e557743dfb1fe4c8b84cd10dc4807f11d4606dad2cecf3327
4
- data.tar.gz: 918743f81b8d6bc18b5a7ba5d8722efc67a7af35fa718e7095b63b5ed6c91961
3
+ metadata.gz: 4d9524f8974503247dea40fac0ccb992cdc587ecd29c809d43638c06c528fc42
4
+ data.tar.gz: 0c32c7b0ef0f7820b600c936ae3acc96866ff51479491bc048c7969f0e2a86e9
5
5
  SHA512:
6
- metadata.gz: 4cf77d75a44f310640a5ce99e4b569a5a7e82e046647b6c70fabf7407c27e460dea47003d376935132bbabe2ca8b088dea9052c29c39f90b02e6dcd145d88714
7
- data.tar.gz: 8590c90ab336c515bb9ab7633caf380f1ca9ed9dd7bf8ed30e8a72e85cc1c8bd857cd8ec6a9b1f2823129e5663242fccb7692e0171bb2abd29fcd30a58856abb
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
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  gemfiles/*.gemfile.lock
11
+ .idea
data/.travis.yml CHANGED
@@ -8,7 +8,7 @@ rvm:
8
8
  gemfile:
9
9
  - gemfiles/activerecord_5.1.gemfile
10
10
  - gemfiles/activerecord_5.2.gemfile
11
- before_install: gem install bundler -v 1.11.2
11
+ before_install: gem install bundler -v 2.4.22
12
12
  script:
13
13
  - bundle exec rake db:create
14
14
  - bundle exec rake spec
@@ -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", "~> 1.11"
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, 5] == old_employee[0, 5]
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
@@ -1,3 +1,3 @@
1
1
  module DirectoryDiff
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  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.5.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: 2023-02-27 00:00:00.000000000 Z
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: '1.11'
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: '1.11'
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.3.12
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: []