ku_fu 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,3 +3,4 @@
3
3
  Gemfile.lock
4
4
  pkg/*
5
5
  spec/reports/*
6
+ *.sqlite3
data/ku_fu.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_runtime_dependency "activerecord"
21
+ s.add_runtime_dependency "activerecord", '~> 3.0'
22
22
 
23
23
  # specify any dependencies here; for example:
24
24
  s.add_development_dependency "rake"
data/lib/ku_fu/base.rb CHANGED
@@ -3,7 +3,6 @@ module KuFu
3
3
  def self.included base
4
4
  base.class_eval do
5
5
  extend ClassMethods
6
- include InstanceMethods
7
6
  end
8
7
  end
9
8
 
@@ -11,6 +10,7 @@ module KuFu
11
10
  def register_ku_fu
12
11
  before_save :ku_fu_register
13
12
  before_destroy :ku_fu_register_deleter
13
+ include InstanceMethods
14
14
  end
15
15
  end
16
16
 
@@ -1,6 +1,6 @@
1
1
  RSpec::Matchers.define :register_ku_fu do |attribute|
2
2
  match do |model|
3
3
  m = model.respond_to?(:new) ? model.new : model
4
- m.respond_to?("ku_fu_register")
4
+ m.respond_to?(:ku_fu_register)
5
5
  end
6
6
  end
data/lib/ku_fu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module KuFu
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ku_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-14 00:00:00.000000000 Z
12
+ date: 2012-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
- requirement: &70137234684220 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70137234684220
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rake
27
- requirement: &70137234683800 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70137234683800
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rspec
38
- requirement: &70137234683380 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70137234683380
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: sqlite3
49
- requirement: &70137234682960 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '0'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70137234682960
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: rspec_junit_formatter
60
- requirement: &70137234682540 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70137234682540
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  description: register who created, updated or deleted an active record object
70
95
  email:
71
96
  - acampolonghi@gmail.com
@@ -101,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
126
  version: '0'
102
127
  segments:
103
128
  - 0
104
- hash: -1807113905405523787
129
+ hash: 4093994195126017994
105
130
  required_rubygems_version: !ruby/object:Gem::Requirement
106
131
  none: false
107
132
  requirements:
@@ -110,10 +135,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
135
  version: '0'
111
136
  segments:
112
137
  - 0
113
- hash: -1807113905405523787
138
+ hash: 4093994195126017994
114
139
  requirements: []
115
140
  rubyforge_project: ku_fu
116
- rubygems_version: 1.8.10
141
+ rubygems_version: 1.8.19
117
142
  signing_key:
118
143
  specification_version: 3
119
144
  summary: register who created, updated or deleted an active record object