spik 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +130 -0
  3. data/Rakefile +37 -0
  4. data/lib/spik/execution.rb +29 -0
  5. data/lib/spik/models.rb +15 -0
  6. data/lib/spik/tmp.rb +50 -0
  7. data/lib/spik/version.rb +3 -0
  8. data/lib/spik.rb +48 -0
  9. data/lib/tasks/spik_tasks.rake +4 -0
  10. data/test/dummy/Rakefile +7 -0
  11. data/test/dummy/app/assets/javascripts/application.js +9 -0
  12. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  13. data/test/dummy/app/controllers/application_controller.rb +3 -0
  14. data/test/dummy/app/controllers/home_controller.rb +23 -0
  15. data/test/dummy/app/helpers/application_helper.rb +2 -0
  16. data/test/dummy/app/models/notice.rb +3 -0
  17. data/test/dummy/app/models/post.rb +3 -0
  18. data/test/dummy/app/views/home/index.html.erb +23 -0
  19. data/test/dummy/app/views/home/search.html.erb +12 -0
  20. data/test/dummy/app/views/layouts/application.html.erb +12 -0
  21. data/test/dummy/config/application.rb +45 -0
  22. data/test/dummy/config/boot.rb +10 -0
  23. data/test/dummy/config/database.yml +25 -0
  24. data/test/dummy/config/environment.rb +5 -0
  25. data/test/dummy/config/environments/development.rb +30 -0
  26. data/test/dummy/config/environments/production.rb +60 -0
  27. data/test/dummy/config/environments/test.rb +39 -0
  28. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/dummy/config/initializers/inflections.rb +10 -0
  30. data/test/dummy/config/initializers/mime_types.rb +5 -0
  31. data/test/dummy/config/initializers/secret_token.rb +7 -0
  32. data/test/dummy/config/initializers/session_store.rb +8 -0
  33. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  34. data/test/dummy/config/locales/en.yml +5 -0
  35. data/test/dummy/config/routes.rb +60 -0
  36. data/test/dummy/config.ru +4 -0
  37. data/test/dummy/db/development.sqlite3 +0 -0
  38. data/test/dummy/db/migrate/20111022073857_create_posts.rb +13 -0
  39. data/test/dummy/db/migrate/20111022090628_create_notices.rb +13 -0
  40. data/test/dummy/db/production.sqlite3 +0 -0
  41. data/test/dummy/db/schema.rb +30 -0
  42. data/test/dummy/log/development.log +1339 -0
  43. data/test/dummy/log/production.log +5372 -0
  44. data/test/dummy/log/test.log +0 -0
  45. data/test/dummy/public/404.html +26 -0
  46. data/test/dummy/public/422.html +26 -0
  47. data/test/dummy/public/500.html +26 -0
  48. data/test/dummy/public/favicon.ico +0 -0
  49. data/test/dummy/script/rails +6 -0
  50. data/test/dummy/tmp/cache/assets/CB3/ED0/sprockets%2F21371325c045193edd88a7eb5897e4d0 +9052 -0
  51. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  52. data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +10 -0
  53. data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +9427 -0
  54. data/test/dummy/tmp/cache/assets/DB4/540/sprockets%2F77df85bd03af068df99d6a714cd58ff2 +373 -0
  55. data/test/dummy/tmp/cache/assets/DD0/030/sprockets%2F6fea4f8c8ac6003482feb9df8afa0361 +9068 -0
  56. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  57. data/test/dummy/tmp/cache/assets/E54/940/sprockets%2Fe5c4f565eaabc3ea3cc4006bf5b9c6ce +389 -0
  58. data/test/integration/missing_method_test.rb +12 -0
  59. data/test/spik_test.rb +13 -0
  60. data/test/test_helper.rb +10 -0
  61. metadata +156 -0
