emotions 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Emotions
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- has_many :emotions, as: :emotional, class_name: 'Emotions::Emotion'
6
+ has_many :emotions, as: :emotional, class_name: 'Emotions::Emotion', dependent: :destroy
7
7
 
8
8
  Emotions.emotions.each do |emotion|
9
9
  define_emotion_methods(emotion)
@@ -3,7 +3,7 @@ module Emotions
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- has_many :emotions, as: :emotive, class_name: 'Emotions::Emotion'
6
+ has_many :emotions, as: :emotive, class_name: 'Emotions::Emotion', dependent: :destroy
7
7
 
8
8
  Emotions.emotions.each do |emotion|
9
9
  define_emotion_methods(emotion)
@@ -1,3 +1,3 @@
1
1
  module Emotions
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emotions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-25 00:00:00.000000000 Z
12
+ date: 2013-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: -3151211424949677575
100
+ hash: 775364982353581959
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  none: false
103
103
  requirements:
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  segments:
108
108
  - 0
109
- hash: -3151211424949677575
109
+ hash: 775364982353581959
110
110
  requirements: []
111
111
  rubyforge_project:
112
112
  rubygems_version: 1.8.23