steak 2.0.0.beta2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/steak/version.rb +1 -1
- data/spec/fixtures/rails_project/.gitignore +0 -1
- data/spec/fixtures/rails_project/Gemfile +17 -14
- data/spec/fixtures/rails_project/README +7 -12
- data/spec/fixtures/rails_project/Rakefile +1 -1
- data/spec/fixtures/rails_project/app/views/layouts/application.html.erb +3 -3
- data/spec/fixtures/rails_project/config/application.rb +3 -3
- data/spec/fixtures/rails_project/config/database.yml +0 -3
- data/spec/fixtures/rails_project/config/environments/development.rb +3 -4
- data/spec/fixtures/rails_project/config/environments/production.rb +12 -17
- data/spec/fixtures/rails_project/config/environments/test.rb +1 -5
- data/spec/fixtures/rails_project/config/initializers/secret_token.rb +1 -1
- data/spec/fixtures/rails_project/config/locales/en.yml +1 -1
- data/spec/fixtures/rails_project/config/routes.rb +1 -1
- data/spec/fixtures/rails_project/db/seeds.rb +1 -1
- data/spec/fixtures/rails_project/{app/assets → public}/images/rails.png +0 -0
- data/spec/fixtures/rails_project/public/index.html +8 -10
- data/spec/fixtures/rails_project/public/javascripts/application.js +2 -0
- data/spec/fixtures/rails_project/public/javascripts/controls.js +965 -0
- data/spec/fixtures/rails_project/public/javascripts/dragdrop.js +974 -0
- data/spec/fixtures/rails_project/public/javascripts/effects.js +1123 -0
- data/spec/fixtures/rails_project/public/javascripts/prototype.js +6001 -0
- data/spec/fixtures/rails_project/public/javascripts/rails.js +191 -0
- data/spec/fixtures/rails_project/{app/mailers → public/stylesheets}/.gitkeep +0 -0
- data/spec/fixtures/rails_project/test/performance/browsing_test.rb +1 -4
- data/spec/fixtures/rails_project_with_steak/.gitignore +0 -1
- data/spec/fixtures/rails_project_with_steak/Gemfile +17 -14
- data/spec/fixtures/rails_project_with_steak/README +7 -12
- data/spec/fixtures/rails_project_with_steak/Rakefile +1 -1
- data/spec/fixtures/rails_project_with_steak/app/views/layouts/application.html.erb +3 -3
- data/spec/fixtures/rails_project_with_steak/config/application.rb +3 -3
- data/spec/fixtures/rails_project_with_steak/config/database.yml +0 -3
- data/spec/fixtures/rails_project_with_steak/config/environments/development.rb +3 -4
- data/spec/fixtures/rails_project_with_steak/config/environments/production.rb +12 -17
- data/spec/fixtures/rails_project_with_steak/config/environments/test.rb +1 -5
- data/spec/fixtures/rails_project_with_steak/config/initializers/secret_token.rb +1 -1
- data/spec/fixtures/rails_project_with_steak/config/locales/en.yml +1 -1
- data/spec/fixtures/rails_project_with_steak/config/routes.rb +1 -1
- data/spec/fixtures/rails_project_with_steak/db/seeds.rb +1 -1
- data/spec/fixtures/rails_project_with_steak/{app/assets → public}/images/rails.png +0 -0
- data/spec/fixtures/rails_project_with_steak/public/index.html +8 -10
- data/spec/fixtures/rails_project_with_steak/public/javascripts/application.js +2 -0
- data/spec/fixtures/rails_project_with_steak/public/javascripts/controls.js +965 -0
- data/spec/fixtures/rails_project_with_steak/public/javascripts/dragdrop.js +974 -0
- data/spec/fixtures/rails_project_with_steak/public/javascripts/effects.js +1123 -0
- data/spec/fixtures/rails_project_with_steak/public/javascripts/prototype.js +6001 -0
- data/spec/fixtures/rails_project_with_steak/public/javascripts/rails.js +191 -0
- data/spec/fixtures/{rails_project/app/models → rails_project_with_steak/public/stylesheets}/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/test/performance/browsing_test.rb +1 -4
- metadata +42 -64
- data/spec/fixtures/rails_project/app/assets/javascripts/application.js +0 -9
- data/spec/fixtures/rails_project/app/assets/stylesheets/application.css +0 -7
- data/spec/fixtures/rails_project/config/initializers/wrap_parameters.rb +0 -12
- data/spec/fixtures/rails_project/log/.gitkeep +0 -0
- data/spec/fixtures/rails_project/test/fixtures/.gitkeep +0 -0
- data/spec/fixtures/rails_project/test/functional/.gitkeep +0 -0
- data/spec/fixtures/rails_project/test/integration/.gitkeep +0 -0
- data/spec/fixtures/rails_project/test/unit/.gitkeep +0 -0
- data/spec/fixtures/rails_project/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/app/assets/javascripts/application.js +0 -9
- data/spec/fixtures/rails_project_with_steak/app/assets/stylesheets/application.css +0 -7
- data/spec/fixtures/rails_project_with_steak/app/mailers/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/app/models/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/config/initializers/wrap_parameters.rb +0 -12
- data/spec/fixtures/rails_project_with_steak/log/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/test/fixtures/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/test/functional/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/test/integration/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/test/unit/.gitkeep +0 -0
- data/spec/fixtures/rails_project_with_steak/vendor/assets/stylesheets/.gitkeep +0 -0
@@ -0,0 +1,191 @@
|
|
1
|
+
(function() {
|
2
|
+
// Technique from Juriy Zaytsev
|
3
|
+
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
|
4
|
+
function isEventSupported(eventName) {
|
5
|
+
var el = document.createElement('div');
|
6
|
+
eventName = 'on' + eventName;
|
7
|
+
var isSupported = (eventName in el);
|
8
|
+
if (!isSupported) {
|
9
|
+
el.setAttribute(eventName, 'return;');
|
10
|
+
isSupported = typeof el[eventName] == 'function';
|
11
|
+
}
|
12
|
+
el = null;
|
13
|
+
return isSupported;
|
14
|
+
}
|
15
|
+
|
16
|
+
function isForm(element) {
|
17
|
+
return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
|
18
|
+
}
|
19
|
+
|
20
|
+
function isInput(element) {
|
21
|
+
if (Object.isElement(element)) {
|
22
|
+
var name = element.nodeName.toUpperCase()
|
23
|
+
return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
|
24
|
+
}
|
25
|
+
else return false
|
26
|
+
}
|
27
|
+
|
28
|
+
var submitBubbles = isEventSupported('submit'),
|
29
|
+
changeBubbles = isEventSupported('change')
|
30
|
+
|
31
|
+
if (!submitBubbles || !changeBubbles) {
|
32
|
+
// augment the Event.Handler class to observe custom events when needed
|
33
|
+
Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
|
34
|
+
function(init, element, eventName, selector, callback) {
|
35
|
+
init(element, eventName, selector, callback)
|
36
|
+
// is the handler being attached to an element that doesn't support this event?
|
37
|
+
if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
|
38
|
+
(!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
|
39
|
+
// "submit" => "emulated:submit"
|
40
|
+
this.eventName = 'emulated:' + this.eventName
|
41
|
+
}
|
42
|
+
}
|
43
|
+
)
|
44
|
+
}
|
45
|
+
|
46
|
+
if (!submitBubbles) {
|
47
|
+
// discover forms on the page by observing focus events which always bubble
|
48
|
+
document.on('focusin', 'form', function(focusEvent, form) {
|
49
|
+
// special handler for the real "submit" event (one-time operation)
|
50
|
+
if (!form.retrieve('emulated:submit')) {
|
51
|
+
form.on('submit', function(submitEvent) {
|
52
|
+
var emulated = form.fire('emulated:submit', submitEvent, true)
|
53
|
+
// if custom event received preventDefault, cancel the real one too
|
54
|
+
if (emulated.returnValue === false) submitEvent.preventDefault()
|
55
|
+
})
|
56
|
+
form.store('emulated:submit', true)
|
57
|
+
}
|
58
|
+
})
|
59
|
+
}
|
60
|
+
|
61
|
+
if (!changeBubbles) {
|
62
|
+
// discover form inputs on the page
|
63
|
+
document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
|
64
|
+
// special handler for real "change" events
|
65
|
+
if (!input.retrieve('emulated:change')) {
|
66
|
+
input.on('change', function(changeEvent) {
|
67
|
+
input.fire('emulated:change', changeEvent, true)
|
68
|
+
})
|
69
|
+
input.store('emulated:change', true)
|
70
|
+
}
|
71
|
+
})
|
72
|
+
}
|
73
|
+
|
74
|
+
function handleRemote(element) {
|
75
|
+
var method, url, params;
|
76
|
+
|
77
|
+
var event = element.fire("ajax:before");
|
78
|
+
if (event.stopped) return false;
|
79
|
+
|
80
|
+
if (element.tagName.toLowerCase() === 'form') {
|
81
|
+
method = element.readAttribute('method') || 'post';
|
82
|
+
url = element.readAttribute('action');
|
83
|
+
params = element.serialize();
|
84
|
+
} else {
|
85
|
+
method = element.readAttribute('data-method') || 'get';
|
86
|
+
url = element.readAttribute('href');
|
87
|
+
params = {};
|
88
|
+
}
|
89
|
+
|
90
|
+
new Ajax.Request(url, {
|
91
|
+
method: method,
|
92
|
+
parameters: params,
|
93
|
+
evalScripts: true,
|
94
|
+
|
95
|
+
onComplete: function(request) { element.fire("ajax:complete", request); },
|
96
|
+
onSuccess: function(request) { element.fire("ajax:success", request); },
|
97
|
+
onFailure: function(request) { element.fire("ajax:failure", request); }
|
98
|
+
});
|
99
|
+
|
100
|
+
element.fire("ajax:after");
|
101
|
+
}
|
102
|
+
|
103
|
+
function handleMethod(element) {
|
104
|
+
var method = element.readAttribute('data-method'),
|
105
|
+
url = element.readAttribute('href'),
|
106
|
+
csrf_param = $$('meta[name=csrf-param]')[0],
|
107
|
+
csrf_token = $$('meta[name=csrf-token]')[0];
|
108
|
+
|
109
|
+
var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
|
110
|
+
element.parentNode.insert(form);
|
111
|
+
|
112
|
+
if (method !== 'post') {
|
113
|
+
var field = new Element('input', { type: 'hidden', name: '_method', value: method });
|
114
|
+
form.insert(field);
|
115
|
+
}
|
116
|
+
|
117
|
+
if (csrf_param) {
|
118
|
+
var param = csrf_param.readAttribute('content'),
|
119
|
+
token = csrf_token.readAttribute('content'),
|
120
|
+
field = new Element('input', { type: 'hidden', name: param, value: token });
|
121
|
+
form.insert(field);
|
122
|
+
}
|
123
|
+
|
124
|
+
form.submit();
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
document.on("click", "*[data-confirm]", function(event, element) {
|
129
|
+
var message = element.readAttribute('data-confirm');
|
130
|
+
if (!confirm(message)) event.stop();
|
131
|
+
});
|
132
|
+
|
133
|
+
document.on("click", "a[data-remote]", function(event, element) {
|
134
|
+
if (event.stopped) return;
|
135
|
+
handleRemote(element);
|
136
|
+
event.stop();
|
137
|
+
});
|
138
|
+
|
139
|
+
document.on("click", "a[data-method]", function(event, element) {
|
140
|
+
if (event.stopped) return;
|
141
|
+
handleMethod(element);
|
142
|
+
event.stop();
|
143
|
+
});
|
144
|
+
|
145
|
+
document.on("submit", function(event) {
|
146
|
+
var element = event.findElement(),
|
147
|
+
message = element.readAttribute('data-confirm');
|
148
|
+
if (message && !confirm(message)) {
|
149
|
+
event.stop();
|
150
|
+
return false;
|
151
|
+
}
|
152
|
+
|
153
|
+
var inputs = element.select("input[type=submit][data-disable-with]");
|
154
|
+
inputs.each(function(input) {
|
155
|
+
input.disabled = true;
|
156
|
+
input.writeAttribute('data-original-value', input.value);
|
157
|
+
input.value = input.readAttribute('data-disable-with');
|
158
|
+
});
|
159
|
+
|
160
|
+
var element = event.findElement("form[data-remote]");
|
161
|
+
if (element) {
|
162
|
+
handleRemote(element);
|
163
|
+
event.stop();
|
164
|
+
}
|
165
|
+
});
|
166
|
+
|
167
|
+
document.on("ajax:after", "form", function(event, element) {
|
168
|
+
var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
|
169
|
+
inputs.each(function(input) {
|
170
|
+
input.value = input.readAttribute('data-original-value');
|
171
|
+
input.removeAttribute('data-original-value');
|
172
|
+
input.disabled = false;
|
173
|
+
});
|
174
|
+
});
|
175
|
+
|
176
|
+
Ajax.Responders.register({
|
177
|
+
onCreate: function(request) {
|
178
|
+
var csrf_meta_tag = $$('meta[name=csrf-token]')[0];
|
179
|
+
|
180
|
+
if (csrf_meta_tag) {
|
181
|
+
var header = 'X-CSRF-Token',
|
182
|
+
token = csrf_meta_tag.readAttribute('content');
|
183
|
+
|
184
|
+
if (!request.options.requestHeaders) {
|
185
|
+
request.options.requestHeaders = {};
|
186
|
+
}
|
187
|
+
request.options.requestHeaders[header] = token;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
});
|
191
|
+
})();
|
data/spec/fixtures/{rails_project/app/models → rails_project_with_steak/public/stylesheets}/.gitkeep
RENAMED
File without changes
|
@@ -1,11 +1,8 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
require 'rails/performance_test_help'
|
3
3
|
|
4
|
+
# Profiling results for each test method are written to tmp/performance.
|
4
5
|
class BrowsingTest < ActionDispatch::PerformanceTest
|
5
|
-
# Refer to the documentation for all available options
|
6
|
-
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
|
7
|
-
# :output => 'tmp/performance', :formats => [:flat] }
|
8
|
-
|
9
6
|
def test_homepage
|
10
7
|
get '/'
|
11
8
|
end
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: steak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 15
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
|
11
|
-
- 2
|
12
|
-
version: 2.0.0.beta2
|
10
|
+
version: 2.0.0
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- "Luismi Cavall\xC3\xA9"
|
@@ -17,7 +15,7 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-14 00:00:00 Z
|
21
19
|
dependencies:
|
22
20
|
- !ruby/object:Gem::Dependency
|
23
21
|
name: rspec-rails
|
@@ -43,14 +41,12 @@ dependencies:
|
|
43
41
|
requirements:
|
44
42
|
- - ">="
|
45
43
|
- !ruby/object:Gem::Version
|
46
|
-
hash:
|
44
|
+
hash: 23
|
47
45
|
segments:
|
48
46
|
- 1
|
49
47
|
- 0
|
50
48
|
- 0
|
51
|
-
|
52
|
-
- 1
|
53
|
-
version: 1.0.0.rc1
|
49
|
+
version: 1.0.0
|
54
50
|
type: :runtime
|
55
51
|
version_requirements: *id002
|
56
52
|
description: Steak is a minimal extension of RSpec-Rails that adds several conveniences to do acceptance testing of Rails applications using Capybara. It's an alternative to Cucumber in plain Ruby.
|
@@ -82,13 +78,8 @@ files:
|
|
82
78
|
- spec/fixtures/rails_project/Gemfile
|
83
79
|
- spec/fixtures/rails_project/README
|
84
80
|
- spec/fixtures/rails_project/Rakefile
|
85
|
-
- spec/fixtures/rails_project/app/assets/images/rails.png
|
86
|
-
- spec/fixtures/rails_project/app/assets/javascripts/application.js
|
87
|
-
- spec/fixtures/rails_project/app/assets/stylesheets/application.css
|
88
81
|
- spec/fixtures/rails_project/app/controllers/application_controller.rb
|
89
82
|
- spec/fixtures/rails_project/app/helpers/application_helper.rb
|
90
|
-
- spec/fixtures/rails_project/app/mailers/.gitkeep
|
91
|
-
- spec/fixtures/rails_project/app/models/.gitkeep
|
92
83
|
- spec/fixtures/rails_project/app/views/layouts/application.html.erb
|
93
84
|
- spec/fixtures/rails_project/config.ru
|
94
85
|
- spec/fixtures/rails_project/config/application.rb
|
@@ -103,40 +94,36 @@ files:
|
|
103
94
|
- spec/fixtures/rails_project/config/initializers/mime_types.rb
|
104
95
|
- spec/fixtures/rails_project/config/initializers/secret_token.rb
|
105
96
|
- spec/fixtures/rails_project/config/initializers/session_store.rb
|
106
|
-
- spec/fixtures/rails_project/config/initializers/wrap_parameters.rb
|
107
97
|
- spec/fixtures/rails_project/config/locales/en.yml
|
108
98
|
- spec/fixtures/rails_project/config/routes.rb
|
109
99
|
- spec/fixtures/rails_project/db/seeds.rb
|
110
100
|
- spec/fixtures/rails_project/doc/README_FOR_APP
|
111
101
|
- spec/fixtures/rails_project/lib/tasks/.gitkeep
|
112
|
-
- spec/fixtures/rails_project/log/.gitkeep
|
113
102
|
- spec/fixtures/rails_project/public/404.html
|
114
103
|
- spec/fixtures/rails_project/public/422.html
|
115
104
|
- spec/fixtures/rails_project/public/500.html
|
116
105
|
- spec/fixtures/rails_project/public/favicon.ico
|
106
|
+
- spec/fixtures/rails_project/public/images/rails.png
|
117
107
|
- spec/fixtures/rails_project/public/index.html
|
108
|
+
- spec/fixtures/rails_project/public/javascripts/application.js
|
109
|
+
- spec/fixtures/rails_project/public/javascripts/controls.js
|
110
|
+
- spec/fixtures/rails_project/public/javascripts/dragdrop.js
|
111
|
+
- spec/fixtures/rails_project/public/javascripts/effects.js
|
112
|
+
- spec/fixtures/rails_project/public/javascripts/prototype.js
|
113
|
+
- spec/fixtures/rails_project/public/javascripts/rails.js
|
118
114
|
- spec/fixtures/rails_project/public/robots.txt
|
115
|
+
- spec/fixtures/rails_project/public/stylesheets/.gitkeep
|
119
116
|
- spec/fixtures/rails_project/script/rails
|
120
|
-
- spec/fixtures/rails_project/test/fixtures/.gitkeep
|
121
|
-
- spec/fixtures/rails_project/test/functional/.gitkeep
|
122
|
-
- spec/fixtures/rails_project/test/integration/.gitkeep
|
123
117
|
- spec/fixtures/rails_project/test/performance/browsing_test.rb
|
124
118
|
- spec/fixtures/rails_project/test/test_helper.rb
|
125
|
-
- spec/fixtures/rails_project/test/unit/.gitkeep
|
126
|
-
- spec/fixtures/rails_project/vendor/assets/stylesheets/.gitkeep
|
127
119
|
- spec/fixtures/rails_project/vendor/plugins/.gitkeep
|
128
120
|
- spec/fixtures/rails_project_with_steak/.gitignore
|
129
121
|
- spec/fixtures/rails_project_with_steak/.rspec
|
130
122
|
- spec/fixtures/rails_project_with_steak/Gemfile
|
131
123
|
- spec/fixtures/rails_project_with_steak/README
|
132
124
|
- spec/fixtures/rails_project_with_steak/Rakefile
|
133
|
-
- spec/fixtures/rails_project_with_steak/app/assets/images/rails.png
|
134
|
-
- spec/fixtures/rails_project_with_steak/app/assets/javascripts/application.js
|
135
|
-
- spec/fixtures/rails_project_with_steak/app/assets/stylesheets/application.css
|
136
125
|
- spec/fixtures/rails_project_with_steak/app/controllers/application_controller.rb
|
137
126
|
- spec/fixtures/rails_project_with_steak/app/helpers/application_helper.rb
|
138
|
-
- spec/fixtures/rails_project_with_steak/app/mailers/.gitkeep
|
139
|
-
- spec/fixtures/rails_project_with_steak/app/models/.gitkeep
|
140
127
|
- spec/fixtures/rails_project_with_steak/app/views/layouts/application.html.erb
|
141
128
|
- spec/fixtures/rails_project_with_steak/config.ru
|
142
129
|
- spec/fixtures/rails_project_with_steak/config/application.rb
|
@@ -151,33 +138,34 @@ files:
|
|
151
138
|
- spec/fixtures/rails_project_with_steak/config/initializers/mime_types.rb
|
152
139
|
- spec/fixtures/rails_project_with_steak/config/initializers/secret_token.rb
|
153
140
|
- spec/fixtures/rails_project_with_steak/config/initializers/session_store.rb
|
154
|
-
- spec/fixtures/rails_project_with_steak/config/initializers/wrap_parameters.rb
|
155
141
|
- spec/fixtures/rails_project_with_steak/config/locales/en.yml
|
156
142
|
- spec/fixtures/rails_project_with_steak/config/routes.rb
|
157
143
|
- spec/fixtures/rails_project_with_steak/db/schema.rb
|
158
144
|
- spec/fixtures/rails_project_with_steak/db/seeds.rb
|
159
145
|
- spec/fixtures/rails_project_with_steak/doc/README_FOR_APP
|
160
146
|
- spec/fixtures/rails_project_with_steak/lib/tasks/.gitkeep
|
161
|
-
- spec/fixtures/rails_project_with_steak/log/.gitkeep
|
162
147
|
- spec/fixtures/rails_project_with_steak/public/404.html
|
163
148
|
- spec/fixtures/rails_project_with_steak/public/422.html
|
164
149
|
- spec/fixtures/rails_project_with_steak/public/500.html
|
165
150
|
- spec/fixtures/rails_project_with_steak/public/favicon.ico
|
151
|
+
- spec/fixtures/rails_project_with_steak/public/images/rails.png
|
166
152
|
- spec/fixtures/rails_project_with_steak/public/index.html
|
153
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/application.js
|
154
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/controls.js
|
155
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/dragdrop.js
|
156
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/effects.js
|
157
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/prototype.js
|
158
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/rails.js
|
167
159
|
- spec/fixtures/rails_project_with_steak/public/robots.txt
|
160
|
+
- spec/fixtures/rails_project_with_steak/public/stylesheets/.gitkeep
|
168
161
|
- spec/fixtures/rails_project_with_steak/script/rails
|
169
162
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/acceptance_helper.rb
|
170
163
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/support/.gitignore
|
171
164
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/support/helpers.rb
|
172
165
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/support/paths.rb
|
173
166
|
- spec/fixtures/rails_project_with_steak/spec/spec_helper.rb
|
174
|
-
- spec/fixtures/rails_project_with_steak/test/fixtures/.gitkeep
|
175
|
-
- spec/fixtures/rails_project_with_steak/test/functional/.gitkeep
|
176
|
-
- spec/fixtures/rails_project_with_steak/test/integration/.gitkeep
|
177
167
|
- spec/fixtures/rails_project_with_steak/test/performance/browsing_test.rb
|
178
168
|
- spec/fixtures/rails_project_with_steak/test/test_helper.rb
|
179
|
-
- spec/fixtures/rails_project_with_steak/test/unit/.gitkeep
|
180
|
-
- spec/fixtures/rails_project_with_steak/vendor/assets/stylesheets/.gitkeep
|
181
169
|
- spec/fixtures/rails_project_with_steak/vendor/plugins/.gitkeep
|
182
170
|
- spec/support/helpers.rb
|
183
171
|
- spec/support/refresh_fixtures_task.rb
|
@@ -201,14 +189,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
190
|
none: false
|
203
191
|
requirements:
|
204
|
-
- - "
|
192
|
+
- - ">="
|
205
193
|
- !ruby/object:Gem::Version
|
206
|
-
hash:
|
194
|
+
hash: 3
|
207
195
|
segments:
|
208
|
-
-
|
209
|
-
|
210
|
-
- 1
|
211
|
-
version: 1.3.1
|
196
|
+
- 0
|
197
|
+
version: "0"
|
212
198
|
requirements: []
|
213
199
|
|
214
200
|
rubyforge_project:
|
@@ -224,13 +210,8 @@ test_files:
|
|
224
210
|
- spec/fixtures/rails_project/Gemfile
|
225
211
|
- spec/fixtures/rails_project/README
|
226
212
|
- spec/fixtures/rails_project/Rakefile
|
227
|
-
- spec/fixtures/rails_project/app/assets/images/rails.png
|
228
|
-
- spec/fixtures/rails_project/app/assets/javascripts/application.js
|
229
|
-
- spec/fixtures/rails_project/app/assets/stylesheets/application.css
|
230
213
|
- spec/fixtures/rails_project/app/controllers/application_controller.rb
|
231
214
|
- spec/fixtures/rails_project/app/helpers/application_helper.rb
|
232
|
-
- spec/fixtures/rails_project/app/mailers/.gitkeep
|
233
|
-
- spec/fixtures/rails_project/app/models/.gitkeep
|
234
215
|
- spec/fixtures/rails_project/app/views/layouts/application.html.erb
|
235
216
|
- spec/fixtures/rails_project/config.ru
|
236
217
|
- spec/fixtures/rails_project/config/application.rb
|
@@ -245,40 +226,36 @@ test_files:
|
|
245
226
|
- spec/fixtures/rails_project/config/initializers/mime_types.rb
|
246
227
|
- spec/fixtures/rails_project/config/initializers/secret_token.rb
|
247
228
|
- spec/fixtures/rails_project/config/initializers/session_store.rb
|
248
|
-
- spec/fixtures/rails_project/config/initializers/wrap_parameters.rb
|
249
229
|
- spec/fixtures/rails_project/config/locales/en.yml
|
250
230
|
- spec/fixtures/rails_project/config/routes.rb
|
251
231
|
- spec/fixtures/rails_project/db/seeds.rb
|
252
232
|
- spec/fixtures/rails_project/doc/README_FOR_APP
|
253
233
|
- spec/fixtures/rails_project/lib/tasks/.gitkeep
|
254
|
-
- spec/fixtures/rails_project/log/.gitkeep
|
255
234
|
- spec/fixtures/rails_project/public/404.html
|
256
235
|
- spec/fixtures/rails_project/public/422.html
|
257
236
|
- spec/fixtures/rails_project/public/500.html
|
258
237
|
- spec/fixtures/rails_project/public/favicon.ico
|
238
|
+
- spec/fixtures/rails_project/public/images/rails.png
|
259
239
|
- spec/fixtures/rails_project/public/index.html
|
240
|
+
- spec/fixtures/rails_project/public/javascripts/application.js
|
241
|
+
- spec/fixtures/rails_project/public/javascripts/controls.js
|
242
|
+
- spec/fixtures/rails_project/public/javascripts/dragdrop.js
|
243
|
+
- spec/fixtures/rails_project/public/javascripts/effects.js
|
244
|
+
- spec/fixtures/rails_project/public/javascripts/prototype.js
|
245
|
+
- spec/fixtures/rails_project/public/javascripts/rails.js
|
260
246
|
- spec/fixtures/rails_project/public/robots.txt
|
247
|
+
- spec/fixtures/rails_project/public/stylesheets/.gitkeep
|
261
248
|
- spec/fixtures/rails_project/script/rails
|
262
|
-
- spec/fixtures/rails_project/test/fixtures/.gitkeep
|
263
|
-
- spec/fixtures/rails_project/test/functional/.gitkeep
|
264
|
-
- spec/fixtures/rails_project/test/integration/.gitkeep
|
265
249
|
- spec/fixtures/rails_project/test/performance/browsing_test.rb
|
266
250
|
- spec/fixtures/rails_project/test/test_helper.rb
|
267
|
-
- spec/fixtures/rails_project/test/unit/.gitkeep
|
268
|
-
- spec/fixtures/rails_project/vendor/assets/stylesheets/.gitkeep
|
269
251
|
- spec/fixtures/rails_project/vendor/plugins/.gitkeep
|
270
252
|
- spec/fixtures/rails_project_with_steak/.gitignore
|
271
253
|
- spec/fixtures/rails_project_with_steak/.rspec
|
272
254
|
- spec/fixtures/rails_project_with_steak/Gemfile
|
273
255
|
- spec/fixtures/rails_project_with_steak/README
|
274
256
|
- spec/fixtures/rails_project_with_steak/Rakefile
|
275
|
-
- spec/fixtures/rails_project_with_steak/app/assets/images/rails.png
|
276
|
-
- spec/fixtures/rails_project_with_steak/app/assets/javascripts/application.js
|
277
|
-
- spec/fixtures/rails_project_with_steak/app/assets/stylesheets/application.css
|
278
257
|
- spec/fixtures/rails_project_with_steak/app/controllers/application_controller.rb
|
279
258
|
- spec/fixtures/rails_project_with_steak/app/helpers/application_helper.rb
|
280
|
-
- spec/fixtures/rails_project_with_steak/app/mailers/.gitkeep
|
281
|
-
- spec/fixtures/rails_project_with_steak/app/models/.gitkeep
|
282
259
|
- spec/fixtures/rails_project_with_steak/app/views/layouts/application.html.erb
|
283
260
|
- spec/fixtures/rails_project_with_steak/config.ru
|
284
261
|
- spec/fixtures/rails_project_with_steak/config/application.rb
|
@@ -293,33 +270,34 @@ test_files:
|
|
293
270
|
- spec/fixtures/rails_project_with_steak/config/initializers/mime_types.rb
|
294
271
|
- spec/fixtures/rails_project_with_steak/config/initializers/secret_token.rb
|
295
272
|
- spec/fixtures/rails_project_with_steak/config/initializers/session_store.rb
|
296
|
-
- spec/fixtures/rails_project_with_steak/config/initializers/wrap_parameters.rb
|
297
273
|
- spec/fixtures/rails_project_with_steak/config/locales/en.yml
|
298
274
|
- spec/fixtures/rails_project_with_steak/config/routes.rb
|
299
275
|
- spec/fixtures/rails_project_with_steak/db/schema.rb
|
300
276
|
- spec/fixtures/rails_project_with_steak/db/seeds.rb
|
301
277
|
- spec/fixtures/rails_project_with_steak/doc/README_FOR_APP
|
302
278
|
- spec/fixtures/rails_project_with_steak/lib/tasks/.gitkeep
|
303
|
-
- spec/fixtures/rails_project_with_steak/log/.gitkeep
|
304
279
|
- spec/fixtures/rails_project_with_steak/public/404.html
|
305
280
|
- spec/fixtures/rails_project_with_steak/public/422.html
|
306
281
|
- spec/fixtures/rails_project_with_steak/public/500.html
|
307
282
|
- spec/fixtures/rails_project_with_steak/public/favicon.ico
|
283
|
+
- spec/fixtures/rails_project_with_steak/public/images/rails.png
|
308
284
|
- spec/fixtures/rails_project_with_steak/public/index.html
|
285
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/application.js
|
286
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/controls.js
|
287
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/dragdrop.js
|
288
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/effects.js
|
289
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/prototype.js
|
290
|
+
- spec/fixtures/rails_project_with_steak/public/javascripts/rails.js
|
309
291
|
- spec/fixtures/rails_project_with_steak/public/robots.txt
|
292
|
+
- spec/fixtures/rails_project_with_steak/public/stylesheets/.gitkeep
|
310
293
|
- spec/fixtures/rails_project_with_steak/script/rails
|
311
294
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/acceptance_helper.rb
|
312
295
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/support/.gitignore
|
313
296
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/support/helpers.rb
|
314
297
|
- spec/fixtures/rails_project_with_steak/spec/acceptance/support/paths.rb
|
315
298
|
- spec/fixtures/rails_project_with_steak/spec/spec_helper.rb
|
316
|
-
- spec/fixtures/rails_project_with_steak/test/fixtures/.gitkeep
|
317
|
-
- spec/fixtures/rails_project_with_steak/test/functional/.gitkeep
|
318
|
-
- spec/fixtures/rails_project_with_steak/test/integration/.gitkeep
|
319
299
|
- spec/fixtures/rails_project_with_steak/test/performance/browsing_test.rb
|
320
300
|
- spec/fixtures/rails_project_with_steak/test/test_helper.rb
|
321
|
-
- spec/fixtures/rails_project_with_steak/test/unit/.gitkeep
|
322
|
-
- spec/fixtures/rails_project_with_steak/vendor/assets/stylesheets/.gitkeep
|
323
301
|
- spec/fixtures/rails_project_with_steak/vendor/plugins/.gitkeep
|
324
302
|
- spec/support/helpers.rb
|
325
303
|
- spec/support/refresh_fixtures_task.rb
|