barkick 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +1 -10
- data/lib/barkick/version.rb +1 -1
- data/lib/barkick.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94d26a48e4353a2ee1490ac32cc7e6120f7273a8ec6cf1146db59604af44a00f
|
4
|
+
data.tar.gz: 9411a760caa760944bee849fb6fa923f985b265789f3c0a4f29b2a64da0856cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 983f51fbbef0f186ac1eaf3f38556f5047d4ab23fcb5cc6f0f76cf6828e246bc763259d71f6832a628d6fa632f12c3ddcb489297f52c34133d02d99f8adfb046
|
7
|
+
data.tar.gz: 6a683a2948fdfb33a015992f5d1cc86fd62cd540650d71d39ab16ee46bb51ac5b2d0c3518d4f78d68fc32c22290d2aa860a0c540932492c38d39b74686f8016d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.3.0 (2024-10-23)
|
2
|
+
|
3
|
+
- Dropped support for Ruby < 3.1
|
4
|
+
|
1
5
|
## 0.2.0 (2022-10-09)
|
2
6
|
|
3
7
|
- Dropped support for Ruby < 2.7
|
@@ -7,3 +11,20 @@
|
|
7
11
|
- `GTIN` is now `Barkick::GTIN`
|
8
12
|
- 8-digit codes now raise an `ArgumentError` if `type` is not specified
|
9
13
|
- Added `type` option
|
14
|
+
|
15
|
+
## 0.0.4 (2014-04-17)
|
16
|
+
|
17
|
+
- Fixed false positives for `valid?`
|
18
|
+
|
19
|
+
## 0.0.3 (2014-01-22)
|
20
|
+
|
21
|
+
- Added support for UPC-E
|
22
|
+
- Added `country_code` method
|
23
|
+
|
24
|
+
## 0.0.2 (2013-09-29)
|
25
|
+
|
26
|
+
- Added more prefixes
|
27
|
+
|
28
|
+
## 0.0.1 (2013-09-19)
|
29
|
+
|
30
|
+
- First release
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@ Works with:
|
|
11
11
|
|
12
12
|
For PLU codes, check out the [plu gem](https://github.com/ankane/plu)
|
13
13
|
|
14
|
-
[![Build Status](https://github.com/ankane/barkick/workflows/build/badge.svg
|
14
|
+
[![Build Status](https://github.com/ankane/barkick/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/barkick/actions)
|
15
15
|
|
16
16
|
## Installation
|
17
17
|
|
@@ -70,15 +70,6 @@ Barkick::GTIN.check_digit("01600027526") # "3"
|
|
70
70
|
|
71
71
|
- [GS1 General Specifications](https://www.gs1.org/docs/barcodes/GS1_General_Specifications.pdf)
|
72
72
|
|
73
|
-
## Upgrading
|
74
|
-
|
75
|
-
### 0.1.0
|
76
|
-
|
77
|
-
There a few breaking changes to be aware of:
|
78
|
-
|
79
|
-
- `GTIN` is now `Barkick::GTIN`
|
80
|
-
- 8-digit codes now raise an `ArgumentError` if `type` is not specified
|
81
|
-
|
82
73
|
## History
|
83
74
|
|
84
75
|
View the [changelog](https://github.com/ankane/barkick/blob/master/CHANGELOG.md)
|
data/lib/barkick/version.rb
CHANGED
data/lib/barkick.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require_relative "barkick/gtin"
|
2
|
+
require_relative "barkick/version"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barkick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|
@@ -34,14 +34,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
34
|
requirements:
|
35
35
|
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
37
|
+
version: '3.1'
|
38
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
requirements: []
|
44
|
-
rubygems_version: 3.
|
44
|
+
rubygems_version: 3.5.16
|
45
45
|
signing_key:
|
46
46
|
specification_version: 4
|
47
47
|
summary: Barcodes made easy
|