LittleWeasel 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.idea/workspace.xml +27 -19
- data/README.md +7 -8
- data/lib/LittleWeasel/version.rb +1 -1
- metadata +1 -1
data/.idea/workspace.xml
CHANGED
@@ -2,12 +2,7 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="34d4ec05-51d8-442a-84a5-75b5005cedf0" name="Default" comment="">
|
5
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/LittleWeasel.rb" />
|
6
|
-
<change type="DELETED" beforePath="$PROJECT_DIR$/lib/LittleWeasel/checker.rb" afterPath="" />
|
7
|
-
<change type="MOVED" beforePath="$PROJECT_DIR$/lib/LittleWeasel/dictionary" afterPath="$PROJECT_DIR$/lib/dictionary" />
|
8
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/test/spec_helper.rb" afterPath="$PROJECT_DIR$/test/spec_helper.rb" />
|
9
5
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/LittleWeasel/version.rb" afterPath="$PROJECT_DIR$/lib/LittleWeasel/version.rb" />
|
10
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
11
6
|
</list>
|
12
7
|
<ignored path="LittleWeasel.iws" />
|
13
8
|
<ignored path=".idea/workspace.xml" />
|
@@ -19,6 +14,8 @@
|
|
19
14
|
<file path="/checker.rb" changelist="34d4ec05-51d8-442a-84a5-75b5005cedf0" time="1371778535451" ignored="false" />
|
20
15
|
<file path="/LittleWeasel.gemspec" changelist="34d4ec05-51d8-442a-84a5-75b5005cedf0" time="1371779509067" ignored="false" />
|
21
16
|
<file path="/.gitignore" changelist="34d4ec05-51d8-442a-84a5-75b5005cedf0" time="1371780237152" ignored="false" />
|
17
|
+
<file path="$PROJECT_DIR$/../Junk/Gemfile" changelist="34d4ec05-51d8-442a-84a5-75b5005cedf0" time="1371782248484" ignored="false" />
|
18
|
+
<file path="/README.md" changelist="34d4ec05-51d8-442a-84a5-75b5005cedf0" time="1371782825316" ignored="false" />
|
22
19
|
<option name="TRACKING_ENABLED" value="true" />
|
23
20
|
<option name="SHOW_DIALOG" value="false" />
|
24
21
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -56,10 +53,19 @@
|
|
56
53
|
</provider>
|
57
54
|
</entry>
|
58
55
|
</file>
|
56
|
+
<file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
|
57
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
58
|
+
<provider selected="true" editor-type-id="text-editor">
|
59
|
+
<state line="27" column="40" selection-start="492" selection-end="492" vertical-scroll-proportion="0.0">
|
60
|
+
<folding />
|
61
|
+
</state>
|
62
|
+
</provider>
|
63
|
+
</entry>
|
64
|
+
</file>
|
59
65
|
<file leaf-file-name="checker_spec.rb" pinned="false" current="false" current-in-tab="false">
|
60
66
|
<entry file="file://$PROJECT_DIR$/test/checker/checker_spec.rb">
|
61
67
|
<provider selected="true" editor-type-id="text-editor">
|
62
|
-
<state line="
|
68
|
+
<state line="5" column="47" selection-start="121" selection-end="151" vertical-scroll-proportion="0.0">
|
63
69
|
<folding />
|
64
70
|
</state>
|
65
71
|
</provider>
|
@@ -119,7 +125,6 @@
|
|
119
125
|
<component name="IdeDocumentHistory">
|
120
126
|
<option name="changedFiles">
|
121
127
|
<list>
|
122
|
-
<option value="$PROJECT_DIR$/README.md" />
|
123
128
|
<option value="$PROJECT_DIR$/Rakefile" />
|
124
129
|
<option value="$PROJECT_DIR$/Gemfile" />
|
125
130
|
<option value="$PROJECT_DIR$/spec/spec_helper.rb" />
|
@@ -131,6 +136,7 @@
|
|
131
136
|
<option value="$PROJECT_DIR$/lib/checker.rb" />
|
132
137
|
<option value="$PROJECT_DIR$/lib/LittleWeasel.rb" />
|
133
138
|
<option value="$PROJECT_DIR$/test/spec_helper.rb" />
|
139
|
+
<option value="$PROJECT_DIR$/README.md" />
|
134
140
|
<option value="$PROJECT_DIR$/lib/LittleWeasel/version.rb" />
|
135
141
|
</list>
|
136
142
|
</option>
|
@@ -523,11 +529,6 @@
|
|
523
529
|
</state>
|
524
530
|
</provider>
|
525
531
|
</entry>
|
526
|
-
<entry file="file://$PROJECT_DIR$/README.md">
|
527
|
-
<provider selected="true" editor-type-id="text-editor">
|
528
|
-
<state line="17" column="0" selection-start="226" selection-end="226" vertical-scroll-proportion="0.387538" />
|
529
|
-
</provider>
|
530
|
-
</entry>
|
531
532
|
<entry file="file://$PROJECT_DIR$/test/spec.opts">
|
532
533
|
<provider selected="true" editor-type-id="text-editor">
|
533
534
|
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
@@ -553,13 +554,6 @@
|
|
553
554
|
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
554
555
|
</provider>
|
555
556
|
</entry>
|
556
|
-
<entry file="file://$PROJECT_DIR$/test/checker/checker_spec.rb">
|
557
|
-
<provider selected="true" editor-type-id="text-editor">
|
558
|
-
<state line="26" column="1" selection-start="726" selection-end="726" vertical-scroll-proportion="0.0">
|
559
|
-
<folding />
|
560
|
-
</state>
|
561
|
-
</provider>
|
562
|
-
</entry>
|
563
557
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
564
558
|
<provider selected="true" editor-type-id="text-editor">
|
565
559
|
<state line="5" column="12" selection-start="110" selection-end="110" vertical-scroll-proportion="0.0">
|
@@ -595,6 +589,20 @@
|
|
595
589
|
</state>
|
596
590
|
</provider>
|
597
591
|
</entry>
|
592
|
+
<entry file="file://$PROJECT_DIR$/test/checker/checker_spec.rb">
|
593
|
+
<provider selected="true" editor-type-id="text-editor">
|
594
|
+
<state line="5" column="47" selection-start="121" selection-end="151" vertical-scroll-proportion="0.0">
|
595
|
+
<folding />
|
596
|
+
</state>
|
597
|
+
</provider>
|
598
|
+
</entry>
|
599
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
600
|
+
<provider selected="true" editor-type-id="text-editor">
|
601
|
+
<state line="27" column="40" selection-start="492" selection-end="492" vertical-scroll-proportion="0.0">
|
602
|
+
<folding />
|
603
|
+
</state>
|
604
|
+
</provider>
|
605
|
+
</entry>
|
598
606
|
<entry file="file://$PROJECT_DIR$/lib/LittleWeasel/version.rb">
|
599
607
|
<provider selected="true" editor-type-id="text-editor">
|
600
608
|
<state line="1" column="18" selection-start="38" selection-end="38" vertical-scroll-proportion="0.031446543">
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# LittleWeasel
|
2
2
|
|
3
|
-
|
3
|
+
Simple spell checker using an english dictionary.
|
4
|
+
Taken from https://github.com/jmuthya/spell_checker.
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -18,21 +19,19 @@ Or install it yourself as:
|
|
18
19
|
|
19
20
|
## Usage
|
20
21
|
|
21
|
-
|
22
|
+
require 'LittleWeasel'
|
23
|
+
|
24
|
+
LittleWeasel::Checker.instance.exists?('word') # true if exists in the dictionary, false otherwise.
|
22
25
|
|
23
26
|
## Contributing
|
24
27
|
|
25
|
-
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
28
|
+
1Not open to contributions at this time.
|
30
29
|
|
31
30
|
## License
|
32
31
|
|
33
32
|
(The MIT License)
|
34
33
|
|
35
|
-
Copyright ©
|
34
|
+
Copyright © 2013 Gene M. Angelo, Jr.
|
36
35
|
|
37
36
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
38
37
|
|
data/lib/LittleWeasel/version.rb
CHANGED