ruby-upworthy 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/LICENSE +21 -0
- data/README.md +37 -0
- data/lib/upworthy.rb +3 -0
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 719eb7ea99b095301f8a13323a858a96d3e1c519
|
4
|
+
data.tar.gz: 7dbe38e8ffa71d9fa71b43a8c98016763bf2e817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8021093b5b2d53448e8a04611a13f6300cce0e1c15b33bfe74c86ef70f2284c50da0255ccf6756890b21c3a3125a1cb78b7f6540927b2996f5c89028a7511ce
|
7
|
+
data.tar.gz: 698c18fe495b1b8b95115ad93b57c77b6c103c5322b449962de9439a7c8ce83e1d8972dee8acaa1d6e0652778bb7c93c54285801bbbc1595f61959469e2c38c3
|
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--no-private --markup-provider=redcarpet --markup=markdown - README.md LICENSE
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 William Woodruff <william @ tuffbizz.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
ruby-upworthy
|
2
|
+
==============
|
3
|
+
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/ruby-upworthy.svg)](http://badge.fury.io/rb/ruby-upworthy)
|
5
|
+
[![Build Status](https://drone.io/github.com/woodruffw/ruby-upworthy/status.png)](https://drone.io/github.com/woodruffw/ruby-upworthy/latest)
|
6
|
+
|
7
|
+
A clickbait title generator, translated into Ruby from
|
8
|
+
[Mike Lacher's](http://mikelacher.com/)
|
9
|
+
[Upworthy Generator](http://www.upworthygenerator.com/).
|
10
|
+
|
11
|
+
### Installation
|
12
|
+
|
13
|
+
```bash
|
14
|
+
$ gem install ruby-upworthy
|
15
|
+
```
|
16
|
+
|
17
|
+
### Usage
|
18
|
+
|
19
|
+
From Ruby:
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'upworthy'
|
23
|
+
|
24
|
+
Upworthy.headline # => "Watch an extroverted police officer become a legend with six words"
|
25
|
+
```
|
26
|
+
|
27
|
+
From the shell:
|
28
|
+
|
29
|
+
```bash
|
30
|
+
$ upworthy
|
31
|
+
```
|
32
|
+
|
33
|
+
### License
|
34
|
+
|
35
|
+
This gem is licensed under the MIT License.
|
36
|
+
|
37
|
+
For the exact terms see the LICENSE file.
|
data/lib/upworthy.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-upworthy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Woodruff
|
@@ -17,6 +17,9 @@ executables:
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
+
- ".yardopts"
|
21
|
+
- LICENSE
|
22
|
+
- README.md
|
20
23
|
- bin/upworthy
|
21
24
|
- lib/upworthy.rb
|
22
25
|
homepage: https://github.com/woodruffw/ruby-upworthy
|