rixml 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -7
  3. data/lib/rixml.rb +2 -2
  4. data/rixml.gemspec +2 -2
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 795ba93c3915a8974ffbfc5a443fb14bd3a3e007
4
- data.tar.gz: 5a2208b8d777bc87fd96d718e18f48f97f9879ab
3
+ metadata.gz: a8b52638daba788b8ba9d4bfbd4efcb103e1c2b0
4
+ data.tar.gz: 0b7d73437957344e68d43b76c4a711dacebe0a46
5
5
  SHA512:
6
- metadata.gz: 1e8635f471a4ad1f230ebd30725ec5ac883632d75eaa3bb6a61a803a5255195cd1395c95e7fa5d34cba8a5c02950297d041c60f166b57056bb62a6a4a1df78e4
7
- data.tar.gz: 2ff34ee300f412e668505ca9df50e49a6892b972a6d912831aed67e11f5cb61052d9577fe592d60571f25a7de0eacd12f6c3bfb327c908c11dc2fdc2672d0ef0
6
+ metadata.gz: c54d0a5e625c37b51bef18e8cf67c75c82d4d2236d226f4e8f568bcbd1258877803c9f9f575d5917eb807365574d901972f9d617c4ac97e01d82ebe58e8cd11b
7
+ data.tar.gz: b57390439e4c64296f9ce47f3a260f37d5f420d598d97b308f62d30e4c0ed1a97f09104b8e595693b5e3c89667e79f3edbb8adeb943995778decb350138765d7
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rixml (0.2.0)
4
+ rixml (0.2.2)
5
5
  activesupport (>= 4.0.0)
6
6
  nokogiri (~> 1.5)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (5.0.2)
11
+ activesupport (5.0.0.1)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (~> 0.7)
14
14
  minitest (~> 5.1)
@@ -18,13 +18,14 @@ GEM
18
18
  concurrent-ruby (1.0.5)
19
19
  i18n (0.8.1)
20
20
  mini_portile2 (2.1.0)
21
- minitest (5.9.1)
21
+ minitest (5.10.1)
22
22
  nokogiri (1.7.1)
23
23
  mini_portile2 (~> 2.1.0)
24
- parser (2.3.1.4)
24
+ parser (2.4.0.0)
25
25
  ast (~> 2.2)
26
26
  powerpack (0.1.1)
27
- rainbow (2.1.0)
27
+ rainbow (2.2.2)
28
+ rake
28
29
  rake (11.3.0)
29
30
  rubocop (0.45.0)
30
31
  parser (>= 2.3.1.1, < 3.0)
@@ -36,7 +37,7 @@ GEM
36
37
  thread_safe (0.3.6)
37
38
  tzinfo (1.2.3)
38
39
  thread_safe (~> 0.1)
39
- unicode-display_width (1.1.1)
40
+ unicode-display_width (1.2.1)
40
41
 
41
42
  PLATFORMS
42
43
  ruby
@@ -50,4 +51,4 @@ DEPENDENCIES
50
51
  rubocop (~> 0.45.0)
51
52
 
52
53
  BUNDLED WITH
53
- 1.13.6
54
+ 1.14.6
data/lib/rixml.rb CHANGED
@@ -34,8 +34,8 @@ class RIXML
34
34
  time_str = current_status_info&.dig('statusDateTime') || DateTime.now.to_s
35
35
  status = current_status_info&.dig('statusType')&.downcase&.to_sym || :published
36
36
  {
37
- status: status,
38
- date: Time.parse(time_str).to_datetime.to_s
37
+ status_type: status,
38
+ status_date_time: Time.parse(time_str).to_datetime.to_s
39
39
  }
40
40
  end
41
41
 
data/rixml.gemspec CHANGED
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'rixml'
4
- s.version = '0.2.1'
5
- s.date = '2017-04-28'
4
+ s.version = '0.2.2'
5
+ s.date = '2017-04-29'
6
6
  s.summary = 'RIXML Parser'
7
7
  s.description = 'Parse RIXML files'
8
8
  s.homepage = 'https://github.com/AlphaExchange/rixml'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rixml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Correia Santos
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-28 00:00:00.000000000 Z
12
+ date: 2017-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler