elastify 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a3d823100945b0cb9a6129108a9505b2679e634c
4
+ data.tar.gz: 80b3798a246a0262592c94c47983a7cf26ddb949
5
+ SHA512:
6
+ metadata.gz: 6b2d472e359aa8db1176980b981305cbc63c0b4789024f68836394b1b5b868b4535635fc17e8947f37ccf0d42a535b04ac366fd6b8548b3f8fb16b9f9879740d
7
+ data.tar.gz: d6878c1a436b7fdc189a0240964f7aab64b133235e6187305c1c766e4e0053e1124e2b32c1b01be15e23b19a1541f5bf07688f1778c99649acfb97041d388cc1
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at TODO: Write your email address. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in elastify.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # Elastify
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/elastify`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'elastify'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install elastify
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/elastify. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "elastify"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/elastify.gemspec ADDED
@@ -0,0 +1,44 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'elastify/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "elastify"
8
+ spec.version = Elastify::VERSION
9
+ spec.authors = ["Bruno Bortolotti Ribeiro"]
10
+ spec.email = ["b2bortolotti@gmail.com"]
11
+
12
+ spec.summary = %q{A gem to help with ActiveRecord-ElasticSeach integration}
13
+ spec.description = %q{A gem to help with ActiveRecord-ElasticSeach integration}
14
+ spec.homepage = "https://github.com/brunobortolotti/elastify.git"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_runtime_dependency "activerecord", ">= 3.0.5"
34
+ spec.add_runtime_dependency "httparty", ">= 0.6.0"
35
+ spec.add_runtime_dependency "backgrounded", ">= 2.0.0"
36
+ spec.add_runtime_dependency "multi_json", ">= 1.0.0"
37
+ spec.add_runtime_dependency "rest-client", ["~> 2.0", ">= 2.0.1"]
38
+
39
+ spec.add_development_dependency "bundler", "~> 1.13"
40
+ spec.add_development_dependency "rake", "~> 10.0"
41
+ spec.add_development_dependency "shoulda", "2.11.3"
42
+ spec.add_development_dependency "mocha", "0.10.0"
43
+ spec.add_development_dependency "pry", "0.9.9.3"
44
+ end
data/lib/elastify.rb ADDED
@@ -0,0 +1,13 @@
1
+ require "elastify/version"
2
+ require "elastify/active_record_extensions"
3
+
4
+ module Elastify
5
+ cattr_accessor :defaults
6
+
7
+
8
+ class << self
9
+
10
+ end
11
+
12
+ class ElastifyError < StandardError; end
13
+ end
@@ -0,0 +1,94 @@
1
+ require 'active_record'
2
+ require 'backgrounded'
3
+ require 'elastify/elastic_search_helper'
4
+
5
+ module Elastify
6
+ module ActiveRecordExtensions
7
+ extend ActiveSupport::Concern
8
+
9
+ module ClassMethods
10
+ def elastify options = {}, &block
11
+ include Elastify::ActiveRecordExtensions::LocalMethods
12
+ cattr_accessor :options, :elastify_model_block
13
+ attr_accessor :elastify_serialized_document
14
+
15
+ self.options = {
16
+ base_url: Elastify.defaults[:base_url],
17
+ index: options[:index] || Elastify.defaults[:default_index],
18
+ type: options[:type] || Elastify.defaults[:default_type]
19
+ }
20
+
21
+ self.options.each do |key, value|
22
+ if value.blank?
23
+ raise ElastifyError, "You must specify the #{key} value"
24
+ end
25
+ end
26
+
27
+ if block_given?
28
+ self.elastify_model_block = block
29
+ else
30
+ self.elastify_model_block = Proc.new { |item|
31
+ next Hash.new
32
+ }
33
+ end
34
+ end
35
+
36
+
37
+ end
38
+
39
+ module LocalMethods
40
+ extend ActiveSupport::Concern
41
+
42
+ included do
43
+ define_model_callbacks :elastify_create
44
+ define_model_callbacks :elastify_update
45
+ define_model_callbacks :elastify_destroy
46
+ define_model_callbacks :elastify_sync
47
+ # define_model_callbacks :elastify_serialize
48
+
49
+ after_create { |item|
50
+ run_callbacks(:elastify_sync) do
51
+ if not item.elastify_serialized_document.blank?
52
+ run_callbacks(:elastify_create) do
53
+ ElasticSearchHelper::Document.new(self.options).create(item.elastify_serialized_document)
54
+ end
55
+ end
56
+ end
57
+ }
58
+
59
+ after_update { |item|
60
+ run_callbacks(:elastify_sync) do
61
+ if not item.elastify_serialized_document.blank?
62
+ run_callbacks(:elastify_update) do
63
+ ElasticSearchHelper::Document.new(self.options).update(item.elastify_serialized_document)
64
+ end
65
+ end
66
+ end
67
+ }
68
+
69
+ after_destroy { |item|
70
+ run_callbacks(:elastify_sync) do
71
+ if not item.elastify_serialized_document.blank?
72
+ run_callbacks(:elastify_destroy) do
73
+ ElasticSearchHelper::Document.new(self.options).destroy(item.elastify_serialized_document)
74
+ end
75
+ end
76
+ end
77
+ }
78
+
79
+ before_elastify_sync { |item|
80
+ item.elastify_serialized_document = self.elastify_model_block.call(item)
81
+ }
82
+ end
83
+
84
+ module ClassMethods
85
+ def elastifind dsl
86
+ return ElasticSearchHelper::Document.new(self.options).search(dsl)
87
+ end
88
+ end
89
+ end
90
+
91
+ end
92
+ end
93
+
94
+ ActiveRecord::Base.send(:include, Elastify::ActiveRecordExtensions)
@@ -0,0 +1,89 @@
1
+ module Elastify
2
+ module ElasticSearchHelper
3
+ class Document
4
+ cattr_accessor :options
5
+ def initialize options = {}
6
+ self.options = options
7
+ end
8
+ def create model
9
+ Connector.create self.options, model
10
+ end
11
+ def update model
12
+ Connector.update self.options, model
13
+ end
14
+ def destroy model
15
+ Connector.destroy self.options, model
16
+ end
17
+ def search dsl
18
+ Connector.search self.options, dsl
19
+ end
20
+ end
21
+ class Connector
22
+ def self.create options, data
23
+ if data.blank?
24
+ raise :elastify__create__required_data
25
+ end
26
+ if data[:id].blank?
27
+ raise :elastify__create__required_data_id
28
+ end
29
+ url = "#{options[:base_url]}/#{options[:index]}/#{options[:type]}/#{data[:id]}"
30
+ response = JSON.parse(RestClient.put(url, data.to_json, {}))
31
+ end
32
+ def self.update options, data
33
+ if data.blank?
34
+ raise :elastify__update__required_data
35
+ end
36
+ if data[:id].blank?
37
+ raise :elastify__update__required_data_id
38
+ end
39
+ url = "#{options[:base_url]}/#{options[:index]}/#{options[:type]}/#{data[:id]}"
40
+ response = JSON.parse(RestClient.put(url, data.to_json, {})).to_hash
41
+ end
42
+ def self.destroy options, data
43
+ if data.blank?
44
+ raise :elastify__delete__required_data
45
+ end
46
+ if data[:id].blank?
47
+ raise :elastify__delete__required_data_id
48
+ end
49
+ url = "#{options[:base_url]}/#{options[:index]}/#{options[:type]}/#{data[:id]}"
50
+ response = JSON.parse(RestClient.delete(url)).to_hash
51
+ end
52
+ def self.search options, dsl
53
+ if dsl.blank?
54
+ raise :elastify__search__required_dsl
55
+ end
56
+ url = "#{options[:base_url]}/#{options[:index]}/#{options[:type]}/_search"
57
+ response = SearchResultSet.new(RestClient.post(url, dsl.to_json, {}))
58
+ end
59
+ def self.destroy_type options
60
+ url = "#{options[:base_url]}/#{options[:index]}/#{options[:type]}"
61
+ response = JSON.parse(RestClient.delete(url)).to_hash
62
+ end
63
+ end
64
+ class SearchResultSet
65
+ attr_accessor :took, :timed_out, :shards_total, :shards_successful, :shards_failed, :hits_total, :hits_maxscore, :hits
66
+ def initialize elasticsearch_search_result
67
+ esr = JSON.parse(elasticsearch_search_result)
68
+ self.took = esr["took"]
69
+ self.timed_out = esr["timed_out"]
70
+ self.shards_total = esr["_shards"]["total"]
71
+ self.shards_successful = esr["_shards"]["successful"]
72
+ self.shards_failed = esr["_shards"]["failed"]
73
+ self.hits_total = esr["hits"]["total"]
74
+ self.hits_maxscore = esr["hits"]["maxscore"]
75
+ self.hits = esr["hits"]["hits"].map{ |hit| SearchResult.new(hit) }
76
+ end
77
+ end
78
+ class SearchResult
79
+ attr_accessor :index, :type, :id, :score, :source
80
+ def initialize elasticsearch_search_result_hit
81
+ esrh = elasticsearch_search_result_hit
82
+ self.index = esrh["_index"]
83
+ self.type = esrh["_type"]
84
+ self.id = esrh["_id"]
85
+ self.source = OpenStruct.new(esrh["_source"])
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,3 @@
1
+ module Elastify
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: elastify
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Bruno Bortolotti Ribeiro
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.0.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: httparty
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.6.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.6.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: backgrounded
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: multi_json
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rest-client
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.0'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 2.0.1
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '2.0'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.0.1
89
+ - !ruby/object:Gem::Dependency
90
+ name: bundler
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '1.13'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '1.13'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rake
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '10.0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '10.0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: shoulda
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - '='
122
+ - !ruby/object:Gem::Version
123
+ version: 2.11.3
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - '='
129
+ - !ruby/object:Gem::Version
130
+ version: 2.11.3
131
+ - !ruby/object:Gem::Dependency
132
+ name: mocha
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - '='
136
+ - !ruby/object:Gem::Version
137
+ version: 0.10.0
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - '='
143
+ - !ruby/object:Gem::Version
144
+ version: 0.10.0
145
+ - !ruby/object:Gem::Dependency
146
+ name: pry
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - '='
150
+ - !ruby/object:Gem::Version
151
+ version: 0.9.9.3
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - '='
157
+ - !ruby/object:Gem::Version
158
+ version: 0.9.9.3
159
+ description: A gem to help with ActiveRecord-ElasticSeach integration
160
+ email:
161
+ - b2bortolotti@gmail.com
162
+ executables: []
163
+ extensions: []
164
+ extra_rdoc_files: []
165
+ files:
166
+ - ".gitignore"
167
+ - CODE_OF_CONDUCT.md
168
+ - Gemfile
169
+ - LICENSE.txt
170
+ - README.md
171
+ - Rakefile
172
+ - bin/console
173
+ - bin/setup
174
+ - elastify.gemspec
175
+ - lib/elastify.rb
176
+ - lib/elastify/active_record_extensions.rb
177
+ - lib/elastify/elastic_search_helper.rb
178
+ - lib/elastify/version.rb
179
+ homepage: https://github.com/brunobortolotti/elastify.git
180
+ licenses:
181
+ - MIT
182
+ metadata:
183
+ allowed_push_host: https://rubygems.org
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 2.5.1
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: A gem to help with ActiveRecord-ElasticSeach integration
204
+ test_files: []