hoygancop 0.0.1 → 0.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -12,35 +12,43 @@ In your Gemfile:
12
12
 
13
13
  # Usage
14
14
 
15
- require 'hoygancop'
15
+ ```Ruby
16
+ require 'hoygancop'
17
+ ```
16
18
 
17
19
  ## Hoygan detection
18
20
 
19
21
  For simple detection of Hoygans:
20
22
 
21
- Hoygancop.hoygan?("HOYGAN AYUDENME TENGO UN PROBLEMA POR FAVOR?????")
22
- # => true
23
+ ```Ruby
24
+ Hoygancop.hoygan?("HOYGAN AYUDENME TENGO UN PROBLEMA POR FAVOR?????")
25
+ # => true
26
+ ```
23
27
 
24
28
  For correcting Hoygans:
25
29
 
26
- Hoygancop.correct("HOYGAN TENGO UN PROBLEMA AYUDENME!!!!!!!!!!")
27
- # => 'Perdonen tengo un problema ¿me podrían ayudar?'
30
+ ```Ruby
31
+ Hoygancop.correct("HOYGAN TENGO UN PROBLEMA AYUDENME!!!!!!!!!!")
32
+ # => 'Perdonen tengo un problema ¿me podrían ayudar?'
33
+ ```
28
34
 
29
35
  For the full report of Hoygan reasons:
30
36
 
31
- Hoygancop.report("HOYGAN TENGO UN PROBLEMA AYUDENME!!!!!!!!!!")
32
- # => [:starts_with_hoygan, :ayudenme, :too_much_marks, :too_much_caps]
37
+ ```Ruby
38
+ Hoygancop.report("HOYGAN TENGO UN PROBLEMA AYUDENME!!!!!!!!!!")
39
+ # => [:starts_with_hoygan, :ayudenme, :too_much_marks, :too_much_caps]
40
+ ```
33
41
 
34
42
  # TODO
35
43
 
36
- * Write a hoygan_validations gem for easy Rails 3 integration
37
- * Extend with more hoygan rules
38
- * World domination
44
+ * Write a hoygan_validations gem for easy Rails 3 integration
45
+ * Extend with more hoygan rules
46
+ * World domination
39
47
 
40
- # Just for the lulz
48
+ ## Just for the lulz
41
49
 
42
- * Write a Twitter bot (heck yes, I registered @hoygancop)
43
- * Create a REST service for easy hoygan detection
50
+ * Write a Twitter bot (heck yes, I registered @hoygancop)
51
+ * Create a REST service for easy hoygan detection
44
52
 
45
53
  # Contributions
46
54
 
@@ -52,4 +60,4 @@ You can extend hoygancop with more rules easily. Just take a look at `lib/hoygan
52
60
 
53
61
  # Contributors
54
62
 
55
- * @josepjaume
63
+ [Full list of contributors](https://github.com/scumbag/hoygancop/contributors)
File without changes
@@ -1,3 +1,3 @@
1
1
  module Hoygancop
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoygancop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
16
- requirement: &70240654715640 !ruby/object:Gem::Requirement
16
+ requirement: &70255104157360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70240654715640
24
+ version_requirements: *70255104157360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mocha
27
- requirement: &70240654715040 !ruby/object:Gem::Requirement
27
+ requirement: &70255104156880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70240654715040
35
+ version_requirements: *70255104156880
36
36
  description: A gem for easy detection and correction of hoygans
37
37
  email:
38
38
  - josepjaume@gmail.com
@@ -46,7 +46,7 @@ files:
46
46
  - Guardfile
47
47
  - Rakefile
48
48
  - Readme.md
49
- - hoygan.gemspec
49
+ - hoygancop.gemspec
50
50
  - lib/hoygancop.rb
51
51
  - lib/hoygancop/rules.rb
52
52
  - lib/hoygancop/rules/ayudenme.rb