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 CHANGED
@@ -1,4 +1,4 @@
1
- ## GroupDocs [![Build Status](https://secure.travis-ci.org/p0deje/groupdocs-ruby.png)](http://travis-ci.org/p0deje/groupdocs-ruby)
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:p0deje/groupdocs-ruby.git
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/p0deje/groupdocs-ruby'
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 #all! class method.
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."
@@ -1,3 +1,3 @@
1
1
  module GroupDocs
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end # GroupDocs
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.0
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-18 00:00:00.000000000 Z
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: &16953180 !ruby/object:Gem::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: *16953180
24
+ version_requirements: *14218900
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &16951380 !ruby/object:Gem::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: *16951380
35
+ version_requirements: *14217460
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: ruby-hmac
38
- requirement: &16950300 !ruby/object:Gem::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: *16950300
46
+ version_requirements: *14216440
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &16949320 !ruby/object:Gem::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: *16949320
57
+ version_requirements: *14215360
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rake
60
- requirement: &16964200 !ruby/object:Gem::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: *16964200
68
+ version_requirements: *14230220
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
- requirement: &16963080 !ruby/object:Gem::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: *16963080
79
+ version_requirements: *14229060
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: yard
82
- requirement: &16962460 !ruby/object:Gem::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: *16962460
90
+ version_requirements: *14228400
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: webmock
93
- requirement: &16960220 !ruby/object:Gem::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: *16960220
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/p0deje/groupdocs-ruby
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: -1382979673565217855
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: -1382979673565217855
259
+ hash: -3574148783754833135
260
260
  requirements: []
261
261
  rubyforge_project:
262
262
  rubygems_version: 1.8.10