rqrcode_core 0.1.2 → 1.2.0

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.
@@ -1,11 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rqrcode_core/qrcode/qr_8bit_byte'
4
- require 'rqrcode_core/qrcode/qr_alphanumeric'
5
- require 'rqrcode_core/qrcode/qr_bit_buffer'
6
- require 'rqrcode_core/qrcode/qr_code'
7
- require 'rqrcode_core/qrcode/qr_math'
8
- require 'rqrcode_core/qrcode/qr_numeric'
9
- require 'rqrcode_core/qrcode/qr_polynomial'
10
- require 'rqrcode_core/qrcode/qr_rs_block'
11
- require 'rqrcode_core/qrcode/qr_util'
3
+ require "rqrcode_core/qrcode/qr_8bit_byte"
4
+ require "rqrcode_core/qrcode/qr_alphanumeric"
5
+ require "rqrcode_core/qrcode/qr_bit_buffer"
6
+ require "rqrcode_core/qrcode/qr_code"
7
+ require "rqrcode_core/qrcode/qr_math"
8
+ require "rqrcode_core/qrcode/qr_multi"
9
+ require "rqrcode_core/qrcode/qr_numeric"
10
+ require "rqrcode_core/qrcode/qr_polynomial"
11
+ require "rqrcode_core/qrcode/qr_rs_block"
12
+ require "rqrcode_core/qrcode/qr_segment"
13
+ require "rqrcode_core/qrcode/qr_util"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RQRCodeCore
4
- VERSION = "0.1.2"
4
+ VERSION = "1.2.0"
5
5
  end
data/rqrcode_core.gemspec CHANGED
@@ -1,32 +1,32 @@
1
-
2
1
  lib = File.expand_path("../lib", __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "rqrcode_core/version"
5
4
 
6
5
  Gem::Specification.new do |spec|
7
- spec.name = "rqrcode_core"
8
- spec.version = RQRCodeCore::VERSION
9
- spec.platform = Gem::Platform::RUBY
10
- spec.authors = ["Duncan Robertson"]
11
- spec.email = ["duncan@whomwah.com"]
6
+ spec.name = "rqrcode_core"
7
+ spec.version = RQRCodeCore::VERSION
8
+ spec.platform = Gem::Platform::RUBY
9
+ spec.authors = ["Duncan Robertson"]
10
+ spec.email = ["duncan@whomwah.com"]
12
11
 
13
- spec.summary = "A library to encode QR Codes"
14
- spec.description = <<EOF
15
- rqrcode_core is a Ruby library for encoding QR Codes. The simple
16
- interface (with no runtime dependencies) allows you to create QR Code data structures.
17
- EOF
18
- spec.homepage = "https://github.com/whomwah/rqrcode_core"
19
- spec.license = "MIT"
12
+ spec.summary = "A library to encode QR Codes"
13
+ spec.description = <<~EOF
14
+ rqrcode_core is a Ruby library for encoding QR Codes. The simple
15
+ interface (with no runtime dependencies) allows you to create QR Code data structures.
16
+ EOF
17
+ spec.homepage = "https://github.com/whomwah/rqrcode_core"
18
+ spec.license = "MIT"
20
19
 
21
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
22
21
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
22
  end
24
- spec.bindir = "exe"
25
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
25
  spec.require_paths = ["lib"]
27
26
 
28
- spec.required_ruby_version = '~> 2.3'
27
+ spec.required_ruby_version = ">= 2.3"
29
28
  spec.add_development_dependency "bundler", "~> 2.0"
30
29
  spec.add_development_dependency "rake", "~> 13.0"
31
30
  spec.add_development_dependency "minitest", "~> 5.0"
31
+ spec.add_development_dependency "standardrb", "~> 1.0"
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rqrcode_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duncan Robertson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-20 00:00:00.000000000 Z
11
+ date: 2021-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: standardrb
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
55
69
  description: |
56
70
  rqrcode_core is a Ruby library for encoding QR Codes. The simple
57
71
  interface (with no runtime dependencies) allows you to create QR Code data structures.
@@ -63,6 +77,7 @@ extra_rdoc_files: []
63
77
  files:
64
78
  - ".github/workflows/ruby.yml"
65
79
  - ".gitignore"
80
+ - CHANGELOG.md
66
81
  - Gemfile
67
82
  - Gemfile.lock
68
83
  - LICENSE.txt
@@ -77,9 +92,11 @@ files:
77
92
  - lib/rqrcode_core/qrcode/qr_bit_buffer.rb
78
93
  - lib/rqrcode_core/qrcode/qr_code.rb
79
94
  - lib/rqrcode_core/qrcode/qr_math.rb
95
+ - lib/rqrcode_core/qrcode/qr_multi.rb
80
96
  - lib/rqrcode_core/qrcode/qr_numeric.rb
81
97
  - lib/rqrcode_core/qrcode/qr_polynomial.rb
82
98
  - lib/rqrcode_core/qrcode/qr_rs_block.rb
99
+ - lib/rqrcode_core/qrcode/qr_segment.rb
83
100
  - lib/rqrcode_core/qrcode/qr_util.rb
84
101
  - lib/rqrcode_core/version.rb
85
102
  - rqrcode_core.gemspec
@@ -93,7 +110,7 @@ require_paths:
93
110
  - lib
94
111
  required_ruby_version: !ruby/object:Gem::Requirement
95
112
  requirements:
96
- - - "~>"
113
+ - - ">="
97
114
  - !ruby/object:Gem::Version
98
115
  version: '2.3'
99
116
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -102,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
119
  - !ruby/object:Gem::Version
103
120
  version: '0'
104
121
  requirements: []
105
- rubygems_version: 3.1.2
122
+ rubygems_version: 3.2.22
106
123
  signing_key:
107
124
  specification_version: 4
108
125
  summary: A library to encode QR Codes