lit_ipsum 0.9.6 → 0.9.7

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: 2cfa1f2656ae26b54cc511306168d48908ee826a09d9e38b88246e5eaedc9c44
4
- data.tar.gz: a5e4411f253e2618154b6d20fd3b0d9de777c6c84d22ddbfea5ca32e811f41ad
3
+ metadata.gz: dfc99ca729f59afc591b59ffd441080fc10c0e506a8620e438c27cd56dfcc3c9
4
+ data.tar.gz: 307a88014cd6626bdef758cdfdfab67c15f7d6dacc0db4465d1f2ce176e4a319
5
5
  SHA512:
6
- metadata.gz: 3344db33fb4f636f2fc97ed5283714f97b8912d54d63c161b8bd3364d3333157bea78ea59892c6e9dc778baa77110c8c1f19becc13b13225b3a790599ee2b98f
7
- data.tar.gz: 1db3fbd36931a6e547fa25d2617d4a6d84997d6eac303dc60c8a80f6c16261f35afeae2291e023e7d59a601d8766d84a157d5d85c5a99a4066100b4a145cfacc
6
+ metadata.gz: 0c281ca4a9ca7e541245d522026b9546a2db35687714ca47b22a703ff2fef029efdb453fd89fd166804266adafe80cff2ae3edee21aa9eb9024d7f2a6182b67f
7
+ data.tar.gz: 13cdc6343a7fac25915e9e335fa9248b9d59f4ee29c5f1ae3f47f5f31fe63fdf99cd60a739e57a6f71e54dc1a080c79f040be8d58cdad8f9fb75ecf5ab8c37c3
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LitIpsum
4
+ class Carroll
5
+ class AliceInWonderland < Base
6
+ FILENAME = File.join(File.dirname(File.expand_path(__FILE__)), '../../texts/carroll/alice-in-wonderland.txt')
7
+
8
+ class << self
9
+ def sentences(count, max_sentence = 0, filename = FILENAME)
10
+ super(count, max_sentence, filename)
11
+ end
12
+
13
+ def words(count, filename = FILENAME)
14
+ super(count, filename)
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LitIpsum
4
+ class Dickens
5
+ class OliverTwist < Base
6
+ FILENAME = File.join(File.dirname(File.expand_path(__FILE__)), '../../texts/dickens/oliver-twist.txt')
7
+
8
+ class << self
9
+ def sentences(count, max_sentence = 0, filename = FILENAME)
10
+ super(count, max_sentence, filename)
11
+ end
12
+
13
+ def words(count, filename = FILENAME)
14
+ super(count, filename)
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LitIpsum
4
+ class Poe
5
+ class Raven < Base
6
+ FILENAME = File.join(File.dirname(File.expand_path(__FILE__)), '../../texts/poe/the-raven.txt')
7
+
8
+ class << self
9
+ def sentences(count, max_sentence = 0, filename = FILENAME)
10
+ super(count, max_sentence, filename)
11
+ end
12
+
13
+ def words(count, filename = FILENAME)
14
+ super(count, filename)
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LitIpsum
4
- VERSION = '0.9.6'
4
+ VERSION = '0.9.7'
5
5
  end