misfortune 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 +4 -4
- data/README.md +44 -2
- data/lib/misfortune/version.rb +1 -1
- data/misfortune.gemspec +10 -3
- metadata +10 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c947d845f1f0c65cba013aa407e2511cada500a
|
|
4
|
+
data.tar.gz: 38ef7871639921e724fc944c3ab9f6fcaa382584
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 432f2a80901bf6cedfd7fd74ac5bdfeedb9d5ff05995993118d4e4c589dbfb5316603ece312875b960c655b39b7316f5c7fa1f0844758b36f8590ded2e9d92c9
|
|
7
|
+
data.tar.gz: 664677cdd2f264920720f28db4648dada26e814b74306e3db4e70950e800957b4c8150e07729ab8fec7bba9392ec5b81d2e6f49c2619966dffd2e7fffdd35a15
|
data/README.md
CHANGED
|
@@ -1,2 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
[](https://badge.fury.io/rb/misfortune)
|
|
2
|
+
[](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
|
data/lib/misfortune/version.rb
CHANGED
data/misfortune.gemspec
CHANGED
|
@@ -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 =
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
111
|
-
description:
|
|
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:
|
|
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: []
|