word_2_quiz 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edc0535cb4aca7b0a501350715ddd9cdd9d3335b
4
- data.tar.gz: d99a2def739f76cd868b82d67803de996339afac
3
+ metadata.gz: 68bde196ceb87f284ba78a9514305e32f50dc0a0
4
+ data.tar.gz: 31fdd60fbfa915228c260ebab76a50a96bd6927f
5
5
  SHA512:
6
- metadata.gz: 2603438d795c7feb575ff070522ec9663c79b6d1303afd41d0b66460dce8db91478c782e65db1626aac9d22bb48a94e06e6a0c26014b55d0dc35230482daafe3
7
- data.tar.gz: bbeaf617acb589856ef2d93f84f99e430b8387cec8c29dfa0c31c3f9faf24ea49000f3a101c334bf29fe0a346b6989d37e2cde54a665304d1ceff2ac4427d315
6
+ metadata.gz: a5269a9726d3fca559a599a767da34efdb5ea9a710901c3ee4d233f267c6dc0f7d50feaf4927d2718894246f60e8aded9f1a0fafc7c3379ded748b847216c753
7
+ data.tar.gz: 55d3cbde2a5eb03fb194ca86b6191a073b990cdb6ed29a1220f51d1c652be453e7873be99d7fd06e48d7c5ffb3a307bbae2bfcd92d15875fc14f07ff075dde8a
@@ -8,6 +8,6 @@ require "word_2_quiz/quiz_solutions_parser"
8
8
 
9
9
  # You can add fixtures and/or initialization code here to make experimenting
10
10
  # with your gem easier. You can also use a different console, if you like.
11
- #Switch this out with parse solutions
12
- #Word2Quiz.parse_quiz(ARGV[0])
11
+ # Switch this out with parse solutions
12
+ # Word2Quiz.parse_quiz(ARGV[0])
13
13
  Word2Quiz.parse_quiz(ARGV[0], ARGV[1])
@@ -96,8 +96,8 @@ module Word2Quiz
96
96
  # removed.
97
97
  ##
98
98
  def self.strip_blanks(paragraphs)
99
- t = paragraphs.drop_while { |p| p.text.chomp.empty? }
100
- t.pop while t.last.text.chomp.empty?
99
+ t = paragraphs.drop_while { |p| p.text.strip.empty? }
100
+ t.pop while t.last.text.strip.empty?
101
101
  t
102
102
  end
103
103
 
@@ -1,3 +1,3 @@
1
1
  module Word2Quiz
2
- VERSION = "1.1.1".freeze
2
+ VERSION = "1.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word_2_quiz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atomic Jolt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler