couch_cloner 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/couch_cloner.gemspec +1 -1
- data/lib/couch_cloner/conditions/hidden.rb +7 -3
- data/lib/couch_cloner/conditions/published.rb +7 -3
- data/lib/couch_cloner/conditions/shown.rb +7 -3
- data/lib/couch_cloner/conditions/unpublished.rb +7 -3
- data/lib/couch_cloner/integration/couch_publish.rb +2 -2
- data/lib/couch_cloner/integration/couch_visible.rb +2 -2
- metadata +7 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/couch_cloner.gemspec
CHANGED
@@ -2,12 +2,12 @@ module CouchCloner
|
|
2
2
|
module CouchPublish
|
3
3
|
def self.included(base)
|
4
4
|
base.map :clone_id do
|
5
|
-
conditions ::Published, ::Unpublished
|
5
|
+
conditions CouchCloner::Conditions::Published, CouchCloner::Conditions::Unpublished
|
6
6
|
end
|
7
7
|
|
8
8
|
base.couch_view :by_clone_id_and_start_time do
|
9
9
|
map CouchCloner::ByCloneIdAndStartTime
|
10
|
-
conditions ::Published, ::Unpublished
|
10
|
+
conditions CouchCloner::Conditions::Published, CouchCloner::Conditions::Unpublished
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
@@ -2,12 +2,12 @@ module CouchCloner
|
|
2
2
|
module CouchVisible
|
3
3
|
def self.included(base)
|
4
4
|
base.map :clone_id do
|
5
|
-
conditions ::Shown, ::Hidden
|
5
|
+
conditions CouchCloner::Conditions::Shown, CouchCloner::Conditions::Hidden
|
6
6
|
end
|
7
7
|
|
8
8
|
base.couch_view :by_clone_id_and_start_time do
|
9
9
|
map CouchCloner::ByCloneIdAndStartTime do
|
10
|
-
conditions ::Shown, ::Hidden
|
10
|
+
conditions CouchCloner::Conditions::Shown, CouchCloner::Conditions::Hidden
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: couch_cloner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Parker
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-25 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: cucumber
|
@@ -162,9 +162,9 @@ dependencies:
|
|
162
162
|
hash: 25
|
163
163
|
segments:
|
164
164
|
- 0
|
165
|
-
-
|
166
|
-
-
|
167
|
-
version: 0.
|
165
|
+
- 1
|
166
|
+
- 1
|
167
|
+
version: 0.1.1
|
168
168
|
type: :runtime
|
169
169
|
version_requirements: *id010
|
170
170
|
description: Create clones of CouchDB documents, and schedule them for publication.
|