USPS-intelligent-barcode 0.1.0 → 0.1.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.
data/README.md CHANGED
@@ -22,7 +22,8 @@ eliminated the #draw method.
22
22
 
23
23
  #!/usr/bin/env ruby
24
24
 
25
- require 'imb'
25
+ require 'rubygems'
26
+ require 'USPS-intelligent-barcode'
26
27
 
27
28
  barcode_id = '01'
28
29
  service_type = '234'
@@ -0,0 +1,85 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "USPS-intelligent-barcode"
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Wayne Conrad"]
12
+ s.date = "2012-12-27"
13
+ s.description = "A pure Ruby gem to generate a USPS Intelligent Mail barcode. It generates the string of characters to print with one of the USPS Intelligent Mail barcode fonts."
14
+ s.email = "wayne@databill.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.md",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "Gemfile.lock",
22
+ "LICENSE.md",
23
+ "README.md",
24
+ "Rakefile",
25
+ "USPS-intelligent-barcode.gemspec",
26
+ "VERSION",
27
+ "examples/example.rb",
28
+ "lib/USPS-intelligent-barcode.rb",
29
+ "lib/USPS-intelligent-barcode/BarMap.rb",
30
+ "lib/USPS-intelligent-barcode/BarPosition.rb",
31
+ "lib/USPS-intelligent-barcode/Barcode.rb",
32
+ "lib/USPS-intelligent-barcode/BarcodeId.rb",
33
+ "lib/USPS-intelligent-barcode/CharacterPosition.rb",
34
+ "lib/USPS-intelligent-barcode/CodewordMap.rb",
35
+ "lib/USPS-intelligent-barcode/Crc.rb",
36
+ "lib/USPS-intelligent-barcode/MailerId.rb",
37
+ "lib/USPS-intelligent-barcode/NumericConversions.rb",
38
+ "lib/USPS-intelligent-barcode/RoutingCode.rb",
39
+ "lib/USPS-intelligent-barcode/SerialNumber.rb",
40
+ "lib/USPS-intelligent-barcode/ServiceType.rb",
41
+ "lib/USPS-intelligent-barcode/autoload.rb",
42
+ "lib/USPS-intelligent-barcode/bar_to_character_mapping.yml",
43
+ "lib/USPS-intelligent-barcode/codeword_to_character_mapping.yml",
44
+ "spec/BarMap_spec.rb",
45
+ "spec/BarPosition_spec.rb",
46
+ "spec/BarcodeId_spec.rb",
47
+ "spec/Barcode_spec.rb",
48
+ "spec/CharacterPosition_spec.rb",
49
+ "spec/CodewordMap_spec.rb",
50
+ "spec/Crc_spec.rb",
51
+ "spec/MailerId_spec.rb",
52
+ "spec/NumericConversions_spec.rb",
53
+ "spec/RoutingCode_spec.rb",
54
+ "spec/SerialNumber_spec.rb",
55
+ "spec/ServiceType_spec.rb",
56
+ "spec/spec_helper.rb"
57
+ ]
58
+ s.homepage = "http://github.com/wconrad/USPS-intelligent-barcode"
59
+ s.licenses = ["MIT"]
60
+ s.require_paths = ["lib"]
61
+ s.rubygems_version = "1.8.17"
62
+ s.summary = "Generates a USPS Intelligent Mail Barcode."
63
+
64
+ if s.respond_to? :specification_version then
65
+ s.specification_version = 3
66
+
67
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
68
+ s.add_runtime_dependency(%q<andand>, ["~> 1.3"])
69
+ s.add_runtime_dependency(%q<memoizer>, ["~> 1.0"])
70
+ s.add_development_dependency(%q<rspec>, ["~> 2.12"])
71
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
72
+ else
73
+ s.add_dependency(%q<andand>, ["~> 1.3"])
74
+ s.add_dependency(%q<memoizer>, ["~> 1.0"])
75
+ s.add_dependency(%q<rspec>, ["~> 2.12"])
76
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
77
+ end
78
+ else
79
+ s.add_dependency(%q<andand>, ["~> 1.3"])
80
+ s.add_dependency(%q<memoizer>, ["~> 1.0"])
81
+ s.add_dependency(%q<rspec>, ["~> 2.12"])
82
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
83
+ end
84
+ end
85
+
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: USPS-intelligent-barcode
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Wayne Conrad
@@ -92,6 +92,7 @@ files:
92
92
  - LICENSE.md
93
93
  - README.md
94
94
  - Rakefile
95
+ - USPS-intelligent-barcode.gemspec
95
96
  - VERSION
96
97
  - examples/example.rb
97
98
  - lib/USPS-intelligent-barcode.rb