silmarails 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -9
- data/Rakefile +1 -7
- data/lib/generators/silmarails/install/files/templates/rspec/scaffold/controller_spec.rb +64 -0
- data/lib/silmarails/version.rb +1 -1
- metadata +27 -121
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/Rakefile +0 -6
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/bin/bundle +0 -3
- data/test/dummy/bin/rails +0 -4
- data/test/dummy/bin/rake +0 -4
- data/test/dummy/bin/setup +0 -29
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -26
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -41
- data/test/dummy/config/environments/production.rb +0 -79
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -56
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/lib/templates/rspec/controller/controller_spec.rb +0 -16
- data/test/dummy/lib/templates/rspec/controller/view_spec.rb +0 -5
- data/test/dummy/lib/templates/rspec/helper/helper_spec.rb +0 -17
- data/test/dummy/lib/templates/rspec/integration/request_spec.rb +0 -10
- data/test/dummy/lib/templates/rspec/mailer/fixture +0 -3
- data/test/dummy/lib/templates/rspec/mailer/mailer_spec.rb +0 -25
- data/test/dummy/lib/templates/rspec/mailer/preview.rb +0 -13
- data/test/dummy/lib/templates/rspec/model/fixtures.yml +0 -19
- data/test/dummy/lib/templates/rspec/model/model_spec.rb +0 -7
- data/test/dummy/lib/templates/rspec/observer/observer_spec.rb +0 -7
- data/test/dummy/lib/templates/rspec/scaffold/controller_spec.rb +0 -163
- data/test/dummy/lib/templates/rspec/scaffold/edit_spec.rb +0 -23
- data/test/dummy/lib/templates/rspec/scaffold/index_spec.rb +0 -25
- data/test/dummy/lib/templates/rspec/scaffold/new_spec.rb +0 -22
- data/test/dummy/lib/templates/rspec/scaffold/routing_spec.rb +0 -45
- data/test/dummy/lib/templates/rspec/scaffold/show_spec.rb +0 -21
- data/test/dummy/lib/templates/rspec/view/view_spec.rb +0 -5
- data/test/dummy/public/404.html +0 -67
- data/test/dummy/public/422.html +0 -67
- data/test/dummy/public/500.html +0 -66
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +0 -8
- data/test/silmarails_test.rb +0 -7
- data/test/test_helper.rb +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2680b2e14fd47db72233e09e070905cad7800100
|
4
|
+
data.tar.gz: b98b45365cb8b653e8a8dd3c1b6f6f6455199881
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dd9fe01c24ede9470a4ed3dd9f91fb9b0d0a376ba8caf4cd4203bf8f42094fb45c978e91c46e3ae921df8e9163683361782cae9507e67f3634fa13918e2101b
|
7
|
+
data.tar.gz: b20432351e79382d8ed39c34755e1b905b725d56f533e90b3bac77b32987fa721af2171fde6c3e15e7bafbb1b2f0b1dfaafc448ff9420d3f5123673a5d515810
|
data/README.md
CHANGED
@@ -191,12 +191,3 @@ Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
|
191
191
|
DatabaseCleaner.clean
|
192
192
|
end
|
193
193
|
```
|
194
|
-
|
195
|
-
## TODO
|
196
|
-
|
197
|
-
- [ ] Make the install generator to configure the project with the above
|
198
|
-
recommended configuration
|
199
|
-
- [ ] Create a way to choose which frameworks and helpers to include when
|
200
|
-
installing, aaand copy the correct templates and files according on which were
|
201
|
-
selected, which not
|
202
|
-
|
data/Rakefile
CHANGED
@@ -14,12 +14,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
14
14
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
15
|
end
|
16
16
|
|
17
|
-
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
|
18
|
-
load 'rails/tasks/engine.rake'
|
19
|
-
|
20
|
-
|
21
|
-
load 'rails/tasks/statistics.rake'
|
22
|
-
|
23
17
|
|
24
18
|
|
25
19
|
Bundler::GemHelper.install_tasks
|
@@ -39,7 +33,7 @@ namespace :templates do
|
|
39
33
|
# desc "Copy all the templates from rspec to the application directory for customization. Already existing local copies will be overwritten"
|
40
34
|
task :rspec do
|
41
35
|
generators_lib = File.join(Gem.loaded_specs["rspec-rails"].full_gem_path, "lib/generators")
|
42
|
-
project_templates = "
|
36
|
+
project_templates = "./lib/templates"
|
43
37
|
|
44
38
|
default_templates = { "rspec" => %w{controller helper integration mailer model observer scaffold view} }
|
45
39
|
|
@@ -41,7 +41,11 @@ RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:control
|
|
41
41
|
describe "GET #index" do
|
42
42
|
it "assigns all <%= table_name.pluralize %> as @<%= table_name.pluralize %>" do
|
43
43
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
44
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
44
45
|
get :index, {}, valid_session
|
46
|
+
<% else -%>
|
47
|
+
get :index, params: {}, session: valid_session
|
48
|
+
<% end -%>
|
45
49
|
expect(assigns(:<%= table_name %>)).to eq([<%= file_name %>])
|
46
50
|
end
|
47
51
|
end
|
@@ -50,14 +54,22 @@ RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:control
|
|
50
54
|
describe "GET #show" do
|
51
55
|
it "assigns the requested <%= ns_file_name %> as @<%= ns_file_name %>" do
|
52
56
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
57
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
53
58
|
get :show, {:id => <%= file_name %>.to_param}, valid_session
|
59
|
+
<% else -%>
|
60
|
+
get :show, params: {id: <%= file_name %>.to_param}, session: valid_session
|
61
|
+
<% end -%>
|
54
62
|
expect(assigns(:<%= ns_file_name %>)).to eq(<%= file_name %>)
|
55
63
|
end
|
56
64
|
end
|
57
65
|
|
58
66
|
describe "GET #new" do
|
59
67
|
it "assigns a new <%= ns_file_name %> as @<%= ns_file_name %>" do
|
68
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
60
69
|
get :new, {}, valid_session
|
70
|
+
<% else -%>
|
71
|
+
get :new, params: {}, session: valid_session
|
72
|
+
<% end -%>
|
61
73
|
expect(assigns(:<%= ns_file_name %>)).to be_a_new(<%= class_name %>)
|
62
74
|
end
|
63
75
|
end
|
@@ -65,7 +77,11 @@ RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:control
|
|
65
77
|
describe "GET #edit" do
|
66
78
|
it "assigns the requested <%= ns_file_name %> as @<%= ns_file_name %>" do
|
67
79
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
80
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
68
81
|
get :edit, {:id => <%= file_name %>.to_param}, valid_session
|
82
|
+
<% else -%>
|
83
|
+
get :edit, params: {id: <%= file_name %>.to_param}, session: valid_session
|
84
|
+
<% end -%>
|
69
85
|
expect(assigns(:<%= ns_file_name %>)).to eq(<%= file_name %>)
|
70
86
|
end
|
71
87
|
end
|
@@ -74,30 +90,50 @@ RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:control
|
|
74
90
|
context "with valid params" do
|
75
91
|
it "creates a new <%= class_name %>" do
|
76
92
|
expect {
|
93
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
77
94
|
post :create, {:<%= ns_file_name %> => valid_attributes}, valid_session
|
95
|
+
<% else -%>
|
96
|
+
post :create, params: {<%= ns_file_name %>: valid_attributes}, session: valid_session
|
97
|
+
<% end -%>
|
78
98
|
}.to change(<%= class_name %>, :count).by(1)
|
79
99
|
end
|
80
100
|
|
81
101
|
it "assigns a newly created <%= ns_file_name %> as @<%= ns_file_name %>" do
|
102
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
82
103
|
post :create, {:<%= ns_file_name %> => valid_attributes}, valid_session
|
104
|
+
<% else -%>
|
105
|
+
post :create, params: {<%= ns_file_name %>: valid_attributes}, session: valid_session
|
106
|
+
<% end -%>
|
83
107
|
expect(assigns(:<%= ns_file_name %>)).to be_a(<%= class_name %>)
|
84
108
|
expect(assigns(:<%= ns_file_name %>)).to be_persisted
|
85
109
|
end
|
86
110
|
|
87
111
|
it "redirects to the created <%= ns_file_name %>" do
|
112
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
88
113
|
post :create, {:<%= ns_file_name %> => valid_attributes}, valid_session
|
114
|
+
<% else -%>
|
115
|
+
post :create, params: {<%= ns_file_name %>: valid_attributes}, session: valid_session
|
116
|
+
<% end -%>
|
89
117
|
expect(response).to redirect_to(<%= class_name %>.last)
|
90
118
|
end
|
91
119
|
end
|
92
120
|
|
93
121
|
context "with invalid params" do
|
94
122
|
it "assigns a newly created but unsaved <%= ns_file_name %> as @<%= ns_file_name %>" do
|
123
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
95
124
|
post :create, {:<%= ns_file_name %> => invalid_attributes}, valid_session
|
125
|
+
<% else -%>
|
126
|
+
post :create, params: {<%= ns_file_name %>: invalid_attributes}, session: valid_session
|
127
|
+
<% end -%>
|
96
128
|
expect(assigns(:<%= ns_file_name %>)).to be_a_new(<%= class_name %>)
|
97
129
|
end
|
98
130
|
|
99
131
|
it "re-renders the 'new' template" do
|
132
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
100
133
|
post :create, {:<%= ns_file_name %> => invalid_attributes}, valid_session
|
134
|
+
<% else -%>
|
135
|
+
post :create, params: {<%= ns_file_name %>: invalid_attributes}, session: valid_session
|
136
|
+
<% end -%>
|
101
137
|
expect(response).to render_template("new")
|
102
138
|
end
|
103
139
|
end
|
@@ -111,20 +147,32 @@ RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:control
|
|
111
147
|
|
112
148
|
it "updates the requested <%= ns_file_name %>" do
|
113
149
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
150
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
114
151
|
put :update, {:id => <%= file_name %>.to_param, :<%= ns_file_name %> => new_attributes}, valid_session
|
152
|
+
<% else -%>
|
153
|
+
put :update, params: {id: <%= file_name %>.to_param, <%= ns_file_name %>: new_attributes}, session: valid_session
|
154
|
+
<% end -%>
|
115
155
|
<%= file_name %>.reload
|
116
156
|
expect(<%= file_name %>.test_attributes).to eq(new_attributes)
|
117
157
|
end
|
118
158
|
|
119
159
|
it "assigns the requested <%= ns_file_name %> as @<%= ns_file_name %>" do
|
120
160
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
161
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
121
162
|
put :update, {:id => <%= file_name %>.to_param, :<%= ns_file_name %> => valid_attributes}, valid_session
|
163
|
+
<% else -%>
|
164
|
+
put :update, params: {id: <%= file_name %>.to_param, <%= ns_file_name %>: valid_attributes}, session: valid_session
|
165
|
+
<% end -%>
|
122
166
|
expect(assigns(:<%= ns_file_name %>)).to eq(<%= file_name %>)
|
123
167
|
end
|
124
168
|
|
125
169
|
it "redirects to the <%= ns_file_name %>" do
|
126
170
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
171
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
127
172
|
put :update, {:id => <%= file_name %>.to_param, :<%= ns_file_name %> => valid_attributes}, valid_session
|
173
|
+
<% else -%>
|
174
|
+
put :update, params: {id: <%= file_name %>.to_param, <%= ns_file_name %>: valid_attributes}, session: valid_session
|
175
|
+
<% end -%>
|
128
176
|
expect(response).to redirect_to(<%= file_name %>)
|
129
177
|
end
|
130
178
|
end
|
@@ -132,13 +180,21 @@ RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:control
|
|
132
180
|
context "with invalid params" do
|
133
181
|
it "assigns the <%= ns_file_name %> as @<%= ns_file_name %>" do
|
134
182
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
183
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
135
184
|
put :update, {:id => <%= file_name %>.to_param, :<%= ns_file_name %> => invalid_attributes}, valid_session
|
185
|
+
<% else -%>
|
186
|
+
put :update, params: {id: <%= file_name %>.to_param, <%= ns_file_name %>: invalid_attributes}, session: valid_session
|
187
|
+
<% end -%>
|
136
188
|
expect(assigns(:<%= ns_file_name %>)).to eq(<%= file_name %>)
|
137
189
|
end
|
138
190
|
|
139
191
|
it "re-renders the 'edit' template" do
|
140
192
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
193
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
141
194
|
put :update, {:id => <%= file_name %>.to_param, :<%= ns_file_name %> => invalid_attributes}, valid_session
|
195
|
+
<% else -%>
|
196
|
+
put :update, params: {id: <%= file_name %>.to_param, <%= ns_file_name %>: invalid_attributes}, session: valid_session
|
197
|
+
<% end -%>
|
142
198
|
expect(response).to render_template("edit")
|
143
199
|
end
|
144
200
|
end
|
@@ -148,13 +204,21 @@ RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:control
|
|
148
204
|
it "destroys the requested <%= ns_file_name %>" do
|
149
205
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
150
206
|
expect {
|
207
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
151
208
|
delete :destroy, {:id => <%= file_name %>.to_param}, valid_session
|
209
|
+
<% else -%>
|
210
|
+
delete :destroy, params: {id: <%= file_name %>.to_param}, session: valid_session
|
211
|
+
<% end -%>
|
152
212
|
}.to change(<%= class_name %>, :count).by(-1)
|
153
213
|
end
|
154
214
|
|
155
215
|
it "redirects to the <%= table_name %> list" do
|
156
216
|
<%= file_name %> = <%= class_name %>.create! valid_attributes
|
217
|
+
<% if RUBY_VERSION < '1.9.3' -%>
|
157
218
|
delete :destroy, {:id => <%= file_name %>.to_param}, valid_session
|
219
|
+
<% else -%>
|
220
|
+
delete :destroy, params: {id: <%= file_name %>.to_param}, session: valid_session
|
221
|
+
<% end -%>
|
158
222
|
expect(response).to redirect_to(<%= index_helper %>_url)
|
159
223
|
end
|
160
224
|
end
|
data/lib/silmarails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: silmarails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kelvinst
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,42 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '0.10'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '0.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.5'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rspec-rails
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - "
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '3.5'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - "
|
66
|
+
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '3.5'
|
55
69
|
description: |-
|
56
70
|
This gem is a set of generators, templates and helpers to
|
57
71
|
start a brand new rails project without too many code to
|
@@ -97,60 +111,6 @@ files:
|
|
97
111
|
- lib/silmarails/railtie.rb
|
98
112
|
- lib/silmarails/version.rb
|
99
113
|
- lib/tasks/silmarails_tasks.rake
|
100
|
-
- test/dummy/README.rdoc
|
101
|
-
- test/dummy/Rakefile
|
102
|
-
- test/dummy/app/assets/javascripts/application.js
|
103
|
-
- test/dummy/app/assets/stylesheets/application.css
|
104
|
-
- test/dummy/app/controllers/application_controller.rb
|
105
|
-
- test/dummy/app/helpers/application_helper.rb
|
106
|
-
- test/dummy/app/views/layouts/application.html.erb
|
107
|
-
- test/dummy/bin/bundle
|
108
|
-
- test/dummy/bin/rails
|
109
|
-
- test/dummy/bin/rake
|
110
|
-
- test/dummy/bin/setup
|
111
|
-
- test/dummy/config.ru
|
112
|
-
- test/dummy/config/application.rb
|
113
|
-
- test/dummy/config/boot.rb
|
114
|
-
- test/dummy/config/database.yml
|
115
|
-
- test/dummy/config/environment.rb
|
116
|
-
- test/dummy/config/environments/development.rb
|
117
|
-
- test/dummy/config/environments/production.rb
|
118
|
-
- test/dummy/config/environments/test.rb
|
119
|
-
- test/dummy/config/initializers/assets.rb
|
120
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
121
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
122
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
123
|
-
- test/dummy/config/initializers/inflections.rb
|
124
|
-
- test/dummy/config/initializers/mime_types.rb
|
125
|
-
- test/dummy/config/initializers/session_store.rb
|
126
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
127
|
-
- test/dummy/config/locales/en.yml
|
128
|
-
- test/dummy/config/routes.rb
|
129
|
-
- test/dummy/config/secrets.yml
|
130
|
-
- test/dummy/lib/templates/rspec/controller/controller_spec.rb
|
131
|
-
- test/dummy/lib/templates/rspec/controller/view_spec.rb
|
132
|
-
- test/dummy/lib/templates/rspec/helper/helper_spec.rb
|
133
|
-
- test/dummy/lib/templates/rspec/integration/request_spec.rb
|
134
|
-
- test/dummy/lib/templates/rspec/mailer/fixture
|
135
|
-
- test/dummy/lib/templates/rspec/mailer/mailer_spec.rb
|
136
|
-
- test/dummy/lib/templates/rspec/mailer/preview.rb
|
137
|
-
- test/dummy/lib/templates/rspec/model/fixtures.yml
|
138
|
-
- test/dummy/lib/templates/rspec/model/model_spec.rb
|
139
|
-
- test/dummy/lib/templates/rspec/observer/observer_spec.rb
|
140
|
-
- test/dummy/lib/templates/rspec/scaffold/controller_spec.rb
|
141
|
-
- test/dummy/lib/templates/rspec/scaffold/edit_spec.rb
|
142
|
-
- test/dummy/lib/templates/rspec/scaffold/index_spec.rb
|
143
|
-
- test/dummy/lib/templates/rspec/scaffold/new_spec.rb
|
144
|
-
- test/dummy/lib/templates/rspec/scaffold/routing_spec.rb
|
145
|
-
- test/dummy/lib/templates/rspec/scaffold/show_spec.rb
|
146
|
-
- test/dummy/lib/templates/rspec/view/view_spec.rb
|
147
|
-
- test/dummy/public/404.html
|
148
|
-
- test/dummy/public/422.html
|
149
|
-
- test/dummy/public/500.html
|
150
|
-
- test/dummy/public/favicon.ico
|
151
|
-
- test/integration/navigation_test.rb
|
152
|
-
- test/silmarails_test.rb
|
153
|
-
- test/test_helper.rb
|
154
114
|
homepage: https://github.com/kelvinst/silmarails
|
155
115
|
licenses:
|
156
116
|
- MIT
|
@@ -175,58 +135,4 @@ rubygems_version: 2.5.1
|
|
175
135
|
signing_key:
|
176
136
|
specification_version: 4
|
177
137
|
summary: A complete set of tools for building rails applications
|
178
|
-
test_files:
|
179
|
-
- test/dummy/app/assets/javascripts/application.js
|
180
|
-
- test/dummy/app/assets/stylesheets/application.css
|
181
|
-
- test/dummy/app/controllers/application_controller.rb
|
182
|
-
- test/dummy/app/helpers/application_helper.rb
|
183
|
-
- test/dummy/app/views/layouts/application.html.erb
|
184
|
-
- test/dummy/bin/bundle
|
185
|
-
- test/dummy/bin/rails
|
186
|
-
- test/dummy/bin/rake
|
187
|
-
- test/dummy/bin/setup
|
188
|
-
- test/dummy/config/application.rb
|
189
|
-
- test/dummy/config/boot.rb
|
190
|
-
- test/dummy/config/database.yml
|
191
|
-
- test/dummy/config/environment.rb
|
192
|
-
- test/dummy/config/environments/development.rb
|
193
|
-
- test/dummy/config/environments/production.rb
|
194
|
-
- test/dummy/config/environments/test.rb
|
195
|
-
- test/dummy/config/initializers/assets.rb
|
196
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
197
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
198
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
199
|
-
- test/dummy/config/initializers/inflections.rb
|
200
|
-
- test/dummy/config/initializers/mime_types.rb
|
201
|
-
- test/dummy/config/initializers/session_store.rb
|
202
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
203
|
-
- test/dummy/config/locales/en.yml
|
204
|
-
- test/dummy/config/routes.rb
|
205
|
-
- test/dummy/config/secrets.yml
|
206
|
-
- test/dummy/config.ru
|
207
|
-
- test/dummy/lib/templates/rspec/controller/controller_spec.rb
|
208
|
-
- test/dummy/lib/templates/rspec/controller/view_spec.rb
|
209
|
-
- test/dummy/lib/templates/rspec/helper/helper_spec.rb
|
210
|
-
- test/dummy/lib/templates/rspec/integration/request_spec.rb
|
211
|
-
- test/dummy/lib/templates/rspec/mailer/fixture
|
212
|
-
- test/dummy/lib/templates/rspec/mailer/mailer_spec.rb
|
213
|
-
- test/dummy/lib/templates/rspec/mailer/preview.rb
|
214
|
-
- test/dummy/lib/templates/rspec/model/fixtures.yml
|
215
|
-
- test/dummy/lib/templates/rspec/model/model_spec.rb
|
216
|
-
- test/dummy/lib/templates/rspec/observer/observer_spec.rb
|
217
|
-
- test/dummy/lib/templates/rspec/scaffold/controller_spec.rb
|
218
|
-
- test/dummy/lib/templates/rspec/scaffold/edit_spec.rb
|
219
|
-
- test/dummy/lib/templates/rspec/scaffold/index_spec.rb
|
220
|
-
- test/dummy/lib/templates/rspec/scaffold/new_spec.rb
|
221
|
-
- test/dummy/lib/templates/rspec/scaffold/routing_spec.rb
|
222
|
-
- test/dummy/lib/templates/rspec/scaffold/show_spec.rb
|
223
|
-
- test/dummy/lib/templates/rspec/view/view_spec.rb
|
224
|
-
- test/dummy/public/404.html
|
225
|
-
- test/dummy/public/422.html
|
226
|
-
- test/dummy/public/500.html
|
227
|
-
- test/dummy/public/favicon.ico
|
228
|
-
- test/dummy/Rakefile
|
229
|
-
- test/dummy/README.rdoc
|
230
|
-
- test/integration/navigation_test.rb
|
231
|
-
- test/silmarails_test.rb
|
232
|
-
- test/test_helper.rb
|
138
|
+
test_files: []
|
data/test/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|