attributes-mapper 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3f7da65f2ff2b70efa82e9d72635050aeddd9e23e16c7ce2e513111e25c5ff9
|
|
4
|
+
data.tar.gz: d6bd2568a29650daecc172f0eaca1ca1d2270c879e47630275e8b606d08a69e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e9c2757c99792f0509d48c7bc77852c146f5d2de81ce4ff3601b368f53f5f61800d1a8890260b4f896079203da844c5c84361e33d6a843c4b85f118010aec4a
|
|
7
|
+
data.tar.gz: 2b6f2a6eff2c7b8a3b824c35f624ff8448687ce15884611d9630a2f0b385271217470343e792c8cec0490b6e7dc72e4fdafacf98a4cbceb3e1ef83610fbd4f44
|
data/attributes-mapper.gemspec
CHANGED
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
|
|
|
22
22
|
gem.metadata["source_code_uri"] = gem.homepage
|
|
23
23
|
gem.metadata["changelog_uri"] = "#{gem.homepage}/CHANGELOG.md"
|
|
24
24
|
|
|
25
|
-
gem.add_runtime_dependency 'json-path-builder', '~> 0.1.
|
|
25
|
+
gem.add_runtime_dependency 'json-path-builder', '~> 0.1.7'
|
|
26
26
|
gem.add_runtime_dependency 'rordash', '~> 0.1.2'
|
|
27
27
|
|
|
28
28
|
gem.add_development_dependency("codecov", "~> 0.6.0")
|
data/dev/setup.rb
CHANGED
|
@@ -12,6 +12,6 @@ require 'active_support/core_ext/enumerable'
|
|
|
12
12
|
require 'active_support/configurable'
|
|
13
13
|
require 'rudash'
|
|
14
14
|
|
|
15
|
-
%w[../../lib/
|
|
15
|
+
%w[../../lib/attributes-mapper ../../spec/spec_helper].each do |rel_path|
|
|
16
16
|
require File.expand_path(rel_path, Pathname.new(__FILE__).realpath)
|
|
17
17
|
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'rordash'
|
|
4
|
+
require 'json-path-builder'
|
|
5
|
+
|
|
6
|
+
require 'attributes-mapper/version'
|
|
7
|
+
require 'attributes-mapper/configuration'
|
|
8
|
+
require 'attributes-mapper/has_attributes'
|
|
9
|
+
require 'attributes-mapper/builder'
|
|
10
|
+
|
|
11
|
+
module AttributesMapper; end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: attributes-mapper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Desmond O'Leary
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json-path-builder
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.1.
|
|
19
|
+
version: 0.1.7
|
|
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: 0.1.
|
|
26
|
+
version: 0.1.7
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rordash
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -117,16 +117,16 @@ files:
|
|
|
117
117
|
- bin/rubocop
|
|
118
118
|
- bin/setup
|
|
119
119
|
- dev/setup.rb
|
|
120
|
+
- lib/attributes-mapper.rb
|
|
120
121
|
- lib/attributes-mapper/builder.rb
|
|
121
122
|
- lib/attributes-mapper/configuration.rb
|
|
122
123
|
- lib/attributes-mapper/has_attributes.rb
|
|
123
124
|
- lib/attributes-mapper/version.rb
|
|
124
|
-
- lib/attributes_mapper.rb
|
|
125
125
|
- sig/attributes/mapper.rbs
|
|
126
126
|
- spec/attributes-mapper/builder_spec.rb
|
|
127
127
|
- spec/attributes-mapper/configuration_spec.rb
|
|
128
128
|
- spec/attributes-mapper/has_attributes_spec.rb
|
|
129
|
-
- spec/
|
|
129
|
+
- spec/attributes-mapper_spec.rb
|
|
130
130
|
- spec/coverage_helper.rb
|
|
131
131
|
- spec/spec_helper.rb
|
|
132
132
|
homepage: https://github.com/omnitech-solutions/attributes-mapper
|
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
152
152
|
- !ruby/object:Gem::Version
|
|
153
153
|
version: '0'
|
|
154
154
|
requirements: []
|
|
155
|
-
rubygems_version: 3.
|
|
155
|
+
rubygems_version: 3.4.8
|
|
156
156
|
signing_key:
|
|
157
157
|
specification_version: 4
|
|
158
158
|
summary: Declarative attributes mapping
|
data/lib/attributes_mapper.rb
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require 'rordash'
|
|
4
|
-
require 'json-path/builder'
|
|
5
|
-
require 'json-path/default_data_wrapper'
|
|
6
|
-
require 'json-path/path_context'
|
|
7
|
-
require 'json-path/path_context_collection'
|
|
8
|
-
|
|
9
|
-
%w[
|
|
10
|
-
version
|
|
11
|
-
configuration
|
|
12
|
-
has_attributes
|
|
13
|
-
builder
|
|
14
|
-
].each do |filename|
|
|
15
|
-
require File.expand_path("../attributes-mapper/#{filename}", Pathname.new(__FILE__).realpath)
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
module AttributesMapper; end
|
|
File without changes
|