saaspose 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +1 -0
  3. data/Gemfile.lock +4 -2
  4. data/README.md +35 -62
  5. data/lib/saaspose/cells.rb +2 -2
  6. data/lib/saaspose/configuration.rb +5 -33
  7. data/lib/saaspose/pdf.rb +6 -11
  8. data/lib/saaspose/slides.rb +3 -5
  9. data/lib/saaspose/storage.rb +11 -12
  10. data/lib/saaspose/utils.rb +32 -40
  11. data/lib/saaspose/version.rb +1 -1
  12. data/lib/saaspose/words.rb +3 -5
  13. data/saaspose.gemspec +2 -1
  14. data/spec/lib/saaspose/utils_spec.rb +18 -0
  15. data/spec/lib/saaspose_spec.rb +11 -52
  16. data/spec/spec_helper.rb +33 -1
  17. data/spec/vcr_cassettes/ensure_remote_file_saaspose_test_doc.yml +3 -3
  18. data/spec/vcr_cassettes/ensure_remote_file_saaspose_test_pdf.yml +3 -3
  19. data/spec/vcr_cassettes/ensure_remote_file_saaspose_test_ppt.yml +3 -3
  20. data/spec/vcr_cassettes/ensure_remote_file_saaspose_test_xls.yml +3 -3
  21. data/spec/vcr_cassettes/saaspose/cells_should_generate_a_pdf_from_a_remote_xls.yml +6 -43
  22. data/spec/vcr_cassettes/saaspose/pdf_should_generate_a_png_from_a_page_of_a_remote_pdf.yml +868 -0
  23. data/spec/vcr_cassettes/saaspose/pdf_should_generate_a_png_from_a_remote_pdf.yml +817 -854
  24. data/spec/vcr_cassettes/saaspose/pdf_should_read_the_number_of_pages_from_a_remote_pdf.yml +5 -8
  25. data/spec/vcr_cassettes/saaspose/slides_should_generate_a_pdf_from_a_remote_ppt.yml +2 -2
  26. data/spec/vcr_cassettes/saaspose/storage_should_get_a_list_of_files_from_the_root_dir.yml +3 -3
  27. data/spec/vcr_cassettes/saaspose/storage_should_upload_a_file_to_the_root_dir.yml +5 -6
  28. data/spec/vcr_cassettes/saaspose/words_should_generate_a_pdf_from_a_remote_doc.yml +274 -715
  29. metadata +59 -14
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saaspose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-07-10 00:00:00.000000000 Z
12
+ date: 2012-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &70151591953200 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,31 @@ dependencies:
21
21
  version: '1.6'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70151591953200
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.6'
30
+ - !ruby/object:Gem::Dependency
31
+ name: confiture
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '0.1'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.1'
25
46
  - !ruby/object:Gem::Dependency
26
47
  name: vcr
27
- requirement: &70151591952700 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
28
49
  none: false
29
50
  requirements:
30
51
  - - ~>
@@ -32,10 +53,15 @@ dependencies:
32
53
  version: '2.1'
33
54
  type: :development
34
55
  prerelease: false
35
- version_requirements: *70151591952700
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.1'
36
62
  - !ruby/object:Gem::Dependency
37
63
  name: webmock
38
- requirement: &70151591968600 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
39
65
  none: false
40
66
  requirements:
41
67
  - - ~>
@@ -43,10 +69,15 @@ dependencies:
43
69
  version: '1.8'
44
70
  type: :development
45
71
  prerelease: false
46
- version_requirements: *70151591968600
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '1.8'
47
78
  - !ruby/object:Gem::Dependency
48
79
  name: rspec
49
- requirement: &70151591968140 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
50
81
  none: false
51
82
  requirements:
52
83
  - - ~>
@@ -54,10 +85,15 @@ dependencies:
54
85
  version: '2.9'
55
86
  type: :development
56
87
  prerelease: false
57
- version_requirements: *70151591968140
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '2.9'
58
94
  - !ruby/object:Gem::Dependency
59
95
  name: pry
60
- requirement: &70151591967680 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
61
97
  none: false
