editstore 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/editstore/project.rb +1 -1
- data/app/models/editstore/state.rb +1 -1
- data/lib/editstore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjdjNzM4NDkwMGMxOTI1YTAwMmFmYjVlZDMxNWNmYjhjNmFjZDA0OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmVhMGJmY2Y2N2E0MDRjMGZhMmEzNjk0ZDY3N2FmMjJiNjc0MDBlNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzEzYWZlMWFjZDkzNTZiNzQyZWI2ZjBjNmQ5YWEyZGZmY2FmMjFhYzAwNzhm
|
10
|
+
ODc3M2UwYzQ0Y2IyZTY0NThmMDUzZDdhYjFkZjkxYmJjNjFmNWI3YjVlZGEx
|
11
|
+
ZmRiOTM2ZDU1NDRmZTAwODRmYzlmYzU4YzYwNDliNzI3ODQxMzA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTUwMDU5NzExNTc2NDI2MTQwYTAxYjIzNTQ3NzI4YTg5ZWM1OGMyNjdiMzMy
|
14
|
+
ODM1NTNlZmIzMWIxNTJjMmE2ZmExYWU1ZDExMmZlNGE1YzFkNTZjZmE5OWRl
|
15
|
+
MDYwY2YyNDI5ZWIzNzNlYjY4NTRjMjVjMTQxMmUxM2Y2YmE1ZTU=
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Editstore
|
2
2
|
class Project < Connection
|
3
3
|
|
4
|
-
has_many :alterations, :
|
4
|
+
has_many :alterations, :foreign_key => 'project_id', :class_name=>'Change', :dependent => :destroy
|
5
5
|
has_many :fields, :dependent => :destroy
|
6
6
|
|
7
7
|
# THESE REALLY BELONG IN THE CONTROLLER and are only necessary for mass assignment
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Editstore
|
2
2
|
class State < Connection
|
3
3
|
|
4
|
-
has_many :alterations, :foreign_key => :
|
4
|
+
has_many :alterations, :foreign_key => 'state_id', :class_name=>'Change' #Using an alias and pointed to changes
|
5
5
|
|
6
6
|
# THESE REALLY BELONG IN THE CONTROLLER and are only necessary for mass assignment
|
7
7
|
# def editstore_params
|
data/lib/editstore/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: editstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Mangiafico
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|