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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/LICENSE +21 -0
  4. data/README.md +37 -0
  5. data/lib/upworthy.rb +3 -0
  6. metadata +4 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67af31fdace5cef2179bb7e12785d741b662b3a9
4
- data.tar.gz: 7d7882eb4b1aba6328fe77231637959b35427ad8
3
+ metadata.gz: 719eb7ea99b095301f8a13323a858a96d3e1c519
4
+ data.tar.gz: 7dbe38e8ffa71d9fa71b43a8c98016763bf2e817
5
5
  SHA512:
6
- metadata.gz: aefaca8e5af828db70d689f3830794e47fad9548eeca818cf4bb2ec9c3b7122f7d264fcef86f571f61c5e6fe5d48164f7e6dfe622f4a6fa0265075a13dee5cec
7
- data.tar.gz: 8201c9749899a14ee76364994697f8e74788177c77afaaf91969195d4b4b1cd481c603136229e0bbbb80f8c754bae61a132103b3aae2d221585dae3e03041836
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
@@ -7,6 +7,9 @@
7
7
  # @author William Woodruff
8
8
  # @since 0.0.1
9
9
  module Upworthy
10
+ # @private
11
+ VERSION = '0.0.2'.freeze
12
+
10
13
  # @private
11
14
  HEADLINES = [
12
15
  "You %{imploreaudio} the %{creationadjective} %{creationaudio} this %{actoradjective} %{actor} %{createdsynonym}",
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.1
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