docverter 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZjdkMWYzYzMwZTNjMGE4ZjZiN2IwODFmYTI3NGJhYTAyNWZhNWU2YQ==
5
+ data.tar.gz: !binary |-
6
+ YzcwN2E1MTRhMzcxOGEwYzAyNjEwZGM3OWEyOThkYTc5NDJhNGQxNA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjNjMGE3NDA3ZjI1MDc5YjcxOTYzZWVlMjAwNDgyZDQ4Y2UxYTY0NDBmN2Fi
10
+ NWQyZWFjMzczOTllN2RiN2Q3YjZkM2Y4YTgwNDczZGEyOWQ0NjdkOWI5YWJj
11
+ NDViYWY3NjExOTdlZmVkMWQ5ZjQ2ODgzMGE2NmQ5MDRhMGQ0YWI=
12
+ data.tar.gz: !binary |-
13
+ Mzc5NWM4MzdjODcyNjdiMDFhYjcwMGYyNjc0Mzc0YjY0MWJjMDQwM2UyMDU2
14
+ ZGQyZWY3MTQ4ZjliYzE4NmQ4ODEyNjRmODJkMDQ4YjU1ZWYxMjc5MTBiNjMx
15
+ MWYxYTI1ZjE5NzI4MjAwYWQ3MThmNDE1MzQxMWE0MTI5MmUxOTQ=
data/README.md CHANGED
@@ -18,14 +18,6 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- First, install [Docverter Server](https://github.com/docverter/docverter).
22
-
23
- Set your base url before using any of the rest of the library:
24
-
25
- Docverter.base_url = <BASE-URL>
26
-
27
- In a Rails project, put this in an initializer.
28
-
29
21
  A few example conversions:
30
22
 
31
23
  Docverter::Conversion.run("markdown", "html", "Some Content")
@@ -42,6 +34,14 @@ A few example conversions:
42
34
 
43
35
  See the documentation for `Docverter::Conversion` for more details.
44
36
 
37
+ ## Installing the Server
38
+
39
+ The default endpoint for this library is `http://c.docverter.com`, a public instance of Docverter server. Installing your own instance on Heroku is a snap. Just follow the directions in the [Docverter Server](https://github.com/docverter/docverter) documentation and put this in a Rails initializer (or before your conversions run):
40
+
41
+ ```ruby
42
+ Docverter.base_url = 'http://your-server-app.herokuapp.com'
43
+ ```
44
+
45
45
  ## Contributing
46
46
 
47
47
  1. Fork it
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency("rest-client", ["~>1.6.7"])
20
+ gem.add_dependency("rest-client", ["~>1.7"])
21
21
  gem.add_development_dependency("mocha")
22
22
  gem.add_development_dependency("shoulda")
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Docverter
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docverter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Pete Keen
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-30 00:00:00.000000000 Z
11
+ date: 2014-08-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rest-client
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 1.6.7
19
+ version: '1.7'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 1.6.7
26
+ version: '1.7'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: mocha
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: shoulda
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ! '>='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ! '>='
60
53
  - !ruby/object:Gem::Version
@@ -81,27 +74,26 @@ files:
81
74
  - test/test_helper.rb
82
75
  homepage: http://www.docverter.com
83
76
  licenses: []
77
+ metadata: {}
84
78
  post_install_message:
85
79
  rdoc_options: []
86
80
  require_paths:
87
81
  - lib
88
82
  required_ruby_version: !ruby/object:Gem::Requirement
89
- none: false
90
83
  requirements:
91
84
  - - ! '>='
92
85
  - !ruby/object:Gem::Version
93
86
  version: '0'
94
87
  required_rubygems_version: !ruby/object:Gem::Requirement
95
- none: false
96
88
  requirements:
97
89
  - - ! '>='
98
90
  - !ruby/object:Gem::Version
99
91
  version: '0'
100
92
  requirements: []
101
93
  rubyforge_project:
102
- rubygems_version: 1.8.23
94
+ rubygems_version: 2.2.2
103
95
  signing_key:
104
- specification_version: 3
96
+ specification_version: 4
105
97
  summary: API for converting documents with the Docverter service
106
98
  test_files:
107
99
  - test/test_docverter.rb