mcfearsome-timeline_fu 0.1.2 → 0.2.0

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.
Files changed (3) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/timeline_fu/fires.rb +1 -1
  3. metadata +1 -1
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
- :minor: 1
4
- :patch: 1
3
+ :minor: 2
4
+ :patch: 0
@@ -12,9 +12,9 @@ module TimelineFu
12
12
  define_method(method_name) do
13
13
  create_options = [:actor, :subject, :secondary_subject].inject({}) do |memo, sym|
14
14
  memo[sym] = send(opts[sym]) if opts[sym] and opts[sym] != :self
15
+ memo[sym] ||= self if opts[sym] == :self or sym == :subject
15
16
  memo
16
17
  end
17
- create_options[:subject] ||= self
18
18
  create_options[:event_type] = event_type.to_s
19
19
 
20
20
  if create_options[:secondary_subject].class == Array
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcfearsome-timeline_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Golick