groupdocs 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/groupdocs.gemspec +1 -1
- data/lib/groupdocs/api/sugar/lookup.rb +10 -1
- data/lib/groupdocs/version.rb +1 -1
- metadata +21 -21
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## GroupDocs [![Build Status](https://secure.travis-ci.org/
|
1
|
+
## GroupDocs [![Build Status](https://secure.travis-ci.org/groupdocs/groupdocs-ruby.png)](http://travis-ci.org/groupdocs/groupdocs-ruby)
|
2
2
|
|
3
3
|
Ruby SDK for [GroupDocs](http://groupdocs.com) REST API.
|
4
4
|
|
@@ -13,7 +13,7 @@ Install as usually
|
|
13
13
|
Installing from source
|
14
14
|
|
15
15
|
gem install bundler # unless it's already installed
|
16
|
-
git clone git@github.com:
|
16
|
+
git clone git@github.com:groupdocs/groupdocs-ruby.git
|
17
17
|
cd groupdocs-ruby/
|
18
18
|
git checkout master
|
19
19
|
bundle install --path vendor/bundle
|
data/groupdocs.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = GroupDocs::VERSION
|
8
8
|
s.authors = 'Alex Rodionov'
|
9
9
|
s.email = 'p0deje@gmail.com'
|
10
|
-
s.homepage = 'https://github.com/
|
10
|
+
s.homepage = 'https://github.com/groupdocs/groupdocs-ruby'
|
11
11
|
s.summary = 'Ruby SDK for GroupDocs REST API'
|
12
12
|
s.description = 'Ruby SDK for GroupDocs REST API'
|
13
13
|
|
@@ -1,6 +1,15 @@
|
|
1
1
|
module GroupDocs
|
2
2
|
module Api
|
3
3
|
module Sugar
|
4
|
+
#
|
5
|
+
# Extends classes providing them with .find! and .find_all! class methods
|
6
|
+
# which is a bit of sugar for working with files, folder and documents,
|
7
|
+
#
|
8
|
+
# It's not that flexible because requires extending class to implement
|
9
|
+
# .all! class method.
|
10
|
+
#
|
11
|
+
# This module is a subject to modifications.
|
12
|
+
#
|
4
13
|
module Lookup
|
5
14
|
|
6
15
|
#
|
@@ -29,7 +38,7 @@ module GroupDocs
|
|
29
38
|
# @option access [String] :private_key
|
30
39
|
# @return [Array] Array of matching entities
|
31
40
|
#
|
32
|
-
# @raise [NoMethodError] if extending class does not implement
|
41
|
+
# @raise [NoMethodError] if extending class does not implement .all! class method.
|
33
42
|
#
|
34
43
|
def find_all!(attribute, value, access = {})
|
35
44
|
respond_to?(:all!) or raise NoMethodError, "#{self}.all! is not implemented - aborting."
|
data/lib/groupdocs/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groupdocs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
16
|
-
requirement: &
|
16
|
+
requirement: &14218900 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '1.6'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *14218900
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: json
|
27
|
-
requirement: &
|
27
|
+
requirement: &14217460 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.6'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *14217460
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: ruby-hmac
|
38
|
-
requirement: &
|
38
|
+
requirement: &14216440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0.4'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *14216440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &14215360 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '2.9'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *14215360
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rake
|
60
|
-
requirement: &
|
60
|
+
requirement: &14230220 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0.9'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *14230220
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
|
-
requirement: &
|
71
|
+
requirement: &14229060 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0.6'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *14229060
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: yard
|
82
|
-
requirement: &
|
82
|
+
requirement: &14228400 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0.7'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *14228400
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: webmock
|
93
|
-
requirement: &
|
93
|
+
requirement: &14226220 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
version: '1.8'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *14226220
|
102
102
|
description: Ruby SDK for GroupDocs REST API
|
103
103
|
email: p0deje@gmail.com
|
104
104
|
executables: []
|
@@ -233,7 +233,7 @@ files:
|
|
233
233
|
- spec/support/shared_examples/api/entity.rb
|
234
234
|
- spec/support/shared_examples/api/helpers/status_helper.rb
|
235
235
|
- spec/support/shared_examples/api/sugar/lookup.rb
|
236
|
-
homepage: https://github.com/
|
236
|
+
homepage: https://github.com/groupdocs/groupdocs-ruby
|
237
237
|
licenses: []
|
238
238
|
post_install_message:
|
239
239
|
rdoc_options: []
|
@@ -247,7 +247,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '0'
|
248
248
|
segments:
|
249
249
|
- 0
|
250
|
-
hash: -
|
250
|
+
hash: -3574148783754833135
|
251
251
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
252
|
none: false
|
253
253
|
requirements:
|
@@ -256,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
256
256
|
version: '0'
|
257
257
|
segments:
|
258
258
|
- 0
|
259
|
-
hash: -
|
259
|
+
hash: -3574148783754833135
|
260
260
|
requirements: []
|
261
261
|
rubyforge_project:
|
262
262
|
rubygems_version: 1.8.10
|