flex-models 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +19 -11
- data/VERSION +1 -1
- data/flex-models.gemspec +1 -1
- metadata +10 -9
data/README.md
CHANGED
@@ -1,18 +1,26 @@
|
|
1
|
-
#
|
1
|
+
# flex-models
|
2
2
|
|
3
|
-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/flex-models.png)](http://badge.fury.io/rb/flex-models)
|
4
4
|
|
5
|
-
|
5
|
+
Transparently integrates your models with one or more elasticsearch indices:
|
6
6
|
|
7
|
-
*
|
8
|
-
*
|
9
|
-
*
|
10
|
-
*
|
11
|
-
*
|
7
|
+
* Automatic integration with your `ActiveRecord` and `Mongoid` models
|
8
|
+
* Direct management of indices throught `ActiveModel`
|
9
|
+
* Validations and callbacks
|
10
|
+
* Typecasting
|
11
|
+
* Attribute defaults
|
12
|
+
* Persistent storage with optimistic lock update
|
13
|
+
* integration with the `elasticsearch-mapper-attachment` plugin
|
14
|
+
* finders, chainable scopes etc. {% see 4.3 %}
|
15
|
+
* Automatic generation of elasticsearch mappings based on your models
|
16
|
+
* Parent/Child Relationships
|
17
|
+
* Bulk import
|
18
|
+
* Real-time indexing and search capabilities
|
12
19
|
|
13
|
-
##
|
20
|
+
## Links
|
14
21
|
|
15
|
-
|
22
|
+
- __Gem-Specific Documentation__
|
23
|
+
- [flex-models](http://ddnexus.github.io/flex/doc/4-flex-models)
|
16
24
|
|
17
25
|
## Credits
|
18
26
|
|
@@ -21,4 +29,4 @@ Special thanks for their sponsorship to [Escalate Media](http://www.escalatemedi
|
|
21
29
|
## Copyright
|
22
30
|
|
23
31
|
Copyright (c) 2012-2013 by [Domizio Demichelis](mailto://dd.nexus@gmail.com)<br>
|
24
|
-
See [LICENSE](https://github.com/ddnexus/flex
|
32
|
+
See [LICENSE](https://github.com/ddnexus/flex/blob/master/flex-models/LICENSE) for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/flex-models.gemspec
CHANGED
@@ -8,12 +8,12 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.homepage = 'http://github.com/ddnexus/flex-models'
|
9
9
|
s.authors = ["Domizio Demichelis"]
|
10
10
|
s.email = 'dd.nexus@gmail.com'
|
11
|
-
s.extra_rdoc_files = %w[README.md]
|
12
11
|
s.files = `git ls-files -z`.split("\0")
|
13
12
|
s.version = version
|
14
13
|
s.date = Date.today.to_s
|
15
14
|
s.required_rubygems_version = ">= 1.3.6"
|
16
15
|
s.rdoc_options = %w[--charset=UTF-8]
|
16
|
+
s.license = 'MIT'
|
17
17
|
|
18
18
|
s.add_runtime_dependency 'flex', version
|
19
19
|
s.add_runtime_dependency 'flex-scopes', version
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flex-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: flex
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0.
|
21
|
+
version: 1.0.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.0.
|
29
|
+
version: 1.0.3
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: flex-scopes
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.0.
|
37
|
+
version: 1.0.3
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - '='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.0.
|
45
|
+
version: 1.0.3
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: active_attr
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,8 +65,7 @@ description: Provides ActiveRecord, Mongoid, ActiveModel and elasticsearch-mappe
|
|
65
65
|
email: dd.nexus@gmail.com
|
66
66
|
executables: []
|
67
67
|
extensions: []
|
68
|
-
extra_rdoc_files:
|
69
|
-
- README.md
|
68
|
+
extra_rdoc_files: []
|
70
69
|
files:
|
71
70
|
- LICENSE
|
72
71
|
- README.md
|
@@ -95,7 +94,8 @@ files:
|
|
95
94
|
- lib/flex/struct/mergeable.rb
|
96
95
|
- lib/tasks.rake
|
97
96
|
homepage: http://github.com/ddnexus/flex-models
|
98
|
-
licenses:
|
97
|
+
licenses:
|
98
|
+
- MIT
|
99
99
|
post_install_message:
|
100
100
|
rdoc_options:
|
101
101
|
- --charset=UTF-8
|
@@ -120,3 +120,4 @@ signing_key:
|
|
120
120
|
specification_version: 3
|
121
121
|
summary: Transparently integrates your models with one or more elasticsearch indices.
|
122
122
|
test_files: []
|
123
|
+
has_rdoc:
|