easylittleprinter 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -14,7 +14,8 @@ The file extension is specified in the configuration file
14
14
 
15
15
  == Usage
16
16
 
17
- "require 'easylittleprinter'
17
+ "require 'easylittleprinter'"
18
+
18
19
  "EasyLittlePrinter.do"
19
20
 
20
21
  or, from the command like
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -2,6 +2,4 @@
2
2
 
3
3
  require 'easylittleprinter'
4
4
 
5
- newPrinter = EasyLittlePrinter
6
-
7
- newPrinter.do
5
+ EasyLittlePrinter.do
@@ -13,10 +13,10 @@ def self.title
13
13
  end
14
14
 
15
15
  def self.sampleImg
16
- '/sample' #the address of your sample image sans extension and trailing slash
16
+ 'sample' #the filename of your sample image sans extension
17
17
  end
18
18
 
19
19
  def self.iconImg
20
- '/icon' #the address of your icon image sans extension and trailing slash
20
+ 'icon' #the filename of your icon image sans extension
21
21
  end
22
22
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "easylittleprinter"
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Simon Orr"]
@@ -5,7 +5,7 @@ require '/etc/easylittleprinter/lpconfig.rb'
5
5
 
6
6
  module EasyLittlePrinter
7
7
  def self.do
8
- exec('camping easylittleprinter.rb')
8
+ exec('camping '+ Dir.getwd)
9
9
  end
10
10
  end
11
11
 
@@ -104,13 +104,13 @@ module LPImgApp::Views
104
104
  #View for the sample
105
105
 
106
106
  def sample
107
- img :src => $imgHostURL + "/" + $sampleImg
107
+ img :src => $imgHostURL + "/" + $sampleImg + $imgFileExtension
108
108
  end
109
109
 
110
110
  #View for the icon
111
111
 
112
112
  def icon
113
- img :src => $imgHostURL + "/" + $iconImg
113
+ img :src => $imgHostURL + "/" + $iconImg + ".png"
114
114
  end
115
115
 
116
116
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easylittleprinter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -258,7 +258,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
258
258
  version: '0'
259
259
  segments:
260
260
  - 0
261
- hash: -3659557028869011067
261
+ hash: 3129682581575246854
262
262
  required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  none: false
264
264
  requirements: