saucy 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -0
- data/app/views/accounts/edit.html.erb +3 -1
- data/app/views/accounts/index.html.erb +4 -2
- data/app/views/accounts/new.html.erb +3 -1
- data/app/views/invitations/new.html.erb +4 -1
- data/app/views/invitations/show.html.erb +3 -1
- data/app/views/memberships/edit.html.erb +3 -1
- data/app/views/memberships/index.html.erb +3 -1
- data/app/views/profiles/edit.html.erb +3 -1
- data/app/views/projects/edit.html.erb +4 -1
- data/app/views/projects/index.html.erb +3 -1
- data/app/views/projects/new.html.erb +3 -1
- data/features/run_features.feature +1 -0
- data/features/step_definitions/saucy_steps.rb +13 -0
- metadata +5 -3
data/README
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
<% content_for :header do -%>
|
2
|
+
<h2>Permissions for <span><%= @membership.name %></span> on <%= current_account.name %></h2>
|
3
|
+
<% end -%>
|
2
4
|
|
3
5
|
<%= render :partial => 'accounts/tab_bar' %>
|
4
6
|
|
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
<% content_for :header do -%>
|
2
|
+
<h2>Edit project: <%= @project.name %></h2>
|
3
|
+
<% end -%>
|
4
|
+
|
2
5
|
<div class="actions">
|
3
6
|
<%= link_to project_path(@project), :method => 'delete', :confirm => 'Are you sure you want to delete this project and all associated content?', :class => 'action' do %>
|
4
7
|
<span class="delete_item">Remove this project</span>
|
@@ -21,6 +21,7 @@ Feature: generate a saucy application and run rake
|
|
21
21
|
When I add the "saucy" gem from this project as a dependency
|
22
22
|
And I successfully run "bundle install --local"
|
23
23
|
And I bootstrap the application for clearance
|
24
|
+
And I bootstrap the application for saucy
|
24
25
|
|
25
26
|
Scenario: generate a saucy application and run rake
|
26
27
|
When I successfully run "rails generate saucy:install"
|
@@ -0,0 +1,13 @@
|
|
1
|
+
When /^I bootstrap the application for saucy$/ do
|
2
|
+
steps %{
|
3
|
+
And I add a header to the layout
|
4
|
+
}
|
5
|
+
end
|
6
|
+
|
7
|
+
When /^I add a header to the layout$/ do
|
8
|
+
header = "<%= yield(:header) %>"
|
9
|
+
|
10
|
+
replace_in_file "app/views/layouts/application.html.erb",
|
11
|
+
/(<body>)/,
|
12
|
+
"\\1\n#{header}"
|
13
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saucy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 14
|
10
|
+
version: 0.1.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- thoughtbot, inc.
|
@@ -141,6 +141,7 @@ files:
|
|
141
141
|
- features/run_features.feature
|
142
142
|
- features/step_definitions/clearance_steps.rb
|
143
143
|
- features/step_definitions/rails_steps.rb
|
144
|
+
- features/step_definitions/saucy_steps.rb
|
144
145
|
- features/support/env.rb
|
145
146
|
- features/support/file.rb
|
146
147
|
- lib/generators/saucy/features/templates/features/edit_profile.feature
|
@@ -213,5 +214,6 @@ test_files:
|
|
213
214
|
- features/run_features.feature
|
214
215
|
- features/step_definitions/clearance_steps.rb
|
215
216
|
- features/step_definitions/rails_steps.rb
|
217
|
+
- features/step_definitions/saucy_steps.rb
|
216
218
|
- features/support/env.rb
|
217
219
|
- features/support/file.rb
|