@@ -0,0 +1,389 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1319269338.6094022: @value{I"
2
+ class:EFI"BundledAsset;
3
+ FI"id;
4
+ F"%4197c26478577e266a5eaeb772acd096I"logical_path;
5
+ F"jquery_ujs.jsI"
6
+ F"l/Users/gazay/.rvm/gems/ruby-1.9.3-head/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery_ujs.jsI"content_type;
7
+ FI"application/javascript;
8
+ FI"
9
+ mtime;
10
+ FI"2011-10-18T01:33:14+07:00;
11
+ FI" body;
12
+ FI";/**
13
+ * Unobtrusive scripting adapter for jQuery
14
+ *
15
+ * Requires jQuery 1.6.0 or later.
16
+ * https://github.com/rails/jquery-ujs
17
+
18
+ * Uploading file using rails.js
19
+ * =============================
20
+ *
21
+ * By default, browsers do not allow files to be uploaded via AJAX. As a result, if there are any non-blank file fields
22
+ * in the remote form, this adapter aborts the AJAX submission and allows the form to submit through standard means.
23
+ *
24
+ * The `ajax:aborted:file` event allows you to bind your own handler to process the form submission however you wish.
25
+ *
26
+ * Ex:
27
+ * $('form').live('ajax:aborted:file', function(event, elements){
28
+ * // Implement own remote file-transfer handler here for non-blank file inputs passed in `elements`.
29
+ * // Returning false in this handler tells rails.js to disallow standard form submission
30
+ * return false;
31
+ * });
32
+ *
33
+ * The `ajax:aborted:file` event is fired when a file-type input is detected with a non-blank value.
34
+ *
35
+ * Third-party tools can use this hook to detect when an AJAX file upload is attempted, and then use
36
+ * techniques like the iframe method to upload the file instead.
37
+ *
38
+ * Required fields in rails.js
39
+ * ===========================
40
+ *
41
+ * If any blank required inputs (required="required") are detected in the remote form, the whole form submission
42
+ * is canceled. Note that this is unlike file inputs, which still allow standard (non-AJAX) form submission.
43
+ *
44
+ * The `ajax:aborted:required` event allows you to bind your own handler to inform the user of blank required inputs.
45
+ *
46
+ * !! Note that Opera does not fire the form's submit event if there are blank required inputs, so this event may never
47
+ * get fired in Opera. This event is what causes other browsers to exhibit the same submit-aborting behavior.
48
+ *
49
+ * Ex:
50
+ * $('form').live('ajax:aborted:required', function(event, elements){
51
+ * // Returning false in this handler tells rails.js to submit the form anyway.
52
+ * // The blank required inputs are passed to this function in `elements`.
53
+ * return ! confirm("Would you like to submit the form with missing info?");
54
+ * });
55
+ */
56
+
57
+
58
+ (function($, undefined) {
59
+ // Shorthand to make it a little easier to call public rails functions from within rails.js
60
+ var rails;
61
+
62
+ $.rails = rails = {
63
+ // Link elements bound by jquery-ujs
64
+ linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]',
65
+
66
+ // Select elements bound by jquery-ujs
67
+ inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',
68
+
69
+ // Form elements bound by jquery-ujs
70
+ formSubmitSelector: 'form',
71
+
72
+ // Form input elements bound by jquery-ujs
73
+ formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[type])',
74
+
75
+ // Form input elements disabled during form submission
76
+ disableSelector: 'input[data-disable-with], button[data-disable-with], textarea[data-disable-with]',
77
+
78
+ // Form input elements re-enabled after form submission
79
+ enableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled',
80
+
81
+ // Form required input elements
82
+ requiredInputSelector: 'input[name][required]:not([disabled]),textarea[name][required]:not([disabled])',
83
+
84
+ // Form file input elements
85
+ fileInputSelector: 'input:file',
86
+
87
+ // Link onClick disable selector with possible reenable after remote submission
88
+ linkDisableSelector: 'a[data-disable-with]',
89
+
90
+ // Make sure that every Ajax request sends the CSRF token
91
+ CSRFProtection: function(xhr) {
92
+ var token = $('meta[name="csrf-token"]').attr('content');
93
+ if (token) xhr.setRequestHeader('X-CSRF-Token', token);
94
+ },
95
+
96
+ // Triggers an event on an element and returns false if the event result is false
97
+ fire: function(obj, name, data) {
98
+ var event = $.Event(name);
99
+ obj.trigger(event, data);
100
+ return event.result !== false;
101
+ },
102
+
103
+ // Default confirm dialog, may be overridden with custom confirm dialog in $.rails.confirm
104
+ confirm: function(message) {
105
+ return confirm(message);
106
+ },
107
+
108
+ // Default ajax function, may be overridden with custom function in $.rails.ajax
109
+ ajax: function(options) {
110
+ return $.ajax(options);
111
+ },
112
+
113
+ // Submits "remote" forms and links with ajax
114
+ handleRemote: function(element) {
115
+ var method, url, data,
116
+ crossDomain = element.data('cross-domain') || null,
117
+ dataType = element.data('type') || ($.ajaxSettings && $.ajaxSettings.dataType),
118
+ options;
119
+
120
+ if (rails.fire(element, 'ajax:before')) {
121
+
122
+ if (element.is('form')) {
123
+ method = element.attr('method');
124
+ url = element.attr('action');
125
+ data = element.serializeArray();
126
+ // memoized value from clicked submit button
127
+ var button = element.data('ujs:submit-button');
128
+ if (button) {
129
+ data.push(button);
130
+ element.data('ujs:submit-button', null);
131
+ }
132
+ } else if (element.is(rails.inputChangeSelector)) {
133
+ method = element.data('method');
134
+ url = element.data('url');
135
+ data = element.serialize();
136
+ if (element.data('params')) data = data + "&" + element.data('params');
137
+ } else {
138
+ method = element.data('method');
139
+ url = element.attr('href');
140
+ data = element.data('params') || null;
141
+ }
142
+
143
+ options = {
144
+ type: method || 'GET', data: data, dataType: dataType, crossDomain: crossDomain,
145
+ // stopping the "ajax:beforeSend" event will cancel the ajax request
146
+ beforeSend: function(xhr, settings) {
147
+ if (settings.dataType === undefined) {
148
+ xhr.setRequestHeader('accept', '*/*;q=0.5, ' + settings.accepts.script);
149
+ }
150
+ return rails.fire(element, 'ajax:beforeSend', [xhr, settings]);
151
+ },
152
+ success: function(data, status, xhr) {
153
+ element.trigger('ajax:success', [data, status, xhr]);
154
+ },
155
+ complete: function(xhr, status) {
156
+ element.trigger('ajax:complete', [xhr, status]);
157
+ },
158
+ error: function(xhr, status, error) {
159
+ element.trigger('ajax:error', [xhr, status, error]);
160
+ }
161
+ };
162
+ // Only pass url to `ajax` options if not blank
163
+ if (url) { options.url = url; }
164
+
165
+ rails.ajax(options);
166
+ }
167
+ },
168
+
169
+ // Handles "data-method" on links such as:
170
+ // <a href="/users/5" data-method="delete" rel="nofollow" data-confirm="Are you sure?">Delete</a>
171
+ handleMethod: function(link) {
172
+ var href = link.attr('href'),
173
+ method = link.data('method'),
174
+ target = link.attr('target'),
175
+ csrf_token = $('meta[name=csrf-token]').attr('content'),
176
+ csrf_param = $('meta[name=csrf-param]').attr('content'),
177
+ form = $('<form method="post" action="' + href + '"></form>'),
178
+ metadata_input = '<input name="_method" value="' + method + '" type="hidden" />';
179
+
180
+ if (csrf_param !== undefined && csrf_token !== undefined) {
181
+ metadata_input += '<input name="' + csrf_param + '" value="' + csrf_token + '" type="hidden" />';
182
+ }
183
+
184
+ if (target) { form.attr('target', target); }
185
+
186
+ form.hide().append(metadata_input).appendTo('body');
187
+ form.submit();
188
+ },
189
+
190
+ /* Disables form elements:
191
+ - Caches element value in 'ujs:enable-with' data store
192
+ - Replaces element text with value of 'data-disable-with' attribute
193
+ - Sets disabled property to true
194
+ */
195
+ disableFormElements: function(form) {
196
+ form.find(rails.disableSelector).each(function() {
197
+ var element = $(this), method = element.is('button') ? 'html' : 'val';
198
+ element.data('ujs:enable-with', element[method]());
199
+ element[method](element.data('disable-with'));
200
+ element.prop('disabled', true);
201
+ });
202
+ },
203
+
204
+ /* Re-enables disabled form elements:
205
+ - Replaces element text with cached value from 'ujs:enable-with' data store (created in `disableFormElements`)
206
+ - Sets disabled property to false
207
+ */
208
+ enableFormElements: function(form) {
209
+ form.find(rails.enableSelector).each(function() {
210
+ var element = $(this), method = element.is('button') ? 'html' : 'val';
211
+ if (element.data('ujs:enable-with')) element[method](element.data('ujs:enable-with'));
212
+ element.prop('disabled', false);
213
+ });
214
+ },
215
+
216
+ /* For 'data-confirm' attribute:
217
+ - Fires `confirm` event
218
+ - Shows the confirmation dialog
219
+ - Fires the `confirm:complete` event
220
+
221
+ Returns `true` if no function stops the chain and user chose yes; `false` otherwise.
222
+ Attaching a handler to the element's `confirm` event that returns a `falsy` value cancels the confirmation dialog.
223
+ Attaching a handler to the element's `confirm:complete` event that returns a `falsy` value makes this function
224
+ return false. The `confirm:complete` event is fired whether or not the user answered true or false to the dialog.
225
+ */
226
+ allowAction: function(element) {
227
+ var message = element.data('confirm'),
228
+ answer = false, callback;
229
+ if (!message) { return true; }
230
+
231
+ if (rails.fire(element, 'confirm')) {
232
+ answer = rails.confirm(message);
233
+ callback = rails.fire(element, 'confirm:complete', [answer]);
234
+ }
235
+ return answer && callback;
236
+ },
237
+
238
+ // Helper function which checks for blank inputs in a form that match the specified CSS selector
239
+ blankInputs: function(form, specifiedSelector, nonBlank) {
240
+ var inputs = $(), input,
241
+ selector = specifiedSelector || 'input,textarea';
242
+ form.find(selector).each(function() {
243
+ input = $(this);
244
+ // Collect non-blank inputs if nonBlank option is true, otherwise, collect blank inputs
245
+ if (nonBlank ? input.val() : !input.val()) {
246
+ inputs = inputs.add(input);
247
+ }
248
+ });
249
+ return inputs.length ? inputs : false;
250
+ },
251
+
252
+ // Helper function which checks for non-blank inputs in a form that match the specified CSS selector
253
+ nonBlankInputs: function(form, specifiedSelector) {
254
+ return rails.blankInputs(form, specifiedSelector, true); // true specifies nonBlank
255
+ },
256
+
257
+ // Helper function, needed to provide consistent behavior in IE
258
+ stopEverything: function(e) {
259
+ $(e.target).trigger('ujs:everythingStopped');
260
+ e.stopImmediatePropagation();
261
+ return false;
262
+ },
263
+
264
+ // find all the submit events directly bound to the form and
265
+ // manually invoke them. If anyone returns false then stop the loop
266
+ callFormSubmitBindings: function(form) {
267
+ var events = form.data('events'), continuePropagation = true;
268
+ if (events !== undefined && events['submit'] !== undefined) {
269
+ $.each(events['submit'], function(i, obj){
270
+ if (typeof obj.handler === 'function') return continuePropagation = obj.handler(obj.data);
271
+ });
272
+ }
273
+ return continuePropagation;
274
+ },
275
+
276
+ // replace element's html with the 'data-disable-with' after storing original html
277
+ // and prevent clicking on it
278
+ disableElement: function(element) {
279
+ element.data('ujs:enable-with', element.html()); // store enabled state
280
+ element.html(element.data('disable-with')); // set to disabled state
281
+ element.bind('click.railsDisable', function(e) { // prevent further clicking
282
+ return rails.stopEverything(e)
283
+ });
284
+ },
285
+
286
+ // restore element to its original state which was disabled by 'disableElement' above
287
+ enableElement: function(element) {
288
+ if (element.data('ujs:enable-with') !== undefined) {
289
+ element.html(element.data('ujs:enable-with')); // set to old enabled state
290
+ // this should be element.removeData('ujs:enable-with')
291
+ // but, there is currently a bug in jquery which makes hyphenated data attributes not get removed
292
+ element.data('ujs:enable-with', false); // clean up cache
293
+ }
294
+ element.unbind('click.railsDisable'); // enable element
295
+ }
296
+
297
+ };
298
+
299
+ $.ajaxPrefilter(function(options, originalOptions, xhr){ if ( !options.crossDomain ) { rails.CSRFProtection(xhr); }});
300
+
301
+ $(rails.linkDisableSelector).live('ajax:complete', function() {
302
+ rails.enableElement($(this));
303
+ });
304
+
305
+ $(rails.linkClickSelector).live('click.rails', function(e) {
306
+ var link = $(this), method = link.data('method'), data = link.data('params');
307
+ if (!rails.allowAction(link)) return rails.stopEverything(e);
308
+
309
+ if (link.is(rails.linkDisableSelector)) rails.disableElement(link);
310
+
311
+ if (link.data('remote') !== undefined) {
312
+ if ( (e.metaKey || e.ctrlKey) && (!method || method === 'GET') && !data ) { return true; }
313
+ rails.handleRemote(link);
314
+ return false;
315
+ } else if (link.data('method')) {
316
+ rails.handleMethod(link);
317
+ return false;
318
+ }
319
+ });
320
+
321
+ $(rails.inputChangeSelector).live('change.rails', function(e) {
322
+ var link = $(this);
323
+ if (!rails.allowAction(link)) return rails.stopEverything(e);
324
+
325
+ rails.handleRemote(link);
326
+ return false;
327
+ });
328
+
329
+ $(rails.formSubmitSelector).live('submit.rails', function(e) {
330
+ var form = $(this),
331
+ remote = form.data('remote') !== undefined,
332
+ blankRequiredInputs = rails.blankInputs(form, rails.requiredInputSelector),
333
+ nonBlankFileInputs = rails.nonBlankInputs(form, rails.fileInputSelector);
334
+
335
+ if (!rails.allowAction(form)) return rails.stopEverything(e);
336
+
337
+ // skip other logic when required values are missing or file upload is present
338
+ if (blankRequiredInputs && form.attr("novalidate") == undefined && rails.fire(form, 'ajax:aborted:required', [blankRequiredInputs])) {
339
+ return rails.stopEverything(e);
340
+ }
341
+
342
+ if (remote) {
343
+ if (nonBlankFileInputs) {
344
+ return rails.fire(form, 'ajax:aborted:file', [nonBlankFileInputs]);
345
+ }
346
+
347
+ // If browser does not support submit bubbling, then this live-binding will be called before direct
348
+ // bindings. Therefore, we should directly call any direct bindings before remotely submitting form.
349
+ if (!$.support.submitBubbles && rails.callFormSubmitBindings(form) === false) return rails.stopEverything(e);
350
+
351
+ rails.handleRemote(form);
352
+ return false;
353
+ } else {
354
+ // slight timeout so that the submit button gets properly serialized
355
+ setTimeout(function(){ rails.disableFormElements(form); }, 13);
356
+ }
357
+ });
358
+
359
+ $(rails.formInputClickSelector).live('click.rails', function(event) {
360
+ var button = $(this);
361
+
362
+ if (!rails.allowAction(button)) return rails.stopEverything(event);
363
+
364
+ // register the pressed submit button
365
+ var name = button.attr('name'),
366
+ data = name ? {name:name, value:button.val()} : null;
367
+
368
+ button.closest('form').data('ujs:submit-button', data);
369
+ });
370
+
371
+ $(rails.formSubmitSelector).live('ajax:beforeSend.rails', function(event) {
372
+ if (this == event.target) rails.disableFormElements($(this));
373
+ });
374
+
375
+ $(rails.formSubmitSelector).live('ajax:complete.rails', function(event) {
376
+ if (this == event.target) rails.enableFormElements($(this));
377
+ });
378
+
379
+ })( jQuery );
380
+ ;
381
+ FI"asset_paths;
382
+ F["l/Users/gazay/.rvm/gems/ruby-1.9.3-head/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery_ujs.jsI"dependency_paths;
383
+ F[{I" path;
384
+ F"l/Users/gazay/.rvm/gems/ruby-1.9.3-head/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery_ujs.jsI"
385
+ mtime;
386
+ FIu: Time
387
+ T: offsetipbI"hexdigest;
388
+ F"%bff4d9f9bd40708015f5ae4e34621c2cI"
389
+ F"%46dde6621c301f4928e3b34efee9e3b5
@@ -0,0 +1,12 @@
1
+ # require 'test_helper'
2
+ #
3
+ # class MissingMethodTest < ActiveSupport::IntegrationCase
4
+ # test 'pdf request sends a pdf as file' do
5
+ # visit home_path
6
+ # end
7
+ #
8
+ # protected
9
+ # def headers
10
+ # page.response_headers
11
+ # end
12
+ # end
data/test/spik_test.rb ADDED
@@ -0,0 +1,13 @@
1
+ require 'test_helper'
2
+
3
+ class SpikTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Spik
6
+ end
7
+
8
+ test "should return first post" do
9
+ include Spik
10
+ find first post
11
+ assert_not_nil @post
12
+ end
13
+ end
@@ -0,0 +1,10 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spik
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Alexey Gaziev
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-23 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: You can say something and controller understands you
15
+ email:
16
+ - alex.gaziev@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/spik/execution.rb
22
+ - lib/spik/models.rb
23
+ - lib/spik/tmp.rb
24
+ - lib/spik/version.rb
25
+ - lib/spik.rb
26
+ - lib/tasks/spik_tasks.rake
27
+ - MIT-LICENSE
28
+ - Rakefile
29
+ - README.rdoc
30
+ - test/dummy/app/assets/javascripts/application.js
31
+ - test/dummy/app/assets/stylesheets/application.css
32
+ - test/dummy/app/controllers/application_controller.rb
33
+ - test/dummy/app/controllers/home_controller.rb
34
+ - test/dummy/app/helpers/application_helper.rb
35
+ - test/dummy/app/models/notice.rb
36
+ - test/dummy/app/models/post.rb
37
+ - test/dummy/app/views/home/index.html.erb
38
+ - test/dummy/app/views/home/search.html.erb
39
+ - test/dummy/app/views/layouts/application.html.erb
40
+ - test/dummy/config/application.rb
41
+ - test/dummy/config/boot.rb
42
+ - test/dummy/config/database.yml
43
+ - test/dummy/config/environment.rb
44
+ - test/dummy/config/environments/development.rb
45
+ - test/dummy/config/environments/production.rb
46
+ - test/dummy/config/environments/test.rb
47
+ - test/dummy/config/initializers/backtrace_silencers.rb
48
+ - test/dummy/config/initializers/inflections.rb
49
+ - test/dummy/config/initializers/mime_types.rb
50
+ - test/dummy/config/initializers/secret_token.rb
51
+ - test/dummy/config/initializers/session_store.rb
52
+ - test/dummy/config/initializers/wrap_parameters.rb
53
+ - test/dummy/config/locales/en.yml
54
+ - test/dummy/config/routes.rb
55
+ - test/dummy/config.ru
56
+ - test/dummy/db/development.sqlite3
57
+ - test/dummy/db/migrate/20111022073857_create_posts.rb
58
+ - test/dummy/db/migrate/20111022090628_create_notices.rb
59
+ - test/dummy/db/production.sqlite3
60
+ - test/dummy/db/schema.rb
61
+ - test/dummy/log/development.log
62
+ - test/dummy/log/production.log
63
+ - test/dummy/log/test.log
64
+ - test/dummy/public/404.html
65
+ - test/dummy/public/422.html
66
+ - test/dummy/public/500.html
67
+ - test/dummy/public/favicon.ico
68
+ - test/dummy/Rakefile
69
+ - test/dummy/script/rails
70
+ - test/dummy/tmp/cache/assets/CB3/ED0/sprockets%2F21371325c045193edd88a7eb5897e4d0
71
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
72
+ - test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
73
+ - test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
74
+ - test/dummy/tmp/cache/assets/DB4/540/sprockets%2F77df85bd03af068df99d6a714cd58ff2
75
+ - test/dummy/tmp/cache/assets/DD0/030/sprockets%2F6fea4f8c8ac6003482feb9df8afa0361
76
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
77
+ - test/dummy/tmp/cache/assets/E54/940/sprockets%2Fe5c4f565eaabc3ea3cc4006bf5b9c6ce
78
+ - test/integration/missing_method_test.rb
79
+ - test/spik_test.rb
80
+ - test/test_helper.rb
81
+ homepage:
82
+ licenses: []
83
+ post_install_message:
84
+ rdoc_options: []
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubyforge_project:
101
+ rubygems_version: 1.8.5
102
+ signing_key:
103
+ specification_version: 3
104
+ summary: Imperative speaking with Rails
105
+ test_files:
106
+ - test/dummy/app/assets/javascripts/application.js
107
+ - test/dummy/app/assets/stylesheets/application.css
108
+ - test/dummy/app/controllers/application_controller.rb
109
+ - test/dummy/app/controllers/home_controller.rb
110
+ - test/dummy/app/helpers/application_helper.rb
111
+ - test/dummy/app/models/notice.rb
112
+ - test/dummy/app/models/post.rb
113
+ - test/dummy/app/views/home/index.html.erb
114
+ - test/dummy/app/views/home/search.html.erb
115
+ - test/dummy/app/views/layouts/application.html.erb
116
+ - test/dummy/config/application.rb
117
+ - test/dummy/config/boot.rb
118
+ - test/dummy/config/database.yml
119
+ - test/dummy/config/environment.rb
120
+ - test/dummy/config/environments/development.rb
121
+ - test/dummy/config/environments/production.rb
122
+ - test/dummy/config/environments/test.rb
123
+ - test/dummy/config/initializers/backtrace_silencers.rb
124
+ - test/dummy/config/initializers/inflections.rb
125
+ - test/dummy/config/initializers/mime_types.rb
126
+ - test/dummy/config/initializers/secret_token.rb
127
+ - test/dummy/config/initializers/session_store.rb
128
+ - test/dummy/config/initializers/wrap_parameters.rb
129
+ - test/dummy/config/locales/en.yml
130
+ - test/dummy/config/routes.rb
131
+ - test/dummy/config.ru
132
+ - test/dummy/db/development.sqlite3
133
+ - test/dummy/db/migrate/20111022073857_create_posts.rb
134
+ - test/dummy/db/migrate/20111022090628_create_notices.rb
135
+ - test/dummy/db/production.sqlite3
136
+ - test/dummy/db/schema.rb
137
+ - test/dummy/log/development.log
138
+ - test/dummy/log/production.log
139
+ - test/dummy/log/test.log
140
+ - test/dummy/public/404.html
141
+ - test/dummy/public/422.html
142
+ - test/dummy/public/500.html
143
+ - test/dummy/public/favicon.ico
144
+ - test/dummy/Rakefile
145
+ - test/dummy/script/rails
146
+ - test/dummy/tmp/cache/assets/CB3/ED0/sprockets%2F21371325c045193edd88a7eb5897e4d0
147
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
148
+ - test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
149
+ - test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
150
+ - test/dummy/tmp/cache/assets/DB4/540/sprockets%2F77df85bd03af068df99d6a714cd58ff2
151
+ - test/dummy/tmp/cache/assets/DD0/030/sprockets%2F6fea4f8c8ac6003482feb9df8afa0361
152
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
153
+ - test/dummy/tmp/cache/assets/E54/940/sprockets%2Fe5c4f565eaabc3ea3cc4006bf5b9c6ce
154
+ - test/integration/missing_method_test.rb
155
+ - test/spik_test.rb
156
+ - test/test_helper.rb