doc_raptor 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # DocRaptor Gem Changelog
2
2
 
3
+ ## 0.3.1 - 2012/03/30
4
+ * update the README around async jobs, since it was still talking
5
+ about the gem's behavior in 0.2.x
6
+
3
7
  ## 0.3.0 - 2012/03/29
4
8
  * BUGFIX async create calls were incorrectly returning the status id
5
9
  instead of the response object
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doc_raptor (0.3.0)
4
+ doc_raptor (0.3.1)
5
5
  httparty (>= 0.4.3)
6
6
 
7
7
  GEM
@@ -15,7 +15,7 @@ GEM
15
15
  multi_xml
16
16
  method_source (0.7.1)
17
17
  minitest (2.11.3)
18
- multi_json (1.1.0)
18
+ multi_json (1.2.0)
19
19
  multi_xml (0.4.2)
20
20
  pry (0.9.8.4)
21
21
  coderay (~> 1.0.5)
data/README.md CHANGED
@@ -35,7 +35,7 @@ The only required parameter is one of `:document_content` or `:document_url`.
35
35
 
36
36
  `create!` will raise an exception instead of return errors if there is a failure of any sort in the document generation process. It otherwise works in the same way as `create`.
37
37
 
38
- If the document is processed asynchronously, a status id will be returned as opposed to the contents of the document. You can then use <METHOD NAME> to get the status of the document. You can pass in a URL to `:callback_url` to be called once an asynchronous job is complete. It will be passed a value of `download_url` which will contain a URL that when visited will provide you with your document. This option does nothing if `:async` is not true.
38
+ If the document is processed asynchronously, `status_id` will be set on the DocRaptor class. You can then use `DocRaptor.status` to get the current status of the document. When creating an asynchronous doc, you can pass in a URL via `:callback_url` to be called once an asynchronous job is complete. It will be passed a value of `download_url` which will contain a URL that when visited will provide you with your document. This option does nothing if `:async` is not set to true.
39
39
 
40
40
  The `create` call can also take a block, like so:
41
41
 
@@ -1,3 +1,3 @@
1
1
  class DocRaptor
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doc_raptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-03-30 00:00:00.000000000Z
14
+ date: 2012-03-31 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httparty
18
- requirement: &70165480596960 !ruby/object:Gem::Requirement
18
+ requirement: &70341654627180 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 0.4.3
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70165480596960
26
+ version_requirements: *70341654627180
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
- requirement: &70165480595860 !ruby/object:Gem::Requirement
29
+ requirement: &70341654626620 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *70165480595860
37
+ version_requirements: *70341654626620
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: pry
40
- requirement: &70165480594760 !ruby/object:Gem::Requirement
40
+ requirement: &70341654626040 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *70165480594760
48
+ version_requirements: *70341654626040
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rake
51
- requirement: &70165480593840 !ruby/object:Gem::Requirement
51
+ requirement: &70341654625480 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *70165480593840
59
+ version_requirements: *70341654625480
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: webmock
62
- requirement: &70165480592920 !ruby/object:Gem::Requirement
62
+ requirement: &70341654625000 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *70165480592920
70
+ version_requirements: *70341654625000
71
71
  description: Provides a simple ruby wrapper around the DocRaptor API
72
72
  email:
73
73
  - michael@expectedbehavior.com
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: -2661456971242108702
130
+ hash: -4126775473718111090
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: -2661456971242108702
139
+ hash: -4126775473718111090
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.17