forward-calendar 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/forward-calendar.gemspec +2 -2
- data/lib/forward_calendar/forward_calendar.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47a31c4f8f6e007dd7796067ce789b2eeea491a4
|
4
|
+
data.tar.gz: e8c43e64702112a9cfcc7d967495c6346096f363
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44cd14f366051bdf097cbd0ebd5c96a35b0e6148437c5f20bc8322bd694c889efcfc934116e8e0b8a567713e68b0582c9d71d9bb34aa79dbdbbc13490c6c2a97
|
7
|
+
data.tar.gz: 734aea4380e54b1d61c7eb0d09c06888c5bc23bebdb0a4a725b90a2e1609440a30011070b53ee351daf9e999c5a3f7038443f08215e079bc5c88d7a472f1d8d6
|
data/forward-calendar.gemspec
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'forward-calendar'
|
5
|
-
s.version = '0.0.
|
6
|
-
s.date = '2017-11-
|
5
|
+
s.version = '0.0.3'
|
6
|
+
s.date = '2017-11-28'
|
7
7
|
s.summary = 'Forward Calendar XML parser'
|
8
8
|
s.description = 'Parser for Forward Calendar XML files'
|
9
9
|
s.homepage = 'https://github.com/AlphaExchange/forward-calendar-rb'
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'happymapper'
|
4
|
+
require 'nokogiri'
|
4
5
|
require_relative './node'
|
5
6
|
require_relative './updated'
|
6
7
|
|
@@ -9,6 +10,10 @@ module ForwardCalendar
|
|
9
10
|
include HappyMapper
|
10
11
|
tag 'forwardcalendar'
|
11
12
|
|
13
|
+
with_nokogiri_config do |config|
|
14
|
+
config.options |= Nokogiri::XML::ParseOptions::HUGE
|
15
|
+
end
|
16
|
+
|
12
17
|
has_one :updated, Updated, tag: 'updated', xpath: './'
|
13
18
|
end
|
14
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forward-calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- João Simões
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|