tufy 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fb7ac8983272e0275de6254304cd939bcfb117c
4
- data.tar.gz: b862db6685e739b474185b2352d2ff7521de3412
3
+ metadata.gz: 23a373e98ddda94e414b9cfa8d448270db8f0284
4
+ data.tar.gz: 4efabe9a8bfeb1abb3b038420f4a7ec6d1489c6b
5
5
  SHA512:
6
- metadata.gz: 88d2677d70d969e8e3fe432b4c93d65fc9d6d13cc1542731a6238b94ad4258f546cb4ab6dc348e813d442a6e77e2e3825ce09e3faef5fb0bee02c0a1eb110dbb
7
- data.tar.gz: d4540da61a7a69f515594a0f98245217f4d0252007180845b077b6ea099cad0687e9de4502daeca094254e159568d3f75d683efb106cbacfdec216b1b9700afb
6
+ metadata.gz: 961f454ad4efbfbc776dd5d96db52207890d4795687c27909a8d0eeded8a91434d0760ec253d8adefbf302753044f5853da9bc8a051efc99ce65e4ccac4b3960
7
+ data.tar.gz: c9c034c0f6c519065197e5482adf03d76cbbb8e3a51c9374b6d9f02bfea184c420c7bfe45be6d10aef0758442f196cfcb7420cfdc14127c08e0f6a94d43cc740
@@ -1,3 +1,7 @@
1
+ # v0.0.12
2
+
3
+ - Make reported_date as a required parameter of Tufy::BuildHeaderSegment
4
+
1
5
  # v0.0.11
2
6
 
3
7
  - Remove special characters from First and Last names
@@ -5,7 +5,8 @@ module Tufy
5
5
 
6
6
  REQUIRED_KEYS = [
7
7
  :processor_name,
8
- :user_id
8
+ :user_id,
9
+ :reported_date,
9
10
  ]
10
11
 
11
12
  executed do |ctx|
@@ -21,7 +22,7 @@ module Tufy
21
22
  "#{FormatStrings::F25TS % Time.now.to_i.to_s}" + # Member Reference Number (Required)
22
23
  "#{FormatStrings::F26TS % ctx.header_data[:processor_name].upcase}" + # Member Processor Name (Required)
23
24
  "#{FormatStrings::F10TS % ctx.header_data[:user_id].upcase}" + # User ID (Required)
24
- "#{BuildField.transform_date(Date.today)}" + # Reported Date (Required)
25
+ "#{BuildField.transform_date(ctx.header_data[:reported_date])}" + # Reported Date (Required)
25
26
  Constants::FILLER # Filler (Required)
26
27
  end
27
28
 
@@ -1,3 +1,3 @@
1
1
  module Tufy
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tufy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil Marion dela Cruz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-21 00:00:00.000000000 Z
11
+ date: 2017-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: light-service