bwip 0.7.0 → 0.7.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.
- checksums.yaml +4 -4
- data/README.md +21 -5
- data/lib/bwip/version.rb +1 -1
- data/vendor/assets/javascripts/bwip.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0f3c826a9825432fa47697ae8553fa31f75c0ea
|
|
4
|
+
data.tar.gz: 93c61fe04dd11ba4e6e297e85c72266a67aef8de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9ea4a43008635c0fc7de6f5857e39b6c2b42295efd74091ce2414ae3a84ec89d5a99b430650a81a4d61e03f97808e4abe057ad3f295d1d74511f7a67641aec2
|
|
7
|
+
data.tar.gz: 18c466b17f5af4af0d0467e417370198fc8984faa295de2bca9e2ae5a757874865d4e90fae71af87e8681588ef24edfd22e77115649b624acc43e67650c7adc3
|
data/README.md
CHANGED
|
@@ -18,6 +18,14 @@ As a package for bower provides:
|
|
|
18
18
|
|
|
19
19
|
* bwip 0.7
|
|
20
20
|
|
|
21
|
+
## Online Service
|
|
22
|
+
|
|
23
|
+
We are here to serve : Hatio, Lab.
|
|
24
|
+
|
|
25
|
+
You just try to show simple barcode image by request.
|
|
26
|
+
|
|
27
|
+
http://barcode.hatiolab.com:81/?bcid=code128&text=^FNC1011234567890&wscale=4&hscale=4&rotate=L&parsefnc&alttext=(01)01234567890
|
|
28
|
+
|
|
21
29
|
## Getting Started
|
|
22
30
|
### Install the nodejs module with:
|
|
23
31
|
`npm install bwip`
|
|
@@ -117,9 +125,6 @@ The bwip files will be added to the asset pipeline and available for you to use.
|
|
|
117
125
|
|
|
118
126
|
'options' is the object what can take any of the bar code options defined in the BWIPP documentation.
|
|
119
127
|
|
|
120
|
-
## Examples
|
|
121
|
-
_(Coming soon)_
|
|
122
|
-
|
|
123
128
|
## Contributing
|
|
124
129
|
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).
|
|
125
130
|
|
|
@@ -128,7 +133,18 @@ Feel free to open an issue ticket if you find something that could be improved.
|
|
|
128
133
|
* If the bwip-js scripts are outdated (i.e. maybe a new version of bwip-js was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated bwip-js scripts.
|
|
129
134
|
|
|
130
135
|
## Release History
|
|
131
|
-
|
|
136
|
+
|
|
137
|
+
### 0.7
|
|
138
|
+
- Support width scale and height scale separately (API modified)
|
|
139
|
+
```
|
|
140
|
+
[before 0.7]
|
|
141
|
+
bwip.png(bcid, text, scale, rotate, options)
|
|
142
|
+
bwip.base64(bcid, text, scale, rotate, options)
|
|
143
|
+
|
|
144
|
+
[after 0.7]
|
|
145
|
+
bwip.png(bcid, text, wscale, hscale, rotate, options)
|
|
146
|
+
bwip.base64(bcid, text, wscale, hscale, rotate, options)
|
|
147
|
+
```
|
|
132
148
|
|
|
133
149
|
## License
|
|
134
|
-
Copyright (c) 2014
|
|
150
|
+
Copyright (c) 2014 Hatio, Lab. Licensed under the MIT license.
|
data/lib/bwip/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bwip
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hearty, Oh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|