has_reindexable_associations 0.1.3 → 0.1.4

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: 1e26e78204a772eea93a7b6140aef4150d18b1a8
4
- data.tar.gz: da0e8ebe166ca96350722d86b2070af2d01a369a
3
+ metadata.gz: fbce9e529d68768041a70495c50b7b5741a42b28
4
+ data.tar.gz: 7df1bda3053e55329929180faa3f86b6a6ae483c
5
5
  SHA512:
6
- metadata.gz: 742efd4d0391a0b86caaee268cc76bd1e757a21f660755a1949a662a3fc2954e18b4fdc23279f66bf256d8391f5cb9a501cd4c0eb5658055602a4c9e8e41ea06
7
- data.tar.gz: dfcdb8b0e80cb8eda90a4b6b2db507b23112105f77f9bf5689656f8f01b0c11295cc869e5fa1e8d2549b3a9eebfc26b3a7704779cf5367cf7c8a4672882c742b
6
+ metadata.gz: bc8c28df1f855e2c94b6e8e6f94d1e4bef809a4a528bd4632c965d5df26bfdf8babcb682d61c179842014ecdcedd758390841355c6501c7109113f5d214fe951
7
+ data.tar.gz: df9ce8904cbea53252d7a56c8b415efd7231f961a36d0368b29d846421ef97579097fc5d02f419e2f549c73b91c88742a5e0e361997f6743ac33260edac1bddd
data/.travis.yml CHANGED
@@ -1,6 +1,18 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.2.4
4
- before_install: gem install bundler -v 1.11.2
4
+ sudo: false
5
+ cache: bundler
6
+ # https://docs.travis-ci.com/user/database-setup/
7
+ env:
8
+ - DB=sqlite
5
9
  services:
6
- - elasticsearch
10
+ - elasticsearch
11
+ before_install: gem install bundler -v 1.11.2
12
+ install:
13
+ - 'travis_retry bundle install'
14
+ # ElasticSearch takes few seconds to start
15
+ before_script:
16
+ - sleep 10
17
+ script:
18
+ - bundle exec rake test_with_coveralls
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # HasReindexableAssociations [![Build Status](https://travis-ci.org/efigence/has_reindexable_associations.svg?branch=master)](https://travis-ci.org/efigence/has_reindexable_associations)
1
+ # HasReindexableAssociations [![Build Status](https://travis-ci.org/efigence/has_reindexable_associations.png?branch=master)](https://travis-ci.org/efigence/has_reindexable_associations) [![Coverage Status](https://coveralls.io/repos/github/efigence/has_reindexable_associations/badge.png?branch=master)](https://coveralls.io/github/efigence/has_reindexable_associations?branch=master)
2
2
  Keep specified associations in sync with ease using async reindexing ([searchkick](https://github.com/ankane/searchkick) gem is required).
3
3
 
4
4
  ## Installation
data/Rakefile CHANGED
@@ -1,5 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rake/testtask"
3
+ require 'coveralls/rake/task'
4
+ Coveralls::RakeTask.new
5
+ task :test_with_coveralls => [:test, 'coveralls:push']
3
6
 
4
7
  Rake::TestTask.new(:test) do |t|
5
8
  t.libs << "test"
@@ -46,4 +46,6 @@ Gem::Specification.new do |spec|
46
46
  spec.add_development_dependency "bundler", "~> 1.11"
47
47
  spec.add_development_dependency "rake", "~> 10.0"
48
48
  spec.add_development_dependency "minitest", "~> 5.0"
49
+ spec.add_development_dependency "coveralls", "~> 0.8.13"
50
+ spec.add_development_dependency "simplecov", "~> 0.11.2"
49
51
  end
@@ -1,3 +1,3 @@
1
1
  module HasReindexableAssociations
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_reindexable_associations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Kalita
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-29 00:00:00.000000000 Z
11
+ date: 2016-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -94,6 +94,34 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '5.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: coveralls
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.8.13
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.8.13
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.11.2
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.11.2
97
125
  description: Keep specified associations in sync with ease using async reindexing
98
126
  (searchkick gem is required).
99
127
  email: