flex-scopes 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 CHANGED
@@ -1,19 +1,15 @@
1
1
  # flex-scopes
2
2
 
3
- Provides an easy to use ruby API to search elasticsearch with ActiveRecord-like chainable and mergeables scopes.
3
+ [![Gem Version](https://badge.fury.io/rb/flex-scopes.png)](http://badge.fury.io/rb/flex-scopes)
4
4
 
5
+ > Very cool gem for the most common needs and for beginners
5
6
 
6
- ## Links
7
-
8
- * [Flex Repository](https://github.com/ddnexus/flex)
9
- * [Flex Project (Global Documentation)](http://ddnexus.github.io/flex/doc/)
10
- * [flex-scopes Gem (Specific Documentation)](http://ddnexus.github.io/flex/doc/3-flex-scopes)
11
- * [Issues](https://github.com/ddnexus/flex-scopes/issues)
12
- * [Pull Requests](https://github.com/ddnexus/flex-scopes/pulls)
7
+ Provides `ActiveRecord`-like chainable `scopes` allowing to use pure ruby to search your indices. It simplifies your code and make it very reusable.
13
8
 
14
- ## Branches
9
+ ## Links
15
10
 
16
- 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.
11
+ - __Gem-Specific Documentation__
12
+ - [flex-scopes](http://ddnexus.github.io/flex/doc/3-flex-scopes)
17
13
 
18
14
  ## Credits
19
15
 
@@ -22,4 +18,4 @@ Special thanks for their sponsorship to [Escalate Media](http://www.escalatemedi
22
18
  ## Copyright
23
19
 
24
20
  Copyright (c) 2012-2013 by [Domizio Demichelis](mailto://dd.nexus@gmail.com)<br>
25
- See [LICENSE](https://github.com/ddnexus/flex-scopes/blob/master/LICENSE) for details.
21
+ See [LICENSE](https://github.com/ddnexus/flex/blob/master/flex-scopes/LICENSE) for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -8,12 +8,12 @@ Gem::Specification.new do |s|
8
8
  s.homepage = 'http://github.com/ddnexus/flex-scopes'
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
  end
@@ -10,3 +10,5 @@ require 'flex/result/scope'
10
10
  Flex::LIB_PATHS << File.dirname(__FILE__)
11
11
 
12
12
  Flex::Conf.result_extenders |= [Flex::Result::Scope]
13
+
14
+ Flex.send(:include, Flex::Scopes)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flex-scopes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
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 00:00:00.000000000 Z
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.2
21
+ version: 1.0.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,14 +26,13 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.2
29
+ version: 1.0.3
30
30
  description: Provides an easy to use ruby API to search elasticsearch with ActiveRecord-like
31
31
  chainable and mergeables scopes.
32
32
  email: dd.nexus@gmail.com
33
33
  executables: []
34
34
  extensions: []
35
- extra_rdoc_files:
36
- - README.md
35
+ extra_rdoc_files: []
37
36
  files:
38
37
  - LICENSE
39
38
  - README.md
@@ -49,7 +48,8 @@ files:
49
48
  - lib/flex/scope/vars_methods.rb
50
49
  - lib/flex/scopes.rb
51
50
  homepage: http://github.com/ddnexus/flex-scopes
52
- licenses: []
51
+ licenses:
52
+ - MIT
53
53
  post_install_message:
54
54
  rdoc_options:
55
55
  - --charset=UTF-8
@@ -74,3 +74,4 @@ signing_key:
74
74
  specification_version: 3
75
75
  summary: ActiveRecord-like chainable scopes and finders for Flex.
76
76
  test_files: []
77
+ has_rdoc: