syphon 0.1.0 → 0.1.1

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: f6b4117676c9b04cf839c499c0e1923b39defb30
4
- data.tar.gz: c95e03409f0b86a8aa6c404f8ba1583a1e033758
3
+ metadata.gz: 31ee92fb478fb6aef73411bdf25b462bdc689792
4
+ data.tar.gz: deb0e3089734ccd490632c4b2caf2bf56c021225
5
5
  SHA512:
6
- metadata.gz: 7b68fea96fc36d64e29698a4dd217bbadb20d8b6369de324a4f602aee900cb76f568afb312999ef1808c863379c0e541fadfa8eaa7650ece627dc433b43281dc
7
- data.tar.gz: 472a520467282278d21b6c8b79610cc6eb807fe5a204d4744de479b34290427de5b8c746c353fa5322bc3c3b4a41bffb50e7f5092249459a3ada0e16a735d468
6
+ metadata.gz: 5fc291a7e53fd2d7097133457e3dbe12137113aeb1730683470cdab00a6e6fe9edc43f708f661cf67e155f2df0ff75401bd190aeebccb70addbcdc912cedfe7b
7
+ data.tar.gz: 958695eafa76a2baa38c602f57c37cff34dfc215f78e7233aa6103e742b345441755fdf16081b0dec09be2e4f68df27a326acf0102c863772a4884e977cbd73a
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ bundler_args: --without dev
3
+ script: bundle exec testrb test
4
+ rvm:
5
+ - 2.1.1
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.1.1 2015-01-15
2
+
3
+ * Support for elasticsearch 1.0.x.
4
+
1
5
  == 0.1.0 2014-03-18
2
6
 
3
7
  * Clean up partially built index if building fails.
data/Gemfile CHANGED
@@ -1,10 +1,13 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
- gem 'debugger', platform: :ruby_19
5
- gem 'byebug', platform: [:ruby_20, :ruby_21]
6
4
  gem 'minitest', '< 5'
7
5
  gem 'looksee'
8
6
  gem 'rails'
9
7
  gem 'ritual', '~> 0.4.0'
10
8
  gem 'temporaries'
9
+
10
+ group :dev do
11
+ gem 'debugger', platform: :ruby_19
12
+ gem 'byebug', platform: [:ruby_20, :ruby_21]
13
+ end
@@ -1,4 +1,4 @@
1
- ## Syphon
1
+ ## Syphon [![Build Status](https://travis-ci.org/howaboutwe/syphon.png)](https://travis-ci.org/howaboutwe/syphon)
2
2
 
3
3
  Syphon data from an Arel source into ElasticSearch.
4
4
 
@@ -1,5 +1,5 @@
1
1
  module Syphon
2
- VERSION = [0, 1, 0]
2
+ VERSION = [0, 1, 1]
3
3
 
4
4
  class << VERSION
5
5
  include Comparable
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.files = `git ls-files`.split("\n")
15
15
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
 
17
- gem.add_dependency 'elasticsearch', '~> 0.4.0'
17
+ gem.add_dependency 'elasticsearch', '~> 1.0.0'
18
18
  gem.add_dependency 'activesupport', '< 5'
19
19
  gem.add_dependency 'mysql2', '~> 0.3.12'
20
20
 
@@ -117,7 +117,7 @@ describe Syphon::Index do
117
117
  TestIndex.index_settings = {number_of_shards: 23}
118
118
  TestIndex.build
119
119
  index = TestIndex.client.indices.get_alias(name: TestIndex.index_name).keys.first
120
- num_shards = client.indices.get_settings[index]['settings']['index.number_of_shards']
120
+ num_shards = client.indices.get_settings[index]['settings']['index']['number_of_shards']
121
121
  num_shards.must_equal '23'
122
122
  end
123
123
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syphon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Ogata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-18 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: elasticsearch
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.0
19
+ version: 1.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.0
26
+ version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -74,6 +74,7 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
+ - ".travis.yml"
77
78
  - CHANGELOG
78
79
  - Gemfile
79
80
  - LICENSE
@@ -115,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
116
  version: '0'
116
117
  requirements: []
117
118
  rubyforge_project:
118
- rubygems_version: 2.2.2
119
+ rubygems_version: 2.4.5
119
120
  signing_key:
120
121
  specification_version: 4
121
122
  summary: Syphon data from an Arel source into ElasticSearch