groupdocs 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -78,7 +78,7 @@ module GroupDocs
78
78
  # @return [Array<Symbol>]
79
79
  #
80
80
  def output_formats
81
- @output_formats.split(?;).map(&:to_sym)
81
+ @output_formats.split(?,).map(&:to_sym)
82
82
  end
83
83
 
84
84
  #
data/lib/groupdocs/job.rb CHANGED
@@ -62,9 +62,6 @@ module GroupDocs
62
62
  attr_accessor :id
63
63
  # @attr [Array<Symbol>] actions
64
64
  attr_accessor :actions
65
- # @attr [Array<Symbol>] out_formats
66
- # TODO how should it behave?
67
- attr_accessor :out_formats
68
65
  # @attr [Boolean] email_results
69
66
  attr_accessor :email_results
70
67
  # @attr [Boolean] url_only
@@ -1,3 +1,3 @@
1
1
  module GroupDocs
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end # GroupDocs
@@ -93,7 +93,7 @@ describe GroupDocs::Document do
93
93
 
94
94
  describe '#output_formats' do
95
95
  it 'returns parsed array of output formats' do
96
- subject.output_formats = "pdf;tiff;doc"
96
+ subject.output_formats = "pdf,tiff,doc"
97
97
  subject.output_formats.should == [:pdf, :tiff, :doc]
98
98
  end
99
99
  end
@@ -68,8 +68,6 @@ describe GroupDocs::Job do
68
68
  it { should respond_to(:id=) }
69
69
  it { should respond_to(:actions) }
70
70
  it { should respond_to(:actions=) }
71
- it { should respond_to(:out_formats) }
72
- it { should respond_to(:out_formats=) }
73
71
  it { should respond_to(:email_results) }
74
72
  it { should respond_to(:email_results=) }
75
73
  it { should respond_to(:url_only) }
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.2.5
4
+ version: 0.2.6
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-05-29 00:00:00.000000000 Z
12
+ date: 2012-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &9630200 !ruby/object:Gem::Requirement
16
+ requirement: &8104360 !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: *9630200
24
+ version_requirements: *8104360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &9645180 !ruby/object:Gem::Requirement
27
+ requirement: &8118880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.7'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *9645180
35
+ version_requirements: *8118880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: ruby-hmac
38
- requirement: &9643420 !ruby/object:Gem::Requirement
38
+ requirement: &8117640 !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: *9643420
46
+ version_requirements: *8117640
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &9641900 !ruby/object:Gem::Requirement
49
+ requirement: &8115840 !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: *9641900
57
+ version_requirements: *8115840
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rake
60
- requirement: &9640720 !ruby/object:Gem::Requirement
60
+ requirement: &8114880 !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: *9640720
68
+ version_requirements: *8114880
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
- requirement: &9639740 !ruby/object:Gem::Requirement
71
+ requirement: &8113960 !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: *9639740
79
+ version_requirements: *8113960
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: yard
82
- requirement: &9638260 !ruby/object:Gem::Requirement
82
+ requirement: &8112440 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0.8'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *9638260
90
+ version_requirements: *8112440
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: webmock
93
- requirement: &9650900 !ruby/object:Gem::Requirement
93
+ requirement: &8124720 !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: *9650900
101
+ version_requirements: *8124720
102
102
  description: Ruby SDK for GroupDocs REST API
103
103
  email: p0deje@gmail.com
104
104
  executables: []
@@ -253,7 +253,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
253
  version: '0'
254
254
  segments:
255
255
  - 0
256
- hash: -785849018155975745
256
+ hash: -1350849799093489805
257
257
  required_rubygems_version: !ruby/object:Gem::Requirement
258
258
  none: false
259
259
  requirements:
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  version: '0'
263
263
  segments:
264
264
  - 0
265
- hash: -785849018155975745
265
+ hash: -1350849799093489805
266
266
  requirements: []
267
267
  rubyforge_project:
268
268
  rubygems_version: 1.8.10