shakerspeare 0.1.1 → 0.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: 38c54ad1ffd20dc15b3bcbadf6c134808592f594
4
- data.tar.gz: 3900ec9637ededb779b5b96b9b46402bc5c3a2a8
3
+ metadata.gz: f8c8461b22d28c07eff3d11ec57d1c67600373dd
4
+ data.tar.gz: 6c82608dcd476db13174994d14ba230e5a86719b
5
5
  SHA512:
6
- metadata.gz: 6bf153429f173d21e78d14c207f03198d46c58e33951b3a60f3b6aac7265c29f671a0516ae1402d4b5abfd5dcf7ff06800526452d6a23f5885197af22ee23d88
7
- data.tar.gz: a933f0d91cda9172fbdb19fbdf14e26dd6fa787a211929ec517feddf2f38f8be14890d09f475dee5b9ad754e19384620fb7f202e1b0a923442229bd0838a2905
6
+ metadata.gz: 446325dcb25a46df0c94a43e3d75b5385c4ac12f1850ec10708901e146e81048b7cd0c2ce5054c96caf467a9ea8c62758d6b1e82d48179476842210fd2a34863
7
+ data.tar.gz: e5c5e11dcab1f658cdef6cf205db698163d5b4d26bb9a37cfd22a21814ec75145b22de0fd2ff7f5673762774524c2d845d5a88e01323a464338507caaddaa46f
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Shakerspeare
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/shakerspeare`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ An anemic Faker-esque generator of Shakespearean snippets.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,7 +20,30 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ Return a sonnet...
24
+
25
+ ```ruby
26
+ Shakerspeare.sonnet #=>'Since brass, nor stone, nor earth, nor boundless sea,
27
+ # But sad mortality o’ersways their power,
28
+ # How with this rage shall beauty hold a plea,
29
+ # Whose action is no stronger than a flower?
30
+ # O, how shall summer’s honey breath hold out
31
+ # Against the wrackful siege of battering days,
32
+ # When rocks impregnable are not so stout,
33
+ # Nor gates of steel so strong, but Time decays?
34
+ # O fearful meditation! Where, alack,
35
+ # Shall Time’s best jewel from Time’s chest lie hid?
36
+ # Or what strong hand can hold his swift foot back?
37
+ # Or who his spoil of beauty can forbid?
38
+ # O, none, unless this miracle have might,
39
+ # That in black ink my love may still shine bright.'
40
+ ```
41
+
42
+ Or a variety of creative insults...
43
+
44
+ ```ruby
45
+ Shakerspeare.sonnet #=>'Thou art like a toad; ugly and venomous.'
46
+ ```
26
47
 
27
48
  ## Development
28
49
 
@@ -32,7 +53,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
53
 
33
54
  ## Contributing
34
55
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/shakerspeare. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
56
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ctrutmann/shakerspeare. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
57
 
37
58
 
38
59
  ## License
@@ -2,7 +2,7 @@ require "shakerspeare/version"
2
2
 
3
3
  module Shakerspeare
4
4
  def self.sonnet
5
- puts 'Since brass, nor stone, nor earth, nor boundless sea,
5
+ return 'Since brass, nor stone, nor earth, nor boundless sea,
6
6
  But sad mortality o’ersways their power,
7
7
  How with this rage shall beauty hold a plea,
8
8
  Whose action is no stronger than a flower?
@@ -19,8 +19,8 @@ module Shakerspeare
19
19
  end
20
20
 
21
21
  def self.insult
22
- insults = ['Thou art like a toad; ugly and venomous', 'You scullion! You rampallian! You fustilarian! I’ll tickle your catastrophe!', 'Methink’st thou art a general offence and every man should beat thee.', 'Your virginity breeds mites, much like a cheese.', 'Thine face is not worth sunburning.']
22
+ insults = ['Thou art like a toad; ugly and venomous.', 'You scullion! You rampallian! You fustilarian! I’ll tickle your catastrophe!', 'Methink’st thou art a general offence and every man should beat thee.', 'Your virginity breeds mites, much like a cheese.', 'Thine face is not worth sunburning.']
23
23
 
24
- puts insults[rand(insults.length) -1]
24
+ return insults[rand(insults.length) -1]
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module Shakerspeare
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shakerspeare
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christel Trutmann
@@ -77,6 +77,7 @@ files:
77
77
  - lib/shakerspeare.rb
78
78
  - lib/shakerspeare/version.rb
79
79
  - shakerspeare-0.1.0.gem
80
+ - shakerspeare-0.1.1.gem
80
81
  - shakerspeare.gemspec
81
82
  - spec/shakerspeare_spec.rb
82
83
  - spec/spec_helper.rb