elastics-scopes 1.0.10 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -1
  2. data/VERSION +1 -1
  3. data/elastics-scopes.gemspec +3 -2
  4. metadata +6 -6
data/README.md CHANGED
@@ -18,4 +18,4 @@ Special thanks for their sponsorship to [Escalate Media](http://www.escalatemedi
18
18
  ## Copyright
19
19
 
20
20
  Copyright (c) 2012-2013 by [Domizio Demichelis](mailto://dd.nexus@gmail.com)<br>
21
- See [LICENSE](https://github.com/elastics/elastics/blob/master/elastics-scopes/LICENSE) for details.
21
+ See [LICENSE](https://github.com/elastics/elastics/blob/master/elastics/LICENSE) for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.10
1
+ 1.1.0
@@ -1,5 +1,6 @@
1
1
  require 'date'
2
- version = File.read(File.expand_path('../VERSION', __FILE__)).strip
2
+ version_path = %w[../VERSION ../../VERSION].detect{|v| File.exist?(File.expand_path(v, __FILE__))}
3
+ version = File.read(File.expand_path(version_path, __FILE__)).strip
3
4
 
4
5
  Gem::Specification.new do |s|
5
6
  s.name = 'elastics-scopes'
@@ -8,7 +9,7 @@ Gem::Specification.new do |s|
8
9
  s.homepage = 'http://elastics.github.io/elastics'
9
10
  s.authors = ["Domizio Demichelis"]
10
11
  s.email = 'dd.nexus@gmail.com'
11
- s.files = `git ls-files -z`.split("\0")
12
+ s.files = `git ls-files -z`.split("\0") + %w[VERSION LICENSE]
12
13
  s.version = version
13
14
  s.date = Date.today.to_s
14
15
  s.required_rubygems_version = ">= 1.3.6"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastics-scopes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.1.0
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-09-03 00:00:00.000000000 Z
12
+ date: 2013-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: elastics-client
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.10
21
+ version: 1.1.0
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.10
29
+ version: 1.1.0
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
@@ -34,9 +34,7 @@ executables: []
34
34
  extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
- - LICENSE
38
37
  - README.md
39
- - VERSION
40
38
  - elastics-scopes.gemspec
41
39
  - lib/elastics-scopes.rb
42
40
  - lib/elastics/result/scope.rb
@@ -47,6 +45,8 @@ files:
47
45
  - lib/elastics/scope/utils.rb
48
46
  - lib/elastics/scope/vars_methods.rb
49
47
  - lib/elastics/scopes.rb
48
+ - VERSION
49
+ - LICENSE
50
50
  homepage: http://elastics.github.io/elastics
51
51
  licenses:
52
52
  - MIT