pdfservice 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.markdown +3 -0
  2. data/Rakefile +0 -1
  3. data/VERSION +1 -1
  4. data/pdfservice.gemspec +2 -5
  5. metadata +5 -19
data/README.markdown CHANGED
@@ -19,6 +19,9 @@ be rendered in WebKit and returned to you as a PDF document.
19
19
  client = PdfService::Client.new 'http://my-pdfservice-app.heroku.com'
20
20
  pdf_content = client.render '<html></html>'
21
21
 
22
+ Or, straight from a terminal:
23
+
24
+ curl -X POST http://my-pdfservice-app.heroku.com/ -d '<html></html>' > file.pdf
22
25
 
23
26
  Patches welcome, forks celebrated.
24
27
 
data/Rakefile CHANGED
@@ -7,7 +7,6 @@ begin
7
7
  gem.email = "gitcommit@6brand.com"
8
8
  gem.homepage = "http://github.com/JackDanger/pdfservice"
9
9
  gem.authors = ["Jack Danger Canty"]
10
- gem.add_dependency "sinatra", ">= 1.0.0"
11
10
  gem.add_development_dependency "shoulda", ">= 0"
12
11
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
13
12
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/pdfservice.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pdfservice}
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jack Danger Canty"]
12
- s.date = %q{2010-08-12}
12
+ s.date = %q{2010-08-13}
13
13
  s.description = %q{Run your own html-to-pdf server for free on Heroku.com}
14
14
  s.email = %q{gitcommit@6brand.com}
15
15
  s.extra_rdoc_files = [
@@ -41,14 +41,11 @@ Gem::Specification.new do |s|
41
41
  s.specification_version = 3
42
42
 
43
43
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
44
- s.add_runtime_dependency(%q<sinatra>, [">= 1.0.0"])
45
44
  s.add_development_dependency(%q<shoulda>, [">= 0"])
46
45
  else
47
- s.add_dependency(%q<sinatra>, [">= 1.0.0"])
48
46
  s.add_dependency(%q<shoulda>, [">= 0"])
49
47
  end
50
48
  else
51
- s.add_dependency(%q<sinatra>, [">= 1.0.0"])
52
49
  s.add_dependency(%q<shoulda>, [">= 0"])
53
50
  end
54
51
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jack Danger Canty
@@ -14,27 +14,13 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-12 00:00:00 -07:00
17
+ date: 2010-08-13 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: sinatra
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 0
30
- - 0
31
- version: 1.0.0
32
- type: :runtime
33
- version_requirements: *id001
34
20
  - !ruby/object:Gem::Dependency
35
21
  name: shoulda
36
22
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
38
24
  requirements:
39
25
  - - ">="
40
26
  - !ruby/object:Gem::Version
@@ -42,7 +28,7 @@ dependencies:
42
28
  - 0
43
29
  version: "0"
44
30
  type: :development
45
- version_requirements: *id002
31
+ version_requirements: *id001
46
32
  description: Run your own html-to-pdf server for free on Heroku.com
47
33
  email: gitcommit@6brand.com
48
34
  executables: []