couchbase-view-helpers 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/couchbase-view-helpers.gemspec +6 -1
- data/lib/{couchbase.rb → couchbase-view-helpers.rb} +0 -0
- data/lib/couchbase/view_helpers/version.rb +1 -1
- data/test/helper.rb +1 -1
- data/test/test_integration.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab0c344954688c773d3ca0e8acfa6956c5cb802
|
4
|
+
data.tar.gz: a2e2e14e63e481002db8aa40839baee2e6754d5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b17cc7efe1834eab73b243af312f26cf26051e10b2ac97f214c252599d44a45df3f1a20d6eb549f47eed4c3cf69012951ae875e8d40b7fff8cbf2636ef9fc0d
|
7
|
+
data.tar.gz: 9327f2a1cd7063a625468ca31b9c7529e73255648b16afebd7718e88abbb91c6c75ce9a2ebe56492b834260e4cd63dd6dd2c8164644eb165c62198dd47e13210
|
data/README.md
CHANGED
@@ -76,3 +76,7 @@ page = Post.all.page(3).per(20)
|
|
76
76
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
77
77
|
4. Push to the branch (`git push origin my-new-feature`)
|
78
78
|
5. Create new Pull Request
|
79
|
+
|
80
|
+
|
81
|
+
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/mje113/couchbase-view-helpers/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
82
|
+
|
@@ -17,8 +17,13 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
|
+
spec.platform = 'java' if defined?(JRUBY_VERSION)
|
20
21
|
|
21
|
-
|
22
|
+
if defined?(JRUBY_VERSION)
|
23
|
+
spec.add_dependency 'couchbase-jruby-client', '>= 0.2.0'
|
24
|
+
else
|
25
|
+
spec.add_dependency 'couchbase', '>= 1.3.3'
|
26
|
+
end
|
22
27
|
|
23
28
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
24
29
|
spec.add_development_dependency 'rake'
|
File without changes
|
data/test/helper.rb
CHANGED
data/test/test_integration.rb
CHANGED
@@ -7,7 +7,7 @@ class TestIntegration < MiniTest::Unit::TestCase
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def test_has_public_methods
|
10
|
-
|
10
|
+
[:key, :keys, :paginate, :page, :per, :order, :desc, :asc].each do |meth|
|
11
11
|
assert @view.respond_to?(meth), "View not responding to #{meth}"
|
12
12
|
end
|
13
13
|
end
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: couchbase-view-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: couchbase
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.3.3
|
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
26
|
version: 1.3.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: Adds syntactic sugar to Couchbase view options hashes.
|
@@ -59,13 +59,13 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- .gitignore
|
62
|
+
- ".gitignore"
|
63
63
|
- Gemfile
|
64
64
|
- LICENSE
|
65
65
|
- README.md
|
66
66
|
- Rakefile
|
67
67
|
- couchbase-view-helpers.gemspec
|
68
|
-
- lib/couchbase.rb
|
68
|
+
- lib/couchbase-view-helpers.rb
|
69
69
|
- lib/couchbase/view_helpers.rb
|
70
70
|
- lib/couchbase/view_helpers/paginate_params.rb
|
71
71
|
- lib/couchbase/view_helpers/version.rb
|
@@ -83,17 +83,17 @@ require_paths:
|
|
83
83
|
- lib
|
84
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - ">="
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
95
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
96
|
+
rubygems_version: 2.2.2
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Adds syntactic sugar to Couchbase view options hashes.
|