dry-elastic_model 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +6 -0
- data/VERSION +1 -0
- data/dry-elastic_model.gemspec +1 -1
- data/lib/dry/elastic_model/version.rb +3 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 424e089e6077456be9fbe8402f1e41aaae54435f813a341769bb7c489c671586
|
4
|
+
data.tar.gz: 643788daa2e4e92719035505fd9fb9f86f2dcc52680075ce610ebb57fb7660cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db004e37de0e00d724b521ad4352ee5a41913d750fb89bff2ae27b1ff0d9bca4b86570a1720cbeabb9c09f8eaed148658504c49aa584109e2e5170ce88290e41
|
7
|
+
data.tar.gz: e5cfaa9e8531eb8f7e5733da8f1d56c97b7764c850abc93f6242e4300314f3bc1ffd0f6b2f47291d3b67296fbc8f605accd2fca63315ec230e91d77a9e86063d
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dry-elastic_model (0.1.
|
5
|
-
dry-struct (~> 1.0
|
4
|
+
dry-elastic_model (0.1.1)
|
5
|
+
dry-struct (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
concurrent-ruby (~> 1.0)
|
26
26
|
dry-core (~> 0.2)
|
27
27
|
dry-equalizer (~> 0.2)
|
28
|
-
dry-struct (1.
|
28
|
+
dry-struct (1.1.1)
|
29
29
|
dry-core (~> 0.4, >= 0.4.3)
|
30
30
|
dry-equalizer (~> 0.2)
|
31
31
|
dry-types (~> 1.0)
|
data/README.md
CHANGED
@@ -18,6 +18,12 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
+
## Release
|
22
|
+
|
23
|
+
1. Bump VERSION and push a commit to master
|
24
|
+
2. `$ gem build dry-elastic_model.gemspec`
|
25
|
+
3. `$ gem push dry-elastic_model-${VERSION}.gem`
|
26
|
+
|
21
27
|
This gem was created to provide a thin layer between Elasticsearch models mapping and Ruby objects. Right now, if you want to build your own Elasticsearch wrapper, you're on your own when it comes to creating document mappings and mapping ES documents to Ruby code, which can be painful especially if you want to also validate them before pushing.
|
22
28
|
|
23
29
|
Responsibilities of this library:
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.2
|
data/dry-elastic_model.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
35
35
|
spec.require_paths = ["lib"]
|
36
36
|
|
37
|
-
spec.add_dependency "dry-struct", "~> 1.0
|
37
|
+
spec.add_dependency "dry-struct", "~> 1.0"
|
38
38
|
spec.add_development_dependency "bundler", "~> 2.0"
|
39
39
|
spec.add_development_dependency "rake", "~> 10.0"
|
40
40
|
spec.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-elastic_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konrad Oleksiuk
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0
|
19
|
+
version: '1.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: 1.0
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +124,7 @@ files:
|
|
124
124
|
- LICENSE.txt
|
125
125
|
- README.md
|
126
126
|
- Rakefile
|
127
|
+
- VERSION
|
127
128
|
- bin/console
|
128
129
|
- bin/setup
|
129
130
|
- dry-elastic_model.gemspec
|