flexible_feeds 0.3.1 → 0.3.2

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
- OGY0ZTE0YzM0MTNmOWE5ZDg5YjYzMzk4NzY3MzIxZjNlMjRhZTcyMw==
4
+ Y2UxYmJkOGQyZGM4ZWZjMDE0NWEyOTA3ZjZiZjQ5NTY4YmNjZThhNA==
5
5
  data.tar.gz: !binary |-
6
- OGIwMjYyNWQ1YjFjM2UyM2NkOGRjMjY5MjA1NTY5OWE5YmZkNWM2Yw==
6
+ NjE0NGUwMzM1MzAzMTVmNDZjMzdmMGNkMjJjNWNjZmQ3NGEzZGM4NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzhiZjBkMjk5MTQ2YmY1ZDdhMWM1NjQ2ZDg5MzI4ZjA3NGZkOTE4YWI0MzU3
10
- ODYzYmZkYjllZjdhYTJjYTk2ZTMyMTA3MTc1ZjgyNmMwMTYzOWVmMDdlNWU1
11
- ODU4ZTRlMzI1OTM3NGUwOTc0YWZhYmIwMmMxYzhmMzJmMDliNmQ=
9
+ YWE2MDIyYzhmNjlmNjhlNTE2OTE3NWIzZTg4OTM1N2UzNzgxYzE4Y2RlZWFi
10
+ ZThiNDA4MWQzYjc4MzVkMzVlNDhhNTFjOGE2Yzc2ZmI5MmJhYTIzNjg4M2Iz
11
+ MGI3MWFjNDA3OThmN2ExYjkzNWQ1N2ViMDBhNGU3YTkyN2NhZTc=
12
12
  data.tar.gz: !binary |-
13
- NWQxNmZlMjNjNjZjOTE1ZTA2NGRhMjNmNGU4ZjI2MjVkNDhmY2NmYzc4Yjhi
14
- Y2NkMWU0MDdhMzMwYTExYmRiNzc2NjVhNGYwYjQ4YzhhNzFkM2ZmYTU1ZmRh
15
- MmVmOGEyYjhmMGM0YTExZDMyNTc1MDlkMzZhYTEyOTdhYWNiMTk=
13
+ MmQ1Y2RkZGJiZjRmZjRkZjE1NjJmYzVmMTc4YjkyNTkzMmM4ZDc3MDkxMTdm
14
+ NzlhNTg2YjAwYTIzYTJhZDE3OWMyMDA0ZTZkOTY2OWM4NzFkYTkwNGViMGNk
15
+ ZDVlNmRhYWU2OTRkM2IzMDA2MjcxZjUzOWZiYzliYWUwMGM1NmI=
@@ -47,10 +47,6 @@ module FlexibleFeeds
47
47
  end
48
48
  end
49
49
 
50
- def initialize_event
51
- event || create_event
52
- end
53
-
54
50
  def decrement_parent_counter
55
51
  event.decrement_parent_counter
56
52
  end
@@ -59,7 +59,7 @@ module FlexibleFeeds
59
59
  end
60
60
 
61
61
  def create_event_for(destinations)
62
- event = event || create_event!(creator: creator)
62
+ create_event!(creator: creator) if event.nil?
63
63
  destinations.each do |feed|
64
64
  event.event_joins.create!(feed: feed) if feed.present?
65
65
  end
@@ -49,10 +49,6 @@ module FlexibleFeeds
49
49
  child.try(:is_childish?)
50
50
  end
51
51
  end
52
-
53
- def initialize_event
54
- event || create_event
55
- end
56
52
  end
57
53
  end
58
54
  end
@@ -1,3 +1,3 @@
1
1
  module FlexibleFeeds
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexible_feeds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - timothycommoner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-16 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails