augury 0.2.0 → 0.2.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/augury.gemspec +1 -1
  3. data/lib/augury/version.rb +1 -1
  4. metadata +3 -138
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9658042a5e949c0611f9e7044dac8f8d5f5a4b4b
4
- data.tar.gz: 0d6b3d19af712ddde14d4690c00e3c721ba5521e
3
+ metadata.gz: a745ff0e70cbdadbaf9dd4415b1edb16ec0bb87d
4
+ data.tar.gz: 34a82cf9069b55127f301c6a54c623fea08866d0
5
5
  SHA512:
6
- metadata.gz: 08b35032107de0c6f05119eeadf8b6bc2316ae5904105c84ef5ff6655642b49223ed36932e987abcedad3462dc3926e07e7f67ab83b2de2fb1bf25e49f356a00
7
- data.tar.gz: c8bbbfefdcc61cf07844543e7a7e14e0bb074655ed867ce271279155398046a81995feaa5242a6b61aed097cea1c46e6518b06b3892c6aacd244d1f53224ac4b
6
+ metadata.gz: 6470c46d253a9315362d40d7035b516b7db8e69c936c2042b76a172fe145658d5e43f5f08185510715d92cafc65995cd91b9cc2f95ae60df549338de39c2d809
7
+ data.tar.gz: 6f4e38961aa97d87c085c2b7c9b5f007536eb5b5f6a21026420842c2afb39afc5a70ab3546ae3033a9ea37a96c08c4ea74afdb8c1106f64a519697e158d15101
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["robots@claytron.com"]
11
11
 
12
12
  spec.summary = %q{Turn a twitter feed into a fortune file}
13
- spec.description = File.open('README.md').read
13
+ spec.description = %q{This gem turns a twitter feed into a fortune file that you can use with the fortune program}
14
14
  spec.homepage = "https://github.com/claytron/augury"
15
15
  spec.license = "MIT"
16
16
 
@@ -1,3 +1,3 @@
1
1
  module Augury
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: augury
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clayton Parker
@@ -220,143 +220,8 @@ dependencies:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
- description: |
224
- # Augury
225
-
226
- Have you ever wanted to turn a twitter account into a fortune file?
227
- Well, today is your lucky day!
228
-
229
- Here is an example:
230
-
231
- ```
232
- $ augury generate SeinfeldToday
233
- ```
234
-
235
- This just created the fortune files in the current directory:
236
-
237
- ```
238
- $ ls
239
- SeinfeldToday SeinfeldToday.dat
240
- ```
241
-
242
- You can now read the new fortunes!
243
-
244
- ```
245
- $ fortune SeinfeldToday
246
- Elaine has no idea what her BF does for a living and it's now too
247
- late to ask. E:"Teacher, I think. Or a doctor? Wait Is
248
- 'computers' a job?"
249
- ```
250
-
251
- Thanks for all the laughs fortune :)
252
-
253
- ## Installation
254
-
255
- Add this line to your application's Gemfile:
256
-
257
- ```ruby
258
- gem 'augury'
259
- ```
260
-
261
- And then execute:
262
-
263
- ```
264
- $ bundle
265
- ```
266
-
267
- Or install it yourself as:
268
-
269
- ```
270
- $ gem install augury
271
- ```
272
-
273
- ### Requirements
274
-
275
- This gem requires that the fortune program is also installed.
276
- The fortune program ships with a `strfile` program that converts the plain text files to something that fortune can select from.
277
-
278
- For example,
279
- if you are using Homebrew on OS X:
280
-
281
- ```
282
- $ brew install fortune
283
- ```
284
-
285
- ## Configuration
286
-
287
- ### Augury Config
288
-
289
- Create the `~/.augry.cfg` file and then set the permissions since your Twitter API info will be in there.
290
-
291
- ```sh
292
- $ touch ~/.augury.cfg
293
- $ chmod 600 ~/.augury.cfg
294
- ```
295
-
296
- Set any of these settings in the `augury` section of the config like this:
297
-
298
- ```ini
299
- [augury]
300
- example_option = "An interesting value"
301
- ```
302
-
303
- ### Option list
304
-
305
- These are the available options for the `~/.augury.cfg`
306
-
307
- - `append` Make the script add more entries to the specified file instead of re-writing it. DEFAULT: False
308
- - `width` Set the default width used if none is given on the command line. DEFAULT: 72
309
-
310
- ### Twitter Setup
311
-
312
- First, you will need to create a new Twitter application by going here:
313
- https://apps.twitter.com
314
-
315
- This will give you the ability to generate the consumer and access information used below.
316
-
317
- Add the following to your `~/.augury.cfg` file.
318
-
319
- ```ini
320
- [twitter]
321
- consumer_key = "YOUR_CONSUMER_KEY"
322
- consumer_secret = "YOUR_CONSUMER_SECRET"
323
- access_token = "YOUR_ACCESS_TOKEN"
324
- access_token_secret = "YOUR_ACCESS_SECRET"
325
- ```
326
-
327
- ## Usage
328
-
329
- Create a fortune for the latest SeinfeldToday tweets.
330
-
331
- ```
332
- $ augury generate SeinfeldToday
333
- ```
334
-
335
- Now you have some fortunes.
336
-
337
- ```
338
- $ fortune SeinfeldToday
339
- ```
340
-
341
- ## Development
342
-
343
- After checking out the repo, run `bin/setup` to install dependencies.
344
- Then, run `rake spec` to run the tests.
345
- You can also run `bin/console` for an interactive prompt that will allow you to experiment.
346
-
347
- To install this gem onto your local machine, run `bundle exec rake install`.
348
- To release a new version, update the version number in `version.rb`,
349
- and then run `bundle exec rake release`,
350
- which will create a git tag for the version,
351
- push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
352
-
353
- ## Contributing
354
-
355
- Bug reports and pull requests are welcome on GitHub at https://github.com/claytron/augury.
356
-
357
- ## License
358
-
359
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
223
+ description: This gem turns a twitter feed into a fortune file that you can use with
224
+ the fortune program
360
225
  email:
361
226
  - robots@claytron.com
362
227
  executables: