flex 1.0.2 → 1.0.3
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.
- data/README.md +14 -47
- data/VERSION +1 -1
- data/flex.gemspec +3 -2
- metadata +6 -5
data/README.md
CHANGED
@@ -1,55 +1,22 @@
|
|
1
|
-
#
|
1
|
+
# flex
|
2
2
|
|
3
|
-
|
3
|
+
[](http://badge.fury.io/rb/flex)
|
4
4
|
|
5
|
-
|
5
|
+
Provides the core infrastructure and the lower level functionality:
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
1. You may be interested to start from [Why you should use Flex rather than Tire](http://ddnexus.github.io/flex/doc/7-Tutorials/1-Flex-vs-Tire.html) that is a direct comparison between the two projects.
|
16
|
-
|
17
|
-
2. Depending on your elasticsearch knowledge you can read below the "Elasticsearch Beginner" or the "Elasticsearch Expert" starting point sections.
|
18
|
-
|
19
|
-
### For Flex 0.x Users
|
20
|
-
|
21
|
-
1. If you used an old flex version, please start with [How to migrate from flex 0.x](http://ddnexus.github.io/flex/doc/7-Tutorials/2-Migrate-from-0.x.html).
|
22
|
-
|
23
|
-
2. Depending on your elasticsearch knowledge you can read below the "Elasticsearch Beginner" or the "Elasticsearch Expert" sections.
|
24
|
-
|
25
|
-
### For Elasticsearch Beginners
|
26
|
-
|
27
|
-
1. You may want to start with the [Index and Search External Data](http://ddnexus.github.io/flex/doc/7-Tutorials/4-Index-and-Search-External-Data.md) tutorial, since it practically doesn't require any elasticsearch knowledge. It will show you how to build your own search application with just a few lines of code. You will crawl a site, extract its content and build a simple user interface to search it with elasticsearch.
|
28
|
-
|
29
|
-
2. Then you may want to read the [Usage Overview](http://ddnexus.github.io/flex/doc/1-Flex-Project/2-Usage-Overview.html) page. Follow the links from there in order to dig into the topics that interest you.
|
30
|
-
|
31
|
-
3. You will probably like the [flex-scopes](http://ddnexus.github.io/flex/doc/3-flex-scopes) that allows you to easy search, chain toghether and reuse searching scopes in pure ruby.
|
32
|
-
|
33
|
-
### For Elasticsearch Experts
|
34
|
-
|
35
|
-
1. Flex provides the full elasticsearch APIs as ready to methods. Just take a look at the [API Metods](http://ddnexus.github.io/flex/doc/2-flex/2-API-Methods.html) page to appreciate its completeness.
|
36
|
-
|
37
|
-
2. Then you may want to read the [Usage Overview](http://ddnexus.github.io/flex/doc/1-Flex-Project/2-Usage-Overview.html) page. Follow the links from there in order to dig into the topics that interest you.
|
38
|
-
|
39
|
-
3. If you are used to create complex searching logic, you will certainly appreciate the [Templating System](http://ddnexus.github.io/flex/doc/2-flex/3-Templating) that gives you real power with great simplicity.
|
40
|
-
|
41
|
-
4. As an elasticsearch expert, you will certainly appreciate the [Live-Reindex](http://ddnexus.github.io/flex/doc/6-flex-admin/2-Live-Reindex.html) feature: it encapsulates the solution to a quite complex problem in just one method call.
|
7
|
+
* HTTP clients
|
8
|
+
* elasticsearch API methods
|
9
|
+
* Templating System
|
10
|
+
* Cascading Variables Management
|
11
|
+
* Result Extenders
|
12
|
+
* Logging & Debugging
|
13
|
+
* Self-documenting tool
|
14
|
+
* Rake Tasks
|
42
15
|
|
43
16
|
## Links
|
44
17
|
|
45
|
-
|
46
|
-
|
47
|
-
* [Issues](https://github.com/ddnexus/flex/issues)
|
48
|
-
* [Pull Requests](https://github.com/ddnexus/flex/pulls)
|
49
|
-
|
50
|
-
## Branches
|
51
|
-
|
52
|
-
The master branch reflects the last published gem. Then you may find a next-version branch (named after the version string), with the commits that will be merged in master just before publishing the next gem version. The next-version branch may get rebased or force pushed.
|
18
|
+
- __Gem-Specific Documentation__
|
19
|
+
- [flex](http://ddnexus.github.io/flex/doc/2-flex)
|
53
20
|
|
54
21
|
## Credits
|
55
22
|
|
@@ -58,4 +25,4 @@ Special thanks for their sponsorship to [Escalate Media](http://www.escalatemedi
|
|
58
25
|
## Copyright
|
59
26
|
|
60
27
|
Copyright (c) 2012-2013 by [Domizio Demichelis](mailto://dd.nexus@gmail.com)<br>
|
61
|
-
See [LICENSE](https://github.com/ddnexus/flex/blob/master/LICENSE) for details.
|
28
|
+
See [LICENSE](https://github.com/ddnexus/flex/blob/master/flex/LICENSE) for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/flex.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'date'
|
2
|
+
version = File.read(File.expand_path('../VERSION', __FILE__)).strip
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
5
|
s.name = 'flex'
|
@@ -13,13 +14,13 @@ It also implements and integrates very advanced features like chainable scopes,
|
|
13
14
|
s.homepage = 'http://github.com/ddnexus/flex'
|
14
15
|
s.authors = ['Domizio Demichelis']
|
15
16
|
s.email = 'dd.nexus@gmail.com'
|
16
|
-
s.extra_rdoc_files = %w[README.md]
|
17
17
|
s.require_paths = %w[lib]
|
18
18
|
s.files = `git ls-files -z`.split("\0")
|
19
|
-
s.version =
|
19
|
+
s.version = version
|
20
20
|
s.date = Date.today.to_s
|
21
21
|
s.required_rubygems_version = '>= 1.3.6'
|
22
22
|
s.rdoc_options = %w[--charset=UTF-8]
|
23
|
+
s.license = 'MIT'
|
23
24
|
s.post_install_message = <<EOM
|
24
25
|
________________________________________________________________________________
|
25
26
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flex
|
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: multi_json
|
@@ -82,8 +82,7 @@ description: ! 'Flex is the ultimate ruby client for elasticsearch. It is powerf
|
|
82
82
|
email: dd.nexus@gmail.com
|
83
83
|
executables: []
|
84
84
|
extensions: []
|
85
|
-
extra_rdoc_files:
|
86
|
-
- README.md
|
85
|
+
extra_rdoc_files: []
|
87
86
|
files:
|
88
87
|
- LICENSE
|
89
88
|
- README.md
|
@@ -132,7 +131,8 @@ files:
|
|
132
131
|
- lib/flex/variables.rb
|
133
132
|
- lib/tasks.rake
|
134
133
|
homepage: http://github.com/ddnexus/flex
|
135
|
-
licenses:
|
134
|
+
licenses:
|
135
|
+
- MIT
|
136
136
|
post_install_message: ! "________________________________________________________________________________\n\n
|
137
137
|
\ FLEX INSTALLATION NOTES\n________________________________________________________________________________\n\nNew
|
138
138
|
Documentation: http://ddnexus.github.io/flex\n\nUpgrading Tutorial: http://ddnexus.github.io/flex/doc/7-Tutorials/2-Migrate-from-0.x.html\n\n________________________________________________________________________________\n"
|
@@ -159,3 +159,4 @@ signing_key:
|
|
159
159
|
specification_version: 3
|
160
160
|
summary: The ultimate ruby client for elasticsearch
|
161
161
|
test_files: []
|
162
|
+
has_rdoc:
|