62
98
  requirements:
63
99
  - - ~>
@@ -65,7 +101,12 @@ dependencies:
65
101
  version: '0.9'
66
102
  type: :development
67
103
  prerelease: false
68
- version_requirements: *70151591967680
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '0.9'
69
110
  description: Ruby bindings to Saaspose REST API
70
111
  email: phoetmail@googlemail.com
71
112
  executables: []
@@ -93,6 +134,7 @@ files:
93
134
  - spec/fixtures/saaspose_test.pdf
94
135
  - spec/fixtures/saaspose_test.ppt
95
136
  - spec/fixtures/saaspose_test.xls
137
+ - spec/lib/saaspose/utils_spec.rb
96
138
  - spec/lib/saaspose_spec.rb
97
139
  - spec/spec_helper.rb
98
140
  - spec/vcr_cassettes/ensure_remote_file_saaspose_test_doc.yml
@@ -100,13 +142,14 @@ files:
100
142
  - spec/vcr_cassettes/ensure_remote_file_saaspose_test_ppt.yml
101
143
  - spec/vcr_cassettes/ensure_remote_file_saaspose_test_xls.yml
102
144
  - spec/vcr_cassettes/saaspose/cells_should_generate_a_pdf_from_a_remote_xls.yml
145
+ - spec/vcr_cassettes/saaspose/pdf_should_generate_a_png_from_a_page_of_a_remote_pdf.yml
103
146
  - spec/vcr_cassettes/saaspose/pdf_should_generate_a_png_from_a_remote_pdf.yml
104
147
  - spec/vcr_cassettes/saaspose/pdf_should_read_the_number_of_pages_from_a_remote_pdf.yml
105
148
  - spec/vcr_cassettes/saaspose/slides_should_generate_a_pdf_from_a_remote_ppt.yml
106
149
  - spec/vcr_cassettes/saaspose/storage_should_get_a_list_of_files_from_the_root_dir.yml
107
150
  - spec/vcr_cassettes/saaspose/storage_should_upload_a_file_to_the_root_dir.yml
108
151
  - spec/vcr_cassettes/saaspose/words_should_generate_a_pdf_from_a_remote_doc.yml
109
- homepage: http://nofail.de
152
+ homepage: https://github.com/phoet/saaspose
110
153
  licenses: []
111
154
  post_install_message:
112
155
  rdoc_options: []
@@ -126,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
169
  version: '0'
127
170
  requirements: []
128
171
  rubyforge_project:
129
- rubygems_version: 1.8.17
172
+ rubygems_version: 1.8.24
130
173
  signing_key:
131
174
  specification_version: 3
132
175
  summary: Ruby bindings to Saaspose REST API
@@ -135,6 +178,7 @@ test_files:
135
178
  - spec/fixtures/saaspose_test.pdf
136
179
  - spec/fixtures/saaspose_test.ppt
137
180
  - spec/fixtures/saaspose_test.xls
181
+ - spec/lib/saaspose/utils_spec.rb
138
182
  - spec/lib/saaspose_spec.rb
139
183
  - spec/spec_helper.rb
140
184
  - spec/vcr_cassettes/ensure_remote_file_saaspose_test_doc.yml
@@ -142,6 +186,7 @@ test_files:
142
186
  - spec/vcr_cassettes/ensure_remote_file_saaspose_test_ppt.yml
143
187
  - spec/vcr_cassettes/ensure_remote_file_saaspose_test_xls.yml
144
188
  - spec/vcr_cassettes/saaspose/cells_should_generate_a_pdf_from_a_remote_xls.yml
189
+ - spec/vcr_cassettes/saaspose/pdf_should_generate_a_png_from_a_page_of_a_remote_pdf.yml
145
190
  - spec/vcr_cassettes/saaspose/pdf_should_generate_a_png_from_a_remote_pdf.yml
146
191
  - spec/vcr_cassettes/saaspose/pdf_should_read_the_number_of_pages_from_a_remote_pdf.yml
147
192
  - spec/vcr_cassettes/saaspose/slides_should_generate_a_pdf_from_a_remote_ppt.yml