isin_code_generator 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/README.md +13 -2
- data/bin/isin_gen +4 -0
- data/lib/isin_code_generator/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3864efadbef6257e90b08dab6f2d71b04eca92c2
|
4
|
+
data.tar.gz: 3be75c811d4a4dda058385677e14271db4cf323f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8e6abc8b3cf31f413a12ac11ee06b8eceaaa600248549c11f821ae961d8ed6d84242a0eb4b571359dfd5a5c0596902c7ef4dc711391b9dd9bec14e2b1946db3
|
7
|
+
data.tar.gz: 26de0e80c45a225f603849818b662b47365b9375abd2ee312b12877712e3f5a75981bcf1a47c9b621b08047721ad2aac5abc61260bfeb280aefbdc4b9b658207
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2013 Guillaume Hain
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# IsinCodeGenerator
|
2
2
|
|
3
|
-
|
3
|
+
Simple random ISIN Code generator.
|
4
|
+
|
5
|
+
See http://en.wikipedia.org/wiki/International_Securities_Identification_Number.
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -18,7 +20,16 @@ Or install it yourself as:
|
|
18
20
|
|
19
21
|
## Usage
|
20
22
|
|
21
|
-
|
23
|
+
In an irb session:
|
24
|
+
|
25
|
+
require 'isin_code_generator'
|
26
|
+
IsinCodeGenerator.make("LU")
|
27
|
+
#=> LU7994567430
|
28
|
+
|
29
|
+
Or from the console:
|
30
|
+
|
31
|
+
$ isin_gen LU
|
32
|
+
LU2870209652
|
22
33
|
|
23
34
|
## Contributing
|
24
35
|
|
data/bin/isin_gen
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isin_code_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zedtux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -69,7 +69,8 @@ dependencies:
|
|
69
69
|
description: Simple random ISIN Code generator
|
70
70
|
email:
|
71
71
|
- zedtux@zedroot.org
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- isin_gen
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
75
76
|
files:
|
@@ -78,9 +79,11 @@ files:
|
|
78
79
|
- .ruby-gemset
|
79
80
|
- .ruby-version
|
80
81
|
- Gemfile
|
82
|
+
- LICENSE
|
81
83
|
- LICENSE.txt
|
82
84
|
- README.md
|
83
85
|
- Rakefile
|
86
|
+
- bin/isin_gen
|
84
87
|
- isin_code_generator.gemspec
|
85
88
|
- lib/isin_code_generator.rb
|
86
89
|
- lib/isin_code_generator/version.rb
|