printing_labels 0.0.1 → 0.0.2

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.
@@ -8,7 +8,7 @@ require 'printing_labels/version'
8
8
  @p_width = 210
9
9
  @labels = []
10
10
  @start_number = 1
11
- @label_layout = LabelLayout.new(:type => "Tipo A", :border => true, :n_row => 7, :n_col=> 2, :pm_top => 25, :pm_left => 5, :pm_bottom => 24, :pm_right => 5.5, :l_width => 98, :l_height => 35.5, :lm_left => 0, :lm_right => 0, :lm_top => 0, :lm_bottom => 0, :lm_inter => 2, :text_size => 14, :line_height => 7)
11
+ @label_layout = LabelLayout.new(:type => "Tipo A", :border => true, :n_row => 7, :n_col=> 2, :pm_top => 25, :pm_left => 5, :pm_bottom => 24, :pm_right => 5.5, :l_width => 98, :l_height => 35.5, :lm_left => 0, :lm_right => 0, :lm_top => 0, :lm_bottom => 0, :label_padding => 8, :lm_inter => 2, :text_size => 14, :line_height => 7)
12
12
  end
13
13
 
14
14
  def which_template?
@@ -124,7 +124,7 @@ require 'printing_labels/version'
124
124
  end
125
125
 
126
126
  class LabelLayout
127
- attr_accessor :type, :border, :n_row, :n_col, :l_width, :l_height, :pm_top, :pm_left, :pm_bottom, :pm_right, :lm_left, :lm_right, :lm_top, :lm_bottom, :lm_inter,:label_padding, :text_size, :line_height
127
+ attr_accessor :type, :border, :n_row, :n_col, :l_width, :l_height, :pm_top, :pm_left, :pm_bottom, :pm_right, :lm_left, :lm_right, :lm_top, :lm_bottom, :lm_inter, :label_padding, :text_size, :line_height
128
128
 
129
129
  def initialize(*args)
130
130
  options = args.shift.dup if args.first.is_a?(Hash)
@@ -2,7 +2,7 @@ module PrintingLabel #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -33,7 +33,7 @@
33
33
  <h1>Print labels with</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/printing_labels"; return false'>
35
35
  Get Version
36
- <a href="http://rubyforge.org/projects/printing_labels" class="numbers">0.0.1</a>
36
+ <a href="http://rubyforge.org/projects/printing_labels" class="numbers">0.0.2</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;printing_labels&#8217;</h1>
39
39
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: printing_labels
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
6
+ version: 0.0.2
7
7
  date: 2007-06-12 00:00:00 +02:00
8
8
  summary: create pdf labels sheet defining template and label start point
9
9
  require_paths: