catspeak 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -0
- data/catspeak.gemspec +6 -3
- data/lib/catspeak.rb +4 -2
- data/lib/catspeak/cat.rb +24 -0
- data/lib/catspeak/encrypter.rb +18 -0
- data/lib/catspeak/translator.rb +88 -0
- data/lib/catspeak/version.rb +1 -1
- data/spec/cat_spec.rb +20 -0
- data/spec/catspeak_spec.rb +11 -0
- data/spec/translator_spec.rb +46 -0
- metadata +21 -5
- data/catspeak.sublime-project +0 -8
- data/catspeak.sublime-workspace +0 -603
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/catspeak.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
3
|
require "catspeak/version"
|
4
4
|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.homepage = ""
|
11
11
|
s.summary = %q{Catspeak provides translation between English and Cats' language}
|
12
12
|
s.description = %q{You can view it as some kind of encryption and decrpytion gem........... but cats do speak.}
|
13
|
-
|
13
|
+
# TODO: write better description
|
14
14
|
s.rubyforge_project = "catspeak"
|
15
15
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
@@ -19,6 +19,9 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
21
|
# specify any dependencies here; for example:
|
22
|
-
|
22
|
+
s.add_development_dependency "rspec"
|
23
23
|
# s.add_runtime_dependency "rest-client"
|
24
24
|
end
|
25
|
+
|
26
|
+
|
27
|
+
|
data/lib/catspeak.rb
CHANGED
data/lib/catspeak/cat.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'catspeak/translator'
|
2
|
+
|
3
|
+
|
4
|
+
module Catspeak
|
5
|
+
|
6
|
+
class Cat
|
7
|
+
include Translator::CatLang
|
8
|
+
|
9
|
+
attr_accessor :name
|
10
|
+
|
11
|
+
def initialize(name = '')
|
12
|
+
@name = name
|
13
|
+
end
|
14
|
+
|
15
|
+
def speak(statement = '')
|
16
|
+
human_to_cat(@name,statement)
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'openssl'
|
2
|
+
|
3
|
+
module Encrypter
|
4
|
+
def self.cipher(mode, key, text)
|
5
|
+
cipher = OpenSSL::Cipher::Cipher.new('bf-cbc').send(mode)
|
6
|
+
cipher.key = Digest::SHA256.digest(key)
|
7
|
+
cipher.update(text) << cipher.final
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.encrypt(key, text)
|
11
|
+
cipher(:encrypt, key, text)
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.decrypt(key, text)
|
15
|
+
cipher(:decrypt, key, text)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
@@ -0,0 +1,88 @@
|
|
1
|
+
require 'catspeak/encrypter'
|
2
|
+
#require 'Zlib'
|
3
|
+
|
4
|
+
module Translator
|
5
|
+
module NumberLang
|
6
|
+
def human_to_number(name, human_text)
|
7
|
+
number_text = human_text
|
8
|
+
#number_text = Zlib::deflate(human_text, 1)
|
9
|
+
number_text = Encrypter.encrypt(name, number_text)
|
10
|
+
#number_text = Zlib::deflate(number_text, 1)
|
11
|
+
number_text = number_text.bytes.to_a
|
12
|
+
number_text
|
13
|
+
end
|
14
|
+
|
15
|
+
|
16
|
+
def number_to_human(name, number_text)
|
17
|
+
human_text = ''
|
18
|
+
number_text.each {|i| human_text = human_text + i.chr}
|
19
|
+
#human_text = Zlib::inflate(human_text)
|
20
|
+
human_text = Encrypter.decrypt(name,human_text)
|
21
|
+
#human_text = Zlib::inflate(human_text)
|
22
|
+
human_text
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
module CatLang
|
28
|
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,
|
60
|
+
'i' ,'i ' ,'i~' ,'i?' ,'i^' ,'i^ ' ,'i? ' ,'i~~' ,'ii' ,'ii~' ,
|
61
|
+
'i-' ,'o^' ,'o' ,'mm' ,'mw']
|
62
|
+
end
|
63
|
+
|
64
|
+
def number_to_cat(number_text)
|
65
|
+
cat_text = ''
|
66
|
+
number_text.each {|i| cat_text = cat_text + cat_char + cat_dict[i] }
|
67
|
+
cat_text
|
68
|
+
end
|
69
|
+
|
70
|
+
def cat_to_number(cat_text)
|
71
|
+
number_text = cat_text.split(cat_char)
|
72
|
+
number_text.delete_at(0)
|
73
|
+
number_text.each_index {|i| number_text[i] = cat_dict.index(number_text[i])}
|
74
|
+
number_text
|
75
|
+
end
|
76
|
+
|
77
|
+
def human_to_cat(name, human_text)
|
78
|
+
number_text = human_to_number(name, human_text)
|
79
|
+
cat_text = number_to_cat(number_text)
|
80
|
+
end
|
81
|
+
|
82
|
+
def cat_to_human(name, cat_text)
|
83
|
+
number_text = cat_to_number(cat_text)
|
84
|
+
number_to_human(name, number_text)
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
88
|
+
end
|
data/lib/catspeak/version.rb
CHANGED
data/spec/cat_spec.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'catspeak/cat'
|
2
|
+
|
3
|
+
describe 'Cat' do
|
4
|
+
it "should have a name" do
|
5
|
+
Catspeak::Cat.new().should respond_to :name
|
6
|
+
end
|
7
|
+
|
8
|
+
it "can be named" do
|
9
|
+
Catspeak::Cat.new('Kitty').name.should eq('Kitty')
|
10
|
+
end
|
11
|
+
|
12
|
+
it "should speak" do
|
13
|
+
Catspeak::Cat.new('Kitty').should respond_to :speak
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should speak something meaningful" do
|
17
|
+
Catspeak::Cat.new('Kitty').speak('Hello').should == 'Me!M Mow^Mu!Mow~MEOW!!!Me~~Ma'
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'catspeak\Translator'
|
2
|
+
|
3
|
+
describe "NumberLang" do
|
4
|
+
include Translator::NumberLang
|
5
|
+
it "should translate human lang to number lang" do
|
6
|
+
#human_to_number("Kitty","Hello").should == [120, 1, 147, 246, 154, 225, 59, 249, 211, 171, 211, 61, 235, 118, 78, 153, 145, 184, 240, 24, 0, 73, 199, 9, 108]
|
7
|
+
human_to_number("Kitty","Hello").should == [24, 0, 44, 115, 55, 197, 247, 99]
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should translate number lang to human lang" do
|
11
|
+
#number_to_human("Kitty",[120, 1, 147, 246, 154, 225, 59, 249, 211, 171, 211, 61, 235, 118, 78, 153, 145, 184, 240, 24, 0, 73, 199, 9, 108]).should == "Hello"
|
12
|
+
number_to_human("Kitty",[24, 0, 44, 115, 55, 197, 247, 99]).should == "Hello"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
describe "CatLang" do
|
17
|
+
include Translator::CatLang
|
18
|
+
|
19
|
+
it "should translate cat lang to number lang" do
|
20
|
+
cat_to_number('Mea!MeowMaao!').should == [120, 1, 147]
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should translate number lang to cat lang" do
|
24
|
+
number_to_cat([120, 1, 147]).should == 'Mea!MeowMaao!'
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should translate human lang to cat lang" do
|
28
|
+
human_to_cat("Kitty","Hello").should == 'MM M^Mu!M~MEOW!!!Mi? Ma'
|
29
|
+
end
|
30
|
+
|
31
|
+
it "should translate cat lang to human lang" do
|
32
|
+
cat_to_human("Kitty",'MM M^Mu!M~MEOW!!!Mi? Ma').should == "Hello"
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should be consistent in translating betwen cat and human lang" do
|
36
|
+
cat_to_human("Kitty", human_to_cat("Kitty",'How are you doing?')).should == 'How are you doing?'
|
37
|
+
end
|
38
|
+
|
39
|
+
it "should have dictionary with length 256" do
|
40
|
+
cat_dict.length.should eq(256)
|
41
|
+
end
|
42
|
+
|
43
|
+
it "should have dictionary with unique words" do
|
44
|
+
cat_dict.uniq.should eq(cat_dict)
|
45
|
+
end
|
46
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catspeak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
13
|
-
dependencies:
|
12
|
+
date: 2012-03-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &25745700 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *25745700
|
14
25
|
description: You can view it as some kind of encryption and decrpytion gem...........
|
15
26
|
but cats do speak.
|
16
27
|
email:
|
@@ -20,13 +31,18 @@ extensions: []
|
|
20
31
|
extra_rdoc_files: []
|
21
32
|
files:
|
22
33
|
- .gitignore
|
34
|
+
- .rspec
|
23
35
|
- Gemfile
|
24
36
|
- Rakefile
|
25
37
|
- catspeak.gemspec
|
26
|
-
- catspeak.sublime-project
|
27
|
-
- catspeak.sublime-workspace
|
28
38
|
- lib/catspeak.rb
|
39
|
+
- lib/catspeak/cat.rb
|
40
|
+
- lib/catspeak/encrypter.rb
|
41
|
+
- lib/catspeak/translator.rb
|
29
42
|
- lib/catspeak/version.rb
|
43
|
+
- spec/cat_spec.rb
|
44
|
+
- spec/catspeak_spec.rb
|
45
|
+
- spec/translator_spec.rb
|
30
46
|
homepage: ''
|
31
47
|
licenses: []
|
32
48
|
post_install_message:
|
data/catspeak.sublime-project
DELETED
data/catspeak.sublime-workspace
DELETED
@@ -1,603 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"auto_complete":
|
3
|
-
{
|
4
|
-
"selected_items":
|
5
|
-
[
|
6
|
-
[
|
7
|
-
"ins",
|
8
|
-
"insheet-string insheet_string"
|
9
|
-
],
|
10
|
-
[
|
11
|
-
"ge",
|
12
|
-
"gre grep(/pattern/) { |match| .. }"
|
13
|
-
],
|
14
|
-
[
|
15
|
-
"do",
|
16
|
-
"dob Insert do |variable| … end"
|
17
|
-
],
|
18
|
-
[
|
19
|
-
"def",
|
20
|
-
"def def … end"
|
21
|
-
],
|
22
|
-
[
|
23
|
-
"put",
|
24
|
-
"putc (function)"
|
25
|
-
],
|
26
|
-
[
|
27
|
-
"pri",
|
28
|
-
"print (function)"
|
29
|
-
],
|
30
|
-
[
|
31
|
-
"tes",
|
32
|
-
"testing (function)"
|
33
|
-
],
|
34
|
-
[
|
35
|
-
"eac",
|
36
|
-
"each (function)"
|
37
|
-
],
|
38
|
-
[
|
39
|
-
"times",
|
40
|
-
"times (function)"
|
41
|
-
],
|
42
|
-
[
|
43
|
-
"res",
|
44
|
-
"rescue (function)"
|
45
|
-
]
|
46
|
-
]
|
47
|
-
},
|
48
|
-
"buffers":
|
49
|
-
[
|
50
|
-
],
|
51
|
-
"build_system": "",
|
52
|
-
"command_palette":
|
53
|
-
{
|
54
|
-
"height": 392.0,
|
55
|
-
"selected_items":
|
56
|
-
[
|
57
|
-
[
|
58
|
-
"Snippet: ",
|
59
|
-
"Snippet: #!/usr/bin/env"
|
60
|
-
],
|
61
|
-
[
|
62
|
-
"proj",
|
63
|
-
"Project: Close"
|
64
|
-
],
|
65
|
-
[
|
66
|
-
"project",
|
67
|
-
"Project: Close"
|
68
|
-
],
|
69
|
-
[
|
70
|
-
"package",
|
71
|
-
"Package Control: Install Package"
|
72
|
-
],
|
73
|
-
[
|
74
|
-
"pack",
|
75
|
-
"Package Control: Upgrade Package"
|
76
|
-
],
|
77
|
-
[
|
78
|
-
"git",
|
79
|
-
"Git: Custom Command"
|
80
|
-
],
|
81
|
-
[
|
82
|
-
"ruby",
|
83
|
-
"Set Syntax: Ruby"
|
84
|
-
],
|
85
|
-
[
|
86
|
-
"comm",
|
87
|
-
"Git: Custom Command"
|
88
|
-
],
|
89
|
-
[
|
90
|
-
"gitk",
|
91
|
-
"Git: Quick Commit"
|
92
|
-
],
|
93
|
-
[
|
94
|
-
"git cu",
|
95
|
-
"Git: Custom Command"
|
96
|
-
],
|
97
|
-
[
|
98
|
-
"install ",
|
99
|
-
"Package Control: Install Package"
|
100
|
-
],
|
101
|
-
[
|
102
|
-
"plain",
|
103
|
-
"Set Syntax: Plain Text"
|
104
|
-
],
|
105
|
-
[
|
106
|
-
"text",
|
107
|
-
"Set Syntax: reStructuredText"
|
108
|
-
],
|
109
|
-
[
|
110
|
-
"mul",
|
111
|
-
"Set Syntax: MultiMarkdown"
|
112
|
-
],
|
113
|
-
[
|
114
|
-
"mark",
|
115
|
-
"Set Syntax: Markdown"
|
116
|
-
],
|
117
|
-
[
|
118
|
-
"yam",
|
119
|
-
"Set Syntax: YAML"
|
120
|
-
],
|
121
|
-
[
|
122
|
-
"xml",
|
123
|
-
"Set Syntax: XML"
|
124
|
-
],
|
125
|
-
[
|
126
|
-
"arb",
|
127
|
-
"Git: Arbitrary Command"
|
128
|
-
],
|
129
|
-
[
|
130
|
-
"rails",
|
131
|
-
"Set Syntax: Ruby on Rails"
|
132
|
-
],
|
133
|
-
[
|
134
|
-
"close",
|
135
|
-
"Project: Close"
|
136
|
-
],
|
137
|
-
[
|
138
|
-
"acc",
|
139
|
-
"Snippet: attr_accessor .."
|
140
|
-
],
|
141
|
-
[
|
142
|
-
"each",
|
143
|
-
"Snippet: each { |e| .. }"
|
144
|
-
],
|
145
|
-
[
|
146
|
-
"git add",
|
147
|
-
"Git: Add Current File"
|
148
|
-
],
|
149
|
-
[
|
150
|
-
"open",
|
151
|
-
"View: Toggle Open Files in Side Bar"
|
152
|
-
],
|
153
|
-
[
|
154
|
-
"",
|
155
|
-
"About"
|
156
|
-
],
|
157
|
-
[
|
158
|
-
"termin",
|
159
|
-
"Git: Terminal Command"
|
160
|
-
],
|
161
|
-
[
|
162
|
-
"term",
|
163
|
-
"Git: Terminal Command"
|
164
|
-
],
|
165
|
-
[
|
166
|
-
"git ",
|
167
|
-
"Git: Custom Command"
|
168
|
-
],
|
169
|
-
[
|
170
|
-
"git stat",
|
171
|
-
"Git: Status"
|
172
|
-
],
|
173
|
-
[
|
174
|
-
"git com",
|
175
|
-
"Set Syntax: Git Commit Message"
|
176
|
-
],
|
177
|
-
[
|
178
|
-
"git gui",
|
179
|
-
"Git: Graph Current File"
|
180
|
-
],
|
181
|
-
[
|
182
|
-
"git commit",
|
183
|
-
"Git: Commit"
|
184
|
-
],
|
185
|
-
[
|
186
|
-
"gitcom",
|
187
|
-
"Git: Commit"
|
188
|
-
],
|
189
|
-
[
|
190
|
-
"instal",
|
191
|
-
"Package Control: Install Package"
|
192
|
-
],
|
193
|
-
[
|
194
|
-
"inst",
|
195
|
-
"Package Control: Install Package"
|
196
|
-
],
|
197
|
-
[
|
198
|
-
"install",
|
199
|
-
"Package Control: Install Package"
|
200
|
-
],
|
201
|
-
[
|
202
|
-
"f",
|
203
|
-
"Snippet: find { |e| .. }"
|
204
|
-
],
|
205
|
-
[
|
206
|
-
"fold",
|
207
|
-
"Code Folding: Unfold All"
|
208
|
-
],
|
209
|
-
[
|
210
|
-
"folding",
|
211
|
-
"Code Folding: Fold Tag Attributes"
|
212
|
-
],
|
213
|
-
[
|
214
|
-
"#!",
|
215
|
-
"Snippet: #!/usr/bin/env ruby -wKU"
|
216
|
-
],
|
217
|
-
[
|
218
|
-
"snippets",
|
219
|
-
"Snippet: #!/usr/bin/env ruby -wKU"
|
220
|
-
],
|
221
|
-
[
|
222
|
-
"insl",
|
223
|
-
"Package Control: Install Package"
|
224
|
-
],
|
225
|
-
[
|
226
|
-
"Package Control: instal",
|
227
|
-
"Package Control: Install Package"
|
228
|
-
]
|
229
|
-
],
|
230
|
-
"width": 536.0
|
231
|
-
},
|
232
|
-
"console":
|
233
|
-
{
|
234
|
-
"height": 239.0
|
235
|
-
},
|
236
|
-
"distraction_free":
|
237
|
-
{
|
238
|
-
"menu_visible": true,
|
239
|
-
"show_minimap": false,
|
240
|
-
"show_open_files": false,
|
241
|
-
"show_tabs": false,
|
242
|
-
"side_bar_visible": false,
|
243
|
-
"status_bar_visible": false
|
244
|
-
},
|
245
|
-
"file_history":
|
246
|
-
[
|
247
|
-
"/D/dropbox/WorkSpaces/RubySpace/test_octopress/.gitignore",
|
248
|
-
"/D/dropbox/Programs/Notepad++/config.xml",
|
249
|
-
"/C/Users/tomtom/Desktop/a.txt",
|
250
|
-
"/D/dropbox/WorkSpaces/RubySpace/lorem/lorem.gemspec",
|
251
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/test/client_call2.rb",
|
252
|
-
"/D/dropbox/WorkSpaces/VSSpace/Projects/Michelle/Michelle/bin/ruby/bin/irb",
|
253
|
-
"/D/dropbox/WorkSpaces/VSSpace/Projects/Michelle/Michelle/bin/ruby/share/man/man1/ruby.1",
|
254
|
-
"/D/dropbox/WorkSpaces/VSSpace/Projects/Michelle/Michelle/bin/ruby/share/man/man1/irb.1",
|
255
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/test.txt",
|
256
|
-
"/D/dropbox/WorkSpaces/test2.txt",
|
257
|
-
"/D/dropbox/WorkSpaces/test.txt",
|
258
|
-
"/D/dropbox/WorkSpaces/diff.txt",
|
259
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/Gemfile",
|
260
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/Rakefile",
|
261
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/lib/michelle/server.rb",
|
262
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/test/test_code.rb",
|
263
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Default/Preferences.sublime-settings",
|
264
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/User/Ruby.sublime-settings",
|
265
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/test.rb",
|
266
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/a.gemspec",
|
267
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/lib/testing.rb",
|
268
|
-
"/D/dropbox/WorkSpaces/RubySpace/michelle/lib/testing.txt",
|
269
|
-
"/D/dropbox/WorkSpaces/RubySpace/lorem/lib/lorem/version.rb",
|
270
|
-
"/D/dropbox/WorkSpaces/RubySpace/lorem/lib/lorem/lorem2.rb",
|
271
|
-
"/D/dropbox/WorkSpaces/RubySpace/lorem/lib/lorem/lorem3.rb",
|
272
|
-
"/D/dropbox/WorkSpaces/RubySpace/lorem/lib/lorem.rb",
|
273
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Terminal/Default (Windows).sublime-keymap",
|
274
|
-
"/C/Users/tomtom/Desktop/ruby.properties",
|
275
|
-
"/D/dropbox/WorkSpaces/RubySpace/auto_click/auto_click.sublime-project",
|
276
|
-
"/D/dropbox/WorkSpaces/RubySpace/auto_click/auto_click.sublime-workspace",
|
277
|
-
"/D/dropbox/WorkSpaces/RubySpace/auto_click/.gitignore",
|
278
|
-
"/C/Recovery.txt",
|
279
|
-
"/S/Recycler/Text/2008.txt",
|
280
|
-
"/C/Users/tomtom/Desktop/a.do",
|
281
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Stata/test.sublime-snippet",
|
282
|
-
"/C/Users/tomtom/Desktop/testing.do",
|
283
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Stata/genlog.sublime-snippet",
|
284
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Stata/logging.sublime-snippet",
|
285
|
-
"/C/Users/tomtom/Desktop/group_by_search.rb",
|
286
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/.project",
|
287
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/Gemfile",
|
288
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/User/Preferences.sublime-settings",
|
289
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/CHANGELOG",
|
290
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/Rakefile",
|
291
|
-
"/C/Users/tomtom/Desktop/abc.txt",
|
292
|
-
"/C/Users/tomtom/Desktop/mmdays - insurance.txt",
|
293
|
-
"/C/Users/tomtom/Desktop/New Text Document.txt",
|
294
|
-
"/D/Dropbox/programs/Sublime_Text/subl.bat",
|
295
|
-
"/C/Users/tomtom/Desktop/test.rbw",
|
296
|
-
"/C/Users/tomtom/Desktop/test.rb",
|
297
|
-
"/D/Dropbox/Public/email to lskc.txt",
|
298
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/User/Preferences.sublime-settings",
|
299
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Default/Preferences.sublime-settings",
|
300
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/auto_click.sublime-project",
|
301
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/lib/auto_click/user32.rb",
|
302
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/auto_click-0.2.0.gem",
|
303
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/Gemfile.lock",
|
304
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Git/Default.sublime-commands",
|
305
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Git/git.py",
|
306
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/README.rdoc",
|
307
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/lib/auto_click.rb",
|
308
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/erinata.sublime-project",
|
309
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/erinata.sublime-workspace",
|
310
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Default/Global.sublime-settings",
|
311
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/User/Global.sublime-settings",
|
312
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/abc.txt",
|
313
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/app/controllers/greetings_controller.rb",
|
314
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Settings/Session.sublime_session",
|
315
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Terminal/Default (Windows).sublime-keymap",
|
316
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/public/404.html",
|
317
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/app/controllers/application_controller.rb",
|
318
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/Gemfile.lock",
|
319
|
-
"/D/Dropbox/WorkSpaces/RubySpace/erinata/a.rb",
|
320
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/.project",
|
321
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/.gitignore",
|
322
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Git/Git.sublime-settings",
|
323
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Git/package-metadata.json",
|
324
|
-
"/D/New folder/a.txt",
|
325
|
-
"/D/Dropbox/programs/Sublime_Text/Data/Packages/Git/Main.sublime-menu",
|
326
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/config/initializers/wrap_parameters.rb",
|
327
|
-
"/D/Dropbox/programs/Ruby/Devkit452/config.yml",
|
328
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/config/routes.rb",
|
329
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/config.ru",
|
330
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/Procfile",
|
331
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/Gemfile",
|
332
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Ruby/Ruby.tmLanguage",
|
333
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Default/exec.py",
|
334
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Git/Default.sublime-commands",
|
335
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Default/delete_word.py",
|
336
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Default/goto_line.py",
|
337
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Git/git.py",
|
338
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Git/package-metadata.json",
|
339
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Git/Git.sublime-settings",
|
340
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Git/Main.sublime-menu",
|
341
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Git/git.pyc",
|
342
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Default/Base File.sublime-settings",
|
343
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/User/Base File.sublime-settings",
|
344
|
-
"/C/Users/tomtom/Desktop/basic.ics",
|
345
|
-
"/h",
|
346
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/config/application.rb",
|
347
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/app/views/greetings/hello.html.erb",
|
348
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/User/Terminal.sublime-settings",
|
349
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Terminal/Terminal.sublime-settings",
|
350
|
-
"/D/dropbox/WorkSpaces/RubySpace/rails_tutorial/autotest/discover.rb",
|
351
|
-
"/D/dropbox/WorkSpaces/RubySpace/rails_tutorial/app/views/layouts/application.html.erb",
|
352
|
-
"/D/dropbox/WorkSpaces/RubySpace/small_ruby/small_ruby.sublime-project",
|
353
|
-
"/D/dropbox/WorkSpaces/RubySpace/rails_tutorial/rails_tutorial.sublime-project",
|
354
|
-
"/D/dropbox/WorkSpaces/RubySpace/ruby.sublime-workspace",
|
355
|
-
"/D/dropbox/WorkSpaces/RubySpace/ruby.sublime-project",
|
356
|
-
"/C/Users/tomtom/Desktop/test.sublime-project",
|
357
|
-
"/D/dropbox/WorkSpaces/RubySpace/test_rails/.project",
|
358
|
-
"/D/dropbox/WorkSpaces/RubySpace/test_rails/config/application.rb",
|
359
|
-
"/D/dropbox/WorkSpaces/RubySpace/test_rails/app/views/layouts/application.html.erb",
|
360
|
-
"/D/dropbox/WorkSpaces/RubySpace/rails_tutorial/app/controllers/application_controller.rb",
|
361
|
-
"/C/Users/tomtom/Desktop/test.sublime-workspace",
|
362
|
-
"/D/dropbox/Programs/Sublime_Text/Data/Packages/Default/Default (Windows).sublime-keymap",
|
363
|
-
"/D/dropbox/Programs/Sublime_Text/subl.bat",
|
364
|
-
"/C/Users/tomtom/Desktop/abc",
|
365
|
-
"/C/Users/tomtom/Desktop/Sublime Text/abc.txt",
|
366
|
-
"/C/Users/tomtom/Desktop/Sublime Text/%*",
|
367
|
-
"/C/Users/tomtom/Desktop/Sublime Text/subl.bat",
|
368
|
-
"/C/Users/tomtom/Desktop/a.cpp",
|
369
|
-
"/C/Users/tomtom/Desktop/Sublime Text/Data/Packages/SublimeCodeIntel/SublimeCodeIntel.py",
|
370
|
-
"/C/Users/tomtom/Desktop/Sublime Text/aaa.rb",
|
371
|
-
"/C/Users/tomtom/Desktop/Sublime Text/Data/Packages/SublimeCodeIntel/README.markdown",
|
372
|
-
"/C/Users/tomtom/Desktop/Sublime Text/Data/Packages/SublimeCodeIntel/Base File.sublime-settings",
|
373
|
-
"/C/Users/tomtom/Desktop/Sublime Text/Data/Packages/SublimeCodeIntel/Default (Windows).sublime-keymap",
|
374
|
-
"/C/Users/tomtom/Desktop/Sublime Text/Data/Packages/SublimeCodeIntel/libs/styles.py"
|
375
|
-
],
|
376
|
-
"find":
|
377
|
-
{
|
378
|
-
"height": 37.0
|
379
|
-
},
|
380
|
-
"find_in_files":
|
381
|
-
{
|
382
|
-
"height": 0.0,
|
383
|
-
"where_history":
|
384
|
-
[
|
385
|
-
]
|
386
|
-
},
|
387
|
-
"find_state":
|
388
|
-
{
|
389
|
-
"case_sensitive": false,
|
390
|
-
"find_history":
|
391
|
-
[
|
392
|
-
"Messager",
|
393
|
-
"TODO",
|
394
|
-
"TODO ",
|
395
|
-
"TODO",
|
396
|
-
"project",
|
397
|
-
"CommandThread",
|
398
|
-
"run_command",
|
399
|
-
"rails_tut",
|
400
|
-
"rails",
|
401
|
-
"[0-9].??",
|
402
|
-
"[0-9].*",
|
403
|
-
"git_root",
|
404
|
-
"\\",
|
405
|
-
"git_root",
|
406
|
-
"working_dir=root",
|
407
|
-
"working_dir",
|
408
|
-
"run_command",
|
409
|
-
"custom",
|
410
|
-
"ExecCommand",
|
411
|
-
"run_command",
|
412
|
-
"get_file_name",
|
413
|
-
"stash",
|
414
|
-
"git_stash",
|
415
|
-
"Application",
|
416
|
-
"alt+shift",
|
417
|
-
"shift+alt",
|
418
|
-
"testing",
|
419
|
-
"test",
|
420
|
-
"p[r]",
|
421
|
-
"p????",
|
422
|
-
"p*",
|
423
|
-
"test",
|
424
|
-
"utf-8",
|
425
|
-
"utf"
|
426
|
-
],
|
427
|
-
"highlight": true,
|
428
|
-
"in_selection": false,
|
429
|
-
"preserve_case": false,
|
430
|
-
"regex": false,
|
431
|
-
"replace_history":
|
432
|
-
[
|
433
|
-
"Michelle"
|
434
|
-
],
|
435
|
-
"reverse": false,
|
436
|
-
"show_context": true,
|
437
|
-
"use_buffer2": true,
|
438
|
-
"whole_word": false,
|
439
|
-
"wrap": true
|
440
|
-
},
|
441
|
-
"groups":
|
442
|
-
[
|
443
|
-
{
|
444
|
-
"sheets":
|
445
|
-
[
|
446
|
-
]
|
447
|
-
}
|
448
|
-
],
|
449
|
-
"incremental_find":
|
450
|
-
{
|
451
|
-
"height": 0.0
|
452
|
-
},
|
453
|
-
"input":
|
454
|
-
{
|
455
|
-
"height": 37.0
|
456
|
-
},
|
457
|
-
"layout":
|
458
|
-
{
|
459
|
-
"cells":
|
460
|
-
[
|
461
|
-
[
|
462
|
-
0,
|
463
|
-
0,
|
464
|
-
1,
|
465
|
-
1
|
466
|
-
]
|
467
|
-
],
|
468
|
-
"cols":
|
469
|
-
[
|
470
|
-
0.0,
|
471
|
-
1.0
|
472
|
-
],
|
473
|
-
"rows":
|
474
|
-
[
|
475
|
-
0.0,
|
476
|
-
1.0
|
477
|
-
]
|
478
|
-
},
|
479
|
-
"menu_visible": false,
|
480
|
-
"replace":
|
481
|
-
{
|
482
|
-
"height": 60.0
|
483
|
-
},
|
484
|
-
"save_all_on_build": true,
|
485
|
-
"select_file":
|
486
|
-
{
|
487
|
-
"height": 0.0,
|
488
|
-
"selected_items":
|
489
|
-
[
|
490
|
-
[
|
491
|
-
"gem",
|
492
|
-
"michelle.gemspec"
|
493
|
-
],
|
494
|
-
[
|
495
|
-
"cli",
|
496
|
-
"lib/michelle/client.rb"
|
497
|
-
],
|
498
|
-
[
|
499
|
-
"ver",
|
500
|
-
"lib/michelle/version.rb"
|
501
|
-
],
|
502
|
-
[
|
503
|
-
"git",
|
504
|
-
".gitignore"
|
505
|
-
],
|
506
|
-
[
|
507
|
-
"gems",
|
508
|
-
"michelle.gemspec"
|
509
|
-
],
|
510
|
-
[
|
511
|
-
"mi",
|
512
|
-
"lib/michelle.rb"
|
513
|
-
],
|
514
|
-
[
|
515
|
-
"auto",
|
516
|
-
"auto_click.sublime-project"
|
517
|
-
],
|
518
|
-
[
|
519
|
-
"",
|
520
|
-
"auto_click.sublime-workspace"
|
521
|
-
],
|
522
|
-
[
|
523
|
-
"test",
|
524
|
-
"test_build.rb"
|
525
|
-
],
|
526
|
-
[
|
527
|
-
"read",
|
528
|
-
"README.rdoc"
|
529
|
-
],
|
530
|
-
[
|
531
|
-
"viru",
|
532
|
-
"lib/auto_click/virtual_key.rb"
|
533
|
-
],
|
534
|
-
[
|
535
|
-
"abc",
|
536
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/abc.txt"
|
537
|
-
],
|
538
|
-
[
|
539
|
-
"data",
|
540
|
-
"config/database.yml"
|
541
|
-
],
|
542
|
-
[
|
543
|
-
"app",
|
544
|
-
"app/assets/javascripts/application.js"
|
545
|
-
],
|
546
|
-
[
|
547
|
-
"erb",
|
548
|
-
"app/views/greetings/hello.html.erb"
|
549
|
-
],
|
550
|
-
[
|
551
|
-
"view/appl",
|
552
|
-
"app/views/layouts/application.html.erb"
|
553
|
-
],
|
554
|
-
[
|
555
|
-
"application",
|
556
|
-
"rails_tutorial/app/controllers/application_controller.rb"
|
557
|
-
],
|
558
|
-
[
|
559
|
-
"view/appli",
|
560
|
-
"app/views/layouts/application.html.erb"
|
561
|
-
],
|
562
|
-
[
|
563
|
-
"applic",
|
564
|
-
"config/application.rb"
|
565
|
-
],
|
566
|
-
[
|
567
|
-
"conf",
|
568
|
-
"config/application.rb"
|
569
|
-
]
|
570
|
-
],
|
571
|
-
"width": 0.0
|
572
|
-
},
|
573
|
-
"select_project":
|
574
|
-
{
|
575
|
-
"height": 500.0,
|
576
|
-
"selected_items":
|
577
|
-
[
|
578
|
-
[
|
579
|
-
"",
|
580
|
-
"/D/dropbox/WorkSpaces/RubySpace/auto_click/auto_click.sublime-project"
|
581
|
-
],
|
582
|
-
[
|
583
|
-
"au",
|
584
|
-
"/D/Dropbox/WorkSpaces/RubySpace/auto_click/auto_click.sublime-project"
|
585
|
-
],
|
586
|
-
[
|
587
|
-
"erinata",
|
588
|
-
"/D/dropbox/WorkSpaces/RubySpace/erinata/erinata.sublime-project"
|
589
|
-
],
|
590
|
-
[
|
591
|
-
"rails",
|
592
|
-
"/D/dropbox/WorkSpaces/RubySpace/rails_tutorial/rails_tutorial.sublime-project"
|
593
|
-
]
|
594
|
-
],
|
595
|
-
"width": 380.0
|
596
|
-
},
|
597
|
-
"show_minimap": true,
|
598
|
-
"show_open_files": true,
|
599
|
-
"show_tabs": true,
|
600
|
-
"side_bar_visible": true,
|
601
|
-
"side_bar_width": 150.0,
|
602
|
-
"status_bar_visible": true
|
603
|
-
}
|