lockitron 0.0.1

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.
data/.gitignore ADDED
@@ -0,0 +1,19 @@
1
+ *.gem
2
+ *.rbc
3
+ *.sublime-project
4
+ *.sublime-workspace
5
+ .bundle
6
+ .config
7
+ .yardoc
8
+ Gemfile.lock
9
+ InstalledFiles
10
+ _yardoc
11
+ coverage
12
+ doc/
13
+ lib/bundler/man
14
+ pkg
15
+ rdoc
16
+ spec/reports
17
+ test/tmp
18
+ test/version_tmp
19
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in lockitron.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Jarred Sumner
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,79 @@
1
+ # Lockitron
2
+ [Lockitron](https://lockitron.com) lets you unlock your front door from anywhere in the world, including your smartphone. We have an iPhone app, an Android app, a webapp, a mobile web app, a REST API, and now, a RubyGem.
3
+
4
+ This is a very early version of the gem. With it, you can lock, or unlock Lockitrons by their name.
5
+
6
+ ## Prerequisites
7
+
8
+ You need two things for this gem. Firstly, you need a Lockitron-powered door lock, which you can buy at https://lockitron.com. Secondly, you'll need an access token. If you'll only use this for yourself, then go grab [your access token](https://api.lockitron.com/v1/oauth/applications). Right now, the gem doesn't handle authorization, so you'll need to manually switch out access tokens. We use OAuth2, and we have a guide on [authenticating with it](https://api.lockitron.com/v1/getting_started/authenticating_with_oauth).
9
+
10
+ ### Setting an Access Token
11
+ To use the Lockitron gem or as a shell script, you'll need to set an access token. You can set it in Ruby or in bash, and it'll work either way. Although, I recommend that you set the access token as an environment variable. I've shown how to do that below
12
+
13
+ #### From Bash
14
+
15
+ Storing the access token as an environment variable: (Remember to replace MY_ACCESS_TOKEN with your access token!)
16
+ ```bash
17
+ echo "export LOCKITRON_ACCESS_TOKEN=MY_ACCESS_TOKEN" >> ~/.bashrc && exec $SHELL
18
+ ```
19
+
20
+ #### From Ruby:
21
+
22
+ ```ruby
23
+ Lockitron::Locks.access_token = MY_ACCESS_TOKEN
24
+ ```
25
+
26
+ ## Usage (Bash)
27
+ You can lock or unlock your Lockitron-powered locks, and list the available locks.
28
+
29
+ ### Locking or Unlocking
30
+
31
+ To lock, run:
32
+
33
+ ```bash
34
+ lockitron lock LOCK_NAME
35
+ ```
36
+
37
+ To unlock, run:
38
+
39
+ ```bash
40
+ lockitron unlock LOCK_NAME
41
+ ```
42
+
43
+ ### Listing Locks
44
+
45
+ To list all available locks, run:
46
+
47
+ ```bash
48
+ lockitron list
49
+ ```
50
+
51
+ ###
52
+
53
+ ## Usage (Ruby)
54
+
55
+ You can lock or unlock your locks by their name.
56
+
57
+ ### Locking & Unlocking
58
+
59
+ To unlock by name, run:
60
+
61
+ ```ruby
62
+ Lockitron::Locks.unlock("Lock Name")
63
+ ```
64
+
65
+ To lock by name, run:
66
+
67
+ ```ruby
68
+ Lockitron::Locks.lock("Lock Name")
69
+ ```
70
+
71
+ ### Listing Locks
72
+
73
+ To list all available locks, run:
74
+
75
+ ```ruby
76
+ Lockitron::Locks.list
77
+ ```
78
+
79
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
data/bin/lockitron ADDED
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems'
4
+ require 'thor'
5
+ require 'lockitron'
6
+
7
+ class LockitronBin < Thor
8
+
9
+ desc 'lock LOCK_NAME', 'locks one of the available locks by name'
10
+ method_option :access_token, :aliases => '-a', :desc => "Set the access token from Lockitron's REST API"
11
+ def lock(name)
12
+ Lockitron::Locks.access_token = options[:access_token]
13
+ Lockitron::Locks.lock(name)
14
+ end
15
+
16
+ desc 'unlock LOCK_NAME', 'unlocks one of the available locks by name'
17
+ method_option :access_token, :aliases => '-a', :desc => "Set the access token from Lockitron's REST API"
18
+ def unlock(name)
19
+ Lockitron::Locks.access_token = options[:access_token]
20
+ Lockitron::Locks.unlock(name)
21
+ end
22
+
23
+ desc 'list', "list all of the available locks"
24
+ method_option :access_token, :aliases => '-a', :desc => "Set the access token from Lockitron's REST API"
25
+ def list
26
+ Lockitron::Locks.access_token = options[:access_token]
27
+ Lockitron::Locks.list
28
+ end
29
+
30
+ end
31
+
32
+ LockitronBin.start
@@ -0,0 +1,8 @@
1
+ {
2
+ "folders":
3
+ [
4
+ {
5
+ "path": "/E/Programming/Lockitron/Gem/lockitron"
6
+ }
7
+ ]
8
+ }
@@ -0,0 +1,1106 @@
1
+ {
2
+ "auto_complete":
3
+ {
4
+ "selected_items":
5
+ [
6
+ [
7
+ "acce",
8
+ "access_token"
9
+ ],
10
+ [
11
+ "reque",
12
+ "request_access_token"
13
+ ],
14
+ [
15
+ "trigg",
16
+ "trigger_form_submission"
17
+ ],
18
+ [
19
+ "email",
20
+ "email_selector"
21
+ ],
22
+ [
23
+ "form_",
24
+ "jovia_form_ready_for_submission"
25
+ ],
26
+ [
27
+ "emai",
28
+ "email_selector"
29
+ ],
30
+ [
31
+ "employ",
32
+ "employee_ids"
33
+ ],
34
+ [
35
+ "sign_in",
36
+ "sign_in_with_google"
37
+ ],
38
+ [
39
+ "empl",
40
+ "employee_id"
41
+ ],
42
+ [
43
+ "FAKE",
44
+ "FAKE_FACEBOOK_USERNAME"
45
+ ],
46
+ [
47
+ "FAKE_F",
48
+ "FAKE_FACEBOOK_PASSWORD"
49
+ ],
50
+ [
51
+ "config",
52
+ "configure_if_needed"
53
+ ],
54
+ [
55
+ "lat",
56
+ "latLng"
57
+ ],
58
+ [
59
+ "latLng",
60
+ "LatLng"
61
+ ]
62
+ ]
63
+ },
64
+ "buffers":
65
+ [
66
+ {
67
+ "settings":
68
+ {
69
+ "buffer_size": 0,
70
+ "line_ending": "Windows"
71
+ }
72
+ },
73
+ {
74
+ "contents": "require 'rubygems'\nrequire 'thor'\nrequire '../lib/api.rb'\n\nclass Unlock < Thor\n\n desc 'LOCK_NAME', 'unlocks one of the available locks by name'\n def unlock(name)\n API.unlock_by_name(name)\n end\n\n default_task :unlock\n\nend\n\nUnlock.start",
75
+ "file": "bin/unlock.rb",
76
+ "file_size": 256,
77
+ "file_write_time": 129850537209716315,
78
+ "settings":
79
+ {
80
+ "buffer_size": 241,
81
+ "line_ending": "Windows"
82
+ }
83
+ },
84
+ {
85
+ "file": "Gemfile",
86
+ "settings":
87
+ {
88
+ "buffer_size": 265,
89
+ "line_ending": "Unix"
90
+ }
91
+ },
92
+ {
93
+ "file": "lib/lockitron.rb",
94
+ "settings":
95
+ {
96
+ "buffer_size": 2645,
97
+ "line_ending": "Windows"
98
+ }
99
+ },
100
+ {
101
+ "file": "lockitron/README.md",
102
+ "settings":
103
+ {
104
+ "buffer_size": 1241,
105
+ "line_ending": "Unix"
106
+ }
107
+ }
108
+ ],
109
+ "build_system": "",
110
+ "command_palette":
111
+ {
112
+ "height": 61.0,
113
+ "selected_items":
114
+ [
115
+ [
116
+ "json",
117
+ "Set Syntax: JSON"
118
+ ],
119
+ [
120
+ "bash",
121
+ "Set Syntax: Shell Script (Bash)"
122
+ ],
123
+ [
124
+ "ruby",
125
+ "Set Syntax: Ruby"
126
+ ],
127
+ [
128
+ "rails",
129
+ "Set Syntax: HTML (Rails)"
130
+ ],
131
+ [
132
+ "html",
133
+ "Set Syntax: HTML"
134
+ ],
135
+ [
136
+ "javascript",
137
+ "Set Syntax: JavaScript"
138
+ ],
139
+ [
140
+ "coffee",
141
+ "Set Syntax: CoffeeScript"
142
+ ],
143
+ [
144
+ "install",
145
+ "Package Control: Install Package"
146
+ ],
147
+ [
148
+ "remove",
149
+ "Package Control: Remove Package"
150
+ ],
151
+ [
152
+ "markdown",
153
+ "Set Syntax: Markdown"
154
+ ],
155
+ [
156
+ "java",
157
+ "Set Syntax: JavaScript"
158
+ ],
159
+ [
160
+ "scss",
161
+ "Set Syntax: SCSS"
162
+ ]
163
+ ],
164
+ "width": 386.0
165
+ },
166
+ "console":
167
+ {
168
+ "height": 146.0
169
+ },
170
+ "distraction_free":
171
+ {
172
+ "menu_visible": true,
173
+ "show_minimap": false,
174
+ "show_open_files": false,
175
+ "show_tabs": false,
176
+ "side_bar_visible": false,
177
+ "status_bar_visible": false
178
+ },
179
+ "file_history":
180
+ [
181
+ "/E/Programming/Lockitron/Gem/lockitron/README.rdoc",
182
+ "/E/Programming/Lockitron/Gem/lockitron/lockitron/lockitron.gemspec",
183
+ "/E/Programming/Lockitron/Gem/lockitron/lockitron/Gemfile",
184
+ "/E/Programming/Lockitron/Gem/lockitron/lockitron/Rakefile",
185
+ "/E/Programming/Lockitron/Gem/lockitron/Rakefile",
186
+ "/E/Programming/Lockitron/Gem/lockitron/lockitron/lib/lockitron/version.rb",
187
+ "/E/Programming/Lockitron/Gem/lockitron/Gemfile",
188
+ "/E/Programming/Lockitron/Gem/lockitron/lib/api.rb",
189
+ "/E/Programming/Lockitron/Gem/lockitron/bin/lock.rb",
190
+ "/E/Programming/Lockitron/Gem/lockitron/bin/lockitron",
191
+ "/E/Programming/Lockitron/Gem/lockitron/bin/lockitron.rb",
192
+ "/E/Programming/Lockitron/Gem/lockitron/bin/unlock.rb",
193
+ "/E/Programming/Lockitron/Gem/lockitron/bin/settings",
194
+ "/E/Programming/Lockitron/Gem/lockitron/lib/settings",
195
+ "/E/Programming/Lockitron/Gem/lockitron/lib/lockitron.thor",
196
+ "/E/Programming/Lockitron/Gem/lockitron/lib/thor.rb",
197
+ "/E/Programming/Lockitron/Gem/lockitron/lib/lockitron.rb",
198
+ "/E/Programming/Lockitron/Gem/lockitron/lib/settings.yaml",
199
+ "/E/Programming/Epigraph/app/views/donations/swipe_card.html.erb",
200
+ "/E/Programming/Lockitron/Windows Phone/Lockitron/Lockitron.csproj.user",
201
+ "/E/Programming/Epigraph/app/views/donations/set_amount.html.erb",
202
+ "/E/Programming/Lockitron/Windows Phone/Lockitron.sln",
203
+ "/E/Programming/Epigraph/app/controllers/donations_controller.rb",
204
+ "/E/Programming/Lockitron/Windows Phone/Lockitron/Lockitron.csproj",
205
+ "/E/Programming/Epigraph/config/routes.rb",
206
+ "/E/Programming/Epigraph/public/index.html",
207
+ "/E/Programming/Epigraph/config/database.yml",
208
+ "/E/Programming/Epigraph/app/models/organization.rb",
209
+ "/E/Programming/Epigraph/Gemfile",
210
+ "/E/Programming/Epigraph/app/models/donation.rb",
211
+ "/C/Program Files (x86)/Git/etc/profile",
212
+ "/E/Programming/Epigraph/db/migrate/20120619035332_create_donors.rb",
213
+ "/E/Programming/Epigraph/db/migrate/20120619035229_create_donations.rb",
214
+ "/E/Programming/Welcome/lib/monkey_patch_imap.rb",
215
+ "/E/Programming/Welcome/app/models/template.rb",
216
+ "/E/Programming/Welcome/db/schema.rb",
217
+ "/E/Programming/Welcome/Gemfile",
218
+ "/E/Programming/Welcome/app/views/install/index.html.erb",
219
+ "/E/Programming/Welcome/app/controllers/emails_controller.rb",
220
+ "/E/Programming/Welcome/app/models/employee.rb",
221
+ "/E/Programming/Welcome/app/models/email.rb",
222
+ "/E/Programming/Welcome/app/assets/javascripts/install.js.coffee",
223
+ "/E/Programming/Welcome/app/controllers/install_controller.rb",
224
+ "/E/Programming/JoviaSampleApp/app/views/users/new.html.erb",
225
+ "/E/Programming/Welcome/app/models/company.rb",
226
+ "/E/Programming/Welcome/config/initializers/configuration.rb",
227
+ "/E/Programming/Welcome/config/routes.rb",
228
+ "/E/Programming/Welcome/app/views/install/_javascript_html.html.erb",
229
+ "/E/Programming/Welcome/db/migrate/20120527032325_add_domain_to_company.rb",
230
+ "/E/Programming/Welcome/db/migrate/20120515230418_create_employees.rb",
231
+ "/E/Programming/Welcome/app/views/emails/index.html.erb",
232
+ "/E/Programming/Welcome/test/unit/helpers/email_helper_test.rb",
233
+ "/E/Programming/Welcome/test/unit/helpers/emails_helper_test.rb",
234
+ "/E/Multimedia/Downloads/attachment.bin",
235
+ "/E/Programming/Welcome/db/production.sqlite3",
236
+ "/E/Programming/Welcome/config/application.rb",
237
+ "/E/Programming/Welcome/public/humans.txt",
238
+ "/E/Programming/Welcome/app/views/install/_javascript.js.erb",
239
+ "/E/Programming/Welcome/config/initializers/omniauth.rb",
240
+ "/E/Programming/Welcome/app/controllers/sessions_controller.rb",
241
+ "/E/Programming/Welcome/config/config.yml",
242
+ "/E/Programming/Welcome/app/controllers/templates_controller.rb",
243
+ "/E/Programming/Welcome/config/initializers/session_store.rb",
244
+ "/E/Programming/Welcome/config.ru",
245
+ "/E/Programming/Welcome/log/development.log",
246
+ "/E/Programming/Welcome/app/mailers/email_mailer.rb",
247
+ "/E/GitHub/gmail-oauth-sinatra/config.ru",
248
+ "/E/Programming/Welcome/app/helpers/install_helper.rb",
249
+ "/E/Programming/Welcome/config/environments/development.rb",
250
+ "/E/Programming/Welcome/app/assets/javascripts/js.js.coffee",
251
+ "/E/Programming/Welcome/db/migrate/20120522022922_change_employee_id_in_emails_to_string.rb",
252
+ "/E/Programming/Welcome/test/functional/email_controller_test.rb",
253
+ "/E/Programming/Welcome/app/views/install/javascript.html.erb",
254
+ "/E/Programming/Welcome/app/controllers/application_controller.rb",
255
+ "/E/Programming/Welcome/app/views/install/javascript.rhtml",
256
+ "/E/Programming/Welcome/app/views/install/_javascript.coffee",
257
+ "/E/Programming/Welcome/app/assets/stylesheets/install.css.scss",
258
+ "/E/Programming/Welcome/app/assets/stylesheets/application.css.scss",
259
+ "/E/Programming/Welcome/app/views/install/update_selector.html.erb",
260
+ "/E/Programming/Welcome/app/views/install/_javascript.coffee.erb",
261
+ "/E/Programming/Welcome/app/views/install/javascript.coffee.erb",
262
+ "/E/Programming/Welcome/app/helpers/application_helper.rb",
263
+ "/E/Programming/Welcome/app/views/install/javascript.coffee",
264
+ "/E/Programming/Welcome/app/views/layouts/application.html.erb",
265
+ "/E/Programming/Welcome/db/migrate/20120516052832_create_rails_admin_histories_table.rb",
266
+ "/E/Programming/Welcome/app/views/templates/show.html.erb",
267
+ "/E/Programming/Welcome/app/views/templates/_variables.html.erb",
268
+ "/E/Programming/Welcome/app/helpers/templates_helper.rb",
269
+ "/E/Programming/Welcome/app/assets/stylesheets/templates.css.scss",
270
+ "/E/Programming/Welcome/config/initializers/simple_form.rb",
271
+ "/E/Programming/Welcome/db/migrate/20120526064119_change_body_to_text_in_templates.rb",
272
+ "/E/Programming/Welcome/app/assets/stylesheets/variables.css.scss",
273
+ "/E/Programming/Welcome/app/views/templates/index.html.erb",
274
+ "/E/Programming/Welcome/app/views/emails/show.html.erb",
275
+ "/E/Programming/Welcome/tmp/cache/sass/66ccafd9567ced38d96796a6c8b20dab75d517e7/_user-select.scssc",
276
+ "/E/Programming/Welcome/app/assets/stylesheets/emails.css.scss",
277
+ "/E/Programming/Welcome/app/assets/javascripts/application.js",
278
+ "/E/Programming/Welcome/app/assets/stylesheets/company.css.scss",
279
+ "/E/Programming/Welcome/app/views/company/templates.html.erb",
280
+ "/E/Programming/Welcome/app/controllers/company_controller.rb",
281
+ "/E/Programming/Welcome/db/migrate/20120525203220_rename_subject_to_raw_subject_and_rename_body_to_raw_body_in_template.rb",
282
+ "/E/Programming/Welcome/app/views/company/emails.html.erb",
283
+ "/E/Programming/Welcome/app/helpers/company_helper.rb",
284
+ "/E/Programming/Welcome/app/assets/javascripts/company.js.coffee",
285
+ "/E/Programming/Welcome/app/views/company/install.html.erb",
286
+ "/E/Programming/Welcome/app/views/company/js_file.js.erb",
287
+ "/E/Programming/Welcome/lib/javascript.rb",
288
+ "/E/Programming/Welcome/app/views/company/js_file.html.erb",
289
+ "/E/Programming/Welcome/app/assets/javascripts/welcomer.js.coffee",
290
+ "/E/Programming/Welcome/app/views/company/js_file.js.coffee.erb",
291
+ "/E/Programming/Welcome/app/views/company/js_file.js.coffee",
292
+ "/E/Programming/Welcome/app/views/company/welcomer.js.coffee.erb",
293
+ "/E/Programming/Welcome/db/migrate/20120525034846_add_email_selector_and_name_selector_to_company.rb",
294
+ "/E/Programming/Welcome/lib/yesno.rb",
295
+ "/E/Programming/Welcome/app/views/layouts/company.html.erb",
296
+ "/E/Programming/Welcome/app/views/company/index.html.erb",
297
+ "/E/Programming/Welcome/app/views/layouts/companies.html.erb",
298
+ "/E/Programming/Welcome/app/views/account/sign_up.html.erb",
299
+ "/E/Programming/Welcome/db/migrate/20120515225730_create_companies.rb",
300
+ "/E/Programming/Welcome/db/migrate/20120515225611_create_templates.rb",
301
+ "/E/Programming/Welcome/config/database.yml",
302
+ "/E/Programming/Welcome/app/assets/stylesheets/account.css.scss",
303
+ "/E/Programming/Welcome/app/controllers/account_controller.rb",
304
+ "/E/Programming/Welcome/app/views/company/new.html.erb",
305
+ "/E/Programming/Welcome/app/views/sessions/new.html.erb",
306
+ "/C/Users/Administrator/AppData/Roaming/Sublime Text 2/Packages/User/SideBarEnhancements/Open With/Side Bar.sublime-menu",
307
+ "/E/Programming/Welcome/test/functional/templates_controller_test.rb",
308
+ "/E/Programming/Welcome/app/controllers/session_controller.rb"
309
+ ],
310
+ "find":
311
+ {
312
+ "height": 33.0
313
+ },
314
+ "find_in_files":
315
+ {
316
+ "height": 0.0,
317
+ "where_history":
318
+ [
319
+ ]
320
+ },
321
+ "find_state":
322
+ {
323
+ "case_sensitive": false,
324
+ "find_history":
325
+ [
326
+ "API.",
327
+ "Lockitron",
328
+ "access_token =",
329
+ "JSON",
330
+ "api_key",
331
+ "name",
332
+ "t.integer",
333
+ "end",
334
+ "company",
335
+ "))",
336
+ "exit",
337
+ "FILEPATH",
338
+ "jarred.sumner"
339
+ ],
340
+ "highlight": true,
341
+ "in_selection": false,
342
+ "preserve_case": false,
343
+ "regex": false,
344
+ "replace_history":
345
+ [
346
+ "access_token",
347
+ "filepath"
348
+ ],
349
+ "reverse": false,
350
+ "show_context": true,
351
+ "use_buffer2": true,
352
+ "whole_word": false,
353
+ "wrap": true
354
+ },
355
+ "groups":
356
+ [
357
+ {
358
+ "selected": 2,
359
+ "sheets":
360
+ [
361
+ {
362
+ "buffer": 0,
363
+ "settings":
364
+ {
365
+ "buffer_size": 0,
366
+ "regions":
367
+ {
368
+ },
369
+ "selection":
370
+ [
371
+ [
372
+ 0,
373
+ 0
374
+ ]
375
+ ],
376
+ "settings":
377
+ {
378
+ "syntax": "Packages/Text/Plain text.tmLanguage"
379
+ },
380
+ "translation.x": 0.0,
381
+ "translation.y": 0.0,
382
+ "zoom_level": 1.0
383
+ },
384
+ "type": "text"
385
+ },
386
+ {
387
+ "buffer": 1,
388
+ "file": "bin/unlock.rb",
389
+ "settings":
390
+ {
391
+ "buffer_size": 241,
392
+ "regions":
393
+ {
394
+ },
395
+ "selection":
396
+ [
397
+ [
398
+ 143,
399
+ 143
400
+ ]
401
+ ],
402
+ "settings":
403
+ {
404
+ "syntax": "Packages/Ruby/Ruby.tmLanguage"
405
+ },
406
+ "translation.x": 0.0,
407
+ "translation.y": 0.0,
408
+ "zoom_level": 1.0
409
+ },
410
+ "type": "text"
411
+ },
412
+ {
413
+ "buffer": 2,
414
+ "file": "Gemfile",
415
+ "settings":
416
+ {
417
+ "buffer_size": 265,
418
+ "regions":
419
+ {
420
+ },
421
+ "selection":
422
+ [
423
+ [
424
+ 0,
425
+ 265
426
+ ]
427
+ ],
428
+ "settings":
429
+ {
430
+ "syntax": "Packages/Ruby/Ruby.tmLanguage"
431
+ },
432
+ "translation.x": 0.0,
433
+ "translation.y": 0.0,
434
+ "zoom_level": 1.0
435
+ },
436
+ "type": "text"
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "selected": 2,
442
+ "sheets":
443
+ [
444
+ {
445
+ "buffer": 3,
446
+ "file": "lib/lockitron.rb",
447
+ "settings":
448
+ {
449
+ "buffer_size": 2645,
450
+ "regions":
451
+ {
452
+ },
453
+ "selection":
454
+ [
455
+ [
456
+ 996,
457
+ 996
458
+ ]
459
+ ],
460
+ "settings":
461
+ {
462
+ "syntax": "Packages/Ruby/Ruby.tmLanguage"
463
+ },
464
+ "translation.x": 0.0,
465
+ "translation.y": 0.0,
466
+ "zoom_level": 1.0
467
+ },
468
+ "type": "text"
469
+ },
470
+ {
471
+ "buffer": 2,
472
+ "file": "Gemfile",
473
+ "settings":
474
+ {
475
+ "buffer_size": 265,
476
+ "regions":
477
+ {
478
+ },
479
+ "selection":
480
+ [
481
+ [
482
+ 265,
483
+ 265
484
+ ]
485
+ ],
486
+ "settings":
487
+ {
488
+ "syntax": "Packages/Ruby/Ruby.tmLanguage"
489
+ },
490
+ "translation.x": 0.0,
491
+ "translation.y": 0.0,
492
+ "zoom_level": 1.0
493
+ },
494
+ "type": "text"
495
+ },
496
+ {
497
+ "buffer": 4,
498
+ "file": "lockitron/README.md",
499
+ "settings":
500
+ {
501
+ "buffer_size": 1241,
502
+ "regions":
503
+ {
504
+ },
505
+ "selection":
506
+ [
507
+ [
508
+ 1098,
509
+ 1098
510
+ ]
511
+ ],
512
+ "settings":
513
+ {
514
+ "syntax": "Packages/Markdown/Markdown.tmLanguage"
515
+ },
516
+ "translation.x": 0.0,
517
+ "translation.y": 0.0,
518
+ "zoom_level": 1.0
519
+ },
520
+ "type": "text"
521
+ }
522
+ ]
523
+ }
524
+ ],
525
+ "incremental_find":
526
+ {
527
+ "height": 33.0
528
+ },
529
+ "input":
530
+ {
531
+ "height": 33.0
532
+ },
533
+ "layout":
534
+ {
535
+ "cells":
536
+ [
537
+ [
538
+ 0,
539
+ 0,
540
+ 1,
541
+ 1
542
+ ],
543
+ [
544
+ 1,
545
+ 0,
546
+ 2,
547
+ 1
548
+ ]
549
+ ],
550
+ "cols":
551
+ [
552
+ 0.0,
553
+ 0.5,
554
+ 1.0
555
+ ],
556
+ "rows":
557
+ [
558
+ 0.0,
559
+ 1.0
560
+ ]
561
+ },
562
+ "menu_visible": true,
563
+ "output.exec":
564
+ {
565
+ "height": 122.0
566
+ },
567
+ "replace":
568
+ {
569
+ "height": 62.0
570
+ },
571
+ "save_all_on_build": true,
572
+ "select_file":
573
+ {
574
+ "height": 0.0,
575
+ "selected_items":
576
+ [
577
+ [
578
+ "readm",
579
+ "lockitron/README.md"
580
+ ],
581
+ [
582
+ "readme",
583
+ "README.rdoc"
584
+ ],
585
+ [
586
+ "lockitron.gemspec",
587
+ "lockitron/lockitron.gemspec"
588
+ ],
589
+ [
590
+ "gemfile",
591
+ "lockitron/Gemfile"
592
+ ],
593
+ [
594
+ "rakefile",
595
+ "lockitron/Rakefile"
596
+ ],
597
+ [
598
+ "gemspec",
599
+ "lockitron/lockitron.gemspec"
600
+ ],
601
+ [
602
+ "version",
603
+ "lockitron/lib/lockitron/version.rb"
604
+ ],
605
+ [
606
+ "rakef",
607
+ "Rakefile"
608
+ ],
609
+ [
610
+ "lockit",
611
+ "bin/lockitron.rb"
612
+ ],
613
+ [
614
+ "unlock",
615
+ "bin/unlock.rb"
616
+ ],
617
+ [
618
+ "setting",
619
+ "bin/settings"
620
+ ],
621
+ [
622
+ "sett",
623
+ "lib/settings"
624
+ ],
625
+ [
626
+ "settin",
627
+ "lib/settings"
628
+ ],
629
+ [
630
+ "api.",
631
+ "lib/api.rb"
632
+ ],
633
+ [
634
+ "lockitron.thor",
635
+ "lib/lockitron.thor"
636
+ ],
637
+ [
638
+ "lockitron",
639
+ "lib/lockitron.rb"
640
+ ],
641
+ [
642
+ "se",
643
+ "lib/settings"
644
+ ],
645
+ [
646
+ "settings",
647
+ "lib/settings"
648
+ ],
649
+ [
650
+ "set",
651
+ "lib/settings.yaml"
652
+ ],
653
+ [
654
+ "routes",
655
+ "config/routes.rb"
656
+ ],
657
+ [
658
+ "donation_co",
659
+ "app/controllers/donations_controller.rb"
660
+ ],
661
+ [
662
+ "organiz",
663
+ "app/models/organization.rb"
664
+ ],
665
+ [
666
+ "donation.rb",
667
+ "app/models/donation.rb"
668
+ ],
669
+ [
670
+ "datab",
671
+ "config/database.yml"
672
+ ],
673
+ [
674
+ "create_donors",
675
+ "db/migrate/20120619035332_create_donors.rb"
676
+ ],
677
+ [
678
+ "create_don",
679
+ "db/migrate/20120619035229_create_donations.rb"
680
+ ],
681
+ [
682
+ "patch",
683
+ "lib/monkey_patch_imap.rb"
684
+ ],
685
+ [
686
+ "template",
687
+ "app/models/template.rb"
688
+ ],
689
+ [
690
+ "template.rb",
691
+ "app/models/template.rb"
692
+ ],
693
+ [
694
+ "email",
695
+ "app/models/email.rb"
696
+ ],
697
+ [
698
+ "schema",
699
+ "db/schema.rb"
700
+ ],
701
+ [
702
+ "monkey",
703
+ "lib/monkey_patch_imap.rb"
704
+ ],
705
+ [
706
+ "gem",
707
+ "Gemfile"
708
+ ],
709
+ [
710
+ "employee",
711
+ "app/models/employee.rb"
712
+ ],
713
+ [
714
+ "configur",
715
+ "config/initializers/configuration.rb"
716
+ ],
717
+ [
718
+ "email.rb",
719
+ "app/models/email.rb"
720
+ ],
721
+ [
722
+ "install.js",
723
+ "app/assets/javascripts/install.js.coffee"
724
+ ],
725
+ [
726
+ "emails_controller",
727
+ "app/controllers/emails_controller.rb"
728
+ ],
729
+ [
730
+ "install_controller",
731
+ "app/controllers/install_controller.rb"
732
+ ],
733
+ [
734
+ "install.html",
735
+ "app/views/install/index.html.erb"
736
+ ],
737
+ [
738
+ "_java",
739
+ "app/views/install/_javascript_html.html.erb"
740
+ ],
741
+ [
742
+ "company",
743
+ "app/models/company.rb"
744
+ ],
745
+ [
746
+ "emp",
747
+ "app/models/employee.rb"
748
+ ],
749
+ [
750
+ "add_domain",
751
+ "db/migrate/20120527032325_add_domain_to_company.rb"
752
+ ],
753
+ [
754
+ "create_employe",
755
+ "db/migrate/20120515230418_create_employees.rb"
756
+ ],
757
+ [
758
+ "email_controller",
759
+ "app/controllers/emails_controller.rb"
760
+ ],
761
+ [
762
+ "instal",
763
+ "app/assets/javascripts/install.js.coffee"
764
+ ],
765
+ [
766
+ "email_helper",
767
+ "test/unit/helpers/email_helper_test.rb"
768
+ ],
769
+ [
770
+ "emails_helper",
771
+ "test/unit/helpers/emails_helper_test.rb"
772
+ ],
773
+ [
774
+ "index",
775
+ "app/views/emails/index.html.erb"
776
+ ],
777
+ [
778
+ "configuration",
779
+ "config/initializers/configuration.rb"
780
+ ],
781
+ [
782
+ "emailr",
783
+ "app/models/email.rb"
784
+ ],
785
+ [
786
+ "session_controller",
787
+ "app/controllers/sessions_controller.rb"
788
+ ],
789
+ [
790
+ "templates_controller",
791
+ "app/controllers/templates_controller.rb"
792
+ ],
793
+ [
794
+ "sesion",
795
+ "config/initializers/session_store.rb"
796
+ ],
797
+ [
798
+ "config.yml",
799
+ "config/config.yml"
800
+ ],
801
+ [
802
+ "config",
803
+ "config.ru"
804
+ ],
805
+ [
806
+ "devel",
807
+ "log/development.log"
808
+ ],
809
+ [
810
+ "empl",
811
+ "app/models/employee.rb"
812
+ ],
813
+ [
814
+ "omniauth",
815
+ "config/initializers/omniauth.rb"
816
+ ],
817
+ [
818
+ "configu",
819
+ "config/initializers/configuration.rb"
820
+ ],
821
+ [
822
+ "route",
823
+ "config/routes.rb"
824
+ ],
825
+ [
826
+ "application.rb",
827
+ "config/application.rb"
828
+ ],
829
+ [
830
+ "email_mailer",
831
+ "app/mailers/email_mailer.rb"
832
+ ],
833
+ [
834
+ "develop",
835
+ "config/environments/development.rb"
836
+ ],
837
+ [
838
+ "session",
839
+ "app/controllers/sessions_controller.rb"
840
+ ],
841
+ [
842
+ "sesion_",
843
+ "config/initializers/session_store.rb"
844
+ ],
845
+ [
846
+ "ge",
847
+ "Gemfile"
848
+ ],
849
+ [
850
+ "oauth",
851
+ "config/initializers/omniauth.rb"
852
+ ],
853
+ [
854
+ "schm",
855
+ "db/schema.rb"
856
+ ],
857
+ [
858
+ "js.",
859
+ "app/assets/javascripts/js.js.coffee"
860
+ ],
861
+ [
862
+ "comp",
863
+ "app/models/company.rb"
864
+ ],
865
+ [
866
+ "js.js",
867
+ "app/assets/javascripts/js.js.coffee"
868
+ ],
869
+ [
870
+ "_javascrip",
871
+ "app/views/install/_javascript_html.html.erb"
872
+ ],
873
+ [
874
+ "install_helper",
875
+ "app/helpers/install_helper.rb"
876
+ ],
877
+ [
878
+ "javascrip",
879
+ "app/views/install/javascript.html.erb"
880
+ ],
881
+ [
882
+ "javascript",
883
+ "app/views/install/javascript.html.erb"
884
+ ],
885
+ [
886
+ "_",
887
+ "app/views/install/_javascript.js.erb"
888
+ ],
889
+ [
890
+ "js",
891
+ "app/assets/javascripts/js.js.coffee"
892
+ ],
893
+ [
894
+ "_javascript",
895
+ "app/views/install/_javascript_html.html.erb"
896
+ ],
897
+ [
898
+ "application_controller",
899
+ "app/controllers/application_controller.rb"
900
+ ],
901
+ [
902
+ "java",
903
+ "app/views/install/_javascript.coffee"
904
+ ],
905
+ [
906
+ "install/inde",
907
+ "app/views/install/index.html.erb"
908
+ ],
909
+ [
910
+ "application.css",
911
+ "app/assets/stylesheets/application.css.scss"
912
+ ],
913
+ [
914
+ "install.css",
915
+ "app/assets/stylesheets/install.css.scss"
916
+ ],
917
+ [
918
+ "install",
919
+ "app/assets/javascripts/install.js.coffee"
920
+ ],
921
+ [
922
+ "emails_",
923
+ "app/controllers/emails_controller.rb"
924
+ ],
925
+ [
926
+ "application_helper",
927
+ "app/helpers/application_helper.rb"
928
+ ],
929
+ [
930
+ "application.htm",
931
+ "app/views/layouts/application.html.erb"
932
+ ],
933
+ [
934
+ "application.html",
935
+ "app/views/layouts/application.html.erb"
936
+ ],
937
+ [
938
+ "templates_helper",
939
+ "app/helpers/templates_helper.rb"
940
+ ],
941
+ [
942
+ "_variables",
943
+ "app/views/templates/_variables.html.erb"
944
+ ],
945
+ [
946
+ "templates.css",
947
+ "app/assets/stylesheets/templates.css.scss"
948
+ ],
949
+ [
950
+ "simple_form",
951
+ "config/initializers/simple_form.rb"
952
+ ],
953
+ [
954
+ "change_body",
955
+ "db/migrate/20120526064119_change_body_to_text_in_templates.rb"
956
+ ],
957
+ [
958
+ "template_controller",
959
+ "app/controllers/templates_controller.rb"
960
+ ],
961
+ [
962
+ "show.h",
963
+ "app/views/templates/show.html.erb"
964
+ ],
965
+ [
966
+ "show",
967
+ "app/views/templates/show.html.erb"
968
+ ],
969
+ [
970
+ "variables",
971
+ "app/assets/stylesheets/variables.css.scss"
972
+ ],
973
+ [
974
+ "_varia",
975
+ "app/views/templates/_variables.html.erb"
976
+ ],
977
+ [
978
+ "user",
979
+ "tmp/cache/sass/66ccafd9567ced38d96796a6c8b20dab75d517e7/_user-select.scssc"
980
+ ],
981
+ [
982
+ "templates/index",
983
+ "app/views/templates/index.html.erb"
984
+ ],
985
+ [
986
+ "varia",
987
+ "app/assets/stylesheets/variables.css.scss"
988
+ ],
989
+ [
990
+ "application.js",
991
+ "app/assets/javascripts/application.js"
992
+ ],
993
+ [
994
+ "company.css",
995
+ "app/assets/stylesheets/company.css.scss"
996
+ ],
997
+ [
998
+ "rename",
999
+ "db/migrate/20120525203220_rename_subject_to_raw_subject_and_rename_body_to_raw_body_in_template.rb"
1000
+ ],
1001
+ [
1002
+ "company_helper",
1003
+ "app/helpers/company_helper.rb"
1004
+ ],
1005
+ [
1006
+ "compan",
1007
+ "app/models/company.rb"
1008
+ ],
1009
+ [
1010
+ "emails.html",
1011
+ "app/views/company/emails.html.erb"
1012
+ ],
1013
+ [
1014
+ "company.js",
1015
+ "app/assets/javascripts/company.js.coffee"
1016
+ ],
1017
+ [
1018
+ "company_controler",
1019
+ "app/controllers/company_controller.rb"
1020
+ ],
1021
+ [
1022
+ "cofig.yml",
1023
+ "config/config.yml"
1024
+ ],
1025
+ [
1026
+ "company_controller",
1027
+ "app/controllers/company_controller.rb"
1028
+ ],
1029
+ [
1030
+ "js_file",
1031
+ "app/views/company/js_file.js.erb"
1032
+ ],
1033
+ [
1034
+ "application",
1035
+ "app/assets/stylesheets/application.css.scss"
1036
+ ],
1037
+ [
1038
+ "welcomer.js",
1039
+ "app/assets/javascripts/welcomer.js.coffee"
1040
+ ],
1041
+ [
1042
+ "compay_controller",
1043
+ "app/controllers/company_controller.rb"
1044
+ ],
1045
+ [
1046
+ "w",
1047
+ "app/assets/javascripts/welcomer.js.coffee"
1048
+ ],
1049
+ [
1050
+ "welcomer",
1051
+ "app/assets/javascripts/welcomer.js.coffee"
1052
+ ],
1053
+ [
1054
+ "add_name",
1055
+ "db/migrate/20120525034846_add_email_selector_and_name_selector_to_company.rb"
1056
+ ],
1057
+ [
1058
+ "develo",
1059
+ "log/development.log"
1060
+ ],
1061
+ [
1062
+ "email_contro",
1063
+ "app/controllers/emails_controller.rb"
1064
+ ],
1065
+ [
1066
+ "emai",
1067
+ "app/controllers/emails_controller.rb"
1068
+ ],
1069
+ [
1070
+ "yesno",
1071
+ "lib/yesno.rb"
1072
+ ],
1073
+ [
1074
+ "change",
1075
+ "db/migrate/20120522022922_change_employee_id_in_emails_to_string.rb"
1076
+ ],
1077
+ [
1078
+ "company.rb",
1079
+ "app/models/company.rb"
1080
+ ],
1081
+ [
1082
+ "install.",
1083
+ "app/views/company/install.html.erb"
1084
+ ],
1085
+ [
1086
+ "company.html.erb",
1087
+ "app/views/layouts/company.html.erb"
1088
+ ]
1089
+ ],
1090
+ "width": 0.0
1091
+ },
1092
+ "select_project":
1093
+ {
1094
+ "height": 0.0,
1095
+ "selected_items":
1096
+ [
1097
+ ],
1098
+ "width": 0.0
1099
+ },
1100
+ "show_minimap": false,
1101
+ "show_open_files": false,
1102
+ "show_tabs": true,
1103
+ "side_bar_visible": true,
1104
+ "side_bar_width": 392.0,
1105
+ "status_bar_visible": true
1106
+ }