cauchy 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acfe1f9c387508642988f41f47e65b0ea809b6c5
4
- data.tar.gz: 4b3868c009a60a3217ea04589876537ee73dfee2
3
+ metadata.gz: a066911b251f0e0cbe301bd90dcaf7e3ec3d2cf9
4
+ data.tar.gz: 8637a44b98222b417751327618fda0d55b5a1e57
5
5
  SHA512:
6
- metadata.gz: dada688d444f5079b1a7a273f9d2a732d99cc5d61f1c2359edd3864fa3139c7f2a80cafb3091e9f6b0056d9cb5f4381e1d7973cd054aa3627ef6f4599903f744
7
- data.tar.gz: 1def7a74c1ccc400dcbeedbda077538a88b75f8de90983718390e27d93a565e0e00fc27e84f4b86c58cdfed76682d4af8f38f3b788e46a3eb5b8fc5629302920
6
+ metadata.gz: 64c6a2980ed4869e14a8b0b827afd7a3eb6f7eeb2ed1c47d95e755500cdf34ddb5f1f0497671daaec0ea1b11f1516d050d9f077ca7c429e3e9c5e2cf6f5cfeaf
7
+ data.tar.gz: 1a842585547d2b43b1c75482065cd03aaf302c19c2b63f14bb13f1a49d196a3215f551f805e4f72dbaf6604997fa69a14f344e82ef0e9e5f89f1103255ba179a
data/.codecov.yml ADDED
@@ -0,0 +1,4 @@
1
+ coverage:
2
+ ignore:
3
+ - vendor/.*
4
+ - spec/.*
data/.travis.yml CHANGED
@@ -7,4 +7,5 @@ services:
7
7
  env:
8
8
  global:
9
9
  - "ELASTICSEARCH_HOSTS=http://localhost:9200,http://127.0.0.1:9200"
10
+ - "CODECOV_TOKEN=e870b18f-fe34-498c-9bb5-d7d6f17821b1"
10
11
  script: bundle exec rake spec
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Cauchy
2
2
 
3
3
  [![Build Status](https://api.travis-ci.com/cotap/cauchy.svg?token=PQCDXv39wYQSK1Gnq72A&branch=master)](https://magnum.travis-ci.com/cotap/cauchy)
4
+ [![codecov](https://codecov.io/gh/cotap/cauchy/branch/master/graph/badge.svg?token=GC62XLlmIq)](https://codecov.io/gh/cotap/cauchy)
5
+ [![Gem Version](https://badge.fury.io/rb/cauchy.svg)](https://badge.fury.io/rb/cauchy)
4
6
 
5
7
  Cauchy manages your ES Index Schemas.
6
8
 
data/cauchy.gemspec CHANGED
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
30
30
  s.add_dependency 'thor', '~> 0.18'
31
31
 
32
32
  s.add_development_dependency 'bundler', '~> 1.11'
33
+ s.add_development_dependency 'codecov', '~> 0.1.9'
33
34
  s.add_development_dependency 'rake', '~> 10.0'
34
35
  s.add_development_dependency 'rspec', '~> 3.0'
35
36
  s.add_development_dependency 'rspec-its', '~> 1.2'
@@ -237,7 +237,7 @@ module Cauchy
237
237
  end
238
238
 
239
239
  def index_aliases
240
- client.index(index_alias).aliases
240
+ client.index(index_alias).aliases || {}
241
241
  end
242
242
 
243
243
  def log(msg, method = :info, &block)
@@ -1,3 +1,3 @@
1
1
  module Cauchy
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cauchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Hamera
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-12-29 00:00:00.000000000 Z
12
+ date: 2017-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -137,6 +137,20 @@ dependencies:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: '1.11'
140
+ - !ruby/object:Gem::Dependency
141
+ name: codecov
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: 0.1.9
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: 0.1.9
140
154
  - !ruby/object:Gem::Dependency
141
155
  name: rake
142
156
  requirement: !ruby/object:Gem::Requirement
@@ -202,6 +216,7 @@ executables:
202
216
  extensions: []
203
217
  extra_rdoc_files: []
204
218
  files:
219
+ - ".codecov.yml"
205
220
  - ".gitignore"
206
221
  - ".rspec"
207
222
  - ".travis.yml"