zpl-transformer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aacd8a6370c188d59d840059ab0640844b1ce490
4
- data.tar.gz: ba144f793ed25e8620f769ab9bf1d80e6f8bec78
3
+ metadata.gz: 15e6af39243c683d233ddf2c41f49774775d0c88
4
+ data.tar.gz: cd12fde57aaa9b3048d3a5b42235c2a384ac0f6f
5
5
  SHA512:
6
- metadata.gz: 753c6b8a358b0224d36ad0e53a6c8aa3b8771e5aba7898c4d7d5189206e32f8b0b2876176573c47ef6d64c5c583121ed2bba4fdaf5cbd4be8cb8825699417e81
7
- data.tar.gz: 33b9326769e0b0f182333661ead968e1b058695c494a5f88c5cedd413eb202768fb265c4c8880ad97b757412a0f336d6f8e7f7d71a1aca78654e9ce6fd8f93c8
6
+ metadata.gz: 68b78b585d17814588cab9854eed2fc80f4ce632e1f0735c08692d02a2d9a8807d29c1db1881f2a276e6310837b887e144bdd036b4a175f20fe012f715bebbf4
7
+ data.tar.gz: 8905e50c41a844e54524405f754b38af52c21817226ba52aac48f88a844a86da66b4b6fcb7a1f3240e616bdb510245dac2c292ced596f63d9aeb19f0889c304e
@@ -0,0 +1,24 @@
1
+ version: 2
2
+ jobs:
3
+ specs:
4
+ docker:
5
+ - image: circleci/ruby:2.5
6
+ steps:
7
+ - checkout
8
+ - run:
9
+ name: Which bundler?
10
+ command: bundle -v
11
+
12
+ - run:
13
+ name: Install dependencies
14
+ command: bundle install
15
+
16
+ - run:
17
+ name: Run specs
18
+ command: rake spec
19
+
20
+ workflows:
21
+ version: 2
22
+ specs:
23
+ jobs:
24
+ - specs
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zpl-transformer (0.1.0)
4
+ zpl-transformer (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -26,10 +26,10 @@ PLATFORMS
26
26
  ruby
27
27
 
28
28
  DEPENDENCIES
29
- bundler (~> 2.0)
29
+ bundler (~> 1.17)
30
30
  rake (~> 10.0)
31
31
  rspec (~> 3.0)
32
32
  zpl-transformer!
33
33
 
34
34
  BUNDLED WITH
35
- 2.0.1
35
+ 1.17.3
data/README.md CHANGED
@@ -43,6 +43,7 @@ List of commands that can be scaled currently:
43
43
  - `^B2` - Interleaved 2 of 5 Bar Code
44
44
  - `^GB` - Graphic Box
45
45
  - `^BC` - Code 128 Bar Code (Subsets A, B, and C)
46
+ - `^PW` - Print Width
46
47
 
47
48
  These commands have at least one argument that is a coordinate (in dots) and need to be recalculated (scaled).
48
49
  The non-coordinate arguments and all other commands not listed above are not touched and left as is.
@@ -54,6 +54,11 @@ module Zpl::Transformer
54
54
  # Param 4: UCC check digit (bool)
55
55
  # Param 5: mode (enum)
56
56
  "BC" => [1],
57
+
58
+ # ^PW - Print Width
59
+ #
60
+ # Param 0: label width in dots
61
+ "PW" => [0],
57
62
  }
58
63
 
59
64
  def map_cmd(cmd)
@@ -1,3 +1,3 @@
1
1
  module Zpl
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  end
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_development_dependency "bundler", "~> 2.0"
23
+ spec.add_development_dependency "bundler", "~> 1.17"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zpl-transformer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit de Chezelles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-04 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '1.17'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '1.17'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -59,9 +59,9 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".circleci/config.yml"
62
63
  - ".gitignore"
63
64
  - ".rspec"
64
- - ".travis.yml"
65
65
  - Gemfile
66
66
  - Gemfile.lock
67
67
  - LICENSE.txt
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.3.1
7
- before_install: gem install bundler -v 1.17.1