directory_diff 0.6.0 → 0.6.1

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: 4d9524f8974503247dea40fac0ccb992cdc587ecd29c809d43638c06c528fc42
4
- data.tar.gz: 0c32c7b0ef0f7820b600c936ae3acc96866ff51479491bc048c7969f0e2a86e9
3
+ metadata.gz: 98e85044dc99707e66ec0ac0bc30a40898174f1207896329faaee45f1c02bab6
4
+ data.tar.gz: 9f063cb37404ef9dbdd7eff861e5d6a4374bb559a05742c739e607909480faa4
5
5
  SHA512:
6
- metadata.gz: 3ad8ef6c772551d0b3c717f73f9e4b2385bcb5e195a5e397adcca5492948e9e338b5f35447d855122b35423d6b44b9500913cb58a2ce0a4dbf34fde46971ac41
7
- data.tar.gz: 162488bedfdf248ab54accf18c40ad9cf761a99bf27e556a042d285097fd0f4eb22e01b8559b2ea4349823c3f7d7047dad0ab600075989bde44ce4fa40903ae8
6
+ metadata.gz: 8b21d498b7c451fcd3454c398883a4e20675358f303c46833fdbf4feecaadb1c25567a2c9100d6ac2402df07e48523fff46048f30a787b4a9fd4480997fbfb26
7
+ data.tar.gz: bb88749c42827d27ecde36f5d0ee01f1c592cb6db0b7c2c24fb3227aa8998cb873c38e146ca530a1a65418ba9187a557d14c579e13a64e8c7be1a31ccd8c7f97
data/Rakefile CHANGED
@@ -1,24 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rspec/core/rake_task"
3
- require "yaml"
4
- require "active_record"
5
3
 
6
4
  RSpec::Core::RakeTask.new(:spec)
7
5
 
8
6
  task :default => :spec
9
-
10
- namespace :db do
11
- db_config = YAML::load(File.open("spec/support/database.yml"))
12
- db_config_admin = db_config.merge({"database" => "postgres", "schema_search_path" => "public"})
13
-
14
- desc "Create the database"
15
- task :create do
16
- begin
17
- ActiveRecord::Base.establish_connection(db_config_admin)
18
- ActiveRecord::Base.connection.create_database(db_config["database"])
19
- puts "Database created."
20
- rescue ActiveRecord::StatementInvalid
21
- puts "Database already exist."
22
- end
23
- end
24
- end
@@ -19,12 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "activerecord", ">= 5.1"
23
- spec.add_dependency "pg", "~> 1.1.3"
22
+ spec.add_dependency "activesupport"
24
23
 
25
24
  spec.add_development_dependency "bundler", "~> 2.0"
26
25
  spec.add_development_dependency "rake", "~> 10.0"
27
26
  spec.add_development_dependency "rspec", "~> 3.0"
28
- spec.add_development_dependency "temping", "~> 3.10.0"
29
- spec.add_development_dependency "appraisal"
30
27
  end
@@ -1,3 +1,5 @@
1
+ require 'active_support/core_ext/object/blank'
2
+
1
3
  module DirectoryDiff
2
4
  module Transformer
3
5
  class InMemory
@@ -1,3 +1,3 @@
1
1
  module DirectoryDiff
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: directory_diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
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: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2025-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: activerecord
14
+ name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.1'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5.1'
27
- - !ruby/object:Gem::Dependency
28
- name: pg
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 1.1.3
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 1.1.3
26
+ version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: bundler
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,34 +66,6 @@ dependencies:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '3.0'
83
- - !ruby/object:Gem::Dependency
84
- name: temping
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 3.10.0
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: 3.10.0
97
- - !ruby/object:Gem::Dependency
98
- name: appraisal
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
69
  description: This microlibrary implements employee directory diffing between two versions.
112
70
  email:
113
71
  - kamal@envoy.com
@@ -120,8 +78,6 @@ files:
120
78
  - ".gitignore"
121
79
  - ".rspec"
122
80
  - ".rubocop.yml"
123
- - ".travis.yml"
124
- - Appraisals
125
81
  - CODE_OF_CONDUCT.md
126
82
  - Gemfile
127
83
  - LICENSE.txt
@@ -130,9 +86,6 @@ files:
130
86
  - bin/console
131
87
  - bin/setup
132
88
  - directory_diff.gemspec
133
- - gemfiles/.bundle/config
134
- - gemfiles/activerecord_5.1.gemfile
135
- - gemfiles/activerecord_5.2.gemfile
136
89
  - lib/directory_diff.rb
137
90
  - lib/directory_diff/transform.rb
138
91
  - lib/directory_diff/transformer/in_memory.rb
@@ -141,7 +94,7 @@ homepage: https://github.com/envoy/directory_diff
141
94
  licenses:
142
95
  - MIT
143
96
  metadata: {}
144
- post_install_message:
97
+ post_install_message:
145
98
  rdoc_options: []
146
99
  require_paths:
147
100
  - lib
@@ -156,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
109
  - !ruby/object:Gem::Version
157
110
  version: '0'
158
111
  requirements: []
159
- rubygems_version: 3.1.6
160
- signing_key:
112
+ rubygems_version: 3.3.26
113
+ signing_key:
161
114
  specification_version: 4
162
115
  summary: Envoy employee directory diffing.
163
116
  test_files: []
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- language: ruby
2
- dist: xenial
3
- addons:
4
- postgresql: 9.6
5
- rvm:
6
- - 2.4.4
7
- - 2.5.1
8
- gemfile:
9
- - gemfiles/activerecord_5.1.gemfile
10
- - gemfiles/activerecord_5.2.gemfile
11
- before_install: gem install bundler -v 2.4.22
12
- script:
13
- - bundle exec rake db:create
14
- - bundle exec rake spec
data/Appraisals DELETED
@@ -1,7 +0,0 @@
1
- appraise "activerecord-5.1" do
2
- gem "activerecord", "~> 5.1.6"
3
- end
4
-
5
- appraise "activerecord-5.2" do
6
- gem "activerecord", "~> 5.2.1"
7
- end
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_RETRY: "1"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.1.6"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.2.1"
6
-
7
- gemspec path: "../"