kabuki 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,17 +1,5 @@
1
+ .DS_Store
1
2
  *.gem
2
- *.rbc
3
3
  .bundle
4
- .config
5
- .yardoc
6
4
  Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
5
+ pkg/*
data/Gemfile CHANGED
File without changes
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
@@ -4,6 +4,14 @@ module Kabuki
4
4
  def self.load!
5
5
  require 'kabuki/engine'
6
6
  require 'kabuki/railtie'
7
+ warn <<-EOW
8
+
9
+ DEPRECATION WARNING: Gem 'kabuki' has been moved into 'active_tools' gem.
10
+ Further development of 'kabuki' will no longer continue.
11
+
12
+ Thank you!
13
+
14
+ EOW
7
15
  end
8
16
  end
9
17
 
@@ -4,7 +4,7 @@ module Kabuki
4
4
  end
5
5
 
6
6
  class Object
7
- def kabuki
7
+ def kabuki!
8
8
  Base64.strict_encode64(self.kabuki_dump.kabuki_zip.kabuki_encrypt)
9
9
  end
10
10
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,11 @@
1
+ module Kabuki
2
+
3
+ module ActiveRecordExtension
4
+ extend ActiveSupport::Concern
5
+
6
+ module ClassMethods
7
+ end
8
+
9
+ end
10
+
11
+ end
@@ -8,6 +8,8 @@ module Kabuki
8
8
  require 'kabuki/crypt'
9
9
  require 'kabuki/bundle'
10
10
  ActiveSupport.on_load :active_record do
11
+ require 'kabuki/models/active_record_extension'
12
+ include Wakari::ActiveRecordExtension
11
13
  end
12
14
  ActiveSupport.on_load :action_view do
13
15
  end
@@ -1,3 +1,3 @@
1
1
  module Kabuki
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kabuki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
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: 2013-01-10 00:00:00.000000000 Z
12
+ date: 2013-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -52,6 +52,7 @@ files:
52
52
  - lib/kabuki/dump/string.rb
53
53
  - lib/kabuki/dump/symbol.rb
54
54
  - lib/kabuki/engine.rb
55
+ - lib/kabuki/models/active_record_extension.rb
55
56
  - lib/kabuki/railtie.rb
56
57
  - lib/kabuki/version.rb
57
58
  - lib/kabuki/zip.rb
@@ -76,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
77
  version: '0'
77
78
  requirements: []
78
79
  rubyforge_project: kabuki
79
- rubygems_version: 1.8.24
80
+ rubygems_version: 1.8.25
80
81
  signing_key:
81
82
  specification_version: 3
82
83
  summary: Dump and encrypt arrays, strings, symbols, hashes and other Ruby objects