lib/resumetools/resume/pdf.rb in virgild-resumetools-0.2.5.0 vs lib/resumetools/resume/pdf.rb in virgild-resumetools-0.2.5.1
- old
+ new
@@ -21,10 +21,25 @@
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#++
+gems = [
+ ['prawn', '>= 0.5.1'],
+ ['prawn-core', '>= 0.5.1'],
+ ['prawn-layout', '>= 0.2.1'],
+ ['prawn-format', '>= 0.2.1']
+]
+
+gems.each do |name, version|
+ if version
+ gem name, version
+ else
+ gem name
+ end
+end
+
require "prawn"
require "prawn/format"
require "prawn/layout"
require "prawn/measurement_extensions"
@@ -139,6 +154,6 @@
end #module Renderer
Resume.class_eval do
include Renderer::PDF
end
-end #module ResumeTools
\ No newline at end of file
+end #module ResumeTools