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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTM2NWYyMTgyYzBmNzJjMjM0ZTk1NmU0MTVkMDg4NGMwMjk3NzQxOQ==
4
+ YjdjNzM4NDkwMGMxOTI1YTAwMmFmYjVlZDMxNWNmYjhjNmFjZDA0OA==
5
5
  data.tar.gz: !binary |-
6
- NDEwOTZkMjJiYzk2MjQ5YjRkMWNjNjg4YTA1OTZmMzYzNGE1YTJiMQ==
6
+ YmVhMGJmY2Y2N2E0MDRjMGZhMmEzNjk0ZDY3N2FmMjJiNjc0MDBlNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjhlZDg2OTY4ZjU0MDJiODRlNmNlMDlkZGI5MWFhNTQxYzkwZjU0YzRjM2Ri
10
- Zjc1YTAyODA4ZmM1OThmZDhlYzc2YTdiNTBmMjQ0OWFiOTdkZTI1NGQwZGE3
11
- OWMzZWU4ZWY4MzhiY2E2YWY3ODM4MzY0ODgzOTlmOWNlOTU3ZGE=
9
+ NzEzYWZlMWFjZDkzNTZiNzQyZWI2ZjBjNmQ5YWEyZGZmY2FmMjFhYzAwNzhm
10
+ ODc3M2UwYzQ0Y2IyZTY0NThmMDUzZDdhYjFkZjkxYmJjNjFmNWI3YjVlZGEx
11
+ ZmRiOTM2ZDU1NDRmZTAwODRmYzlmYzU4YzYwNDliNzI3ODQxMzA=
12
12
  data.tar.gz: !binary |-
13
- ZDNiMzEzZmEyZjk0M2Y1ZTI4YmY0NTA5YWQzOTYwNWQ2NjI2YTJmYzdiMWRk
14
- OTQyZGQ4N2QzOWY2OTRlYWY3MjJiNzM5NTYxYTlhZDc2N2NjYjY0ZmQ2MzIx
15
- MWUwOGIyYTY4NzE3Yjg3OGQ5ZmRhY2JjZDQwYjEzZDIwNTMyOTE=
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, :dependent => :destroy, :foreign_key => :changes
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 => :changes #Using an alias and pointed to changes
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
@@ -1,3 +1,3 @@
1
1
  module Editstore
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
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.2
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 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails