elastic_record 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
data/elastic_record.gemspec
CHANGED
@@ -31,6 +31,15 @@ class ElasticRecord::Index::ManageTest < MiniTest::Spec
|
|
31
31
|
assert_equal ['widgets_foo'], index.aliased_names
|
32
32
|
end
|
33
33
|
|
34
|
+
def test_deploy_when_already_deployed
|
35
|
+
index.create 'widgets_foo'
|
36
|
+
index.deploy 'widgets_foo'
|
37
|
+
|
38
|
+
index.deploy 'widgets_foo'
|
39
|
+
|
40
|
+
assert_equal ['widgets_foo'], index.aliased_names
|
41
|
+
end
|
42
|
+
|
34
43
|
private
|
35
44
|
def index
|
36
45
|
@index ||= Widget.elastic_index
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
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: 2012-10-
|
12
|
+
date: 2012-10-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: arelastic
|