event_machine 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "event_machine"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["tim.teng"]
12
- s.date = "2011-12-07"
12
+ s.date = "2011-12-16"
13
13
  s.description = "Event Machine is observer to record any action you want to keep an eye on"
14
14
  s.email = "tim.rubist@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -10,7 +10,7 @@ class EventMachineGenerator < Rails::Generators::Base
10
10
  argument :action_name, :type => :string
11
11
 
12
12
  def generate_event
13
- template "event.rb", "app/events/#{parsed_event_name}_event.rb"
13
+ template "event.rb", "events/#{parsed_event_name}_event.rb"
14
14
  template "functional_test.rb", "test/functional/events/#{parsed_event_name}_test.rb"
15
15
  end
16
16
 
data/lib/event_machine.rb CHANGED
@@ -3,7 +3,7 @@ require 'benchmark'
3
3
 
4
4
  module EventMachine
5
5
 
6
- EVENTS_DIR = (defined?(RAILS_ROOT) ? "#{RAILS_ROOT}/app/events" : "app/events")
6
+ EVENTS_DIR = "events"
7
7
 
8
8
  def self.included(base)
9
9
  class_eval <<-EOF
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-07 00:00:00.000000000Z
12
+ date: 2011-12-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thoughtbot-shoulda
16
- requirement: &70149382639540 !ruby/object:Gem::Requirement
16
+ requirement: &70202617010360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70149382639540
24
+ version_requirements: *70202617010360
25
25
  description: Event Machine is observer to record any action you want to keep an eye
26
26
  on
27
27
  email: tim.rubist@gmail.com