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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d215c6cd8372fd0fd0c16ff5dbc16173265af40b71b67faa3141c21458e36f7c
4
- data.tar.gz: 78df3b4e6681caec05450d80bf252b3bbba8fe7f2c957bc806e9c1ed243390a3
3
+ metadata.gz: 424e089e6077456be9fbe8402f1e41aaae54435f813a341769bb7c489c671586
4
+ data.tar.gz: 643788daa2e4e92719035505fd9fb9f86f2dcc52680075ce610ebb57fb7660cb
5
5
  SHA512:
6
- metadata.gz: c7fb7caffb6cb8e96a6bee2d06594e0d193e16407bbf351c24b938474437cdc116a23dd71105c7f6df75e33712c3a869b19172370040372678cb9846f73a5b05
7
- data.tar.gz: 6c2eda5e8cbc25ad72f09eca73942e105526aa763969d5eca802d8f9f3a98504b9fef6006938eecfc45176102e340131e46be53a7f118f2d0646940e9311e087
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.0)
5
- dry-struct (~> 1.0.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.0.0)
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
@@ -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.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"
@@ -2,6 +2,8 @@
2
2
 
3
3
  module Dry
4
4
  module ElasticModel
5
- VERSION = "0.1.1"
5
+ VERSION = File.read(
6
+ File.expand_path(File.join(File.dirname(__FILE__), "../../../VERSION"))
7
+ ).strip.freeze
6
8
  end
7
9
  end
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.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.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.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