saucy 0.1.2 → 0.1.3
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.
@@ -10,7 +10,6 @@ module Saucy
|
|
10
10
|
module InstanceMethods
|
11
11
|
def new
|
12
12
|
@project = current_account.projects.build
|
13
|
-
render
|
14
13
|
end
|
15
14
|
|
16
15
|
def create
|
@@ -25,7 +24,6 @@ module Saucy
|
|
25
24
|
|
26
25
|
def edit
|
27
26
|
@project = ::Project.find(params[:id])
|
28
|
-
render
|
29
27
|
end
|
30
28
|
|
31
29
|
def update
|
@@ -47,7 +45,6 @@ module Saucy
|
|
47
45
|
|
48
46
|
def index
|
49
47
|
@projects = current_account.projects
|
50
|
-
render
|
51
48
|
end
|
52
49
|
|
53
50
|
private
|
@@ -1,10 +1,6 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe ProjectMembership do
|
4
|
-
it { should allow_mass_assignment_of(:user_id) }
|
5
|
-
it { should allow_mass_assignment_of(:user) }
|
6
|
-
it { should_not allow_mass_assignment_of(:updated_at) }
|
7
|
-
it { should_not allow_mass_assignment_of(:created_at) }
|
8
4
|
it { should belong_to(:project) }
|
9
5
|
it { should belong_to(:user) }
|
10
6
|
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: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- thoughtbot, inc.
|