cia 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/Rakefile +3 -11
- data/gemfiles/rails2.gemfile.lock +1 -1
- data/gemfiles/rails3.gemfile.lock +1 -1
- data/lib/cia.rb +3 -2
- data/lib/cia/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -1,19 +1,11 @@
|
|
1
1
|
require 'appraisal'
|
2
2
|
require 'bundler/gem_tasks'
|
3
3
|
|
4
|
-
task :
|
5
|
-
|
6
|
-
gemfile = appraisal.gemfile_path
|
7
|
-
options = "--gemfile='#{gemfile}'"
|
8
|
-
sh "bundle check #{options} || bundle install #{options} || (rm #{gemfile}.lock && bundle install #{options})"
|
9
|
-
end
|
4
|
+
task :default do
|
5
|
+
sh "bundle exec rake appraisal:install && bundle exec rake appraisal spec"
|
10
6
|
end
|
11
7
|
|
12
|
-
task :
|
13
|
-
sh "bundle exec rake appraisal spec"
|
14
|
-
end
|
15
|
-
|
16
|
-
task :spec do
|
8
|
+
task :spec do
|
17
9
|
sh "rspec spec/"
|
18
10
|
end
|
19
11
|
|
data/lib/cia.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'active_record'
|
2
2
|
require 'cia/version'
|
3
3
|
require 'cia/auditable'
|
4
|
-
require 'cia/event'
|
5
|
-
require 'cia/attribute_change'
|
6
4
|
|
7
5
|
module CIA
|
6
|
+
autoload 'Event', 'cia/event'
|
7
|
+
autoload 'AttributeChange', 'cia/attribute_change'
|
8
|
+
|
8
9
|
class << self
|
9
10
|
attr_accessor :exception_handler
|
10
11
|
end
|
data/lib/cia/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.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: 2012-
|
12
|
+
date: 2012-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email: michael@grosser.it
|
@@ -53,7 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
53
|
version: '0'
|
54
54
|
segments:
|
55
55
|
- 0
|
56
|
-
hash:
|
56
|
+
hash: 1027248915022211509
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
58
|
none: false
|
59
59
|
requirements:
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
segments:
|
64
64
|
- 0
|
65
|
-
hash:
|
65
|
+
hash: 1027248915022211509
|
66
66
|
requirements: []
|
67
67
|
rubyforge_project:
|
68
68
|
rubygems_version: 1.8.24
|