cmxl 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/lib/cmxl/fields/statement_details.rb +2 -2
- data/lib/cmxl/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 099dfa2701305989d3afe020ee6fee473d75a50e
|
4
|
+
data.tar.gz: 74e6f6ee642e4d3680b17b977ac470ef6ed1b1a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3635643d3f1966515e350da68bff1c46b0960508b085953338ad2f275eccb87e80fad2b8e7723ddbc526c64b4e2e036a9771e9c0343300e9fe5f613c34333364
|
7
|
+
data.tar.gz: 74761935463086b4464f94d64bf77a06d6ec5b5914f5def5ce1840ec491a01ee67a544643096454a15998977184ad174090fd959a1c26007dd857cfd27acb478
|
data/.travis.yml
ADDED
@@ -6,7 +6,7 @@ module Cmxl
|
|
6
6
|
|
7
7
|
def sub_fields
|
8
8
|
@sub_fields ||= if self.data['details'] =~ /#{Regexp.escape(self.data['seperator'])}(\d{2})/
|
9
|
-
self.data['details'].split(/#{Regexp.escape(self.data['seperator'])}(\d{2})/).reject(&:empty?)
|
9
|
+
Hash[*self.data['details'].split(/#{Regexp.escape(self.data['seperator'])}(\d{2})/).reject(&:empty?)]
|
10
10
|
else
|
11
11
|
{}
|
12
12
|
end
|
@@ -23,7 +23,7 @@ module Cmxl
|
|
23
23
|
|
24
24
|
def sepa
|
25
25
|
if self.information =~ /([A-Z]{4})\+/
|
26
|
-
self.information.split(/([A-Z]{4})\+/).reject(&:empty?)
|
26
|
+
Hash[*self.information.split(/([A-Z]{4})\+/).reject(&:empty?)]
|
27
27
|
else
|
28
28
|
{}
|
29
29
|
end
|
data/lib/cmxl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmxl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bumann
|
@@ -61,6 +61,7 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
|
+
- ".travis.yml"
|
64
65
|
- Gemfile
|
65
66
|
- LICENSE.txt
|
66
67
|
- README.md
|