quijotipsum_api 0.1 → 0.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.
Files changed (2) hide show
  1. data/README.markdown +9 -8
  2. metadata +4 -4
@@ -1,25 +1,26 @@
1
1
  An Interface to Quijotipsum.com written in Ruby
2
2
  ===============================================
3
3
 
4
- (IT'S NOT WORKING YET... it's lunch time by the time I'm committing this thingy!)
5
-
6
4
  It provides an API and a terminal command.
7
5
 
8
6
 
9
7
  Installation
10
8
  ------------
11
- ``gem install quijotipsum_api``
12
-
9
+ ```
10
+ $ gem install quijotipsum_api
11
+ $ quijotipsum paragraphs 2
12
+ ```
13
13
 
14
14
  Usage
15
15
  -----
16
16
  Requiring quijotipsum_api will add the next methods to any Fixnum:
17
17
 
18
- * QuijotipsumAPI#lipsum_words -> "En un lugar de la Mancha, de cuyo nombre no quiero acordarme"
19
- * QuijotipsumAPI#lipsum_paragraphs -> ["En un lugar de la Mancha, de cuyo nombre no quiero acordarme...", ...]
20
-
18
+ * QuijotipsumAPI#quijotipsum_words -> "En un lugar de la Mancha, de cuyo nombre no quiero acordarme"
19
+ * QuijotipsumAPI#quijotipsum_paragraphs -> ["En un lugar de la Mancha, de cuyo nombre no quiero acordarme...", ...]
20
+ ```ruby
21
21
  require 'rubygems'
22
22
  require 'quijotipsum'
23
23
 
24
24
  puts 6.quijotipsum_words
25
- puts 2.quijotipsum_paragraphs
25
+ puts 2.quijotipsum_paragraphs
26
+ ```
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quijotipsum_api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- version: "0.1"
8
+ - 2
9
+ version: "0.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Vicente Reig Rinc\xC3\xB3n de Arellano"
@@ -59,7 +59,7 @@ files:
59
59
  - LICENSE
60
60
  - README.markdown
61
61
  has_rdoc: true
62
- homepage: http://github.com/vicentereig/quijotipsum-api
62
+ homepage: http://github.com/vicentereig/quijotipsum_api
63
63
  licenses: []
64
64
 
65
65
  post_install_message: