waistband 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/waistband/index.rb +1 -1
- data/lib/waistband/version.rb +1 -1
- data/spec/lib/index_spec.rb +6 -0
- metadata +2 -2
data/lib/waistband/index.rb
CHANGED
data/lib/waistband/version.rb
CHANGED
data/spec/lib/index_spec.rb
CHANGED
@@ -160,6 +160,12 @@ describe Waistband::Index do
|
|
160
160
|
expect(index.send(:full_alias_name, 'all_events')).to eql 'all_events'
|
161
161
|
end
|
162
162
|
|
163
|
+
it "creates aliases" do
|
164
|
+
expect(index.alias_exists?('events_alias_yo')).to be_false
|
165
|
+
index.alias 'events_alias_yo'
|
166
|
+
expect(index.alias_exists?('events_alias_yo')).to be_true
|
167
|
+
end
|
168
|
+
|
163
169
|
end
|
164
170
|
|
165
171
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waistband
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.7
|
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: 2014-03-
|
12
|
+
date: 2014-03-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|