ru_bee 0.0.4

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.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OWU0ODlkMjljZDgzZTEwYTVkYjI2MmVhMzRkZTk4MGYyN2E0YTQwNg==
5
+ data.tar.gz: !binary |-
6
+ MGNiZWJkNzk2OTFiOTliMDEwMjBkZWVhYmYwMTFkN2Q3ZjdlMzNjNg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjRkYWQ2NWQzOGM3YmUzMWRlYzI5Y2EzYjZlZDRhMDc3YWI3ZDljNDU2Mjc5
10
+ Y2NjZmE1ZTA5YWQzMTZmZDViOGViZTA2ZDFmZGQ3N2MwNWE1ZTc5NTYxODlk
11
+ MDgwZmNmOWY1Y2MxNGZjMDdkMTFjNTUyNTAxMDY2ZDljYjE0MGM=
12
+ data.tar.gz: !binary |-
13
+ YjUyNDdmYjcwY2MxNmNiMzUwNjY0N2JhMmI4MjE5MjYzNjhkYzJiMzE4MTUx
14
+ ZTI1ZDY4ZmYyMmYwZWMzMjExNmY3NGUwZWRiZDFiZDAzM2E4N2RiOTYwY2Zk
15
+ NzJjZTNlZTJhZTI5MjA1MjRhZGFkZGVkMzkwM2NkZGE3ZjdjZjk=
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.swo
16
+ *.swp
17
+ *.swn
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in ru_bee.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 dan
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # RuBee
2
+
3
+ Spellcheck for Ruby String.
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'ru_bee'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install ru_bee
21
+
22
+ ## Usage
23
+
24
+ `#correct?`
25
+
26
+ ######boolean
27
+
28
+ Does the string contain a misspelling?
29
+
30
+ ######arguments
31
+
32
+ `#correct? language: 'english'`
33
+
34
+ Other languages coming...
35
+
36
+
37
+ `"This is a correct sentence. It works well and is pretty cool. You can also use numbers 123!".correct?`
38
+
39
+ ##### `=> true`
40
+
41
+ `"This santence contains a typo.".correct?`
42
+
43
+ ##### `=> false`
44
+
45
+
46
+ ## Contributing
47
+
48
+ #### Dictionaries
49
+ Add issue or submit pull request to add different languages or make additions to the library.
50
+ Each dictionary is in lib/dictionaries
51
+
52
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+