sipp 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sipp/extended.rb +5 -0
- data/lib/sipp/version.rb +1 -1
- data/sipp.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f19fbec80dadd3c4c7d351ad605666722a7f628c
|
4
|
+
data.tar.gz: fde3f3ccec2ac4c43bc0c345f7ddc26004435e60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5043f858559c2019a89b2795ec381617a172d5aebe78bf32d9543a463a8c991d237c7f775acf611515aac7eaac9df26abd4bd78aa4b750ea05a00ad9aa0e476a
|
7
|
+
data.tar.gz: 6dd7d7fd130c6607cfbc0b93c49b554ca4610930403992c3a730d110f10af5368295608ca78c04e6efe42754c14fd1ee34464a15430da68013840675d6e53e37
|
data/lib/sipp/extended.rb
CHANGED
@@ -5,6 +5,11 @@ module SIPP
|
|
5
5
|
include ExtendedDictionary
|
6
6
|
|
7
7
|
def self.generate(capabilities)
|
8
|
+
capabilities = capabilities.inject({}) do |caps, (k, v)|
|
9
|
+
val = v.respond_to?(:to_sym) ? v.to_sym : v
|
10
|
+
caps[k&.to_sym] = val
|
11
|
+
caps
|
12
|
+
end
|
8
13
|
category = CATEGORY[capabilities[:category]]
|
9
14
|
type = TYPE[capabilities[:type]]
|
10
15
|
transmission = TRANSMISSION[capabilities[:transmission]]
|
data/lib/sipp/version.rb
CHANGED
data/sipp.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["max@buslaev.net"]
|
11
11
|
|
12
12
|
spec.summary = %q{SIPP aka ACRISS code dictionary}
|
13
|
-
spec.description = %q{Translates car SIPP codes into something meaningful}
|
13
|
+
spec.description = %q{Translates car SIPP/ACRISS codes into something meaningful}
|
14
14
|
spec.homepage = "https://github.com/austerlitz/sipp"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sipp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Buslaev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description: Translates car SIPP codes into something meaningful
|
83
|
+
description: Translates car SIPP/ACRISS codes into something meaningful
|
84
84
|
email:
|
85
85
|
- max@buslaev.net
|
86
86
|
executables: []
|