misfortune 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 09a89327bfdcde628ec856ad686e2d152696751d
4
- data.tar.gz: e305a15f1b04e7d276872a7aef267692610a7f65
3
+ metadata.gz: 0c947d845f1f0c65cba013aa407e2511cada500a
4
+ data.tar.gz: 38ef7871639921e724fc944c3ab9f6fcaa382584
5
5
  SHA512:
6
- metadata.gz: a576f08c4ca7900f933cd46d7fbacfd172fc705fed7817e7e80b237d62f982a0e13f68794a33278939ed328c8758b6803b14653cd45d8410343a6eb77ea2e585
7
- data.tar.gz: 2d974bb46372dc647541f50f23622c4b936c699cf93f0a47dd12ef5a11c7541e795b8d3e8d40dbc557b6852b37336db5e1cd1be6aab1cd42dc5979514481a2c2
6
+ metadata.gz: 432f2a80901bf6cedfd7fd74ac5bdfeedb9d5ff05995993118d4e4c589dbfb5316603ece312875b960c655b39b7316f5c7fa1f0844758b36f8590ded2e9d92c9
7
+ data.tar.gz: 664677cdd2f264920720f28db4648dada26e814b74306e3db4e70950e800957b4c8150e07729ab8fec7bba9392ec5b81d2e6f49c2619966dffd2e7fffdd35a15
data/README.md CHANGED
@@ -1,2 +1,44 @@
1
- # TODO
2
- * Documentation
1
+ [![Gem Version](https://badge.fury.io/rb/misfortune.svg)](https://badge.fury.io/rb/misfortune)
2
+ [![Build Status](https://travis-ci.com/nbekirov/misfortune.svg?token=AD3EhNWtTQ9MCngyujGy&branch=master)](https://travis-ci.com/nbekirov/misfortune)
3
+
4
+ # Misfortune
5
+
6
+ > _If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime._
7
+ > - Anonymous
8
+
9
+ "Unmaintainable code" by Roedy Green turned into fortune cookies.
10
+
11
+ ## Installation
12
+
13
+ Simply execute:
14
+
15
+ ```
16
+ $ gem install misfortune
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ For a random cookie use:
22
+
23
+ ```
24
+ $ misfortune
25
+ ```
26
+
27
+ For help and list of all available commands and options:
28
+
29
+ ```
30
+ $ misfortune --help
31
+ ```
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/nbekirov/misfortune.
36
+
37
+ ## Credits
38
+
39
+ Original essay: [unmaintainable code](http://mindprod.com/jgloss/unmain.html) by [Roedy Green](http://mindprod.com/index.html)
40
+
41
+ Markdown adaptation: [How To Write Unmaintainable Code](https://github.com/Droogans/unmaintainable-code) by [Andrew Yurisich](https://github.com/Droogans)
42
+
43
+ ## TODO
44
+ * Terminal renderer: Word wrap
@@ -1,3 +1,3 @@
1
1
  module Misfortune
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
@@ -7,12 +7,19 @@ Gem::Specification.new do |spec|
7
7
  spec.name = 'misfortune'
8
8
  spec.version = Misfortune::VERSION
9
9
  spec.date = '2016-03-24'
10
- spec.summary = 'Unmaintainable fortune cookies'
11
- spec.description = '"How To Write Unmaintainable Code" turned into fortune cookies'
10
+ spec.summary = '"Unmaintainable code" turned into fortune cookies'
11
+ spec.description = <<-EOF
12
+ This gem is inspired by the fortune program found on many Unix-like systems.
13
+ It is bundled with quotations from the "Unmaintainable code" essay by Roedy Green.
14
+
15
+ You can find the original work here: http://mindprod.com/jgloss/unmain.html
16
+ EOF
17
+
12
18
  spec.authors = ['Nikolay Bekirov']
13
19
  spec.email = 'nbekirov@gmail.com'
14
20
  spec.homepage = 'http://rubygems.org/gems/misfortune'
15
21
  spec.license = 'MIT'
22
+ spec.required_ruby_version = '>= 2.0.0'
16
23
 
17
24
  spec.bindir = 'bin'
18
25
  spec.executables = ['misfortune']
@@ -34,5 +41,5 @@ Gem::Specification.new do |spec|
34
41
  spec.add_development_dependency('rake', '~> 11.1')
35
42
  spec.add_development_dependency('rspec', '~> 3.4')
36
43
  spec.add_development_dependency('simplecov', '~> 0.11')
37
- spec.add_development_dependency('bundler', '~> 1.11')
44
+ spec.add_development_dependency('bundler', '~> 1.3')
38
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: misfortune
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
  - Nikolay Bekirov
@@ -100,15 +100,19 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.11'
103
+ version: '1.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.11'
111
- description: '"How To Write Unmaintainable Code" turned into fortune cookies'
110
+ version: '1.3'
111
+ description: |2
112
+ This gem is inspired by the fortune program found on many Unix-like systems.
113
+ It is bundled with quotations from the "Unmaintainable code" essay by Roedy Green.
114
+
115
+ You can find the original work here: http://mindprod.com/jgloss/unmain.html
112
116
  email: nbekirov@gmail.com
113
117
  executables:
114
118
  - misfortune
@@ -141,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
145
  requirements:
142
146
  - - ">="
143
147
  - !ruby/object:Gem::Version
144
- version: '0'
148
+ version: 2.0.0
145
149
  required_rubygems_version: !ruby/object:Gem::Requirement
146
150
  requirements:
147
151
  - - ">="
@@ -152,5 +156,5 @@ rubyforge_project:
152
156
  rubygems_version: 2.6.2
153
157
  signing_key:
154
158
  specification_version: 4
155
- summary: Unmaintainable fortune cookies
159
+ summary: '"Unmaintainable code" turned into fortune cookies'
156
160
  test_files: []