lit_ipsum 0.9.5 → 0.9.6

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
  SHA256:
3
- metadata.gz: fce411339d741c651ba67db912676d23e18bf1ac89975db04368bd78fdea4b88
4
- data.tar.gz: 5e3be4b2ebf7acec5adeb6e65273e840b5afda3ddd08eb7855aaf6fcc0cc7cbd
3
+ metadata.gz: 2cfa1f2656ae26b54cc511306168d48908ee826a09d9e38b88246e5eaedc9c44
4
+ data.tar.gz: a5e4411f253e2618154b6d20fd3b0d9de777c6c84d22ddbfea5ca32e811f41ad
5
5
  SHA512:
6
- metadata.gz: d6a0a703e97fe1c91d57e12c8ce21757d61b15e4b1662c5f1341c623f656c00b83a551e8bd6bae1853f8cae5f8fa42add0386cbc656ec0569a28c9031d6140c5
7
- data.tar.gz: 699db813c55c53b3bcd65585960d0747236e9d66080d3e2eb983ff90221867c6dcd70688c58ef8c5bf96458041759865238c59379d174d7b57b2bc6dc31db7c8
6
+ metadata.gz: 3344db33fb4f636f2fc97ed5283714f97b8912d54d63c161b8bd3364d3333157bea78ea59892c6e9dc778baa77110c8c1f19becc13b13225b3a790599ee2b98f
7
+ data.tar.gz: 1db3fbd36931a6e547fa25d2617d4a6d84997d6eac303dc60c8a80f6c16261f35afeae2291e023e7d59a601d8766d84a157d5d85c5a99a4066100b4a145cfacc
@@ -3,7 +3,7 @@
3
3
  module LitIpsum
4
4
  class Austen
5
5
  class PrideAndPrejudice < Base
6
- FILENAME = 'lib/texts/austen/pride-and-prejudice.txt'
6
+ FILENAME = File.join(File.dirname(File.expand_path(__FILE__)), '../../texts/austen/pride-and-prejudice.txt')
7
7
 
8
8
  class << self
9
9
  def sentences(count, max_sentence = 0, filename = FILENAME)
@@ -3,7 +3,7 @@
3
3
  module LitIpsum
4
4
  class Austen
5
5
  class SenseAndSensibility < Base
6
- FILENAME = 'lib/texts/austen/sense-and-sensibility.txt'
6
+ FILENAME = File.join(File.dirname(File.expand_path(__FILE__)), '../../texts/austen/sense-and-sensibility.txt')
7
7
 
8
8
  class << self
9
9
  def sentences(count, max_sentence = 0, filename = FILENAME)
@@ -3,7 +3,7 @@
3
3
  module LitIpsum
4
4
  class Doyle
5
5
  class SherlockHolmes < Base
6
- FILENAME = 'lib/texts/doyle/the-adventures-of-sherlock-holmes.txt'
6
+ FILENAME = File.join(File.dirname(File.expand_path(__FILE__)), '../../texts/doyle/the-adventures-of-sherlock-holmes.txt')
7
7
 
8
8
  class << self
9
9
  def sentences(count, max_sentence = 0, filename = FILENAME)
@@ -3,7 +3,7 @@
3
3
  module LitIpsum
4
4
  class Poe
5
5
  class Usher < Base
6
- FILENAME = 'lib/texts/poe/the-fall-of-house-usher.txt'
6
+ FILENAME = File.join(File.dirname(File.expand_path(__FILE__)), '../../texts/poe/the-fall-of-house-usher.txt')
7
7
 
8
8
  class << self
9
9
  def sentences(count, max_sentence = 0, filename = FILENAME)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LitIpsum
4
- VERSION = '0.9.5'
4
+ VERSION = '0.9.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lit_ipsum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jac Bergenson